Skip to content

Allow for sharp turns (two input commands) in the snake example. #996

@krisfur

Description

@krisfur

The way the snake example is currently written with the input lock you need to wait a full tick before pressing another button, it is a better experience to be able to press two allowed commends immediately and have them execute one after another. This can be achieved with a simple linked list.

I will open a PR with the proposed improvement soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions