added circle to show where player is
This commit is contained in:
@@ -566,6 +566,10 @@ function game() {
|
||||
push();
|
||||
fill(0, 255, 255);
|
||||
circle(constrain(playerPosX, 0 + radius, width - radius), constrain(playerPosY, 0 + radius, height - radius), playerSize);
|
||||
stroke('yellow');
|
||||
strokeWeight(1);
|
||||
noFill();
|
||||
circle (playerPosX, playerPosY, playerSize*2);
|
||||
pop();
|
||||
if (phases[2] == false || phase[3] == false) {
|
||||
bouncing();
|
||||
|
Reference in New Issue
Block a user