GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Add a new condition to check the distance between an object and a position

Open tristanbob opened this issue 1 year ago • 3 comments

Fixes #3815.

Game Example:

Add Distance Conditions.zip

Video

https://github.com/4ian/GDevelop/assets/8879811/02419384-9198-40cd-a266-2ba79c497be6

tristanbob avatar Jul 02 '24 04:07 tristanbob

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

4ian avatar Jul 02 '24 08:07 4ian

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: image

D8H avatar Jul 02 '24 08:07 D8H

I've updated this PR with the suggested changes.

tristanbob avatar Jul 03 '24 06:07 tristanbob