We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I’m trying to make a Enter Gamertag box at the beginning of my new game and I want it to set a var Gamertag = “ “; to whatever they type. If this code looks weird, I’m actually using processing.js.
var Gamertag = “ “;
tag += key;
When enter is hit, go to state game
Alternately, use the p5.dom library and create a text input and button, as in this example: