Hello Gamers I am new to construct 2 and I am working on flappy bird project the question is once the player is near to rock or obstacles it want to react something like eg: whether it can rotate,it can open the eyes,laugh etc... once the player is near to the obstacles only it should happend otherwise it should be static give some idea or tutorials to do this.
Thanks
using the system expression compare two variables, you compare the distance of the flappy bird and the rock near it from the front, you will need an additional x calculation to determine which is the closest front object, if you dont when ur bird is between 2 stones middle point, it will do crazy stuff, il make u a example how logic should work, then it depends on you how you want to polish the events for your specific needs.
and here it is Distance Flappin Bird i modified the default game, and made an extra group for the distance measurement.