Godot Engine

Godot Engine

137 lượt đánh giá
Using C++ to build complete Games in Godot!
Bởi ProggerParrot
A game in GODOT with C ++ / Cpp? In this guide you will learn more about the possibilities, as well as advantages and disadvantages of the respective methods. You will also learn everything you need, to get started with Godot Engine and C++ development. The guide contains 7 short videos and also some example code. The Code is free and available on GitHub to download! :)
2
4
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Small overview of the most common ways
Since Godot was mostly written in C ++, and the source code is available, both for downloading and modifying, there are also many ways to integrate your actually gameplaycode into the Godot Engine.

In the following video I explain the common variants and their advantages and disadvantages.

Get the C++ Godot-Bindings for a smooth IDE-Workflow
First of all there is some setup-work which is need to be done.
Those Godot Bindings are needed that you get comfy-features like auto-suggestion, and live debugging in your IDE.

The big advantage of this Workflow is that you are super flexible, and you can work with the IDE you like most! :D

First Method: DLL's which contains the Gameplaycode
This Method is very good for the business-logic and your daily gameplaycode. Since you can structure a game with several dynamic libraries(dll), you are really flexible. And you dont need to rebuild the entire engine.

Everything gets integrated inEngine with the GDNative feature

Second method: Custom Modules directly in the Engine
This Method is very good for single high-performance components like AI, Pathfinding, search/- and sorting algorithm. Here you can build your own Godot Nodes and References. This is really powerful because it is a clean way to hide complex structures. But you also have to rebuild the Engine after changes.

When finished with building, everything will look like Native-Godot features. A useful workflow especially for larger teams :)


14 bình luận
ヌル 7 Thg07, 2024 @ 9:33am 
@Curs0r To master C++ you have to put your life on it... or you dick. Most people choose the second option.
KîNG 30 Thg04, 2024 @ 8:05pm 
Yeah it never ends well when folk try to reinvent the wheel with off-brand solutions, in hopes of replacing highly optimized and established languages. You'd think Godot would've learned from Unity's failure with Mono.

GDscript will eventually be abandoned and all those hours ppl spent learning an non-transferable skill will be wasted.
AlphaRO 14 Thg09, 2023 @ 4:05am 
I dont know how it has been evolved since than but I wish godot made it much more easier instead imposing their own script.
yefeyks 11 Thg12, 2022 @ 2:37am 
C++ is not backwards compatible with C, nor is C forwards compatible with C++. You could probably use regular ole C but it wouldnt be practical in the slightest
pathtostair 8 Thg12, 2022 @ 9:46am 
What about, pure C?
existential transcendence 22 Thg11, 2022 @ 2:46pm 
pls godot assembler and lisp support we need it
SubwayJared 18 Thg10, 2022 @ 10:24am 
You'd use C++ for high peformance code and more control over engine functions. I'd wager on C++'s ability to use references to memory, strong typing and incredibly solid OOP, something GDScript doesn't have yet since it's just a Python derivative.

>no other language will beat it
lol
lmao even
Gonger02 19 Thg05, 2022 @ 9:20am 
cursor the problem is;
the priblem;
the;
prioblem;
bproblel;
Curs0r 5 Thg01, 2022 @ 9:22am 
It's weird seeing someone call c++ a high-skill language. I've been doing it so long everything else seems oversimplified. All I had to do was stay me and the weakness of others from social erosion has transformed that into superhuman status. :cybereye:
004X 10 Thg08, 2021 @ 10:42pm 
Nice