31-05-2009, 05:27 PM
Was looking around, it's fairly obvious that DirectDraw was deprecated.
Decided to write up a few classes. I have my own clsGameEngine which is set up when the application loads, and within that I have a clsD3D and clsSprite.
I managed to get it down to this:
Two 256x256 .png images loaded on each other. You can see the alpha channels working.
Decided to write up a few classes. I have my own clsGameEngine which is set up when the application loads, and within that I have a clsD3D and clsSprite.
I managed to get it down to this:
Code:
mGraphics.BeginRender()
mGraphics.DrawSprite(mBG)
mGraphics.DrawSprite(mRandomSprite)
mGraphics.EndRender()
Two 256x256 .png images loaded on each other. You can see the alpha channels working.
![[Image: rawrwtf.png]](http://img268.imageshack.us/img268/4932/rawrwtf.png)
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?