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
Godless Joe
15
Years of Service
User Offline
Joined: 3rd Sep 2009
Location: probably somewhere too far?
Posted: 11th Sep 2010 18:32
Hello everyone.

Please do not laugh your socks off, but I have a ridiculous problem.

Tell me why the screen turns blue when loading the sprite?
I would like the background to stay red.





--
Abolish All Religions
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 11th Sep 2010 23:03
Sprites automatically start up a system that clears the screen every frame. You can either tell it the new colour to use with the COLOR BACKDROP command, or use the SET SPRITE command to disable this screen clearing.

The command is:
SET SPRITE 1, x, 1

Where x can be one of the following values:
0 - No backsave
1 - Backsave & restore
2 - No backsave, clear to backdrop (this is the default)

Backsave is when the background is saved before drawing the sprite, you are then shown the fully updated display, then finally, the saved copy is drawn back - this basically makes the sprite a temporary part of the display, but it is slower.

Utility plug-ins (26-JUL-2010)
I'm applying terms of use that require you to wear a red nose and honk a horn whenever you use the Internet
Godless Joe
15
Years of Service
User Offline
Joined: 3rd Sep 2009
Location: probably somewhere too far?
Posted: 15th Sep 2010 20:01
Thanks

--
Abolish All Religions

Login to post a reply

Server time is: 2024-11-24 12:14:55
Your offset time is: 2024-11-24 12:14:55