Wednesday, April 25, 2012

Scrolling Tile Engine

Ok, here's the real test. Let's see if the current build of my tile engine works.

Your browser does not support the HTML5 canvas.


***Click Canvas box above to start game***

Controls: Arrow Keys

- fps

Event Messages:


And it works!!! My tribute to 8-bit gaming is off to a good start. Next up player collision and sprite animations. Update: Chrome web browser does not implement crisp pixel drawing (pixel interpolation is always on). Firefox will draw the game as I intended.

New sprite maps

Here are the new bitmaps. The level sprites:



The metadata sprites:

What's different this time, is the pixel padding between sprites have been removed. I removed them to save pixel space. They existed before to prevent edge bleeding when the sprites are interpolated. I do not plan to use any image interpolation.

Tuesday, April 10, 2012

Let's Draw a Tile


Tile sheet

Tile sheet for canvas experiments.

Thursday, April 5, 2012

First post

First!

Now to test out HTML5 canvas:


It works!