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 priority issues drive me to kill my family?

Author
Message
Mr Snuggles
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 8th Mar 2006 10:01
I have written a program in which a large image is loaded and then made into a sprite, which is then scaled to screen size for use as a background image. Every loop I paste this to the screen and then paste all other sprites, but no matter how I set the priorities, the background is always drawn last and covers everything else.

wtf am I doing wrong?

ooo isn't that precious
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Mar 2006 10:40
You could either change the order to paste the graphics or change the id numbers for the sprites.

Mr Snuggles
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 10th Mar 2006 09:55
Fixed the issue, forgot to set the initial sprite position away from the screen.

ooo isn't that precious
Red Ocktober
20
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 15th Mar 2006 20:03
your family will be sooo glad to hear it...

--Mike

Login to post a reply

Server time is: 2024-11-19 05:27:40
Your offset time is: 2024-11-19 05:27:40