Monday 13 December 2010

SX Engine - C++/Direct X

I created this project in order to allow viewing/playing of the Sonic Xtreme resource and level definition files that were recently released. I'm still very early on with the project but it's starting to come together.

The level layout was stored as a tiled texture, with each tile being a horizontal slice of the level and each pixel being a level piece (cube). The layout image contained a palette, the order of the colours inside that palette were used to apply cube definitions (those definitions are contained within an external definition file). Those definitions could specify what textures to apply to the sides of the cube, scaling information and miscellaneous small effects, such as transparencies and texture mirroring.

Early build:


Animation test: