-
Notifications
You must be signed in to change notification settings - Fork 0
bug fixes
JonathanSteininger edited this page Oct 29, 2019
·
1 revision
bugg fixes:
in my bullet move function with the for each bullet I accidentally used bulletYpos instead of bullet.bulletYpos on the teleport if tag inside the function. this caused the game to randomly teleport by its current position because it couldn't read bulletYos by itself because it didn't exist outside the array. I fixed this by changing bulletYpos to bullet.bulletYpos. this fixed it.
the pause screen could run when the game menu was up therefore soft locking the game to be frozen. I fixed this by making the pause only activate if the game is on and the menu screen isn't showing. this fixed it.