Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:53 12 Mar 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : SPRITE next and move?

Author Message
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 568
Posted: 08:05pm 11 Mar 2026
Copy link to clipboard 
Print this post

I tried to replace the SPRITE show safe lines in my program with SPRITE next and SPRITE move since the manual says those are more efficient but I don't see the sprites when I run the program. What else do I need?

FRAMEBUFFER layer
FRAMEBUFFER write "L"
SPRITE load "balloon.spr"
FOR x=0 TO 280
SPRITE next 3,x-15,130
SPRITE next 2,x,280-x
SPRITE next 1,x,x
SPRITE move
'SPRITE show safe 3,x-15,130,1
'SPRITE show safe 2,x,280-x,1
'SPRITE show safe 1,x,x,1
FRAMEBUFFER copy L,N
NEXT x




Balloon.zip
Edited 2026-03-12 06:05 by toml_12953
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026