Questions regarding Godot game's structure

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By M-Ody

I really want to use Godot for my next project. I’ve been using Unity for about 3 years now, and I thought was time to move on. I was thinking about SDL, but then I moved to something less radical: Godot.
I’ve already released a mobile game in Godot 2.1, and everything went well, but this time I’m considering a bigger project.
To summarize, I want your help to know how to work effectively with Godot, or to advise me that I should not use Godot in the first place.

So, I don’t fear C++ and I think is really time for me to learn it. I do realize I can create modules and use GD native. I tested examples in both already.

The questions:

  • I want to use the Godot pathfinder system, but I would need to extend it to add land cost. How the hell would I go about to do this? A module, extending said node? Or would GD Script handle this - effectively?
  • I like the way I can expand the engine, but the C++ development is very hard for me as an inexperienced C++ programmer. I do realize I could do everything on GD script (and I like it), but sincerely I sometimes miss I more robust language. Maybe I should use C# then?

As you can see, overall I’m kind of lost in the Godot world. I don’t have problems using what the engine has to offer, is just when I try something different that I get a little bit stuck.
That made me look into other options, but I think Godot is the best one, I just want to clear some of my doubts before trying it.

Than you!

First of all, thank you for considering using Godot. I’ve had many great experiences with it.

That being said, I must ask what “land cost” is. I’ve never heard of such a mechanic.

You can probably implement this in GDscript, possibly extending upon the pathfinding functionality in the engine. If it becomes too resource hungry (i.e. there’s a great deal of slow down when you run the game), you can write a module in C++. If need be, you can take your time (for example, six months) learning C++ via Godot, building simple games, and implementing the mechanics or features you want.

With regards to C#, I’m sure there are pros and cons to using it instead of C++. That is beyond the scope of this post.

If you require assistance learning even the basics, please refer to the documentation on tutorials, as well as the demos available.

Good luck, and hope you have fun making games.

Ertain | 2018-10-08 23:57