问题
Where can I find a tile engine for HTML5 <canvas>
, for writing 2D games?
回答1:
Possibly: http://www.effectgames.com/effect/ and in particular http://www.effectgames.com/effect/#Article/docs/Sprites_and_Tiles_Guide However note that effect is free to use but proprietary and not open source.
Other Javascript/Canvas game engine libraries that would make it easy (but may not have specific tile support/documentation):
- http://github.com/kesiev/akihabara
- http://gamejs.org/
- http://code.google.com/p/cakejs/
- http://gamequery.onaluf.org/
Sites you might want to follow:
- Mozilla Labs Gaming
- Badass Javascript
回答2:
This site compares a few well.
http://city41.github.io/breakouts/
回答3:
This engine, called Tile, is a work in progress. If anything, it might give folks looking to write their own engines a few ideas about what to do (or what not to do, if you prefer).
来源:https://stackoverflow.com/questions/3961189/html5-tile-engine