Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game screen type incorrect when mutiple replay clicked in continue button #271

Open
Dollar0712 opened this issue Oct 18, 2021 · 7 comments
Labels
bug Something isn't working Sprint 4

Comments

@Dollar0712
Copy link
Contributor

After the enter the game by continue button, the game screen type is set to RESPAWN1 instead of MAIN_GAME

@Dollar0712 Dollar0712 added bug Something isn't working Sprint 4 labels Oct 18, 2021
@K0zzas17
Copy link
Contributor

Could you please let me know where this occurs in the code, I will try to fix it

@Dollar0712
Copy link
Contributor Author

@K0zzas17 Like I described when I first time enter the game by the continue button, the game screen type was set to RESPAWN1, and if I pause the game and click replay, the game screen type will change to MAIN_GAME

@K0zzas17
Copy link
Contributor

Does this cause the lives to reset?? the RESPAWN screens only exists to tell the game creator that the player is being created after having died

@Dollar0712
Copy link
Contributor Author

No, but this might cause the player animation not moving since I set the player will pause for few seconds if the screen type is MAIN GAME since we need to intro the death wall

@K0zzas17
Copy link
Contributor

Ohhhh that's why that's been happening for me... Do you have a solution that wouldn't involve me having to play around with the respawn screens??

@K0zzas17
Copy link
Contributor

@Dollar0712 in which class did you implement that feature?

@Dollar0712
Copy link
Contributor Author

Do u mean pausing the animation? I implemented it in isPause function in forestgamearea.Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Sprint 4
Projects
None yet
Development

No branches or pull requests

2 participants