[cairo] Lander Game

Jay Vaughan jayv at synth.net
Tue Jan 9 03:26:03 PST 2007

>If you break your scene into various layers correctly, you can still
>take advantage of this technique.

Do this at the container level, i.e. within the SVG file itself:

<g id="background>
	<g id="lander_object">..</g>

then when you parse the SVG to cairo, build the list of objects that 
your anim loop has to update, and only re-render those that have 
properties change ..



Jay Vaughan

More information about the cairo mailing list