This is how you make a game like 'Storm The House' (on old SP). some parts are kinda comlex, but this tut should help.
1. Create (suprise) a Movie Clip.
2. Create two key frames in the MC.
3. Label the first keyframe 'run' and the second one 'die'
4. The 'run' keyframe will have (suprise) an MC of your character running, and the 'die' frame... well... you know what happens.
5. now add both of the key frames the action 'stop;'
6. Go back to the scene (exit the Movie Clip by clicking anywhere but where the MC is) and give the char the action:
on (release) {
gotoAndPlay ("die");
}
This code will make the character die when you click him.
7. Now tween the char across the page to where the castle/ house etc. is.
8. Now test your movie. If you want more chars to make it harder, copy the char and paste it in another layer.
Score/Kill Counter
Make a dynamic text box and give it the instance name 'score'.
now, at the first frame of your game (still in scene 1), click on the dynamic text box and type in '0' (make sure the text alignment is in the middle)
Now go to the char MC (double click) and double click on the char in the 'die' frame. Now add this code (It's your choice where u put it):
_root.score.text++;
This adds a point to the score counter
Soz i dont know how to make a health counter. you'll have to work out for yourself.
Now test the movie. You now have your very own House Defender Game Thing! Hooray.
Here's mine:
http://www.swfup.com/file/13743#view
Click on the stick figure heads to shoot them
(Just tell me if the tut is wrong/the file doesn't work, etc.)