View Single Post
  #1    
Old April 27th, 2012, 05:03 AM
fuz
Beginning Trainer
 
Join Date: Apr 2012
Hello guys.



WARNING: You will have to be confident programmer to pick up a project of this size.

I was asked to repost the thread with more information and pictures. Imagine logging into a game in your browser, walking around the massive world of Pokemon and then seeing your friends around around with you?

When I was a kid I had this vision and wrote a game engine that made that possible.

Features
  • Codebase from scratch. This is an original engine that is not based on anything else.
  • Pathfinding: Most games here rely on the directional keys to walk around. In JSPKMNe, you can walk with the WASD keys but also walk around by clicking. Your character will walk around solid objects. This can also be used by NPCs.
    See that yellow square? When you click it, your character walks around the trees.
  • Loading/Save capability The game can load and save state but the frontend has not been added.
  • Game Modes If you start coding for it, you'll have to add your game to gamemodes.js. Your game will then appear in the list:

  • Rudimentary Multiplayer There is currently a basic Java server that you can very easily extend to add other features such as chat or battling.





  • Single Tile Engine Unlike most games, to make tiles you simply load a single picture and then click where things are. This way you can export your tiles from other game engines or from the existing games:
  • Incomplete Battle System The battle system kind of works, as you can see from the video in my signature but it is largely unfinished.





Design Decisions

I took a number of design decisions to support interesting things in the game engine that I had never seen in other fangames. Namely:
  • Battling does not necessarily have to be graphical. When I wrote the engine I wanted to make it so that other NPCs can battle eachother too. The idea being that the game would simulate other trainers in the game world so you don't feel alone. They would walk around just like you - pathfinding lets that happen :-)
  • The screen only shows two Pokemon but the controlled player can be on either side. It should be possible to adjust the engine to add more Pokemon. It's not hardcoded. They're currently called LEFT and RIGHT and you can be on either side.

I have open sourced the entire engine. This means you can play with it today, look at the code, learn from it, update it and make it better. You will need a GitHub account to join the fun though. The link is in my signature. I'll accept pull requests when you want to push your changes back :-)

This project is better suited for more advanced developers and not for the faint of heart. You'll need to be familiar with Apache configuration, MySQL databases, Java sockets to work on the server.

I am releasing the codebase because I no longer have time to work on it but someone else may find it useful. I have so many ideas but not the time in the world to work them through. By releasing this, I may have saved some people lots of effort so you can pick up where I started.

Comments welcome!

GitHub Project
YouTube Video
__________________
JSPKMNe Video | GitHub

Last edited by fuz; April 27th, 2012 at 12:03 PM.
Reply With Quote