More help im a newbie...

Previous topic - Next topic

WAAAAAA

how are u supposed to use rotosprite without havnig showscreen in the same loop? am i gonna have to make it so everything gets loaded at the same time sorta thing?
bugger man what to do?

WAAAAAA

im trying to create a spinning explosion with a bmp is there an easier way to do it? other than rotosprite?

Kitty Hello

You don't understand the basics I assume. You load a sprite with LOADSPRITE, then you have a loop (WHILE or FOR or GOTO) within that loop you draw the expolsion with ROTOSPRITE. After all drawing for one frame is done, you call SHOWSCREEN and jump to the top of the loop.
Code (glbasic) Select
LOADSPRITE "xy.bmp", 1

WHILE TRUE
   ROTOSPRITE 1, 100, 100, phi
   phi = phi + 1
   SHOWSCREEN
WEND

WAAAAAA

i understand that much what i said was how are u supposed to do it without the loop? how can i showscreen if all the other things dont come up?
need more complicated code than that.... its crazy....