Game Programming - Directx 8.0
i've recently bought this book:
http://www.amazon.co.uk/exec/obidos/...402164-7149536
because it looks like it would help, me into making an rpg (i dont have much vb experience)
after reading the first 2 chapters it bogs you down with so much directx my head feels like its gonna expload! im really confused with directx 8.0 for vb6 and it's only a 2d game :(
can anyone reccomend any websites to help me, i want to use this book because it looks great, but i need to learn a little more about directx
Re: Game Programming - Directx 8.0
DirectX 8
Easy directX 7 2d tutorials
The first link is awesome, that is the site I learned all my stuff, the latter are ones that I wrote
Re: Game Programming - Directx 8.0
http://gpwiki.org/index.php/DirectX:...laying_Bitmaps
You just set up a primary surface (what's displayed), a backsurface (where you draw or prepare what you will display, and additional surfaces to hold your bitmaps (eg. three more for background pics. sprites/details, and the top layer for characters etc).
It then all boils down to blitting (copying) from your pics surfaces to the backsurface (prep surface), then switching the backsurface and the primary surface to show what was prepared (make it primary or displayed).
It gets complicated when you treat your source surfaces as tiles (eg a bitmap that holds the frontview, side views and back view of a 2d object). You then have to make additional functions (non directx) to calculate from where in the source bitmap your clipping (essentially a box: x,y, width, height) from to get the tile you need.
Re: Game Programming - Directx 8.0
Yeah like that guy said you can use dx7 to do 2d effect much eaisier than using dx8, look to my couple tutorials for examples...
Re: Game Programming - Directx 8.0
thanks soo much for this :p
Re: Game Programming - Directx 8.0
no problem, but remember actions always speak louder than words ;)