Calculator Community > Axe
sprites scrolling
Snake X:
alright, I need someone to help me make a scrolling BG for my title screen
--- Code: ---[FFFFFFFFFDFDFDFD]->Pic1
dispgraph
vertical +
for(A,0,95)
pt-off(50,A,Pic1)
pt-on(rand^96,A,Pic1)
end
--- End code ---
This is supposed to be a rain/snow effect, so it needs to draw the sprites multiple times, and scroll all at once. Please help.
Raylin:
Put your Vertical + command in a Repeat loop.
Snake X:
it doesn't display the sprites actually
edit: whoops.. I didn't put a dispgraph in there XD
edit 2: yeah.. didn't make a difference. It's only displaying ONLY one sprite scrolling at one time.. and actually that's all it displays, is just one sprite, then it ends.
Raylin:
The program should look like this:
--- Code: ---:<data goes here>
:<For loop for drawing the sprites here>
:<Repeat loop WITH DISPGRAPH inside here>
--- End code ---
And you might just be better off making a Pic of the rain and/or snow and showing that instead.
Builderboy:
So exactly what kind of sprite behavior would you like to see?
Navigation
[0] Message Index
[#] Next page
Go to full version