Closed Crogarox closed 3 years ago
Please be more specific with your feature requests. I noticed 2 issues in the code. 1) Child nodes referred to in the form of "$X/Y" need to be converted to GetNode("X/Y") 2) onready
I've implemented (1) , but won't implement a fix for (2). As far as I know of, there isn't a direct equivalent to gdscript's onready in c#. I could move all the assignments to the _Ready() function, and create a _Ready function if it doesn't exist already, but that seems like too much of a "Design" question for an automatic converter to handle. I've added the keyword to the list of accepted keywords though, so the automatic type and access modifier detection should work now.
I'm happy to hear the results thus far have been useful to you.
I tried this addon with the Godot demo. I shouldn't have expected a quick fix and the results are still useful, however, its still requires effort to further convert the converted python to c# code to be free of errors. For example in player.gd .
turns into
still much appreciated for the tool.