|
Coming Soon (hopefully) - 2D DirectX graphics library...
Its called Amnesia - cant remember why though :)
Actually its name goes back quite a while. Originally I had an Archimidies A3010, and the first (and probably only) 2D graphics processing system was called Amnesia. It was written by a chap called Andy Southgate.
Anyway, after progressing through a A3010, RiscPC and finally onto a "normal" PC, I did my own version of Amnesia (using DX7) - see the Flipcode.net archives for more details.
So, when I decided a graphics processing system is needed for the PPC, I decided to keep the name, unimaginative person that I am.
The basic premise behind Amnesia is thus :
Each object (or sprite if you will) resides in a table. Each table has a name, number, the maximum number of objects it can contain and various other bits.
In each render, the routine progress from starting table to ending table, displaying each object (if its not deemed invisible, and the graphic is availiable). The screen is then flipped to give a smooth (ha!) display.
There will also be a set of functions to update each object - this means that they can have movement or velocity (both are mutually exclusive). Collision detection may come much later on.
As DirectX is used, it will be limited to those machines that have Mobile DirectX installed (and WM5).
I've got a basic demo working - I mainly need to add colour keying and the object processing before releasing the initial technological demo, from there I can progress to the Alpha stage...
My original version used, if I remember correctly, loads of linked lists of storing loaded graphics, object data etc etc. In order to converse PPC memory & processing time, I have removed the need for lists, and now use pre-allocated memory.
This is especially important with graphics.
__________________
Mobile & PC Stuff at To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Be there or be square!
|