Skip to content

u/Dzedou

In this archive from Mar 2025 to Jun 2025

1
posts
18
comments
0
media
444
score

For Rust I'm writing my own engine, as I'm not really happy with anything that is currently available. It needs a bit more time in the oven before it's able to facilitate commercial games, so for now I'm using Go bindings for Raylib. I would use the Rust bindings, but Rust doesn't really jive well with the procedural style of Raylib, so Go is more suitable here.

1 points

I'm not sure I fully understand. Are you looking for more in depth information on what the different classes can do? Then I would read through the official Godot guide followed by the Godot docs and GDScript specification. Or are you looking to learn about the internals? If so, then with 30+ years of C++ experience you can read through the engine source. That usually gives a pretty good idea of what the intention and purpose behind most everything was.

5 points

No, but I'm just pointing out that Godot is working correctly, and your problem is not that Godot lacks a way to programmatically change the color in a RichTextLabel

I can clearly see that Godot doesn't lack a way to do that, that was not the discussion whatsoever. The problem is that there are too many ways to do it, each works in it's own specific situation and neither of them is particularly well documented.

It's really difficult to design a system such that it's even possible to introduce a bug when changing the color of something, but sadly such is the fate of open-source software, and it's still better than the alternatives.

1 points

Good suggestion - In fact I already have a wrapper component for rich text labels that accepts a code expression via a text field which is executed on runtime and renders the result, if the expression returns a string. If I just make a function bbcode_color(text: String, color: Color) -> String and pass bbcode_color("my text") as the expression, I'm going to achieve something similar.

-1 points

This is known as the “Corporate Architecture Pattern”

It’s known for reducing the efficiency of all nodes by 90% due to demotivation. You also get a ton of overhead when communicating between nodes, as you cannot use signals or function calls, only meetings. On top of that, the CEO node tends to hog up all the resources even while doing little to no work.

367 points

Personal answer: if you enjoy low level programming go for Raylib. Joy is the most important tool in game development, since without it, you will not be able to finish any game!

Technical answer: There’s pros and cons to both. Yes Unity has many tools that can potentially make certain aspects faster, but at the same time it has a much steeper learning curve that Raylib. It takes a long time to learn how to operate Unity efficiently, while in Raylib you pretty much just start coding and can have a working game in a couple of minutes. You can also use Raylib with Zig, Odin, Rust, Go, or whatever you prefer, not just C. Unity forces you to use Windows Java :(

0 points

You are not correct. Games always release with bugs, especially when made by amateur programmers. Additionally, depending on the length of your development, you may also need to maintain code long before anything has shipped. That is true for both games and real software projects.

1 points

This is a game dev sub. Most people here are gamers or artists who somehow managed to learn basic programming while making a game. Don't bother trying to explain actual software principles. Apparently someone in this thread uses a singleton for game state??? Well, as long as the game is fun, that's all that matters I suppose.

0 points

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.