void set up () { // set up size (500, 500); } void draw () { // next frame\ scene (); action (); } void scene () { // sky, etc. background (100, 200, 255); // sky // +++ grass, house, etc. } void action () { // Hero - draw & move. jecaX= jecaX + 2; jecaX= jecaX % width; jecaY= jecaY + 1; jecaY= jecaY % height;