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 Discussion / How do I place one sprite on top of another i.e Priority ??

Author
Message
Newbie5UK
20
Years of Service
User Offline
Joined: 13th Nov 2004
Location:
Posted: 18th Feb 2006 13:55
I have tired lookign for info. on this and whilst I have found the "Set Sprite Priority" command, for some reason one of my sprite is always on top of the other.. I bascially want to small sprite on top of the other (with no transprency)

I'm sure it's a basci question, but the book I have skips over Sprite... anyone ??

Code below... thx
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 18th Feb 2006 14:06
There is no Set Sprite Priority in DB Classic.

The top sprite is the last sprite that you make. So you need to make them in the right order.

Newbie5UK
20
Years of Service
User Offline
Joined: 13th Nov 2004
Location:
Posted: 18th Feb 2006 14:10
I do creat them in the right order, but it makes no difference...
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 18th Feb 2006 14:12 Edited at: 18th Feb 2006 14:15
So you make the small sprite last, and it should be on top of the others.

Edit: You have posted DBPro source code. This is the DB Classic section.

Login to post a reply

Server time is: 2025-05-23 14:37:30
Your offset time is: 2025-05-23 14:37:30