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.

Author
Message
Collision Detect with screen
17
Years of Service
User Offline
Joined: 18th Oct 2006
Location:
Posted: 30th Oct 2006 21:56
Hi

can anyone tell me why my function only draws the last sprite that i have entered, if i delete the last sprite then it will show the previous sprite.

all the constants are set to numbers in ascending order if this helps

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 31st Oct 2006 07:56
It's because whenever you use "load bitmap" the current working screen is changed to whatever bitmap number is used. So "get image" only takes images from the last bitmap. To change the working screen use "set current bitmap BITMAPNUMBER"

If the images you're loading are single images use "load image"... which is both "load bitmap" and "get image" in one command (without changing the working screen or having to delete bitmaps).

Login to post a reply

Server time is: 2024-09-25 11:28:09
Your offset time is: 2024-09-25 11:28:09