The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Engine JSPKMNe - Javascript Pokemon Engine (with SS)

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Thread Tools
Old April 27th, 2012 (5:03 AM). Edited April 27th, 2012 by fuz.
fuz fuz is offline
    Join Date: Apr 2012
    Posts: 16
    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.

    • 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
    Reply With Quote
    Old May 13th, 2012 (4:46 PM).
    ☆Rei☆'s Avatar
    ☆Rei☆ ☆Rei☆ is offline
    Join Date: Aug 2009
    Location: Nearby my feet.
    Age: 21
    Gender: Female
    Nature: Calm
    Posts: 1,746
    Nice thing going on here bit I find no download.

    EDIT: since it's java script this supports begin on a web browser?
    Reply With Quote
    Old May 18th, 2012 (11:36 AM).
    Rolyataylor2's Avatar
    Rolyataylor2 Rolyataylor2 is offline
      Join Date: Jun 2010
      Location: OREGON
      Gender: Male
      Nature: Modest
      Posts: 12
      Your engine is looking good, I have been working on the same thing, except mine is not a game making engine its just a game.

      I should post a thread, I need to get it uploaded to a server tho.

      NodeJS, PHP, Javascript, Mysql, oh my! lol.

      Good luck! If you wanna beta test mine email me. [email protected]
      it will be up in a month or so, I'd love to get feedback from a fellow web designer.
      Reply With Quote

      Quick Reply

      Join the conversation!

      Create an account to post a reply in this thread, participate in other discussions, and more!

      Create a PokéCommunity Account
      Thread Tools

      Posting Rules
      You may not post new threads
      You may not post replies
      You may not post attachments
      You may not edit your posts

      BB code is On
      Smilies are On
      [IMG] code is On
      HTML code is Off

      Forum Jump

      All times are GMT -8. The time now is 5:17 PM.