Example : After 100 Enemies killed, you get a health packet.
Example : After 100 enmies killed, you get to save a town.
HOW DO I ADD A BONUS? PLEASE TELL ME !
THXS!
Example : After 100 Enemies killed, you get a health packet.
Example : After 100 enmies killed, you get to save a town.
HOW DO I ADD A BONUS? PLEASE TELL ME !
THXS!
dont use caps. its just annoying.
just use a score variable. when ur enemy is killed have a variable that says _root.score += 1;
then have sumthing like
if(_root.score == 100) {
attachMovieClip(“healthpacket”);
}
Just make sure you add some kind of flag, so that the bonus is only given once, because with something like score, if you don’t add a flag variable the player will keep getting the bonus over and over, while their score remains 100 (or whatever amount you choose for a bonus-receiving score).
:: Copyright KIRUPA 2024 //--