Imagine a top down racetrack on the screen. What I want to do is have the player lose health or points when they veer off the track. The problem is, the racetrack has been built with a number of different sprites, so you can't do a simple inverted "is overlapping" or anything like that.
I'm a teacher, and my students are using the free version, so I can't get them to use families or anything, unfortunately.
Develop games in your browser. Powerful, performant & highly capable.
Can you put invisible sprites along the track as track's border?
When your car collides with the border, you can decrease the HP.
Ah, simple but elegant! Thank you so much!!!