PlaceholderGames / 2022-yr2-team-bing-chilling

Second CS2S561 Game
0 stars 1 forks source link

Pause menu stops the game in a peticular way #66

Open DinoPT opened 2 years ago

DinoPT commented 2 years ago

When starting to do the pause screen I remembered that I had already done it in a previous game with the guidance of this video : https://www.youtube.com/watch?v=JivuXdrIHK0

The thing is, for some reason when I finished the script and triple checked it to make sure it was correct, our game doesn't pause correctly, it just stops you from moving which is weird since im using the command "Time.timeScale" to stop the game and make the menu visible. I wonder what might be causing this bug.

DinoPT commented 2 years ago

Update

So the time does indeed stop, enemies get frozen in place, but the mouse is still being used to move the gun around, therefore making the player not able to use the pause menu correctly

scrab333 commented 2 years ago

the camera still moves, but we get the mouse button, the camera can also be fixed but i am too dead for this

scrab333 commented 2 years ago

mouse coursor*