unknown-horizons / godot-port

Unknown Horizons Godot Engine Port
https://www.unknown-horizons.org
GNU General Public License v2.0
663 stars 83 forks source link

Cursor #80

Closed hepfnepf closed 2 years ago

hepfnepf commented 2 years ago

Added in the cursors of the original game and a management script. The script gets loaded in autoload so the cursor will always be set and can be changed in every scene. It provides the ability to set the cursor to one of the new cursors and to get the currently used cursor. This means tough, that the cursor shuld always be changed from within the cursor script. Else the value of the current_cursor will not be right since godot does not seem to have any Input.get_cursor() method.

hepfnepf commented 2 years ago

I dont quite get what the output of the check is trying to tell me. Can someone pls explain it to me?

LinuxDonald commented 2 years ago

It runs this script: https://github.com/unknown-horizons/godot-port/blob/develop/file_format.sh

And check if the code is formated correctly. As i see we don't have written that down in our wiki...

LinuxDonald commented 2 years ago

@artism90 please review it.

LinuxDonald commented 2 years ago

I will look this week whats up with formatting and merge it than.

LinuxDonald commented 2 years ago

@Burkhard1979 @hisoka999 maybe one of you both can help here with the formating error please?

Burkhard1979 commented 2 years ago

@LinuxDonald I cannot update this pull request (If I can, please tell me how, otherwise the fix is in pull request #84 )