I’m new to openFrameworks and I’m learning the codes.
I want to make a program that
I can type the letters or sentences I want to the screen
and if I hit enter, the typed sentence disappears
and same sentence pops up in the middle of the screen and bounces the corners and moves around.
posx += addx;
posy += addy;
if(posx < 0 || posx > ofGetWidth()){
addx *= -1;
}
if(posy < 16 || posy > ofGetHeight()){
addy *= -1;
}
I tried to make the position movement code like bouncing ball code.
but I don’t know how to make my typing appear…
how can I start to make my project?