MrUnit64 / TransformAnarchy

Rotates objects freely in Parkitect
MIT License
4 stars 2 forks source link

In game UI panel #4

Closed babooncodes closed 1 year ago

babooncodes commented 2 years ago

When rotating the object, while placing, the window should open itself and automatically close when object is placed?

babooncodes commented 2 years ago

@MrUnit64 @Distantz read up, need opinion

Distantz commented 2 years ago

Maybe hide it behind a keypress? (eg, r)

babooncodes commented 2 years ago

Ok so, we must have hotkeys

  1. global toggle
  2. mode toggle (space/gizmo) The toggling should be seamless in all stages, placing deco, selecting and moving deco, should behave the same. The window on screen should act as indicator that RA is active, no panel - use default game behavior. For that we must design controller that switches the behavior.
Distantz commented 2 years ago

perhaps we could add a mode that adds more snaps to the default game behavior? ie 45 degree incriments

babooncodes commented 2 years ago

That is the 1st mode.

babooncodes commented 2 years ago

You can change the snap angle in settings already, its not limited, but its there only for developers for now.

MrUnit64 commented 2 years ago

Making the window open or not automatically could be an option that is enabled in the settings menu.

I am a big fan of hotkeys, the window should at least be mapped to a key like all other menu's. At the same time there should be the least amount of hotkeys as possible. For now we need at least 3 hotkeys extending on Baboons list:

  1. Global / local toggle
  2. Mode toggle (space/gizmo)
  3. Opening the ingame ui panel/window

I'd like to add a toggle for changing the pivot point too, but maybe this can be added to one of the toggles we want to implement already as third option or as UI element.

Distantz commented 2 years ago

I think changing the pivot point would be quite finicky.

For the hotkeys, (Y, U, I, O) are all unused at least to my knowledge.