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.

Newcomers DBPro Corner / Displaying Sprite Over Bitmap Background

Author
Message
Gromit
20
Years of Service
User Offline
Joined: 9th Mar 2004
Location:
Posted: 9th Mar 2004 17:42
I am trying to display a sprite over a bitmap background. For a split second, the sprite and background display correctly but then, the n background turns blue while the sprite remains intact. Code is brief (see below).

I'm as new as they come! Any help is apprciated!

Thanks
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 9th Mar 2004 20:02
Try...



I think you have to use the sprite in a loop structure to get the effect you want... Well... I hope that helps...

Do not thwart the way of the dragon. For thou tasteth like chicken.
Gromit
20
Years of Service
User Offline
Joined: 9th Mar 2004
Location:
Posted: 9th Mar 2004 20:07
I tried your suggestion and added the line "set sprite 1,1,1" just before the loop started and it worked!!!!

Thanks!

It's a small victory for me, but a win none the less!!!!

Login to post a reply

Server time is: 2024-09-22 00:30:02
Your offset time is: 2024-09-22 00:30:02