There are easy games to make.
Here's a nice classic maze game to make. Made up on the spot by me.
First draw your maze. Anything you like.
Then make a sprite which is big enough to go through your maze without touching the walls.
Click on your ball and apply these blocks to it.
[blocks]
<when green flag clicked>
<forever>
<if> <key[ Up ]pressed?>
<change y by( 5
<if> <key[ Down ]pressed?>
<change y by( -5
<if> <key[ Left ]pressed?>
<change x by( -5
<if> <Key[ Right }pressed?>
<change x by( 5
<end>
[/blocks]
Now of course you're not going to get anything in life from just copying, so I'll explain.
When the green flag is clicked then if up is pressed then it will move up.
When the green flag is clicked then if down is pressed then it will move down.
And so on.
Oh yeah, drag the ball to your starting point. Then do this.
[blocks]
<when green flag clicked>
<go to x Don't change anything )y
in these 2 because it will have set your stating point for you.
[/blocks]
Ok, if you try it now, you'll see that if you touch the walls, nothing happens. We need to change that.
Apply these blocks the ball.
[blocks]
<when green flag clicked>
<forever if> <touching[ Maze
<go to x The same block we used above )y
because that is your starting point.
<end>
[/blocks]
That's about it. Try it, when you touch the walls you will go back. You have just made a very simple but fun maze game.
Try to add some more blocks to the game. Happy scratching.
Offline