First, you need a sprite. It should be from the top, as if you're looking up. Then, make this script. (Change number of steps to move to go faster and slower)
<when green flag clicked>
<forever>
<forever if><key[ up arrow ]pressed?>
<move( 5 )steps>
<end>
<end>
When doing the down arrow, make sure steps to move has a - at the beginning and is half speed of forward.
<when green flag clicked>
<forever>
<forever if><key[ down arrow ]pressed?>
<move( -2.5 )steps>
<end>
<end>
The left and right arrow keys will use the rotation script.
<when green flag clicked>
<forever>
<forever if><key[ left arrow ]pressed?>
<turn cw( 12 )degrees>
<end>
<end>
Same with right arrow, but with counter-clockwise.
<when green flag clicked>
<forever>
<forever if><key[ right arrow ]pressed?>
<turn cw( 12 )degrees>
<end>
<end>
Next, items. To make money, make a sprite, then place this script in it.
<when green flag clicked>
<forever>
<forever if><touching[ player
<hide>
<change{ money }by( 1
<end>
<end>
To do an item, make an inventory list, then do the same thing as the money, except instead of changing the amount of money, make it add an item to the inventory list.
Offline