Hello to anyone who is reading this…
I’m using p5js in my class and I’m having some trouble with a flappy bird game I’m trying to remix. Me and my teacher figured out that it was because the game was set to “rectMode(CENTER)” and I had replaced the obstacle with an image, and an image is NOT a rectangle so I don’t know if it can be centered like a regular rect. Any help?
Link to my code here: https://editor.p5js.org/emilyabcde2ara/sketches/uVN9mhS7f