Loading...
Logo
Processing Forum


hello,

Does this work:

Copy code
  1.     holdUp = holdRight = holdLeft = holdSpace = holdS = false; //should set all to false...

or are we happier with:

Copy code
  1.  //should set all to false...
  2.     holdUp =  false;
  3.     holdRight =  false;
  4.     holdLeft =  false;
  5.     holdSpace =  false;
  6.     holdS = false;

thanks!

Chrisir



Replies(2)

Both work, so I guess it's a matter of taste.


and this too I guess

    leftHigh.x = leftLow.x = position.x - wallDistance; // left edge of player