Hi guys, how do you make a range in gdevelop for example a pistol will have shorter range than the sniper, I tried comparing the position of the bullet relative to the layer but it doesn’t workk…Any suggestions?
create a timer of pistol bullet and
if a timer of bullet is 3 sec
reset timer
stop timer
delete bullet
create a timer of sniper bullet and
if a timer of bullet is 5 sec
reset timer
stop timer
delete bullet
The higher the sec of timer the longer range
Thanks you so much Im gonna try this out