Game object property fields type hints
- Dominant language
- C++
- Stars
- 6.3k
- Forks
- 455
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 130
Description
It would be very helpful if I could provide hints on go.property which will be displayed in the property pane when hovered. Use case: I have, for example, a speed property, and I would like to have a description that explains that it is pixels per second. Or a timeout property, and I want to explain that it is in seconds.
Honestly, I feel like the property pane is lacking in the area of advance configurations, and I would like to have something like:
```lua
go.property("cooldown", {
default=2,
label="Cooldown (s)",
hint="The cooldown it takes between shots for the main character",
type="maybe have a selectable type? Like a dropdown and then have additional values?"
})
```
Contributor guide
Research direction
Start by tracing the go.property API to the property pane implementation. Determine how property metadata is represented and how hover text could be surfaced, then clarify the scope of the proposed type selector and additional values. Done should include a documented API for hints and the requested metadata appearing in the editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, lua
- Domain
- game-dev, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100