PDA

View Full Version : I failed implementing sprites..



FlyingFish
01-03-2004, 07:41 PM
hi.

I've got a very big problem with sprites. I want to implement sprites in my game and I think I did everything like it is done in all the examples.
But it doesn't work... I spent much time on looking for my mistake, but I couldn't find anything wrong.
Here's a link to my source:
www.nonsensgamez.de/Fishs_Krams/wp_source.zip
I've deleted the code parts which are not necessary for sprites.

I would be very glad if somebody could take a look at that and tell me what I've done wrong. I have no ideas about that any more.

thanx, sven

cairnswm
02-03-2004, 07:05 AM
Based on you signature the answer to your problem must be 42. But possibly we need to break down that 42 to smaller parts of the answer.

Your DXImageList is not linked to the DXDraw object called screen1. Just change the property of the DXImageList.DXDraw and it works.

FlyingFish
02-03-2004, 03:41 PM
well, that was it. Thanks so much. It was quite easy and I havn't seen it..
But so what.



Based on you signature the answer to your problem must be 42. But possibly we need to break down that 42 to smaller parts of the answer.

Yes, of course, 42 is the answer, but to find out what the 42 mean for your specific problem, that's more difficult. :D