TheSuperHackers / GeneralsGamePatch

Community Patch to fix and improve original Generals Zero Hour 1.04
Other
53 stars 19 forks source link

Implement feature to rotate buildings in angle steps #2134

Open xezon opened 12 months ago

xezon commented 12 months ago

Implement feature to rotate buildings in angle steps. Preferably 45 degrees. This allow the player to build in perfectly aligned angles.

Could use CTRL or SHIFT key press modifiers to override the default free rotation with the stepped rotation.

kABUSE1 commented 12 months ago

A very intuitive key combination might be Shift + Mousewheel up/down to turn building preview left/right.

I think changing default building rotation isn't very useful.

Something related might be adding a "snap to grid" feature, so with button-press buildings snap to a grid of 5 in each direction. It might be a little frustrating if you can't build there because the engine says "no", even though building space is visually not occupied.

MTKing4 commented 12 months ago

Just to be clear, we should add 8 directions, 4 straight and 4 diagonal

xezon commented 12 months ago

A very intuitive key combination might be Shift + Mousewheel up/down to turn building preview left/right.

I disagree. Mousewheel is for camera zoom.

Just to be clear, we should add 8 directions, 4 straight and 4 diagonal

360 / 45 = 8