News for hackers. Stuff that matters.
Re:Making Video Games (Without an Engine) in 2025 by NotGMan on Tuesday May 20, 2025 @04:20AM (#44039114)
This.

When working on your own engine you also feel as if 90% of the time is spend on user interface creation if you actually want to have an visual editor.

People don't realize that they will spend 95% of the time on the engine and 5% on the game.

Which is ok if you don't want to make a commercial living out of it.

But unless you are making a game with extremely specific needs (eg Factorio) using your own engine will probably kill you commercially.

Re:Making Video Games (Without an Engine) in 2025 by jeffhuys on Tuesday May 20, 2025 @04:25AM (#44039141)
Even factorio started out on tried-and-tested libraries before moving away from them primarily because of optimization concerns (right?)
Re:Making Video Games (Without an Engine) in 2025 by xandrius on Tuesday May 20, 2025 @04:30AM (#44039181)
Yep, people forget one of the core notions of development which is not to prematurely optimise stuff. Especially something as complex as a game.

Keep it super simple. Or that game will never come out.

Re:Making Video Games (Without an Engine) in 2025 by nkrisc on Tuesday May 20, 2025 @05:47AM (#44039685)
Just the other day on reddit I saw someone asking about efficiently removing an item from an array for the game they’re working on. It became this whole CS debate and then someone asked how big the array is and how often do you remove items. The OP responded that it’s just a list of levels in their game, so not more than 20 items or so and is modified once every 5-10 minutes…

So a day on their game wasted over efficiently removing an item from an array of 20 items every 5-10 minutes.

Re:Making Video Games (Without an Engine) in 2025 by corysama on Tuesday May 20, 2025 @09:36AM (#44041497)
I used to make 3D engines and asset pipelines professionally. High performance really is critical in both. So, I’d have to check myself frequently:

> If I optimize this, how much time is it going to save the whole world? What will be the sum of time saved by everyone who will ever run this code? Is that less than the time required of me to do the optimization? Then, don’t do it!

That question was relevant quite often.

The big optimizations though really mattered. And, required planning before initial implementation to set the system up to be optimizable.

Re:Making Video Games (Without an Engine) in 2025 by johnnyanmac on Tuesday May 20, 2025 @06:22PM (#44046526)
Really highlights the divide between industry and acedemia.

Reminds me of when another subreddit was mocking some legacy code (I think Motorola? Some mobile device stuff) for using bubble sort. Meanwhile, the sort probably wasnt on more than a fee hundred items and the mobile embedded is constrained for space. Bubble sort is easy to read, write and has O(1) space. Performance isn't a concern at the scale being worked at. We're talking maybe microseconds of difference.

It's not necessarily a bad thing that acedemia focuses on theory. But we keep using school to put a square peg into a round hole and wonder why students are so unprepared for actual production.

It's ultimately the company's fault. If you want certain skills, you need to train for it. Your processes aren't public, so you can't just expect candidates to magically know what matters to their role.

----

now acedemically: the answer is to swap an item to the end and reduce the buffer size. I don't think that's taught in acedemia either, but that's a trick you learn on the job. When and if you do need it.

Re:Making Video Games (Without an Engine) in 2025 by meheleventyone on Tuesday May 20, 2025 @04:53AM (#44039323)
The full quote is:

> Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.

Sometimes the best way to tackle that 3% is upfront when you're deciding on your system architecture.

Re:Making Video Games (Without an Engine) in 2025 by ms-menardi on Tuesday May 20, 2025 @04:42AM (#44039252)
some games require a certain level of scale and for those games you should optimize in the pre-planning stage.
Re:Making Video Games (Without an Engine) in 2025 by brulard on Tuesday May 20, 2025 @05:47AM (#44039683)
I think you are missing the point. The larger the scale is, the more things may be optimized and the more you need to be careful to focus on the important "3%". That said, it doesn't hurt to analyse in advance which parts might be critical and steer the architecture based on those observations.
Re:Making Video Games (Without an Engine) in 2025 by xandrius on Tuesday May 20, 2025 @03:36PM (#44045099)
Statistically speaking, 99% of game devs won't ever make a game like that. And if they do, they will probably know ahead of time they are making it.
Re:Making Video Games (Without an Engine) in 2025 by danielscrubs on Saturday May 24, 2025 @12:23AM (#44078756)
100% of hobby game devs do it as a hobby. The learning process is the fun part. Which is also why 99% give up on their game when they see more learning potential in another area.
Re:Making Video Games (Without an Engine) in 2025 by monkeyelite on Tuesday May 20, 2025 @10:00AM (#44041811)
> using your own engine will probably kill you commercially.

No - spending a lot of time making tools you don’t need is the problem. You can write your own engine and leverage existing tools.

Re:Making Video Games (Without an Engine) in 2025 by dismalaf on Tuesday May 20, 2025 @11:48AM (#44042939)
Visual editors are a waste of time. For 2D, lots of solutions exist (Tiled for example). For 3D, you can use Blender as your editor.

The key to making no engine work is to make only what you actually need.

Re:Making Video Games (Without an Engine) in 2025 by whstl on Tuesday May 20, 2025 @01:27PM (#44043870)
That’s a great idea.

I have limited experience scripting Blender, but there is a BPY API to add custom panels, so adding metadata to “entities” and simplifying the export workflow is probably feasible to the point it will be very close to an editor.

Re:Making Video Games (Without an Engine) in 2025 by dismalaf on Tuesday May 20, 2025 @01:40PM (#44043982)
Even without scripting Blender, GLTF is a "scene" format. GLTF files hold information about models, textures, lights, etc... So you can create your scene then import straight into your game with GLTF (open source, super common).

And of course since Blender is used for movies, it does scenes well already.

Re:Making Video Games (Without an Engine) in 2025 by Supermancho on Tuesday May 20, 2025 @02:13PM (#44044303)
Visual editing is how all UI is designed. It's not a waste of time. Visual editing is the primary way to prototype, which means it's heavily used at the beginning and less as development goes forward. Projects have some process to translate the prototypes into scaffolding UI in the Editor, then modify with state where necessary. This pipeline is common across all types of software.
Re:Making Video Games (Without an Engine) in 2025 by dismalaf on Tuesday May 20, 2025 @05:17PM (#44046012)
Sorry, I thought the context was clear given the parent. Making your own visual editor is a waste of time when ones exist that will output a format you can simply put into your game.
Re:Making Video Games (Without an Engine) in 2025 by johnnyanmac on Tuesday May 20, 2025 @06:19PM (#44046508)
> For 3D, you can use Blender as your editor.

Really depends on the team size, composition, and game. If you have designers on the team who aren't dedicated programmers, I don't think blender will cut it for them.

Re:Making Video Games (Without an Engine) in 2025 by dismalaf on Wednesday May 21, 2025 @02:37PM (#44054675)
??? Blender has scripting but it's for artists... Like, artists make movies with it... Movies that have scenes with dozens of artists working on it...
Re:Making Video Games (Without an Engine) in 2025 by johnnyanmac on Wednesday May 21, 2025 @03:47PM (#44055512)
Yes, but most artists can't script. The scripting is for tech artists or programmers to build tools/pipelines on top of Blender.

The demands of a movie differ from a game which is why I'm a bit doubtful. But nothing is impossible to achieve with peope planning, so I'm not dismissing it.

Re:Making Video Games (Without an Engine) in 2025 by mhast on Wednesday May 21, 2025 @06:11PM (#44056784)
The people who are used to making models are probably not the same as are building levels.

At least when I last tried Blender the UI was a lot harder to use than something like Unreal or Unity editor.

I'd probably look at the Godot editor first.

But I do like the idea of trying to find an existing editor in the same domain and modifying that rather than building from scratch.