this post was submitted on 31 Aug 2023
397 points (97.1% liked)

Programmer Humor

19551 readers
1332 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
all 33 comments
sorted by: hot top controversial new old
[–] SpaceNoodle@lemmy.world 50 points 1 year ago (2 children)

"This would be better if it were covered in rust"

[–] nieceandtows@programming.dev 9 points 1 year ago

They’ve played us for absolute fools!

[–] QuazarOmega@lemy.lol 45 points 1 year ago (1 children)

This engine is not the best practice

[–] andrew@lemmy.stuart.fun 39 points 1 year ago (2 children)

This engine is an antipattern.

[–] QuazarOmega@lemy.lol 11 points 1 year ago (2 children)

We're dissing Unity here right?

[–] andrew@lemmy.stuart.fun 6 points 1 year ago

Could also be your least favorite container engine. Or rules engine. Man, we really like to call things engines don't we?

[–] MJBrune@beehaw.org 6 points 1 year ago (1 children)

Godot follows the same pattern though... oh no.

[–] QuazarOmega@lemy.lol 3 points 1 year ago (1 children)

Not gonna lie, I just threw a random joke in there, I never even touched Unity

[–] MJBrune@beehaw.org 3 points 1 year ago (2 children)

I mean, you aren't wrong in your joke. Godot's pattern is slightly but not much better. Unreal is far more structured and realistic but still lacking in a lot of ways.

[–] QuazarOmega@lemy.lol 2 points 1 year ago

Oh lucky shot then XD

[–] Metriximor@lemmy.ml 1 points 1 year ago (1 children)

I don't know a lot of game dev, care to educate me on the rights and wrongs of each of the engines?

[–] MJBrune@beehaw.org 1 points 1 year ago (1 children)

Unreal is what I have the most experience in. It's very strict and structured. Everything in Unreal is a UObject. There are Actors and Actor Components. Every feature has a requirement, such as, some of the AI features require you to have your AI as Pawns which are Actors that can have a Controller (an actor that manages the connection to a player) which then there is a PlayerController and an AI Controller which can hold a behavior tree to tell the AI how to control their pawn.

In Godot, things are far less structured. Godot has everything based on Nodes like Unreal but it expects you to build out whatever you want. So it doesn't come with Behavior Trees or the concept of a player. It expects you to build these things. Mainly because it's a budding engine that hasn't had the maturity or time put into it like Unreal.

Unity is a mix of both. Unity has a huge freeform nature to it. Again Unity starts with a class, everything in Unity is an Object. It has the concepts of Components that attach to a GameObject (which GameObject and Object are different). There is no Actor class, and no defined way to move an actor across a floor, a controller object in Unity is seen as the place where all the logic to control the actor is. So Unity has its own structure but it's also less built out like Godot. As such the AssetStore in Unity has taken the task of providing whatever the developer needs. So a Behavior Tree system on Unity differs from project to project from whatever they made or bought off of the store. Unreal allows you to, of course, use something else for behavior trees but no one does because their base implementation works and works well. It's standardized.

So overall, Unreal is standardized, strict, and gives you a ton of features. Unity is less strict, provides less standardized features, and forces developers to make their own things. Godot furthermore is less strict, has very little built-out, and the standardization it's attempted to create gets changed in the next major update because it's very new.

[–] Metriximor@lemmy.ml 1 points 1 year ago

Oh mate thanks for the detailed write up, it makes sense with my very little experience too.

[–] Knusper@feddit.de 4 points 1 year ago

This engine is not idiomatic.

[–] TootSweet@lemmy.world 32 points 1 year ago (1 children)

"Documentation considered harmful" - my coworkers probably.

[–] princess@lemmy.blahaj.zone 19 points 1 year ago (1 children)
[–] profoundlynerdy@programming.dev 4 points 1 year ago (1 children)

Perl has entered the chat.

No, that's just some random line noise.

[–] gregorum@lemm.ee 8 points 1 year ago
ifelse 
    eatme