Skip to content

Collision with enemy causes crash #7

@matt-dray

Description

@matt-dray

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions