/gedg/ - Game and Engine Development General #287 - /g/ (#105797658) [Archived: 443 hours ago]

Anonymous
7/4/2025, 12:00:53 PM No.105797658
ac6d6ed0869bd503_thumb.jpg
ac6d6ed0869bd503_thumb.jpg
md5: 8435eb39db441de65fa0c62f639bbd49๐Ÿ”
Real time software raytracing edition

/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_General
IRC: irc.rizon.net #/g/gedg
Progress Day: https://rentry.org/gedg-jams
/gedg/ Compendium: https://rentry.org/gedg
/agdg/: >>>/vg/agdg
Graphics Debugger: https://renderdoc.org/

Requesting Help
-Problem Description: Clearly explain your issue, providing context and relevant background information.
-Relevant Code or Content: If applicable, include relevant code, configuration, or content related to your question. Use code tags.

Previous: >>105752892
Replies: >>105799341 >>105801613 >>105803524 >>105804598 >>105806701 >>105810484 >>105823668 >>105824013 >>105835373
Anonymous
7/4/2025, 12:01:45 PM No.105797665
Triceratops_BW
Triceratops_BW
md5: c1b6b87f28b8629410e4ebd28e5d0797๐Ÿ”
Anyone have any old freeware devs' sites from before 2010? Particularly those that hosted their freeware games
I'd like to look at their sites and games for inspiration (since I might end up just being a freeware or FOSS gamedev)
Anonymous
7/4/2025, 12:34:47 PM No.105797871
I'm writing something to convert audio assets from FLAC to Opus for my game engine.
Replies: >>105798095
Anonymous
7/4/2025, 1:18:57 PM No.105798095
>>105797871
Isn't that like a 2 line shell script?
Replies: >>105798200 >>105798244
Anonymous
7/4/2025, 1:37:04 PM No.105798200
>>105798095
its ffmpeg
Replies: >>105798244
Anonymous
7/4/2025, 1:44:28 PM No.105798244
>>105798095
Only if I used some external program.

>>105798200
FFmpeg is not a part of my engine.
Replies: >>105798266
Anonymous
7/4/2025, 1:47:04 PM No.105798266
>>105798244
Ah yes, the excitement of spending days, or even weeks for something you have to do maybe a couple of times and can be easily achieved by a 2 line shell script.
Replies: >>105798338
Anonymous
7/4/2025, 2:01:22 PM No.105798338
>>105798266
I enjoy programming.
Replies: >>105798634
Anonymous
7/4/2025, 2:12:43 PM No.105798415
Sogeki no shima desu ~~
Anonymous
7/4/2025, 2:44:30 PM No.105798634
>>105798338
I mean sure, but engine is a big enough project that you shouldn't need to make detours like this to find something to do.
Replies: >>105798929
Anonymous
7/4/2025, 3:21:13 PM No.105798875
I've made a physics engine, a rendering engine, but writing file format converters is peak stupid
Anonymous
7/4/2025, 3:28:09 PM No.105798929
>>105798634
The way I see it using FFmpeg would be making a detour to avoid implementing support on the engine for the media formats that are essential to its functioning. It could make sense if I was under some urgent time constraint to get the audio system working but that is not the case.
Replies: >>105823834
Anonymous
7/4/2025, 3:56:08 PM No.105799143
first for devving
Anonymous
7/4/2025, 4:23:12 PM No.105799341
>>105797658 (OP)
>webm
Holy shit, that is cool. We really are living i the future.
Anonymous
7/4/2025, 5:21:24 PM No.105799730
>hlsl tool still hasnt been updated to hlsl 202x
im so tired of it not recognizing templates
Anonymous
7/4/2025, 9:15:30 PM No.105801613
>>105797658 (OP)
any tips on how to learn vulkan?
can AI help? usually with libraries it just hallucinates details and seems to be stuck in a few versions from the past
Replies: >>105801653 >>105801684
Anonymous
7/4/2025, 9:19:48 PM No.105801653
>>105801613
Just Vibe code it via gemini-cli.
But desu don't do it. on yt channel ogldev you have whole seriers about vulcan
Anonymous
7/4/2025, 9:22:52 PM No.105801684
>>105801613
use opengl
Anonymous
7/4/2025, 9:39:09 PM No.105801821
le-image
le-image
md5: 8a3976659fc22ecacd6235cc88e034c5๐Ÿ”
Sup /gedg/. Currently struggling with 3d object picking. I have workable, but not perfect.

That's all. Also - 105k LoC.
Replies: >>105801898 >>105810461
Anonymous
7/4/2025, 9:50:38 PM No.105801898
>>105801821
i would not let any project I write get past 20k loc
and 20k still feels obscene
Replies: >>105801965 >>105802383 >>105823844
Anonymous
7/4/2025, 9:59:25 PM No.105801965
>>105801898
20k isn't all that impressive. I push something like that at work every month if there is major implementation going on.
Granted - these days I mostly replace 100k of old code with 25k of new code, but still.
Anonymous
7/4/2025, 10:55:25 PM No.105802383
>>105801898
While I do agree with the sentiment that less line of code is generally better, 20k is not "a lot" for that kind of thing, and arbitrary limits don't really help.
Anonymous
7/4/2025, 11:17:03 PM No.105802550
I render my scene as trillion of microscopic spheres with full ray tracing in software
Anonymous
7/5/2025, 12:16:57 AM No.105802964
https://github.com/nvpro-samples/vk_minimal_latest
Thoughts?
Replies: >>105803587 >>105803871 >>105805776
Anonymous
7/5/2025, 1:32:38 AM No.105803524
>>105797658 (OP)
I love this aesthetic
Anonymous
7/5/2025, 1:41:26 AM No.105803587
>>105802964
4000 LOC + 6 dependencies for two triangles
i don't think about you at all
Replies: >>105803712
Anonymous
7/5/2025, 1:59:20 AM No.105803712
>>105803587
write a hardware accelerated graphics application for windows and/or linux with no dependencies
Replies: >>105803722
Anonymous
7/5/2025, 2:01:01 AM No.105803722
1750632681779092
1750632681779092
md5: e4bb93bcb484165630e5b23393435ca6๐Ÿ”
>>105803712
REALITY CHECK
Anonymous
7/5/2025, 2:23:07 AM No.105803871
>>105802964
Iโ€™m it as one of my references
Replies: >>105804243
Anonymous
7/5/2025, 2:24:02 AM No.105803873
graphics sounds easy compared to writing an audio engine from scratch
Replies: >>105804192
Anonymous
7/5/2025, 3:07:43 AM No.105804192
1726400150650511
1726400150650511
md5: 0916ff80af78bef6e2dc0a478c49da0b๐Ÿ”
>>105803873
Audio is literally just a simple bytecode interpreter
Replies: >>105804712
Anonymous
7/5/2025, 3:14:33 AM No.105804243
>>105803871
using*
Anonymous
7/5/2025, 3:43:27 AM No.105804444
does it make any sense writing a game in C ? seems that games are one of those use cases where it makes sense to use OOP 100% of the time
Replies: >>105809961 >>105815958
Anonymous
7/5/2025, 3:59:58 AM No.105804537
I need actual serious advice.

I am making a 3d mmorpg in c++, Should I care about optimization before the bottlenecks start to appear, or should I only care about it when they show up?

obvious optimizations like broad and specific collision and heightmap interpolation are already at play.
Replies: >>105804629 >>105805799 >>105806403
Anonymous
7/5/2025, 4:09:38 AM No.105804598
coomer 2
coomer 2
md5: 6c55b2530535208ffe41a64f07c07fa6๐Ÿ”
>>105797658 (OP)
nice balls anon
Anonymous
7/5/2025, 4:15:14 AM No.105804629
>>105804537
honest question how do you know where the bottlenecks are if they haven't appeared yet?
Replies: >>105804708
Anonymous
7/5/2025, 4:29:18 AM No.105804708
>>105804629
Looking at the complexity of the problems, collision is likely the biggest cpu user and the heightmaps are the memory one.
Considering the experiences I am having now it's clear that looking at the problem before taclking it gave good results, but at the same time I fear I might be losing too much time with ECS, FP + OOP problematics and coding less.
I think in the end of the day I just need to optimize where I know I will have gains, then just rework what gets problematic.
Something obvious I am doing is making sure the systems can run in parallel in the future (damage and collision being calculated by a sole core)
Replies: >>105804828
Anonymous
7/5/2025, 4:29:55 AM No.105804712
>>105804192
lol maybe in commodore days grandpa
Anonymous
7/5/2025, 4:51:02 AM No.105804828
>>105804708
As an example, right now I am thinking that reactive collision instead of predictive collision could save a lot of memory
Replies: >>105804887
Anonymous
7/5/2025, 5:05:52 AM No.105804887
>>105804828
so you already wrote one algorithm that you don't need and you want to replace it with another algorithm because surely this time it will be worth it. do you see what they mean by root of all evil?
Replies: >>105805132
Anonymous
7/5/2025, 5:50:17 AM No.105805132
>>105804887
I guess at least I learned a lesson.
Anonymous
7/5/2025, 6:03:22 AM No.105805218
Anyone else feel like naming their vulkan wrapper/engine after a star trek character?
that or a volcano
Anonymous
7/5/2025, 7:55:56 AM No.105805776
>>105802964
What are you looking for in particular?
Anonymous
7/5/2025, 8:01:13 AM No.105805799
>>105804537
bottlenecks are the last thing for you to worry about because a real MMO is all about scale.
but obviously you should expect that your first game (that you actually put years of effort into) is going flop with a few downloads, unless you have a really easy way of getting exposure (like embedding yourself into a existing community, such as just copying the community / game and leaching from them). Generally at your second game you either give up or actually get the exposure you need for the next game because it turns out that most games look a lot more fun and interesting when it's not released.
Anyways, ignoring that, the big problem is that all mmo's are free and hosting on the cheapest piece of shit that can survive with like 100~ users concurrently (depending on your game, assuming not an FPS, simple movements) is like $4~ a month. That's not bad but we are talking about like 2 cores + 1gb ram (cores and ram can be upgraded), and optional very, very, very slow storage that is $5 a month for each 1tb (1tb minimum) and I don't know how much a speedy database would cost, I was assuming you would just be OK with the data loss from a crash since it's going to be cheaper and 100x faster & the reliable way of doing in game purchasing would be with steam's inventory SDK.
Also if you were doing an FPS, the cost of the server isn't the only issue, it's the cost of the bandwidth, 1gb upload costs like $0.001 or something, and 1 user could download 100mb in like 1hr in a FPS, so 100 users playing 2hr every day would cost 50 cents in one month, CHEAP, but when you scale the numbers and remembering that 90% of the money comes from whales, it's rough.
Also to scale you need an API that can scale the server instances, you can't use C++ on Oracle (which has a generous free tier which doesn't work when you need it + some free bandwidth + auto balancer + linux), but you can use C++ with AWS I think.
The only true DDOS protection is cloudflare which is web only.
Replies: >>105805863
Anonymous
7/5/2025, 8:13:51 AM No.105805863
>>105805799
actually 1tb of storage costs 10x more.
and 1gb of egress is actually 100x more as well.
But it depends, I haven't actually looked it up and if you hosted it yourself, I believe you hard lock yourself to like 200 maximum, and chinese VPS or whatever you call it services are cheaper but I don't know if you can scale up and spin up new instances using an API.
Also there was the European service I forgot the name of that's cheaper than everything else but nobody can get access to it or something because it's business only.
Anonymous
7/5/2025, 8:26:57 AM No.105805937
>I'm gonna make a mmorpg!
no, you aren't
Anonymous
7/5/2025, 8:31:39 AM No.105805959
People who have never made a game speculating about making an MMORPG takes me back to the 2000s
Anonymous
7/5/2025, 9:07:54 AM No.105806134
dx
dx
md5: f24f7383c8fb7f7ccf8abc6833cda004๐Ÿ”
Yeah, I'm basically 99% done with my game engine.
Replies: >>105806142 >>105806167
Anonymous
7/5/2025, 9:09:42 AM No.105806142
>>105806134
Wow, just realized that either the Windows screen clipping tool or Chrome or something else really fucks with the blues.
Anonymous
7/5/2025, 9:15:41 AM No.105806167
>>105806134
Which api?
Replies: >>105806180
Anonymous
7/5/2025, 9:19:35 AM No.105806180
>>105806167
D3D12. Honestly pretty simple so far considering how people hype it up as some impenetrable API. I'm sure doing insane 3D effects and optimizations gets complicated, but I don't think cranking out a 2D game with this would be that bad.
Replies: >>105806206 >>105806215
Anonymous
7/5/2025, 9:25:54 AM No.105806206
>>105806180
Nigger use Vulkan
Replies: >>105806229
Anonymous
7/5/2025, 9:29:05 AM No.105806215
>>105806180
well, getting a triangle to render isnt hard, the hard part comes when juggling resources, descriptors, synchronizing multiple queues, and async resource creation
Replies: >>105806327
Anonymous
7/5/2025, 9:30:59 AM No.105806229
>>105806206
Nah.
Anonymous
7/5/2025, 9:48:09 AM No.105806327
>>105806215
Most of that stuff is verbosity a rather than difficulty. Like knowing when and how to add a sync barrier is straightforward. The genuinely hard stuff is memory management which is mostly handled by VMA if youโ€™re using Vulkan, dx12 has an alternative but I donโ€™t know how popular it is. The problem is modern graphics APIโ€™s are already outdated. They were made in 2016(9 years ago) and built to be backwards compatible with hardware tracing back to like 2012. GPU hardware is completely different today, more unified and simplified than ever. Synchronization is different. Descriptors are a thing of the past, all GPUโ€™s deal with pointers now. Layout transitions are also no longer necessary. Ironically dx12 is the longest surviving DirectX version, Vulkan is the same age and also committee driven. They definitely need new whole versions asap but companies being retards probably wonโ€™t come around until 2030. Metal is the ideal modern api but alas itโ€™s Apple only.
Replies: >>105806341 >>105806462 >>105806526 >>105811264
Anonymous
7/5/2025, 9:50:21 AM No.105806341
>>105806327
doesn't matter in 2 years we'll just have real time generative ai and 3d programming will be dead
Replies: >>105815268
Anonymous
7/5/2025, 10:03:01 AM No.105806403
>>105804537
Fix problems you have, not problems you _might_ have. There is a finite set of problems _right now_ and an infinite set of problems that might arise.

As such, a heuristic is to always assume that X will not be a problem until it becomes one.

t. 20 years of experience haver.
Anonymous
7/5/2025, 10:07:41 AM No.105806430
gpus should just be tiny game consoles you put inside your computer and the rest of the computer just acts as a hardware abstraction layer
Anonymous
7/5/2025, 10:13:35 AM No.105806462
>>105806327
hardware might have changed, but if the apis are old, we cant really do anything about that
>GPUโ€™s deal with pointers now
at least we've gotten bindless resources a while back, despite how little material covers how to transition from bindful to bindless
>Layout transitions are also no longer necessary
you mean in hardware right? apis still need to transition afaik. at least my debug layers scream at me that i cant present a render target
>They definitely need new whole versions asap
agreed, i do hate how the apis have moved to "just keep downloading our latest vendor extensions / agile sdks" instead of just making a good new full release. dx 13 and vulkan 2 cant come fast enough, but i dont think we will ever see them do that
Replies: >>105806632
Anonymous
7/5/2025, 10:20:10 AM No.105806487
if something seems complex just think about it in the stupidest way possible and then you'll understand it
Anonymous
7/5/2025, 10:27:52 AM No.105806526
>>105806327
>They were made in 2016
The 1080 was released in 2016 and is still in common use. Even if DX13 dropped today it'd be 10 years before you could just assume everyone was running hardware to support it, in the meantime you'd be forced to write DX12 and DX13 implementations for everything.
Anonymous
7/5/2025, 10:52:16 AM No.105806632
>>105806462
>you mean in hardware right? apis still need to transition afaik. at least my debug layers scream at me that i cant present a render target
UNDEFINED and PRESENT are still necessary but everything else is getting phased out in favor of general. https://www.khronos.org/blog/so-long-image-layouts-simplifying-vulkan-synchronisation
Replies: >>105808292
Anonymous
7/5/2025, 11:06:55 AM No.105806701
>>105797658 (OP)
>Real time software raytracing edition
https://youtu.be/cNwEhqbn5-g
Anonymous
7/5/2025, 12:42:31 PM No.105807147
how's raylib for enginedev? everything in one package without having to piecemeal a bunch of libraries sounds convenient
Replies: >>105808142
Anonymous
7/5/2025, 3:39:38 PM No.105808142
>>105807147
raylib is just a kinda buggy wrapper over SDL
if you're planning to 3D dev it's not a good idea
something like raylib for common lisp would be good though
Replies: >>105834485
Anonymous
7/5/2025, 4:05:02 PM No.105808292
>>105806632
if im not mistaken those are the "enhanced" barriers in dx 12 right? they at least sound sorta familiar
Anonymous
7/5/2025, 6:20:04 PM No.105809250
I don't care, I will keep using DX9 and OpenGL 3.3
Anonymous
7/5/2025, 7:16:21 PM No.105809621
Vulkan extensions I'm looking at to make writing a renderer as simple as possible:
Dynamic rendering (+ local read)
Synchronization 2
Shader objects
Push descriptors
Descriptor indexing
Buffer device addresses
Dynamic vertex input state
All of the maintenance and extended dynamic state stuff

Is this a good list? Am I missing anything big?
Replies: >>105809657
Anonymous
7/5/2025, 7:19:58 PM No.105809657
>>105809621
>Vulkan extensions I'm looking at to make writing a renderer as simple as possible:
OpenGL
Replies: >>105809762
Anonymous
7/5/2025, 7:33:44 PM No.105809762
>>105809657
Not being able to do something as simple as selecting the graphics device you want to use makes OpenGL kind of unattractive to me.
Replies: >>105809789 >>105810048
Anonymous
7/5/2025, 7:37:56 PM No.105809789
>>105809762
that is some supreme bikeshedding
Anonymous
7/5/2025, 7:58:50 PM No.105809961
>>105804444
I'm working on a game in UE5 (don't tell /gedg/) and OOP makes me want to ACK.

Depends on what you're doing. For stuff like a standard FPS it's ok, anything else and it's a pain in the fucking ass.
Anonymous
7/5/2025, 8:00:39 PM No.105809993
I want to make a MUD engine for erotic roleplaying. I want the game to have it's own client so players can add and share artwork of their characters. I want it to play kind of like a multiplayer VN with some form of matchmaking I guess. My question is would it be better to make it a desktop client, a mobile client, or a web client? I have experience in system and network programming only so whichever I go with will be new to me. I find learning frameworks to be more work than simple libraries so I would like to avoid bulky frameworks if possible. It seems like the VN crowd prefers desktop so I'm leaning toward that but I was hoping to find a solution that would be easy to port to mobile at a later date if one exists. I hope to play in bed or the bath without electrocuting myself with a laptop. Thanks, /gedg/!
Replies: >>105810285
Anonymous
7/5/2025, 8:05:08 PM No.105810048
>>105809762
>selecting the graphics device
There's only one in 99.99% of cases. The user sets their OS to use the GPU they want to use and the OS passes it on to OpenGL. The idea that any players are choosing from a wide selection of devices like a mafia don choosing cigars is just silly.
Anonymous
7/5/2025, 8:29:40 PM No.105810285
>>105809993
Can you describe game idea for this engine? How the potential game could look like? Its like MMORPG where you can talk to other players with VN ui or what?
Replies: >>105810562
Anonymous
7/5/2025, 8:47:12 PM No.105810461
>>105801821
Looks nice. What is the game about?
Replies: >>105810766
Anonymous
7/5/2025, 8:50:21 PM No.105810484
>>105797658 (OP)
What is the required topics you must learn before learning OpenGL , I know basic C++ , College maths and physics
Replies: >>105810578 >>105811213
Anonymous
7/5/2025, 8:59:11 PM No.105810562
>>105810285
I don't know if you ever played old MUDs over telnet but that's all I want to make for the most part. I just want a client that displays things more similar to a VN than a chat room.
Replies: >>105810622 >>105811085
Anonymous
7/5/2025, 9:00:27 PM No.105810578
>>105810484
trig and linear algebra will help but honestly you can just look up what you need to do and copy paste from a tutorial or something.
Anonymous
7/5/2025, 9:05:28 PM No.105810622
>>105810562
Fuck just now i realized what do you mean by MUD. nevermind
Anonymous
7/5/2025, 9:25:20 PM No.105810766
>>105810461
OTTD and classic Transport Tycoon inspired railroad game with crippling autism level of mechanical detail. Think "Dwarf Fortress" but about running a railroad.
Anonymous
7/5/2025, 10:05:36 PM No.105811084
Creator of Diablo made his solo game It Lurks Below https://store.steampowered.com/app/697550/It_Lurks_Below/ using a custom engine in C/C++ written from scratch, no frameworks used. Brevik said he wrote 90%+ of the game in C and the tiny bit left in C++ because of some shortcuts in it.

Brevik's own words the code consists of "tens, hundreds of thousands lines". I guess it means the code is more than 100k lines. What's funny is he said the art took most of his time. Not programming.
Replies: >>105811109 >>105811111 >>105811363 >>105812450 >>105815280
Anonymous
7/5/2025, 10:05:56 PM No.105811085
>>105810562
people didn't write muds from scratch, they just configured open source mud servers and added custom scripts/content
Anonymous
7/5/2025, 10:08:30 PM No.105811109
>>105811084
doesnr look very good desu
Replies: >>105812618
Anonymous
7/5/2025, 10:08:42 PM No.105811111
>>105811084
This might shock you anon, but if you actually have decades of professional game programming experience, it's not exactly difficult to shit out a indie tier game engine. Also that looks like shit.
Replies: >>105812618
Anonymous
7/5/2025, 10:21:59 PM No.105811213
>>105810484
You can learn a lot from just doing 2D, 3D isn't the problem, there is so much 3D open source code out there that you can borrow and use, going from nvidia examples to random MIT licensed game engines, even like the physics SDK libraries have their own example vulkan / etc demos that aren't very complex at all.
Raylib for example just draws 3D models, it doesn't need to be more complex than that, you don't even need LOD levels or frustrum culling if your models are low poly / good retopology (but it's a huge FPS benefit if you did).
You are more likely to be filtered by game code, because it's a trade secret.
Good luck finding good game code in the world where google sucks, AI content farms from india are everywhere (Indians LOVE C++), and reading open source projects requires a huge amount of skill (reading other people's code is a skill you need to develop, and C++ is probably one of the most FUCKED languages in terms of how every project has it's own style, and every game has spaghetti code, ECS is spaghetti, monolithic entities are spaghetti, everything is spaghetti).
So uhh, make a 2d game and learn UI and saving / loading and game loop shit and hopefully you can hopefully avoid a few mistakes you made when you start on the 3d game.
You can make a 2d game with opengl easily (just have one big VBO and just draw the triangles onto it, you can look at raylib / SDL's code to see how they do the 2D api, note your VBO can't be batched AKA drawn in one call if you change textures or call GL functions which is why sprite sheets help, opengl 1.1 is EASIER for 2D but why bother), but note that SDL is more portable and since it uses DX11, it has faster fullscreen alt tabbing (opengl will flicker the screen black for half a second when you alt tab, and overlays such as volume will not appear BUT the steam overlay will work fine, this can be fixed on a nvidia control panel and set opengl/vulkan swapchain presentation mode to dxgi, this is just autism however).
Anonymous
7/5/2025, 10:29:21 PM No.105811264
>>105806327
Apple chads win AGAIN
Anonymous
7/5/2025, 10:46:31 PM No.105811363
>>105811084
>custom engine in C/C++ written from scratch, no frameworks used
Is this some kind of flex? Millions of people have written games just using C/C++ and assorted libraries. Game's a Windows exclusive from the looks of it so I would assume it's built on DirectX which just outright includes all functionality you need to build a complete game.
Replies: >>105816572
Anonymous
7/5/2025, 10:59:03 PM No.105811439
https://steamdb.info/tech/SDK/LWJGL/
Does *YOUR* game use J*va, anons?
Replies: >>105811927
Anonymous
7/5/2025, 11:05:07 PM No.105811483
3277209_gence_mini-mix-leaks
3277209_gence_mini-mix-leaks
md5: 99e0e37897b644eb258df97b16f999c8๐Ÿ”
Here's a list of 3D Indie games on steam that use SDL (likely custom engines)
https://steamdb.info/tech/SDK/SDL/?displayOnly=Game&tagid=4191%2C492
Replies: >>105811500 >>105811991
Anonymous
7/5/2025, 11:07:45 PM No.105811500
>>105811483
why couldnt the dragon balls fix that
Replies: >>105811991
Anonymous
7/5/2025, 11:22:40 PM No.105811592
https://www.youtube.com/watch?v=CIZB4TCY4MM
Replies: >>105814734
Anonymous
7/6/2025, 12:06:26 AM No.105811927
>>105811439
Yes!
Anonymous
7/6/2025, 12:16:27 AM No.105811991
>>105811483
>highest peak is 1800
Grim, I shan't use SDL.
>>105811500
It's Babidi saga Goku, he just wants to kill people.
Replies: >>105812449
Anonymous
7/6/2025, 1:09:59 AM No.105812326
1725677258179111
1725677258179111
md5: e08c594b87b8f76232f5723adb339001๐Ÿ”
>works fine on nvidia
>explodes on amd
>don't even have an intel to test at all
Replies: >>105816577
Anonymous
7/6/2025, 1:30:18 AM No.105812449
>>105811991
balatro is made in lua in love2d which uses SDL.
Anonymous
7/6/2025, 1:30:20 AM No.105812450
>>105811084
>Brevik
isn't he serving time in prison for shooting all those kids on the island?
Anonymous
7/6/2025, 1:33:56 AM No.105812468
can love2d do 3d??
Replies: >>105814802
Anonymous
7/6/2025, 1:59:25 AM No.105812618
>>105811109
>>105811111
Game dev have standard game visuals, you can make a successful and fun game with 8-bit, 16-bit, retro pixel art, etc.
Replies: >>105812633 >>105812673 >>105812959
Anonymous
7/6/2025, 2:01:59 AM No.105812633
1739320006831072
1739320006831072
md5: 10cb0358e93c8b1158da54861e1f8f86๐Ÿ”
>>105812618
Anonymous
7/6/2025, 2:09:12 AM No.105812673
>>105812618
yeah and it doesnt look fun
Replies: >>105812763
Anonymous
7/6/2025, 2:23:10 AM No.105812748
ygg-1751760957-half-scale_thumb.jpg
ygg-1751760957-half-scale_thumb.jpg
md5: 7564fcd168f48a37fe8ac2c852cf123f๐Ÿ”
>>105782315
>>105789990
Not polished yet but working demo. Pathfinding is integrated to the spatial hash. And that is integrated with the networking. Showing a spell with astar pathfinding. The spatial hash updates subscribers on collisions, and also might cause the spell to collide at said point before reaching goal point (eg rock smash there if enemy).
Replies: >>105818614
Anonymous
7/6/2025, 2:25:20 AM No.105812763
>>105812673
what's a fun game that /gedg/ made?
Replies: >>105812782
Anonymous
7/6/2025, 2:28:33 AM No.105812782
>>105812763
/gedg/ hasn't made a game that isn't fun
Replies: >>105812881 >>105812991
Anonymous
7/6/2025, 2:42:35 AM No.105812881
>>105812782
name 1 game
Replies: >>105812929
Anonymous
7/6/2025, 2:51:19 AM No.105812929
>>105812881
nintendo
Anonymous
7/6/2025, 2:56:28 AM No.105812959
agdg
agdg
md5: 9b8034e7b7696c8d12c09a1518231726๐Ÿ”
>>105812618
>8-bit, 16-bit, retro pixel art
The game that was posted isn't any of those things, though.
Replies: >>105813210
Anonymous
7/6/2025, 3:02:35 AM No.105812991
>>105812782
can't make a game that's not fun if you can't make a game at all ;)
Anonymous
7/6/2025, 3:14:35 AM No.105813057
How do you even enginedev without access to hundreds of test rigs running different hardware configurations?
Replies: >>105813078
Anonymous
7/6/2025, 3:18:02 AM No.105813078
>>105813057
unless you're using obscure graphics extensions then your game will work the same on any system
Replies: >>105813105 >>105813115
Anonymous
7/6/2025, 3:21:44 AM No.105813105
>>105813078
vksissies in shambles
Anonymous
7/6/2025, 3:22:51 AM No.105813115
>>105813078
that's not true, even directx has a concept of feature levels
Replies: >>105813127
Anonymous
7/6/2025, 3:24:11 AM No.105813127
>>105813115
I have literally tested on hundreds of systems and in my experience it is true
Replies: >>105813152
Anonymous
7/6/2025, 3:27:25 AM No.105813152
1735593985779236
1735593985779236
md5: f0444cbbd633df8b0fa865da1b99b23a๐Ÿ”
>>105813127
In my experience writing RetroArch shaders, the same shader rarely just werkz on different vendors even if on paper it should.
Replies: >>105813161 >>105813163 >>105818614
Anonymous
7/6/2025, 3:28:54 AM No.105813161
>>105813152
rendering mario NES sprites is the hardest unsolved problem in computer science
Anonymous
7/6/2025, 3:29:05 AM No.105813163
>>105813152
well I'm talking about real games not whatever the fuck that is
Replies: >>105813317
Anonymous
7/6/2025, 3:33:55 AM No.105813197
Make everything a shader
https://www.shadertoy.com/view/XtlSD7
+
https://www.shadertoy.com/view/Xs2fWD
Anonymous
7/6/2025, 3:33:58 AM No.105813198
6943-clueless
6943-clueless
md5: b9f66bb48dcda1966a7d581d33612fa9๐Ÿ”
Should I use Vulkan instead of OpenGL?
I *want* to use OpenGL, but I'm afraid it's gonna be 100% deprecated soon, and that the Switch 2's SDK dropped support for GL 4.5 (which was supported in the Switch 1's SDK) should I port to Switch 1/2
Replies: >>105813207 >>105814740 >>105816267
Anonymous
7/6/2025, 3:35:28 AM No.105813207
>>105813198
>I'm afraid it's gonna be 100% deprecated soon
It's never going to be depreciated because of how many things need it to run
You are never going to port your homemade engine to a console
Replies: >>105813230
Anonymous
7/6/2025, 3:35:52 AM No.105813210
>>105812959
It's 8 bit graphics.
Anonymous
7/6/2025, 3:35:59 AM No.105813212
i am vulkan, destroyer of dreams
Replies: >>105813219 >>105827476
Anonymous
7/6/2025, 3:36:44 AM No.105813219
>>105813212
But didn't Sony already destroy Dreams?
Anonymous
7/6/2025, 3:38:03 AM No.105813230
>>105813207
>You are never going to port your homemade engine to a console
Animal Well dev ported his engine to ALL consoles thoughbeit.
Replies: >>105813232 >>105813236 >>105813264
Anonymous
7/6/2025, 3:38:29 AM No.105813232
>>105813230
Yeah and you aren't animal well dev
Anonymous
7/6/2025, 3:39:06 AM No.105813236
>>105813230
I don't think there's a single graphics API that works on all consoles
Replies: >>105813272
Anonymous
7/6/2025, 3:46:28 AM No.105813264
>>105813230
7 years thoughever
Anonymous
7/6/2025, 3:49:32 AM No.105813272
>>105813236
Vulkan works perfectly fine on the only console that matters (Nintendo).
Replies: >>105813279
Anonymous
7/6/2025, 3:50:29 AM No.105813279
>>105813272
>the only console that matters (Nintendo).
i dont have a reaction image for this
Replies: >>105813323
Anonymous
7/6/2025, 3:59:52 AM No.105813317
>>105813163
?
Bot post?
Replies: >>105813336
Anonymous
7/6/2025, 4:00:58 AM No.105813323
>>105813279
For indies, yes. As an example, the creator of Axion Verge said his Wii U port sold more than his Xbone and PS4 ports combined. And this was when the Switch was already out. Xbone and PlayStation are for normies to play FIFA, CoD, and Just Dance; they don't play indies on them.
Replies: >>105813340 >>105813789
Anonymous
7/6/2025, 4:02:49 AM No.105813336
>>105813317
You're talking about some emulator
Anonymous
7/6/2025, 4:03:36 AM No.105813340
>>105813323
Could have something to do with Axion Verge being a clone of a famous Nintendo IP
Anonymous
7/6/2025, 5:21:24 AM No.105813736
Lifesim or sandbox RPG?
Anonymous
7/6/2025, 5:29:45 AM No.105813789
>>105813323
if you are concerned about this, you should leave this thread and start making a game in unity
Replies: >>105813808
Anonymous
7/6/2025, 5:30:59 AM No.105813794
We all know path tracing is the big new thing for realtime graphics but what about engine specific technologies. Whats the new bleeding edge stuff for engine dev?
Anonymous
7/6/2025, 5:33:39 AM No.105813808
>>105813789
He's not me
Anonymous
7/6/2025, 6:32:59 AM No.105814121
IMG_7848
IMG_7848
md5: 784ddc6d4aa9c34e3b95f34bd739072b๐Ÿ”
BTFO
Replies: >>105814125 >>105814272 >>105815782
Anonymous
7/6/2025, 6:33:38 AM No.105814125
>>105814121
Anyone can make a 2D engine
Replies: >>105814227 >>105816141
Anonymous
7/6/2025, 6:52:40 AM No.105814227
>>105814125
3D isnโ€™t hard either if youโ€™re willing to stop at phong lighting
Anonymous
7/6/2025, 7:03:20 AM No.105814272
>>105814121
>studios
lol

also, it was unironically easier to write custom engines back in the day compared to now, especially on standardized hardware like consoles
Replies: >>105814281 >>105816141
Anonymous
7/6/2025, 7:04:36 AM No.105814281
>>105814272
>also, it was unironically easier to write custom engines back in the day compared to now
hahaha no
Replies: >>105814293
Anonymous
7/6/2025, 7:07:45 AM No.105814293
>>105814281
you can have a full map and sprites moving around on the nes in a few hundred lines of assembly, now do that in vulkan or dx, the shader alone would take more lines of code
Replies: >>105814307
Anonymous
7/6/2025, 7:09:28 AM No.105814307
>>105814293
that's an unfair comparison, do it with raylib instead
Anonymous
7/6/2025, 8:13:14 AM No.105814619
I want my engine to use phong lighting but for shadows I want to use ray tracing to avoid shadow maps entirely. Although I wouldnโ€™t render them at full resolution. Reflections would just be cubemaps.
Replies: >>105814752
Anonymous
7/6/2025, 8:34:12 AM No.105814734
>>105811592
> they're crossplatform
Yeah.... Apple says no...
Anonymous
7/6/2025, 8:35:20 AM No.105814740
>>105813198
It doesn't matter since you're never going to make anything anyway.
Anonymous
7/6/2025, 8:38:13 AM No.105814752
>>105814619
>but for shadows I want to use ray tracing
Guess your physics PhD will finally come in handy.
Anonymous
7/6/2025, 8:45:39 AM No.105814802
>>105812468
LoveVR can do 3D and is based on Love2d. Like a clone.
There is this library that can do basic 3d* https://github.com/groverburger/g3d

* I mean "basic" because it only supports .obj
Anonymous
7/6/2025, 8:46:38 AM No.105814809
>love2d, termux, some helper shell scripts and a dream
We're NGMI with this one :(
Replies: >>105814824
Anonymous
7/6/2025, 8:49:01 AM No.105814824
>>105814809
Just install helix on termux and you are set (after building all syntax-tree and downloading luals).
You dont need anything more.
Anonymous
7/6/2025, 9:07:24 AM No.105814912
Why are there no open source /gedg/ projects? Whereโ€™s our c++ windower to compete with GLFW and SDL? Whereโ€™s our c++ ImGUI alternative?
Replies: >>105815315
Anonymous
7/6/2025, 9:16:19 AM No.105814958
Reject Vulkan embrace Opengl 1.1
Anonymous
7/6/2025, 9:24:47 AM No.105814995
When does a framework stop being a framework and become an engine? GUI tooling?
Replies: >>105815029
Anonymous
7/6/2025, 9:35:20 AM No.105815029
>>105814995
When you grow up, get a job and move out.
Anonymous
7/6/2025, 10:14:46 AM No.105815268
>>105806341
And fusion power the year after that !!
Anonymous
7/6/2025, 10:16:22 AM No.105815280
>>105811084
Reminder that Diablo would have been turn based if this guy had his way
Replies: >>105816946
Anonymous
7/6/2025, 10:21:31 AM No.105815315
>>105814912
I am not that social.
Anonymous
7/6/2025, 11:25:33 AM No.105815664
Looking at Blenderโ€™s source code so I can copy its gizmos
Anonymous
7/6/2025, 11:47:40 AM No.105815782
>>105814121
>my game
>pixelshit pokemon avatar
Let me guess: 2D pixel platformer that's basically a gamejam?
Replies: >>105816141
Anonymous
7/6/2025, 12:10:44 PM No.105815958
>>105804444
Thousands of games have been written in C.

If you're thinking about using OOP for your entities, you can just have a generic entity struct that contains an enum type (player, enemy, static thing, whatever you need), and a void pointer to some arbitrary data for the type to use. Then when you update/render your entities you just switch on the type, call a specific function for each type, and inside each function cast the data to whatever you set on it for that type to do type-specific stuff.
Replies: >>105816186
Anonymous
7/6/2025, 12:17:29 PM No.105816011
I will rewrite me engine again... but this time in Rust :D
Anonymous
7/6/2025, 12:37:06 PM No.105816141
>>105815782
>>105814125
>>105814272
Looked him up, possibly a schizo. He says he used to work at Unity, but then needs AI to understand basic concepts.

He also claims his engine is currently 14x faster than Unityโ€ฆ but on my machines, his is about 20% faster, and 25% slower than Godot. He also has some serious bug, because frametimes double after 5-10s.
Anonymous
7/6/2025, 12:42:27 PM No.105816186
>>105815958
theres really no reason to do this instead of using C++
Replies: >>105816240
Anonymous
7/6/2025, 12:49:33 PM No.105816240
>>105816186
obnoxious compile times the instant the compiler gets a mere taste of a standard c++ header are a good reason to use c instead.
Replies: >>105816245
Anonymous
7/6/2025, 12:50:58 PM No.105816245
>>105816240
Would C++ really compile slower than C on the same code?
Replies: >>105816485
Anonymous
7/6/2025, 12:57:20 PM No.105816267
>>105813198

Vulkan is also depracated because of the descriptor crap, which was designed for cards in 2015 not 2025. The future of graphics API is the way Metal does it.
Replies: >>105816491 >>105816603
Anonymous
7/6/2025, 1:17:45 PM No.105816363
I'm finally done with the 'Create with Code' Unity tutorial. Should I do the full pathway or right jump into my own personal little project?
Anonymous
7/6/2025, 1:35:45 PM No.105816485
>>105816245
if all you're doing is writing your c++ like it's c but replacing malloc with new and using classes instead of structs+functions, then compile times will be in the same ballpark.
but if you're writing "modern and correct" c++ at bare minimum you're including <memory> and <string> and you've already ballooned your compile time to an obscene degree, relatively speaking.
god help you if you start using vectors maps and lists to hold your data.
Anonymous
7/6/2025, 1:36:58 PM No.105816491
>>105816267
How does Metal do it, and why does only Apple have it when the mighty Kronos Group should give us what we need?
Anonymous
7/6/2025, 1:52:39 PM No.105816572
>>105811363
Where's your game?
Anonymous
7/6/2025, 1:53:55 PM No.105816577
>>105812326
The way it's meant to be played ;)
Anonymous
7/6/2025, 1:59:32 PM No.105816603
>>105816267
descriptors were never designed for actual cards, in the descriptor buffers announcement khronos said they were designed as an opaque abstraction that could support the edge case of shitty chinese mobile gpus without real registers so they could pretend they had registers while also supporting real gpus
descriptors were just abstractions over device side pointers and config structs in a variety of locations on real hardware
Anonymous
7/6/2025, 2:59:13 PM No.105816946
>>105815280
That would have been nice.
Replies: >>105817204
Anonymous
7/6/2025, 3:39:27 PM No.105817204
>>105816946
If Diablo was turn-based it would be a long forgotten game
Replies: >>105817509
Anonymous
7/6/2025, 4:32:01 PM No.105817509
>>105817204
there are a lot of turn based looter games that are just as addicting, if not more. if anything the big issue with diablo has always been how awkward it feels to play for an action RPG. same issue with MOBAs essentially. something like a single player diablo that played like a good infinity engine game would've printed money back in the day.
Replies: >>105817526
Anonymous
7/6/2025, 4:34:37 PM No.105817526
>>105817509
If Diablo was turn based it would just be another shallow 90s dungeon crawler of which there are thousands
Making it real time invented a genre
Replies: >>105817558
Anonymous
7/6/2025, 4:38:25 PM No.105817558
>>105817526
none would've had the loot system diablo 1 did. if you took random loot and multiplied the dopamine by 4 due to party management you would've had a hit, albeit a more autistic one. I know because japanese blobbers essentially do this in first person and they're very fucking addicting.
Replies: >>105817566
Anonymous
7/6/2025, 4:39:16 PM No.105817566
>>105817558
What do you mean loot system? You think other RPGs didn't have loot?
Replies: >>105817640
Anonymous
7/6/2025, 4:48:32 PM No.105817640
>>105817566
affixes are a pretty unique property for loot in diablo 1 that makes all the difference. it makes the game replayable as you hunt for better magic items to strengthen your character build by killing, killing and killing until you get magic items that best fit what you're looking for. I'm also not sure what other games before it did anything similar
Replies: >>105817648
Anonymous
7/6/2025, 4:49:26 PM No.105817648
>>105817640
Maybe you're thinking of Diablo 2
Diablo 1 was very basic
Replies: >>105817667
Anonymous
7/6/2025, 4:51:57 PM No.105817667
>>105817648
it's not that basic upon replays. it'd also fit a turn based dungeon crawler where you control an entire party. diablo 2 expanded the idea massively though yeah
Anonymous
7/6/2025, 5:02:01 PM No.105817744
what the fuck is sdl used for, i never used sdl
Replies: >>105817749 >>105817816
Anonymous
7/6/2025, 5:02:45 PM No.105817749
>>105817744
How do you draw a window?
Replies: >>105817773
Anonymous
7/6/2025, 5:04:13 PM No.105817773
>>105817749
glfw?
Replies: >>105817782
Anonymous
7/6/2025, 5:05:16 PM No.105817782
>>105817773
Ok so SDL does the exact same thing, people use it for the same reason you use GLFW.
Replies: >>105817913
Anonymous
7/6/2025, 5:08:14 PM No.105817816
>>105817744
It abstracts some platform-dependent functionality like window creation so you can more easily make an application work on multiple platforms. e.g. you can use SDL input/output functions to read files from a directory on windows/linux, but you also can use them to read files from your APK on android platforms without having to deal with writing the code to interface with the android API because that code is already written on the SDL side and provided to you as an identical interface to the one you use on windows/linux.
Replies: >>105817913
Anonymous
7/6/2025, 5:21:39 PM No.105817913
>>105817816
>>105817782
good to know, will definitely mess around with it. thanks anons.
Anonymous
7/6/2025, 5:35:57 PM No.105818035
What code editor do you guys use? Starting to get sick of vscode's shit (aka the copilot shit)
Replies: >>105818066 >>105818077 >>105818078 >>105818112 >>105820908
Anonymous
7/6/2025, 5:41:01 PM No.105818066
>>105818035
visual studio for 95% npp for the rest
Replies: >>105818128
Anonymous
7/6/2025, 5:42:14 PM No.105818077
>>105818035
we emac here
Anonymous
7/6/2025, 5:42:20 PM No.105818078
>>105818035
Jetbrains
Anonymous
7/6/2025, 5:45:27 PM No.105818112
>>105818035
you can remove the copilot shit anon...
Anonymous
7/6/2025, 5:47:16 PM No.105818128
>>105818066
Understood, will now use Visual Studio 6
Replies: >>105818140
Anonymous
7/6/2025, 5:48:24 PM No.105818140
>>105818128
why not visual c++ 2008?
Anonymous
7/6/2025, 6:02:13 PM No.105818360
ygg-1751816764_thumb.jpg
ygg-1751816764_thumb.jpg
md5: 5ee4499c24e49aa9fe94a4e4de97b9ab๐Ÿ”
I was doing some chaos testing and saw I wasn't using any of my worker processes for the manager classes and pathfinding. Its gooder now.
Replies: >>105818522 >>105818614
Anonymous
7/6/2025, 6:24:26 PM No.105818522
>>105818360
Now to fix something else, I am creating a new multi stage animation for the spell dynamically on each cast which needs to be cached. Killing the client with that right now.
Anonymous
7/6/2025, 6:26:56 PM No.105818544
Is anyone finding these gedg threads useful, i know everyone here is just a wannabe "game dev" but you just sit there staring at a blank screen of your reflection knowing you have no creativity and are already aging into your 40s and still downloading/writing "Engines" that will serve no purpose or place for anyone but your own satisfaction then taking the last step off a cliff. This is pointless propaganda and theres no reason why anyone should be wasting their time with this, find something more better to do trust me, because theres already things that exist to save your time and death.
Replies: >>105818557 >>105818571 >>105818595 >>105832095 >>105832383
Anonymous
7/6/2025, 6:28:13 PM No.105818557
>>105818544
You can always just not click on the thread
Replies: >>105818563
Anonymous
7/6/2025, 6:29:16 PM No.105818563
>>105818557
Didnt ask for your opinion
Replies: >>105818580 >>105821520
Anonymous
7/6/2025, 6:30:10 PM No.105818571
>>105818544
Piratesoftware crashout moment
Anonymous
7/6/2025, 6:31:17 PM No.105818580
>>105818563
Didn't ask for yours either
Replies: >>105818589
Anonymous
7/6/2025, 6:32:26 PM No.105818589
>>105818580
Didnt ask for that one either
Anonymous
7/6/2025, 6:33:22 PM No.105818595
>>105818544
>excessive seething about enginedevchads
New copypasta unlocked! :)
Replies: >>105818607
Anonymous
7/6/2025, 6:34:26 PM No.105818607
>>105818595
Again, Dont need your opinion
Anonymous
7/6/2025, 6:35:04 PM No.105818614
>>105818360
>>105813152
>>105812748
thxs for posting media of actual game development
Replies: >>105818620 >>105818641
Anonymous
7/6/2025, 6:35:34 PM No.105818620
>>105818614
Dont need it
Anonymous
7/6/2025, 6:37:19 PM No.105818635
>ITT: Unity/godot/unreal peasant malding
Enginedev GODS win again
Replies: >>105818645
Anonymous
7/6/2025, 6:38:10 PM No.105818641
ygg-display
ygg-display
md5: 9dc5045e499e237ed98b4821227cf412๐Ÿ”
>>105818614
I only see progress posts, I ignore the rest
Replies: >>105818645 >>105818649 >>105818725 >>105818766
Anonymous
7/6/2025, 6:38:41 PM No.105818645
>>105818635
>>105818641
Dont need those
Anonymous
7/6/2025, 6:38:58 PM No.105818649
>>105818641
based
Replies: >>105818697
Anonymous
7/6/2025, 6:44:42 PM No.105818697
>>105818649
why did you write 'based' on your own comment?
Replies: >>105818719
Anonymous
7/6/2025, 6:46:19 PM No.105818709
Not a gamedev but I have a question: is there theory, papers etc for common mechanic in games like RPGs? The speech system, quests, skill/leveling etc. I mean do gamedev formalize stuff like that and publish for everyone to benefit from it?
Replies: >>105819119 >>105819333 >>105819342
Anonymous
7/6/2025, 6:47:21 PM No.105818719
Untitled
Untitled
md5: c3e2486535fdd171ca792465c30ce16f๐Ÿ”
>>105818697
I am here everyday, like others. You stand out. I will laugh at you just this once. Haha.
Replies: >>105818763
Anonymous
7/6/2025, 6:48:01 PM No.105818725
>>105818641
based
Anonymous
7/6/2025, 6:51:46 PM No.105818763
>>105818719
Sad as shit if your here everyday instead of having a job.
Replies: >>105818767
Anonymous
7/6/2025, 6:52:01 PM No.105818766
>>105818641
based
Anonymous
7/6/2025, 6:52:05 PM No.105818767
>>105818763
>your
Anonymous
7/6/2025, 6:52:49 PM No.105818772
/thread
Replies: >>105818784
Anonymous
7/6/2025, 6:53:57 PM No.105818784
>>105818772
How is this pronounced, by the way? I have always pronounced it as "slash thread".
Anonymous
7/6/2025, 7:03:18 PM No.105818893
1755c39b3f225095
1755c39b3f225095
md5: 59f4e8c383508315cc830f2f7b1b1872๐Ÿ”
Just checking that MSVC6 works before doing anything
Replies: >>105828583
Anonymous
7/6/2025, 7:27:51 PM No.105819119
>>105818709
How do you formalize that? It's art, not science
Anonymous
7/6/2025, 7:53:30 PM No.105819333
>>105818709
You can check out how other people designed something, but this would be their opinionated choices or an example of just a way. https://rsps.fandom.com/wiki/317_Protocol
Anonymous
7/6/2025, 7:54:00 PM No.105819342
>>105818709
I'm sure there is books on it. Many programming courses use game systems as learning examples. You could also take a look at GDC talks of games you like. They can get quiet in-depth. I remember the talk on Assassin's Creed 3, giving very detailed instructions on how to build season and weather systems, for example.
Anonymous
7/6/2025, 8:14:51 PM No.105819496
i'm goint to make my engine to only use the CPU, no GPU nonsense. Nowadays you can do a lot drawing on the CPU. In the future GPUs will not be required anymore
Anonymous
7/6/2025, 8:27:25 PM No.105819597
what motivates you?
anime and vtubers motivate me
Replies: >>105819606 >>105819721 >>105820581 >>105820908 >>105820946 >>105822210
Anonymous
7/6/2025, 8:28:00 PM No.105819606
>>105819597
they motivate you to do what?
Replies: >>105819664
Anonymous
7/6/2025, 8:34:16 PM No.105819664
>>105819606
to work on my engine and game
Anonymous
7/6/2025, 8:39:36 PM No.105819721
>>105819597

Jesus Christ. I make gamedev for God.
Replies: >>105820299
Anonymous
7/6/2025, 9:31:54 PM No.105820116
https://www.gamedev.net/tutorials/programming/graphics/cel-shading-r1438/
Replies: >>105820152
Anonymous
7/6/2025, 9:35:23 PM No.105820152
>>105820116
This is outdated, use a shader
Anonymous
7/6/2025, 9:48:47 PM No.105820299
>>105819721
Lame christcuck
Anonymous
7/6/2025, 10:19:52 PM No.105820581
>>105819597
that's really depressing
Replies: >>105820642
Anonymous
7/6/2025, 10:27:09 PM No.105820642
>>105820581
at least something motivates me
Anonymous
7/6/2025, 10:56:57 PM No.105820908
>>105818035
Vim.

>>105819597
Cute women, esp. Japanese.
Replies: >>105821848
Anonymous
7/6/2025, 11:00:32 PM No.105820946
>>105819597
moving out, getting a better job, eventually going abroad
Anonymous
7/6/2025, 11:01:13 PM No.105820955
images
images
md5: 82e0c2742c6e814419713f77bb0cead7๐Ÿ”
Anonymous
7/6/2025, 11:58:31 PM No.105821520
>>105818563
>Is anyone finding these gedg threads useful...

You preface your comment with an inquiry then tell everyone that you didn't ask for opinions. XX?
Anonymous
7/7/2025, 12:44:35 AM No.105821848
7e40cd496cabf437
7e40cd496cabf437
md5: e64b8f13787c8d0170e1c2ba9b29e6bd๐Ÿ”
>>105820908
This but gvim
Anonymous
7/7/2025, 12:45:43 AM No.105821853
Mockup
Mockup
md5: b13562da073be9ee597f41883490b6f6๐Ÿ”
made a shitty UI mockup for a sims-like
I don't like how font sizes are too big in 320x180, you have little space for text
Anonymous
7/7/2025, 12:46:44 AM No.105821865
house
house
md5: ab44a1eaa01ee45d1f146d52e2420c76๐Ÿ”
Also slapped it on a Blender scene.
Anonymous
7/7/2025, 12:55:16 AM No.105821933
toggle05
toggle05
md5: 306fda8fe1517504c5bedb073f9cf297๐Ÿ”
Has anyone ever used a vector art library in c++? I want to make a game that is visually similar to gif.

There are libraries like nanovg and cairo but they are ancient. That doesn't necessarily mean they are bad but I'm still looking around. I don't plan on using any svg files, just code to draw shapes.
Replies: >>105823401 >>105828185
Anonymous
7/7/2025, 1:35:02 AM No.105822210
>>105819597
leaving the hood
divine will
maybe finding a cute japanese high schooler to marry when im 35
Anonymous
7/7/2025, 2:56:00 AM No.105822706
1729848579382777
1729848579382777
md5: c1c3483b17ef030f176c325b291872c2๐Ÿ”
And now to refactor all the sloppy shit I did to rush to this point.
Anonymous
7/7/2025, 4:54:59 AM No.105823401
>>105821933
i'm rewriting nanovg in c#. drawing convex polygons is fast (rects, circles etc). but on large scenes glBufferData becomes the bottleneck, because it generates a lot of vertices and large uniforms.
Replies: >>105823514 >>105823655 >>105826971
Anonymous
7/7/2025, 5:14:56 AM No.105823514
Untitled
Untitled
md5: 2dcc241502bd6a376e1d11db24157181๐Ÿ”
>>105823401
if you are hitting glBufferData bottlenecks it might be time to look using cutting edge OpenGL features from 2014
Anonymous
7/7/2025, 5:39:45 AM No.105823655
>>105823401
Why do web fags have all the good vector tools? I'm almost tempted to make my game in a browser. But I want to use box2D and my game might be physics heavy and I want the performance. Plus I'm used to c++ and I want my game to be standalone and not rely on a browser or electronjs or whatever.

The documentation for nanovg really really sucks (but I guess all of them do). And I don't think it has clipping other than basic rectangle. I need that.
Replies: >>105824815 >>105827007
Anonymous
7/7/2025, 5:41:34 AM No.105823664
>opengl/vulkan
>jolt physics
>entt
Thatโ€™s really all you need. If you canโ€™t get something up in six months you failed and you should quit while you can.
Anonymous
7/7/2025, 5:42:08 AM No.105823668
>>105797658 (OP)
I have 6 months to come up with at least 2k in cash or my neetdom ends and I have to go back to wageslavery which puts me into clinical psychosis (Almost killed a coworker cause I thought they were some entity transmitting pain into my brain and stealing my thoughts). What's the most realistic type of game I can make in that time to make that much? I can already draw 2d assets and basic behavior with raylib. Would the best bet really be something like a visual novel? Wish I could focus on the bigger ideas I have but those would take years, years I don't have.
Replies: >>105823775 >>105824410
Anonymous
7/7/2025, 6:04:30 AM No.105823775
>>105823668
>Almost killed a coworker cause I thought they were some entity transmitting pain into my brain and stealing my thoughts
what
Replies: >>105823830
Anonymous
7/7/2025, 6:13:10 AM No.105823819
6d4a850ca71d25b0
6d4a850ca71d25b0
md5: 07040c75ab56c7ce15fca992b1628ae2๐Ÿ”
shadowy leapin lizards
Replies: >>105824013 >>105825070
Anonymous
7/7/2025, 6:15:34 AM No.105823830
>>105823775
I said what I said.
Anonymous
7/7/2025, 6:16:34 AM No.105823834
>>105798929
>senseless autism
make a post when you burn out in a week so i can tell you i told you so
Replies: >>105825213
Anonymous
7/7/2025, 6:19:08 AM No.105823844
>>105801898
meds
Anonymous
7/7/2025, 6:47:45 AM No.105824013
>>105823819
>no anti-aliasing
>stencil shadows
oh mama

>>105797658 (OP)
realtime raytracing isn't feasible yet right? You're just yankin my chain.
Replies: >>105824550
Anonymous
7/7/2025, 8:05:34 AM No.105824410
>>105823668
Nigger go to church or something wtf man.
Anonymous
7/7/2025, 8:08:07 AM No.105824432
i want to make a motorcycle game in unreal engine but I am a retard.
Anonymous
7/7/2025, 8:33:00 AM No.105824550
>>105824013
>realtime raytracing isn't feasible yet right? You're just yankin my chain.
It is with excessive amounts of optimization. Hereโ€™s an indie game that uses path tracing https://store.steampowered.com/app/2941660/Archean/
Anonymous
7/7/2025, 9:19:20 AM No.105824815
>>105823655
it's not that that bad. i have ~200 FPS with 5000 circles. most of rendering time is dealing with buffers, though

>I don't think it has clipping other than basic rectangle
i think it's possible to achieve with stencil mask.
Replies: >>105826861 >>105834760
Anonymous
7/7/2025, 9:29:06 AM No.105824848
Screen Recording 2025-07-07 at 2.20.11โ€ฏAM_thumb.jpg
Start of a mesh animation system. Looking forward to starting over now that I have a good idea of what it needs
Replies: >>105825070 >>105828583
Anonymous
7/7/2025, 10:16:23 AM No.105825070
>>105823819
VGH look what they took from us
>>105824848
Nice
Anonymous
7/7/2025, 10:44:24 AM No.105825213
>>105823834
I got FLAC decoding working now
Is it really that difficult to encode an Opus file?
Anonymous
7/7/2025, 1:10:30 PM No.105826004
When drawing UI elements for a custom GUI, should I procedurally draw the elements all from a shader at runtime (no textures, just take a quad and apply fragment shaders to it, rounding it, giving it gradients, and so on), or should I just use textures?
Replies: >>105826038 >>105826099
Anonymous
7/7/2025, 1:14:30 PM No.105826038
>>105826004
I use a combination of both
It can display textures but the shader has a bunch of options you can apply like photoshop layer effects
Anonymous
7/7/2025, 1:26:24 PM No.105826099
>>105826004
Either and both are valid.
Anonymous
7/7/2025, 3:24:09 PM No.105826861
clip_thumb.jpg
clip_thumb.jpg
md5: 067eedf179d4b33c03da9268dee64d38๐Ÿ”
>>105824815
Replies: >>105829286
Anonymous
7/7/2025, 3:39:43 PM No.105826971
>>105823401
rust
Anonymous
7/7/2025, 3:43:29 PM No.105827007
>>105823655
Not anon, but you can compile C++ for the web as well as box2D using emscripten.
But you will need to use javascript for cleaning up certain stuff related to JS (the default emscripten html style is very barebones). And there are a lot of things you need to figure out along the way since there's a big difference between native apps and web apps (for example, testing your program through emrun may not work the same as running it on a real website like itch.io or github pages, for example most websites don't give a special cross origin security header thing which you need for sub 1~ millisecond timer resolution and for shared memory for multithreading because of spectral/meltdown exploits, you would need to host the website yourself and manually add the special header to make it work.
Anonymous
7/7/2025, 4:41:45 PM No.105827476
>>105813212
Just use AI to deal with the boilerplate.
Replies: >>105827686
Anonymous
7/7/2025, 4:45:18 PM No.105827511
1725920025264239
1725920025264239
md5: d661ae18801c3f7d5f3b9096dd8b7b04๐Ÿ”
I will rewrite UE5 in Jai.
Replies: >>105828607
Anonymous
7/7/2025, 5:11:24 PM No.105827686
>>105827476
NTA but I tried that with chatgpt and unironically the code it spat out was shit and didn't work
Replies: >>105827734
Anonymous
7/7/2025, 5:16:11 PM No.105827734
>>105827686
>chatgpt
NTA but chatgpt fucking sucks.
Replies: >>105828443
Anonymous
7/7/2025, 6:14:57 PM No.105828185
>>105821933
Just use a 3D engine and make the models flat :)

I don't understand why people say "modern computers aren't suited for vector graphics." Isn't 3D vector based? Yeah everything gets rasterized but all models are comprised of vectors.
Replies: >>105828234
Anonymous
7/7/2025, 6:21:54 PM No.105828234
>>105828185
>Isn't 3D vector based?
it's triangle based
so there's no curves
Anonymous
7/7/2025, 6:47:15 PM No.105828443
>>105827734
What do you recommend then?
Replies: >>105829353
Anonymous
7/7/2025, 6:59:55 PM No.105828583
>>105818893
Did you fucking take picture of screen instead of screenshot?
>>105824848
Have you used memory pool? or just the physic engine is that good?
Replies: >>105828589
Anonymous
7/7/2025, 7:00:34 PM No.105828589
>>105828583
>Did you fucking take picture of screen instead of screenshot?
No?????
Anonymous
7/7/2025, 7:02:33 PM No.105828607
>>105827511
just two more week til its released
Anonymous
7/7/2025, 7:52:18 PM No.105829121
https://godbolt.org/z/7nWM9jcb1
Verb-Oriented Programming
Replies: >>105836176
Anonymous
7/7/2025, 8:11:48 PM No.105829286
>>105826861
Damn how are you doing that? Or are you just using shaders and stencil masking (which I've never learned to properly do :( )
Replies: >>105834055
Anonymous
7/7/2025, 8:19:55 PM No.105829353
>>105828443
Claude.
Anonymous
7/7/2025, 10:56:24 PM No.105830907
Whar would be a good roadmap if I want to get into gamedev?

>chose UE5 as game engine
>watch tutorials like Unreal sensei to familiarize myself with the engine
>learn blueprints and eventually C++ coding
>watch blender tutorials
>do game jams
>make small games

Would that be a resonnable roadmap for the next 6 months? What else would you add? What are the most thorough tutorials, like the ones that go into details?

Also, any good drawing tablet for modelling/sculpting? Looking under 1k CAD
Replies: >>105830917 >>105831014 >>105831218
Anonymous
7/7/2025, 10:57:39 PM No.105830917
>>105830907
Unity is a better choice for beginners
Replies: >>105831227
Anonymous
7/7/2025, 11:09:18 PM No.105831014
>>105830907
>do game jams
They are all scams and waste of time. Just make the game you want to make instead of competing against fakers with years of experience who just tweak an existing project to fit the theme.
Anonymous
7/7/2025, 11:29:26 PM No.105831218
>>105830907
Pretty much what I did but I started with Unreal 4.17. I didnโ€™t do any game jams though.
>Also, any good drawing tablet for modelling/sculpting? Looking under 1k CAD
Unless you really get into sculpting a tablet is completely worthless.
Anonymous
7/7/2025, 11:30:27 PM No.105831227
>>105830917
If you wanna nodev sure
Replies: >>105831237
Anonymous
7/7/2025, 11:31:37 PM No.105831237
>>105831227
huh
Anonymous
7/8/2025, 12:12:48 AM No.105831583
>Shove vertex data in a storage buffer and put its address in a push constant
>Index it with VertexID, bypassing the need for any kind of attribute descriptors
What's the catch this is easier than OpenGL
Anonymous
7/8/2025, 12:16:46 AM No.105831619
4daac77af6bdaca2
4daac77af6bdaca2
md5: e355d04f6a037ca0902d0ce584e1cbf1๐Ÿ”
and a ching chong to you too buddy
Anonymous
7/8/2025, 1:14:11 AM No.105832095
>>105818544
You can't even write english properly. Kill yourself, low-life faggot.
Anonymous
7/8/2025, 1:32:05 AM No.105832205
f41552da429f9a75
f41552da429f9a75
md5: 95d6879a30aed861cdb8e09f06e9900b๐Ÿ”
Learned how to do gradients in glsl
Replies: >>105832313
Anonymous
7/8/2025, 1:47:58 AM No.105832313
1751931125775947
1751931125775947
md5: 3dd766b6e9bb4fbb6bcb48d71d031f23๐Ÿ”
>>105832205
You forgot something.
Replies: >>105832330
Anonymous
7/8/2025, 1:49:35 AM No.105832330
5282f0b26a8b5f1b
5282f0b26a8b5f1b
md5: 2c2bf5cd1d1caf18f8c613dbc6af034a๐Ÿ”
rounded corners, woo!
>>105832313
kek
Anonymous
7/8/2025, 1:55:24 AM No.105832383
>>105818544
It does annoy me when people enter a creative field with no real ambition or goals in mind. Clearly they think this is some get-rich-quick racket and and I don't want to support these people who will only churn out slop.

>how does it personally affect you
Yeah maybe it's not worth whining about but the world would be a slightly better place if there wasn't so much shovelware. And it feels bad when I waste effort answering their questions and giving advice. Makes me want to give up helping people.
Anonymous
7/8/2025, 2:02:20 AM No.105832447
babaa9291dcb4874
babaa9291dcb4874
md5: ad349cf495667a37a3ce0e6a5cc4224c๐Ÿ”
finishing touches
very frutiger aero esque, very nice
Anonymous
7/8/2025, 3:29:45 AM No.105833017
Is there any way to make compiling and handling libraries/packages in c++ not such a bitch? I use vscode and they have generators for makefile boilerplate but I still have to manually add libraries and folders and paths. I've never had to do this for any other language, it usually just knows. And the run button never works the way I want it to. It only runs the current open cpp file. I have to type 'make' and then './exe' in the debugger every time I want to test my game.
Replies: >>105833321 >>105833391 >>105833454
Anonymous
7/8/2025, 3:50:43 AM No.105833185
What image editor do you guys use for textures and UI elements and the like?
Replies: >>105833241
Anonymous
7/8/2025, 3:56:17 AM No.105833241
>>105833185
Krita. It's the only image tool on Troonix that doesn't suck fat major fat balls. It does take some time learning, though.
Replies: >>105835141
Anonymous
7/8/2025, 4:07:25 AM No.105833321
>>105833017
>make compiling and handling libraries/packages in c++ not such a bitch
>makefile
Best I've seen is to just have a local vcpkg for your project and -I/-L the install dir
Highly recommend taking another look at CMake though if you haven't in a while. VSCode support for it is especially helpful.
Anonymous
7/8/2025, 4:17:28 AM No.105833391
>>105833017
yea use cmake and find_package with pkgconfig support optionally with a package manager like vcpkg and not make like a boomer
usually it's just as simple as find_package(SDL3 REQUIRED) then target_link_library(buildableThingName PRIVATE SDL3::SDL3)
the only pain in the ass is that there's no enforced naming conventions for the fake library you link to which sets up linking to all the real package libraries, finding all the headers, paths, and binaries and it's not even required

alternatively i think meson has proper integration with the conan package manager
Anonymous
7/8/2025, 4:26:33 AM No.105833454
>>105833017
on linux the package manager is good enough for the distro you use.
but on windows you would just use vcpkg, mainly because it copies the DLL's to the exe (if you only point includes it will not copy the DLL's for you)
also stop using mingw, it doesn't have address sanitizer which is the only debugging tool you need, warning and compiler built-in's are half pointless.
if you care about warnings as a way of enforcing style, I suggest using clion which is free for the non-commercial use license (it has every single warning you could imagine and it's annoying, but you can turn each one off), and in theory it has cmake automation stuff but I have not used it much (like add a new file to the cmake project).
Vcpkg classic mode uses less space on your filesystem since libraries (SDL) can easily add up to like 100mb+ per project with the manifest mode.
I use cmake presets to add a asan build, but I think clion has it's own project format I think? (It still uses cmake). But the preset file is neat if you want to switch between clion/vscode/VS seamlessly with the same folder structure (I tend to need to do a clean build when I switch).
I personally use address sanitizer only for the code I build, but vcpkg does have the option to build all the libraries with address sanitizer if you use a vcpkg overlay port.
You also need to set a global variable in advanced settings -> global enviroment variables to enable JIT debugging with asan ASAN_VCASAN_DEBUGGING OR you could make asan create a core dump ASAN_SAVE_DUMPS.
Also if you really hate msvc due to the flags, you could in theory use clang-cl, but it doesn't work with address sanitizer with vcpkg because vcpkg will always build debug libraries with incompatible flags on a debug build for clang-cl (also clang-cl asan wont work with the debugger, it will just exit the application).
also the default debug cmake settings for msvc will give warnings for address sanitizer due to incompatible flags (it still works).
Anonymous
7/8/2025, 4:31:21 AM No.105833487
1739848384129409
1739848384129409
md5: 355eada2fe3bed99615d195242c2d0db๐Ÿ”
Oh yeah we're going places
Anonymous
7/8/2025, 5:55:07 AM No.105834055
>>105829286
that's like html canvas clip(). it renders polygon into stencil buffer.
nanovg uses this technique https://web.archive.org/web/20190216142654/http://www.glprogramming.com/red/chapter14.html#name13 so it already renders polygons into stencil buffer. the trick is to use stencil bitmasking features (a combination of glStencilMask() and glStencilFunc() mask parameter) to keep clip mask in stencil buffer while also using it to render polygons.
Anonymous
7/8/2025, 6:32:55 AM No.105834325
at
at
md5: a4acc5d028760eb8e2f936af7e09e368๐Ÿ”
thats how i do it too
Anonymous
7/8/2025, 6:56:14 AM No.105834485
output_thumb.jpg
output_thumb.jpg
md5: fff703d3a1e4655ae2a8475299731393๐Ÿ”
>>105808142
>something like raylib for common lisp would be good though
nta, how did you predict my project?
Anonymous
7/8/2025, 6:59:10 AM No.105834499
Ubershaders. Yay or nay?
Replies: >>105834521 >>105834533
Anonymous
7/8/2025, 7:03:56 AM No.105834521
>>105834499
Conditional shader compilation is common in the industry. It keeps render pipelines nice and tidy
Anonymous
7/8/2025, 7:05:45 AM No.105834533
>>105834499
I was in nay camp until I was able to reduce 30 shaders down to a single one with some #ifdef blocks im thinking yay
Anonymous
7/8/2025, 7:13:03 AM No.105834579
how to shaders
Anonymous
7/8/2025, 7:41:43 AM No.105834760
>>105824815
i tested with 5000 stars and perofrmance drops to ~90FPS.
it's OK to render GUI, but it's really not suitable to use canvas to draw every game frame from scratch. some sort of rendering to texture caching is needed.
Anonymous
7/8/2025, 8:45:28 AM No.105835141
>>105833241
What I really liked about exploring Krita for the first time was how reasonable everything was, "filter layers wow very cool", and then you click on the little teensy brush editor button and it's like Alice in Wonderland falling into a Bosch painting of ZynAddSubFX.
Anonymous
7/8/2025, 9:24:20 AM No.105835373
152330
152330
md5: 51627e0ab07405f229afec2762a34cc9๐Ÿ”
>>105797658 (OP)
based.
Anonymous
7/8/2025, 11:42:47 AM No.105836176
>>105829121
Looks like it will end up being a forth, but at its current state it has punctuation cluttering the syntax.
Anonymous
7/8/2025, 2:04:19 PM No.105836976
this AAA motherfucker just said it takes 6 WEEKS TO FIX A BUG WHAT THE FUCK
https://youtu.be/2oTyi8EKrTo?si=vcpeUZbtwHn1PYZ9&t=42

no wonder these companies employ a thousand people and produce slop.
Replies: >>105836990
Anonymous
7/8/2025, 2:08:10 PM No.105836990
>>105836976
>why does it take a long time to fix bugs caused by complex issues??? that doesn't happen in my indie 8bit retro platformer!
You have never worked on a large project.
Replies: >>105837007 >>105837141
Anonymous
7/8/2025, 2:11:02 PM No.105837007
>>105836990
I have, but it's Godot. So that probably disqualifies me. Gdscript is so fucking easy and telling an AI to spam debug statements throughout your code just makes it even easier.
Anonymous
7/8/2025, 2:37:02 PM No.105837141
>>105836990
>You have never worked on a large project.
this
the rage-fulled /v/ misconceptions of the game industry are insane