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.

DarkBASIC Professional Discussion / draw image ontop of sprite

Author
Message
CaiF_R
22
Years of Service
User Offline
Joined: 25th Jan 2003
Location:
Posted: 13th Mar 2003 10:01
Is there any way(or command that I´ve overlooked) to draw sprites before drawing images? The purpose is drawing sprites that fall from the top of the screen to the bottom in a 2dmenu. The problem at the moment is that the sprites move ontop of the buttons which is quite irritating(and makes it hard to se the buttons

Thanks

Cheers
Andy Igoe
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 13th Mar 2003 11:54
You can prioritise the sprites themselves with set sprite priority, but i'm not sure how you would integrate that with drawing images - I can't see a way as images are 'prioritised' only by the order in which you paste them down.

Perhaps if you made your images sprites also so you could specify their priority too?

Pneumatic Dryll, Outrageous epic cleric of EQ/Xev
God made the world in 7 days, but we're still waiting for the patch.
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 13th Mar 2003 13:44
Yep - sorry the only way to do this (I think) is to make your images sprites too, and get it to draw them last in the loop.

Coming Soon! Kangaroo2 Studio... wait and quiver with anticipation! lol
[email protected] - http://www.kangaroo2.com - If the apocalypse comes, email me
CaiF_R
22
Years of Service
User Offline
Joined: 25th Jan 2003
Location:
Posted: 13th Mar 2003 14:32
Hmm... seems logical... I´ll try that. Thanks guys

Login to post a reply

Server time is: 2025-05-18 23:55:06
Your offset time is: 2025-05-18 23:55:06