Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Mario
- sdasas
- New to Scratch
1 post
Mario
How do i get the bricks to move when mario (or whatever my sprite is) moves?
Example:
I press the left arrow key and the bricks move right so that way mario can get on some other bricks.
Example:
I press the left arrow key and the bricks move right so that way mario can get on some other bricks.
- magpie5212
- Scratcher
100+ posts
Mario
Put scripts into the brick sprites which respond to arrows?
when [left arrow v] key pressed
move (10) steps // out of the way
forever
Simplify
end
- scubajerry
- Scratcher
1000+ posts
Mario
Assuming you are doing a scrolling background, then you need to have the other sprites use the scrollX variable + and offset for their movement
- Discussion Forums
- » Help with Scripts
- » Mario