Hi @kll, yes what you’ve described is right.
I may simplify my project first however and create a random text generator which generates text when mousepressed.
I am using this example code so far but I don’t know where to add in mousepressed as I keep getting an error that I am mixing active and static modes:
background(50,100,150);
fill(255);
PFont letterGothic;
letterGothic = loadFont("NotoNastaliqUrdu-48.vlw");
textFont(letterGothic,32);
// Array
String[] nouns = {"monkey","space","cowboy","King","nut"};
String[]adjectives = {"crazy","spinning","bubbly","stinky","smelly","unreal","slow","purple"};
int n = int(random(6));
int m = int(random(8));
textAlign(CENTER);
text(nouns[n],45,60);
text(adjectives[m],45,40);
When I get this right I will look into getting the ‘text data’ entered by a player/participant.
But for the meantime trying to work out where to put mousePressed and why!
M