What will be the C# scope?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ondesic
:warning: Old Version Published before Godot 3 was released.

So I have a large game written in Java that I am saving to port over to Godot when it supports C#. However, I better ask first. If one chooses, will C# be able to completely replace GDScript or will some features only be usable with GDScript?

Thanks

:bust_in_silhouette: Reply From: Zylann

C# will not replace GDScript, it will be an alternative to it. It will have the same classes and the same functions that GDScript can access. There might be some syntax-related features and integration sugar that will be different (mainly because the two languages are different), but in terms of Godot features the aim is to have the same API (you can have a look here: GitHub - neikeq/GodotSharp: Moved to the Godot repo: https://github.com/godotengine/godot/tree/master/modules/mono )

Having said that, it also means that porting is also possible even without C# (I did for my game, althought it’s smaller). It’s just a matter of taste in the end :slight_smile:

Please take off the last bracket from url .Thanks.
-j

jospic | 2017-03-23 09:35

For small projects, I find better to port features than code, not sure that is a good strategy for big ones.

Also using Godot implies a redesign (like with any other engine) to fit the game in the node/scene structure.

You can start with the new design then later (if the design makes sense) think on the code, maybe some parts could be small GDscript/C# and complex in C++/Rust/etc. (DLScript) or even engine modules.

eons | 2017-03-23 18:49

Sorry about the link, the automatic markdown formatting included it for some reason :wink:

Zylann | 2017-03-23 20:12

Interesting, when I go to the github site it doesn’t look like any activity has happened for almost 3 months. Perhaps I am not looking in the right place

ondesic | 2017-03-24 17:36

AFAIK, Neikeq mostly works locally and uploads to Github rarely. But he’s still working on it, he’s also on Discord from time to time :slight_smile:

Zylann | 2017-03-24 20:56