sBasic-Coin multi-frame sprite
Posted: Wed Mar 16, 2016 4:40 pm
Maybe someone can use this in a game
Dropbox-Link for the multi-frame coin:
https://www.dropbox.com/s/z3rbu2utrnhi8 ... i.png?dl=0
Dropbox-Link for the multi-frame coin:
https://www.dropbox.com/s/z3rbu2utrnhi8 ... i.png?dl=0
Code: Select all
REM sBasic Coin Animation
REM sB 5.4 / iPhone 4 / iOS 6.1 / by Operator
REM maybe usefull for a game...
OPTION SPRITE POS CENTRAL
GRAPHICS
GRAPHICS CLEAR
coin$ = "coins sBasic 72dpi.png"
SPRITE "coin_ani" LOAD coin$, 3,2
SPRITE "coin_ani" AT 160,160
SPRITE "coin_ani" SHOW
SPRITE "coin_ani" LOOP
'it won't animate without this empty loop
LOOP:
GOTO LOOP