Well first, create a variable, and call it 'score' (it doesn't have to be called this, but I recommend it). Now on each the dots that pacman eats, put:
When green flag clicked
Forever
If touching pacman
Hide
change 'score' by 1
End if
End forever
You could also put the same on the enemies, but make it change the score by -1 instead.
Offline
Hi i'm willing to help. here's what you do
lets say the variable is score and to gain a point you eat one of those dot thinys
basicaly: (i'll call the things dots and the character pacman)
1. make a variable score for 'all sprites'
2. make a script: when 'pacman' touches 'dot' change 'score' by 10( this is just the score you want.{put in dot}
To make the dot go away soon after just make this script in the 'dot' and add 'hide' right after the score change.
Hope i helped....Feel free to ask for help on more projects or if you need more help in this one or did not understand what I wrote above.
Last edited by GameCentral (2011-12-09 18:42:47)
Offline