BBGameDesign

Basic Game Map

I just cleaned up and commented a basic game map. It’s for you, free to use. I hope I can help some one by giving away this code. It’s nothing “big” or “difficult” but it might help some of you who are really starting out in making browser games. Also, I’m giving away my hand drawn tile set for free. I hope you like my programmer art ;D.

Any feedback, suggestions, bug reports and requests are more than welcome. Especially I would love it if people would take my basic map and do a lot more with it. At the moment I have a slightly more advanced version for the General’s Map prototype, which has unit movement and AJAX calls — but I thought that giving away this basic map would be a lot more useful for most people.

Disclaimer: It’s only tested with Google Chrome on windows.

Features:

  • Tile rendering in multiple layers
  • Clickable objects
  • Movement by using the arrow keys

The HTML file

The javascript file

Free Hand Drawn Tileset

Demo

Hope you like it!

I run this blog for no money and I ask for no money, and I try to keep it add free, because I love what I do. I’d love to see the PBBG community work better together to create better games, that’s exactly why I’m doing stuff like this. That said, if you really want to donate I wouldn’t want to take away that from you, so here’s a nice lil’ button:


blog comments powered by Disqus