HTML5 Tile Engine

Where can I find a tile engine for HTML5 <canvas>, for writing 2D games? Answer 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/ … Read more

Bezier clipping

I’m trying to find/make an algorithm to compute the intersection (a new filled object) of two arbitrary filled 2D objects. The objects are defined using either lines or cubic beziers and may have holes or self-intersect. I’m aware of several existing algorithms doing the same with polygons, listed here. However, I’d like to support beziers … Read more

Skia vs Cairo vs Direct2D, which is the most feature rich?

A just curious question. I’m aware that: Skia, Cairo: library Direct2D: API But without any additional components, exclusively on Windows platform, which bears the most features? I’m not talking about performance or programming simplicity. Is there any possibility that Cairo could use D2D as the rendering backend on Windows platform? Answer I am using all … Read more

What is the “side scrolling hack” from old games?

I have heard that old arcade side scrolling games used a specific programming hack to enable performant side scrolling. I understand that years ago the machines weren’t powerful enough to repaint the whole screen every frame as it’s done nowadays. There are techniques, such as dirty rectangles, which allow to minimise the screen area needed … Read more