Skip to main content
gamedev.net
🔒 Locked

Programming RPG 2nd edition book code

Started by Malzinhu Dec 28, 2004 at 10:48 AM 2 replies 700+ views
Original Post
Malzinhu
Malzinhu
Well, I bought Programming Role Playing Games with DirectX 9 from Jim Adams and I realized that some parts of the book were not updated from DirectX 8. Can anyone help me fix de Graphics core? The font code I´ve already updated to work with DirectX 9 but since I´m a beginner, I just can´t fix the sprite code. The ID3DXSprite interface changed a lot and I just can´t fix the Draw method. I tried but when I run the Tile example code, it doesnt show anything... Thanks anyway, Luis
yzzid
yzzid
Did you try running it with the debug DirectX libraries with debug output set to the highest level? If not, I would start there. Sometimes it will give some information as to what is going wrong.

Unfortunately, I have the first version of the book only so I can't really be of much help.
-dizzyGame Institute InternPlease rate me. :)
ctaclas
ctaclas
i have the second edition
yeah sprites work a little different, the draw function takes different arguements for example than from 8.0

i don't the book with me at the moment though so i can't be of too much help, but when i get home i'll take a look at it
Malzinhu
Malzinhu
Try to compile the tile example to see the problems I´m facing. The font code I managed to corrected, but the sprite code isn´t working at all...
Any help in this matter will be appreciated

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.