Hi all,
I've just started work on the third level of my platformer and have run into a couple of bugs that I could do with some help with.
The first is this:
I have one monster where in order to make it vulnerable to attacks, you must first hit it with a whirlwind. This works okay, but when I have multiple instances of the monster, all instances become vulnerable when only one is hit. I am using private variables for each monster, yet this still happens.
Secondly, I have a 'whirlwind maker' that spawns a whirlwind when hit by the player's gust attack. It also works perfectly when only one is in the game, but when a second is added I get a couple of bugs. When one is hit, all the whirlwind makers spawn a whirlwind. Also, the whirlwinds produced don't respond to the 'start ignoring input' platform command and mimic whatever the player does.
Shift - Jump & Glide
X - Gust attack (can be used to move whirlwinds)
Up arrow - Talk
http://www.lisa-rye.com/DA/GaleJungleWIP.exe
http://www.lisa-rye.com/DA/Gale19.cap
(Please do not reuse or re-post art assets from my game.)
Does anyone know how to fix these issues?
Thanks in advance!