https://github.com/loic-sharma/pokemon
A Pokemon game written purely in Javascript
https://github.com/loic-sharma/pokemon
Last synced: about 2 months ago
JSON representation
A Pokemon game written purely in Javascript
- Host: GitHub
- URL: https://github.com/loic-sharma/pokemon
- Owner: loic-sharma
- Created: 2012-12-22T22:21:39.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-23T21:14:33.000Z (over 12 years ago)
- Last Synced: 2025-04-22T10:37:35.846Z (about 2 months ago)
- Language: JavaScript
- Size: 500 KB
- Stars: 33
- Watchers: 5
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pokemon
=======A Pokemon game written purely in JavaScript by Loic Sharma.
## Playing the Game
Download the game, and open the `game.html` file with your browser.
## Notes
A few things to keep in mind:
* The PrototypeJS framework was used so that classes could be inherited.
* Tiles are rendered only once to improve performance.
* The tile system is really buggy. Tiles are not always well displayed.
* There is not event handling for item collisions.
* However, the player class prevents the player from moving to solid tiles.
* Some sort of event handler will need to be created to change states.
* Game states were implemented to allow switching from the world to menus easily, but there are no menus yet.