We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v2000.2/latest on CDN
Chrome, Firefox
I clicked on a spot which goes to another scene and it froze.
Error:
TypeError: e.error is null
It should go to another scene.
// Scene 1 // Sorry the indentation is a little messy parkBtn.onUpdate(() => { w = parkBtn.width / 2 * 0.25 h = parkBtn.height / 2 * 0.25 end = new Vec2(w*2, h*2) position = parkBtn.pos.sub(new Vec2(w, 0)) mouse = mousePos() if (((mouse.x > position.x) & (mouse.x < position.add(end).x)) & ((mouse.y > position.y) & (mouse.y < position.add(end).y))) { parkBtn.opacity = 0.5 if (isMousePressed()) { go("play", destinations.park) } } else {parkBtn.opacity = 1} })
No response
The text was updated successfully, but these errors were encountered:
It would be great if you could provide a live demo! I think that this code is not enough to find the error.
Sorry, something went wrong.
OK, working on it.
Some update on this?
No branches or pull requests
Version
v2000.2/latest on CDN
What browsers are you seeing the problem on?
Chrome, Firefox
What happened?
I clicked on a spot which goes to another scene and it froze.
Error:
What's the expected behavior?
It should go to another scene.
Minimum reproducable code
Live demo
No response
The text was updated successfully, but these errors were encountered: