Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 Tile Engine

Where can I find a tile engine for HTML5 <canvas>, for writing 2D games?

like image 687
Alon Gubkin Avatar asked Oct 18 '10 16:10

Alon Gubkin


People also ask

What is tile in JavaScript?

19 Apr 20177 minutes to read. The Essential Studio JavaScript Tiles are simple, opaque rectangles or squares that are arrayed on the Start screen in a grid-like pattern and it can be either static or live. Tapping or selecting a Tile launches the app or other experience that is represented by the Tile.

What is Tileset gaming?

The complete set of tiles available for use in a playing area is called a tileset. Tile-based games usually simulate a top-down, side view, or 2.5D view of the playing area, and are almost always two-dimensional.


2 Answers

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
like image 96
kanaka Avatar answered Oct 07 '22 13:10

kanaka


This site compares a few well.

http://city41.github.io/breakouts/

like image 33
Loran Avatar answered Oct 07 '22 14:10

Loran