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

hang after 1st training battle #1

Open
JLuc opened this issue Jan 1, 2024 · 5 comments
Open

hang after 1st training battle #1

JLuc opened this issue Jan 1, 2024 · 5 comments

Comments

@JLuc
Copy link

JLuc commented Jan 1, 2024

Demo https://jslegend.itch.io/p5-pokemon-prototype hangs after winning the first training battle (against Venusaur) :
score never stops changing at full speed, and keyboard is as dead
no way to go on or restart
on firefox 121.0
lots of warnings but no error message

@JSLegendDev
Copy link
Owner

It's normal that the game just stops after you have either won or lost against the Venusaur. I didn't code the rest haha.

Now what do you mean by the score never stops changing at full speed?

@JLuc
Copy link
Author

JLuc commented Jan 1, 2024

It flickers as if forever changing at lightning speed.
Can't be read.

@JSLegendDev
Copy link
Owner

Ok this is very strange. Did it only happen once or are you able to reproduce it?

@JLuc
Copy link
Author

JLuc commented Jan 2, 2024

Every time. Same on Chrome browser.
But maybe it's not the score : it looks dull for a score and it's toggled on/off at each press of SHIFT key

@JSLegendDev
Copy link
Owner

JSLegendDev commented Jan 2, 2024

Oh what you referred to as the score is actually the debug mode. It can be toggled on/off via the Shift key. What you see is the number of FPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants