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 / How to have a sprite on a background image?

Author
Message
Hugh
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location:
Posted: 14th Nov 2002 16:54
Hello,

My attempts to have a sprite appear on top of a background image in DBP just keep failing.

Can someone please show me how to do this, or let me know that it's currently impossible?

Thanks.
ToXic
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 14th Nov 2002 21:52
Make your background image a sprite, then use set sprite priority.




ToXic
Hugh
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location:
Posted: 16th Nov 2002 01:30
Thanks a lot for the work around!

It does mess with the image quality of my background image, and has made my collision detection inoperable, but I hope to be able to take care of those.

ToXic
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 16th Nov 2002 13:48
Try, when loading or grabing you images, use the ,1 switch at the end of the command. ie get image 1,0,0,32,32,1

ToXic

Login to post a reply

Server time is: 2024-03-28 09:43:51
Your offset time is: 2024-03-28 09:43:51