GDevelop
GDevelop copied to clipboard
Add a new condition to check the distance between an object and a position
Fixes #3815.
Game Example:
Video
https://github.com/4ian/GDevelop/assets/8879811/02419384-9198-40cd-a266-2ba79c497be6
This increases the "surface of the API" of base objects. In other words: yet another condition in an already very (too?) big list of conditions. I think we need at some point to reorganize it or introduce some more grouping. cc @ClementPasteau @D8H
I don't know how it can be reorganized. I'm not found of groups with 2 instructions.
I guess the same thing could apply to this condition:
I've updated this PR with the suggested changes.