Our Fixes for Issues relating to Enemies in the Mario Game.
Fix Issues with Flying Goomba
As explained in the previous issue, the flying Goomba wasn't actually flying and the starting positions were messed up. To fix this, we edited the following code.
Enemies Issues Fix
Our Fixes for Issues relating to Enemies in the Mario Game.
Fix Issues with Flying Goomba
As explained in the previous issue, the flying Goomba wasn't actually flying and the starting positions were messed up. To fix this, we edited the following code.
In GameSetup.js
These lines fix the initial X position of the Goomba so that they aren't stuck behind the pipe.
In GameSetup.js
This changes the minimum position of the Goomba so that it doesn't kill the player off spawn.
In FlyingGoomba.js
We changed the 0.04 to 0.02, so that the Flying Goomba spawns higher, making the Flying Goombas actually fly.
Overall, these changes ensure that the Flying Goomba is working properly, and behaving like a flying object.