lampe-games / godot-open-rts

Open Source RTS game made in Godot 4
https://lampe-games.itch.io/open-rts
MIT License
494 stars 70 forks source link

Rotate map with keyboard keys? #90 #103

Open williamsokol opened 5 months ago

williamsokol commented 5 months ago

Added keyboard controls to rotate the in game isometric camera. Currently using the default keys of Q and E.

If you try to use the mouse rotation at the same time, then keyboard controls take priority

williamsokol commented 5 months ago

no sure why it is failing, when I run gdformat on my pc it works fine

Scony commented 5 months ago

@williamsokol what version of gdformat do you have installed?

williamsokol commented 5 months ago

I used gdformat 4.2.0 to format code after I saw it was failing the static checks on this merge request.

There were no issues when using it locally so i am not sure if the static check is using a different version or something else