HeroMan - Løsningseksempel - Delopgave 12
Tilret til den grønne mand fra start er pladseret et tilfældig sted på skærmen. Gør dette på en fleksibel måde således at det stadig vil virke hvis du beslutter at lave canvas større.
Sådan kan koden se ud: https://editor.p5js.org/JensValdez/sketches/iXqQV9yhS
HeroMan - Solution Example - Subtask 12
Adjust so that the green man is placed in a random place on the screen from the start. Do this in a flexible way so that it will still work if you decide to make the canvas larger.
A possible solution in code:https://editor.p5js.org/JensValdez/sketches/iXqQV9yhS