carenalgas / popochiu

Godot plugin to make point n' click games in a similar way to tools like Adventure Game Studio and Power Quest.
MIT License
154 stars 15 forks source link

Add gizmo handle to Markers #234

Open stickgrinder opened 2 months ago

stickgrinder commented 2 months ago

Benefit description

In #232 more solid gizmos has been added to PopochiuClickable objects. Markers are not among them, but for consistency, we should add a gizmo similar to the ones we have for "Walk To Point" and "Look At Point" (#233) to position the markers.

Solution description

This is as simple as adding a square handle point gizmo to the PopochiuMarker objects. Of course this gizmo should be configurable in terms of visual aspect, as the clickable ones.

Exclusions

There is no need to make the Markers gizmo invisible from the toolbar, since it's the sole evident sign that the marker is on the scene.

Implications

The best option is to have a separate plugin for markers and clickables. At the expense of some duplication, we can manage them without too much branching logic.