Skip to content

Add autocompletion for animation, effect and point in behavior properties #5996

Open
@D8H

Description

@D8H

Description

There are autocompletions in action and condition parameters that don't exist for behavior properties.

Solution suggested

Some insights:

  • Property types are chosen with a drop down list in EventsBasedBehaviorPropertiesEditor
  • Property fields are build by PropertiesMapToSchema
  • Fields used for parameters handle autocompletion: ObjectAnimationNameField, ObjectEffectNameField, ObjectEffectParameterNameField, ObjectPointNameField
  • Property types are mapped to primitive types in ValueTypeMetadata::ConvertPropertyTypeToValueType

Tests

It can be tested on this extensions

Manually check that generated functions use the right parameter type.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ enhancement👌good first issueGood issue if you want to start contributing to GDevelop😤Non optimal UIA bug/issue where the UI is usable but not optimal

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions