Skip to content

u/InSight89

In this archive from Jul 2019 to Nov 2026

3
posts
72
comments
0
media
161
score

Top posts

Top comments

I'd really like to know how to program using C++ for Godot. However, the examples I've seen have been rather cumbersome. So much setup and prep work. I'd much prefer something that I can just open up and begin coding.

8 points

How many ECS game engines are there? And are any of them good?

I was playing around with Unity ECS and I quite enjoyed it despite the many drawbacks. However it seems Unity has hit the brakes hard with ECS/DOTS development and it's probably going to be abandoned just like the many other features Unity have promised us.

I tried to run OOP in an ECS style way and it had zero performance advantages. I'm guessing the core architecture of OOP causes a lot of the performance bottlenecks.

7 points

It's fairly similar. There are a few differences though.

Unity scripts inherit from MonoBehaviour. Whereas Godot scripts inherit from the node you're applying the script to (eg, if you put a script on a Node2D then the script will inherit from Node2D). All nodes inherit from Node which provides the standard functions like Ready (Start) , Process (Update), PhysicsProcess (FixedUpdate) etc.

You can only add one script per node whereas in Unity you can attach many. And Godot's Inspector isn't anywhere near as flexible as Unity's. But should still be good for the majority of what you want.

Godot uses string a lot in their API which I personally do not like. For example, if you want to get a reference to a node in the scene you need to use an address. I guess this is somewhat similar to using Unity's FindObjectWithTag which is generally frowned upon.

6 points

Anyone knowing how godot works with C# could help on this this question ?

Did this persist during a build?

C# in Godot is really slow when communicating with Godot specific API due to marshalling but I believe a lot of this performance penalty is lifted when you make a production build.

6 points

Neither of those need to know how to build a game engine unless it's a requirement for a particular project and if it is, they can learn how to do it.

An engineer may have more knowledge on the subject assuming it was part of their engineering degree. But it's not a particularly difficult subject to research yourself for free. There's a huge amount of resources available.

But generally, you don't reinvent the wheel. There's plenty of game engines and frameworks available to use and 99% of the time they do everything you need to do.

5 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.