Thursday, May 21, 2009

Cube Grid



I extended the Autofuss Pixel Grid from a couple of posts ago to take advantage of the 3D effect that the corner triangle in the logo hints at. This runs a little slower than the original version as each 'pixel' sprite has more decisions to make on each update.


Thanks to the MVC structure I used for the original I was able to get this working just by extending the pixels view class. This made experimenting a little easier. For example, I created a version using some of Joa Ebert's optimisations including using a linked list for the pixel sprites. However, I didn't notice any significant gains in the speed of the application - perhaps due to running my tests in the debugging version of the player.

No comments: