I've got 2 problems that i'm just struggling to fix. I'm not sure if they're bugs or if i'm just un-aware of a mistake but here they are:
1) When the player rubs against a wall, I get 60fps, When an enemy is shooting at the player I get 60fps, but when the player rubs against a wall while being shot at, the game goes down to 2 fps, does anyone know why the performance messes up?
My player uses 8 directional movement, my walls are solids and my enemies use line of sight and the > Every X Seconds condition to fire. It's nothing complicated that really should strain computers or even laptops at that matter. My 5 year old laptop can run the game pretty well. But it gets this problem too.
2) My enemies are all the same object, when I spawn one it randoms which animation to play and depending on which is chosen it sets the stats and attack patterns of the enemy. That works fine, enemies have the right health, damage, speed etc but for some reason this next thing only applies to 2 of my 6 enemies... When the enemy dies:
My wraith's bullets suddenly change path to target the player until they time-out (bullets in my game only last about 2 seconds at most)
And my warrior's bullets do the same, except my warrior has 2 attacks, slash and stab. When it dies all the stabs turn into slashes and follow the player until they time-out.
I'd post my events but the only thing that happens when my enemies die is that they get destroyed and they place a loot bag down. I haven't made an actions for the bullet when my enemies die so I haven't made a mistake without realizing.
Just wanted to know if anyone else has had this problem?