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

Collision with enemy causes crash #7

Open
matt-dray opened this issue Jun 28, 2024 · 0 comments
Open

Collision with enemy causes crash #7

matt-dray opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matt-dray
Copy link
Owner

There's an error when the enemy touches you, causing the window to close.

But see ?eventloop::run_loop:

This function... only terminates when the user presses ESC within the window, or some other terminating condition occurs e.g. an error

Amusingly, the player sprite appears for a frame at location [1,1] if the enemy touches them first.

@matt-dray matt-dray added the bug Something isn't working label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant