If you aren't using seperate sprites for the levels, you need a plain background. Make sure that your person Is always falling unless touching the ground colour/sprite. When transitioning between levels, first add a level variable. when touching exit sprite/colour, make the character go to a start point, Then change level by one. For the stage put 'When flag clicked, forever set background to 'level variable'.' Make sure that the title screen either counts as level 1, or make it a sprite. Remember to put 'If flag clicked, set level to 1,' so You always start at level 1. It's easy when you try it out yourself. Levels will be better if the exit is mostly in a new place each time.
Offline
adowney530 wrote:
If you aren't using seperate sprites for the levels, you need a plain background. Make sure that your person Is always falling unless touching the ground colour/sprite. When transitioning between levels, first add a level variable. when touching exit sprite/colour, make the character go to a start point, Then change level by one. For the stage put 'When flag clicked, forever set background to 'level variable'.' Make sure that the title screen either counts as level 1, or make it a sprite. Remember to put 'If flag clicked, set level to 1,' so You always start at level 1. It's easy when you try it out yourself. Levels will be better if the exit is mostly in a new place each time.
So what you're saying is this:
For the background:
[blocks]<when green flag clicked>[/blocks]
[blocks]<set{ level }to( 1[/blocks]
[blocks]<forever>[/blocks]
switch to background <{ level }>[/blocks]
[blocks]<end>[/blocks]
And for the character:
[blocks]<when green flag clicked>[/blocks]
[blocks]<forever if>[/blocks] [blocks]<touching color[ end point color[/blocks]
[blocks]<go to x X axis of where you started )y Y axis of where you started[/blocks]
[blocks]<end>[/blocks]
That's at least how I would put it!
Offline
For the character sprite it should be:
[blocks]
<when green flag clicked>
<forever if><touching color[ end color
<change{ level }by( 1
<set x to( starting x
<set y to( starting y
[/blocks]
instead.
Offline
yep, sprite approach is very helpful. it helps to economize a lot of file size. that's why it is essential part in memory size. btw, what tools do you use for sprite creation and management?
Last edited by checkin (2009-09-28 10:28:28)
Offline