Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wisehackermonkey/0750ba3f4c92b2b1d10b854900e7ebdc to your computer and use it in GitHub Desktop.
Save wisehackermonkey/0750ba3f4c92b2b1d10b854900e7ebdc to your computer and use it in GitHub Desktop.
p5.js popup for instructions on how to play game, mobile and desktop friendly

idea

p5.js popup for instructions on how to play game, mobile and desktop friendly

add: one liner

example

instructions("arrows to move, goal is to get the blocks")

have templates for common input types
instructions([ARROWS,MOUSE],"e key breaks the walls")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment