25-09-2008, 04:38 AM
DX8 is easy peasy.
I spent maybe 10 hours making an ASCII game with some friends last weekend. (Some one thought an ASCII orpg would be awesome) But the point is, I spent maybe 30 minutes converting MS to use DX8. Obviously it lacks some sprucing up and optimization, but the core functionality is there. And as for making an almost Blt like interface, everytime I render something, I call three lines.
First one selects the texture.
Second one sets up the geometry, color, and the texture size.
Third one does the actual drawing.
I spent maybe 10 hours making an ASCII game with some friends last weekend. (Some one thought an ASCII orpg would be awesome) But the point is, I spent maybe 30 minutes converting MS to use DX8. Obviously it lacks some sprucing up and optimization, but the core functionality is there. And as for making an almost Blt like interface, everytime I render something, I call three lines.
Code:
D3DDevice.SetTexture 0, Tiles
GeomSetText x, y, 13, 8, 16, 52, 13, 8, D3DColorRGBA(255, 255, 255, 255), 256, 256
D3DDevice.DrawPrimitiveUP D3DPT_TRIANGLESTRIP, 2, Box(0), Len(Box(0))
First one selects the texture.
Second one sets up the geometry, color, and the texture size.
Third one does the actual drawing.