Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Sprite don't show up

Author
Message
The Feldmann
15
Years of Service
User Offline
Joined: 6th Oct 2008
Location:
Posted: 24th Oct 2008 23:40 Edited at: 25th Oct 2008 00:53
All sprite show up, accept the sprites in the "DrawMapGrass" function.

Full Code:


Think the source of the problem is here:


But i have no idea, what cause the problem.

Thanks for the help
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 25th Oct 2008 00:04
I've not run your code, but I suspect the problem is here:


You are using a negative number to index into the array - set it to 0 and see if that fixes it.

The Feldmann
15
Years of Service
User Offline
Joined: 6th Oct 2008
Location:
Posted: 25th Oct 2008 00:52
Sorry I mean all spites show up, accept the sprites in the "DrawMapGrass" function.

Sorry, thanks anyway

Login to post a reply

Server time is: 2024-09-30 09:22:35
Your offset time is: 2024-09-30 09:22:35