dogandcrab

remixed by bladesfungame
  scripts
  sprites
See inside
Notes and Credits (added by bladesfungame)

A quick game to copy with two sprites and simple mouse following movement. Use the mouse to follow the crab and watch the crab run away.

The elements of making a simple game like this are:

1. Put a green flag contol event on each sprite to set up the poistions at the beginning of the game. Here the dog goes to the middle and the crab is randomly placed on the stage.

2. Add a forever loop on the main control sprite to control movement. In this case the dog follows the mouse.

3. Add a sensing component into the forever look to work out when things happen. In this case when the dog touches the crab.

4. Do some stuff when the dog touches the crab but also broadcast something so the other sprites (or the stage) can also react.

5. Add a receive event onto the crab so it runs away when the dog touches it. Messaging between sprites is better than lots of sensing.

6. Add a background and voila - c'est finis (it is finished).

Shared: 28 Apr 2008 Modified: 28 Apr 2008
Favorite this project 0
Love this project 0
Total views 49
View the remix tree  4
  
More projects by bladesfungame