|
-
1.
but shouldnt i put: lifeboss -= 3 into the weapon's MC?
cuz it was gonna turn out like this:
Code:
onClipEvent (enterFrame) {
if (this.hitTest(_root.BOSS1)) {
_root.BOSS1.Play();
lifeboss -= 3
}
}
2.
I just decided to have the life as a MC, where if an enemy hits you the life would play(); and if you were to get an extra life, it would go prevFrame(); meaning you'd only have a max of 10 lives.
3. (new problem)
i decided to add a store in the game after the boss...
ur score in the game is the currency in the shop, but then if you bought something too expensive for you (meaning u dont have enough score) your score would go negative, is there anyway to fix that?
4. (yet another XD)
in the shops (as told above) you can buy bombs and new weapons, how would i make it that u can use the weapon/bomb only if you've bought it?
(im okay with the quantity that when u use a bomb, if it touches the player (which it will always do) the bomb would play(); )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|