[Help!!!] How to detect if the user hits the pipes and gets the score? | Sololearn: Learn to code for FREE!

0

[Help!!!] How to detect if the user hits the pipes and gets the score?

https://code.sololearn.com/WfMYEmYWImOW/?ref=app

2 Answers

New Answer

+2

You'll loop through the pipes within the viewport and nearer to the player, check for a rectangle to rectangle collision if it returns true. A square is just a rectangle too Talking about how to do a "rectangle to rectangle collision" ? Just check for that online.

0

Well,you have already posted this question ... please don't spam