|
-
Jun 7th, 2006, 02:15 PM
#1
Thread Starter
Junior Member
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
Last edited by htideswell; Jun 7th, 2006 at 02:30 PM.
-
Jun 7th, 2006, 02:42 PM
#2
Fanatic Member
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
Software languages known:
Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
Software API's known:
Directx 7 and 8
Internet languages, in the process of learning:
HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX
-
Jun 7th, 2006, 02:46 PM
#3
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.
-
Jun 7th, 2006, 02:53 PM
#4
Fanatic Member
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...
Software languages known:
Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
Software API's known:
Directx 7 and 8
Internet languages, in the process of learning:
HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX
-
Jun 7th, 2006, 03:34 PM
#5
Thread Starter
Junior Member
Re: Game Programming - Directx 8.0
thanks soo much for this
-
Jun 7th, 2006, 03:40 PM
#6
Fanatic Member
Re: Game Programming - Directx 8.0
no problem, but remember actions always speak louder than words
Software languages known:
Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
Software API's known:
Directx 7 and 8
Internet languages, in the process of learning:
HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|