/gedg/ - Game and Engine Development General #282 - /g/ (#105590392) [Archived: 914 hours ago]

Anonymous
6/14/2025, 12:57:29 PM No.105590392
russian vehicle_thumb.jpg
russian vehicle_thumb.jpg
md5: c81d3b9eec587fe32a29fe80e83a0c26๐Ÿ”
Cute Russian developers 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: >>105555945

(by posting here you denounce the talmund and the fake nation of Ukraine)
Replies: >>105590562 >>105590598 >>105591012 >>105591492 >>105592754 >>105592811 >>105593023 >>105594226 >>105595060 >>105599824 >>105604752 >>105616725 >>105624060 >>105624806 >>105626114
Anonymous
6/14/2025, 1:04:07 PM No.105590435
Why can't we have a proper C# Game Engine for GNU/Linux??? (Godot is NOT proper, C# is a second class citizen)
Replies: >>105590439 >>105590457 >>105591283 >>105591404 >>105591531 >>105608841 >>105609040 >>105624540
Anonymous
6/14/2025, 1:05:04 PM No.105590439
>>105590435
Because Linux isn't a proper gaming OS
Anonymous
6/14/2025, 1:07:34 PM No.105590457
>>105590435
MonoGame
Replies: >>105599328
Anonymous
6/14/2025, 1:24:49 PM No.105590562
>>105590392 (OP)
he has a blowjob video blowing some asian subscriber
Replies: >>105591019 >>105592530
Anonymous
6/14/2025, 1:30:09 PM No.105590598
>>105590392 (OP)
CGI
Anonymous
6/14/2025, 2:39:13 PM No.105591012
find_thumb.jpg
find_thumb.jpg
md5: 4c0e2fb5a5816545f43870de35578dfa๐Ÿ”
>>105590392 (OP)
I wonder if it is possible in GTK to trigger some sort of animation to bring user's attention to some particular part of the window?
I have this search function, but on a small map that doesn't scroll it is not immediately obvious where the cursor lands after the search, so I would like to have some indicator. Any ideas?
Replies: >>105591132 >>105593951
Anonymous
6/14/2025, 2:39:57 PM No.105591019
>>105590562
What?
Replies: >>105591266
Anonymous
6/14/2025, 3:01:46 PM No.105591132
>>105591012
Feels like this would work better if the event list were docked. That way, you wouldn't have a big window blocking the view.
Replies: >>105591149
Anonymous
6/14/2025, 3:04:02 PM No.105591149
>>105591132
I could do that too, but the window is probably going to stay because I can use it without touching a mouse. I just type a shortcut which will open the window and then I start typing and press enter. But thanks for the idea, I will consider it alongside this
Anonymous
6/14/2025, 3:25:10 PM No.105591266
>>105591019
the tranny streamer in the OP blows some subscriber
Anonymous
6/14/2025, 3:28:00 PM No.105591283
>>105590435
Fuck C#, there isn't even a single decent c++ game engine. Unreal doesn't count and O3DE is still years away from being usable. Godot c++ extension is a third class citizen where the last time I checked their own docs had errors in them.
Replies: >>105591363 >>105591531 >>105591558 >>105595425
Anonymous
6/14/2025, 3:39:30 PM No.105591363
>>105591283
>Unreal doesn't count
why not?
Replies: >>105591466
Anonymous
6/14/2025, 3:45:19 PM No.105591404
>>105590435
C# is fucking garbage and leads to 16GB memory usage on a simple 2D game structured with circular linked lists.
Replies: >>105591429
Anonymous
6/14/2025, 3:50:25 PM No.105591429
>>105591404
proof? or just talking out of your ass because you love to assume instead of measuring? because celeste proves the opposite
Replies: >>105591564
Anonymous
6/14/2025, 3:55:02 PM No.105591466
>>105591363
Way too large, too little documentation. Simply not suitable for solo development. Things that should be simple take way too many steps. Uses way too many resources. Also it isn't free
Anonymous
6/14/2025, 3:57:19 PM No.105591492
>>105590392 (OP)
>profound retardation
Anonymous
6/14/2025, 4:03:13 PM No.105591531
>>105590435
>>105591283
Make it yourself
Replies: >>105591560
Anonymous
6/14/2025, 4:07:02 PM No.105591558
>>105591283
Magnum framework is what you are looking for
Replies: >>105591727
Anonymous
6/14/2025, 4:07:27 PM No.105591560
>>105591531
No, I think I would rather complain
Anonymous
6/14/2025, 4:07:57 PM No.105591564
>>105591429
dont respond to schizos
Anonymous
6/14/2025, 4:13:43 PM No.105591595
what do you name an single producer single consumer class when you dont need to consume everything? like a triple buffer kinda deal. idk what to name mine, so ive called it an SPSCSnapshotBuffer, since well, it only cares about the most recent state

also progress. now i need to find some other feature i can procrastinate with
Anonymous
6/14/2025, 4:31:32 PM No.105591727
>>105591558
Was about to drop it as it hasn't had a release since 2020 but it seems to still be updated frequently, but only on the main branch and not as individual releases. Makes it a big problem though as there is essentially 0 discussions about any of the new features anywhere except on the github page. Might still give it a try though, nice suggestion
Anonymous
6/14/2025, 4:34:02 PM No.105591754
code
code
md5: 09dd47d1e07e002e94ade3f63b0a3d3e๐Ÿ”
Being changing my programming language from automatic reference counting to something closer to manual memory management
I'm fine with the overhead of reference counting performance wise but it's unacceptable when dealing with multiple threads, changing the reference count needs to be atomic and all the optimizations that allow you remove some reference counts go out the window because another thread could be operating on an object at any time
So now I have unique_ref / shared_ref / manual_ref to handle ownership, and I use generational pointers under the hood to keep things memory safe so you can't deference deleted objects
Replies: >>105591885 >>105592471 >>105595701
Anonymous
6/14/2025, 4:52:26 PM No.105591885
>>105591754
It looks awesome. Is it scripting? It reminds me of Ruby, but Ruby is too slow. Will you manage to make it faster?
Replies: >>105591988
Anonymous
6/14/2025, 5:02:16 PM No.105591967
file_thumb.jpg
file_thumb.jpg
md5: 2295fd44dd364e38da6ec4ca1acacf7d๐Ÿ”
>cute russian edition
yeah sure, I'll shill my game where you groom your cute Eastern European 8 year old daughter along with her naughty mother
https://gitgud.io/teebee/nm
Replies: >>105592164
Anonymous
6/14/2025, 5:07:37 PM No.105591988
>>105591885
No it's native, compiles to C
Anonymous
6/14/2025, 5:26:56 PM No.105592141
I don't get why they don't just package pygame-ce on major distros. It would attract more users.
Anonymous
6/14/2025, 5:29:26 PM No.105592164
>>105591967
Uncle poster finally made a shitty "game"
Anonymous
6/14/2025, 5:54:19 PM No.105592396
Hmm, today I think I will try and learn how light probes wor-ACK
https://planetmath.org/derivationofthelaplacianfromrectangulartosphericalcoordinates
Replies: >>105592444
Anonymous
6/14/2025, 5:58:43 PM No.105592444
>>105592396
all that's really not neccessary
Replies: >>105592627
Anonymous
6/14/2025, 6:01:54 PM No.105592471
>>105591754
>he delet the succ
Anonymous
6/14/2025, 6:08:11 PM No.105592530
>>105590562
sauce or link?
Replies: >>105592536 >>105592549
Anonymous
6/14/2025, 6:09:09 PM No.105592536
>>105592530
I expect thanks for this

https://bunkr.fi/f/T3hYR1EKccuUz
Replies: >>105592549 >>105592659 >>105592800 >>105592894 >>105593430 >>105593653 >>105593694 >>105593702 >>105593736 >>105593881 >>105593897 >>105594153 >>105604399
Anonymous
6/14/2025, 6:10:25 PM No.105592549
>>105592530
>>105592536
fuck off
Anonymous
6/14/2025, 6:19:58 PM No.105592627
>>105592444
Alright fine, we'll just take it for granted and move on to the next ste-ACK
https://www.physics.usu.edu/Wheeler/EM3600/Notes11SeparationOfVariablesSpherical.pdf
Anonymous
6/14/2025, 6:23:37 PM No.105592659
>>105592536
Thanks.
Anonymous
6/14/2025, 6:35:18 PM No.105592754
>>105590392 (OP)
Excellent thread. Upvoted.
Anonymous
6/14/2025, 6:40:43 PM No.105592800
>>105592536
thanks
Anonymous
6/14/2025, 6:42:00 PM No.105592811
>>105590392 (OP)
Wait.. that's a dude?
Replies: >>105592966
Anonymous
6/14/2025, 6:48:17 PM No.105592877
Got NPCs populating the world and moving about. Need to have them slide on edges like the player so they don't clip corners constantly. Also want to add fishing spots that move about.
Anonymous
6/14/2025, 6:51:09 PM No.105592894
>>105592536
no thanks
Anonymous
6/14/2025, 7:00:10 PM No.105592966
>>105592811
obviously
Anonymous
6/14/2025, 7:01:32 PM No.105592977
I notice in a lot of online games I play that some sort of positional hacking (speed,teleport,fly) exists. This must imply that the server is trusting client input to some degree right? Is it just that it's too taxing to verify motion while also keeping things smooth on the client side?
Replies: >>105592989 >>105593413 >>105593483 >>105614907
Anonymous
6/14/2025, 7:02:48 PM No.105592989
>>105592977
The correct thing to do would be to accept client position and then determine if the length of current and previous position is possible at a given speed.
Replies: >>105593413
Anonymous
6/14/2025, 7:06:22 PM No.105593023
>>105590392 (OP)
Why she looks retarded?
Replies: >>105593047 >>105593295 >>105608609
Anonymous
6/14/2025, 7:09:14 PM No.105593047
>>105593023
How?
Replies: >>105593988
Anonymous
6/14/2025, 7:39:45 PM No.105593295
>>105593023
>she
Anonymous
6/14/2025, 7:55:38 PM No.105593413
>>105592977
CSGO runs on input validation I believe. But there's only a handful of players at any given time. Valorant I think also has authoritative movement but it's just a few players.
It works but only as long as you don't have to deal with too many players. WoW still has position hacks, but that may be because they are hacks.

>>105592989
>uses teleport spell
>gets banned
>money stolen
What they do is replicate the inputs and check if your position is reasonable after some input
Anonymous
6/14/2025, 7:57:14 PM No.105593430
>>105592536
thanks
Anonymous
6/14/2025, 8:05:55 PM No.105593483
>>105592977
correct, thats what happens when a server isnt completely authoritative
Replies: >>105593517
Anonymous
6/14/2025, 8:10:15 PM No.105593517
>>105593483
No, most servers are not completely authoritative. Some are, I'm not saying there can't be fully authoritative servers like Starcraft, but for the most part that model adds way too much latency for faster paced games. All the esport shooters for example operate on a "trust the client, validate" model which means each client has its own view of the world. It's why you cant get hit after taking cover. The server and both players have slightly offset worlds from each other, the server allows that as long as it believes everyone's positions, etc. are feasible enough.
It used to be for example with Halo or UT that hitscan was client-side and server-validated and projectiels were fully authoritative, but with Overwatch even projectiles are client-side.
Replies: >>105593530
Anonymous
6/14/2025, 8:11:27 PM No.105593530
>>105593517
>It's why you cant get hit after taking cover
Sorry, fucked that up. It's why you can get hit after taking cover, because your position wasn't yet replicated to the client who shot you.
Anonymous
6/14/2025, 8:18:48 PM No.105593577
1741714586038616_thumb.jpg
1741714586038616_thumb.jpg
md5: 3157c75bca687e60536c092ed2aa3526๐Ÿ”
Replies: >>105593643
Anonymous
6/14/2025, 8:25:36 PM No.105593643
>>105593577
Can you please explain to the class what relevance this video of your boyfriend has to the thread?
Anonymous
6/14/2025, 8:27:18 PM No.105593653
>>105592536
No POV?
Replies: >>105593669
Anonymous
6/14/2025, 8:29:48 PM No.105593669
>>105593653
POV of the cuck chair
Anonymous
6/14/2025, 8:33:26 PM No.105593694
>>105592536
thanks
Anonymous
6/14/2025, 8:34:06 PM No.105593702
>>105592536
wow
Anonymous
6/14/2025, 8:37:43 PM No.105593736
>>105592536
The thumbnails were hotter. The video and the album were kinda meh.
Anonymous
6/14/2025, 8:48:29 PM No.105593833
>/gedg/ - tranny and blowjob development
Replies: >>105593848 >>105593894 >>105593904
Anonymous
6/14/2025, 8:49:48 PM No.105593848
>>105593833
Meh, you won't be able to resist if "she" licks your dick.
Anonymous
6/14/2025, 8:54:34 PM No.105593881
>>105592536
thanks
Anonymous
6/14/2025, 8:56:00 PM No.105593894
>>105593833
>blowjob development

Sounds kino
Anonymous
6/14/2025, 8:56:11 PM No.105593897
>>105592536
thanks
Anonymous
6/14/2025, 8:56:57 PM No.105593904
>>105593833
trannies look like THAT?
Replies: >>105593910
Anonymous
6/14/2025, 8:58:09 PM No.105593910
>>105593904
%1 of trannies look like that
Anonymous
6/14/2025, 9:02:53 PM No.105593951
>>105591012
Please don't use gtk.
Replies: >>105594967
Anonymous
6/14/2025, 9:06:33 PM No.105593988
retard
retard
md5: 864743bd7df52114e72dfeb830ea69d8๐Ÿ”
>>105593047
Replies: >>105594001
Anonymous
6/14/2025, 9:07:09 PM No.105594001
>>105593988
I need a basedjak that looks like this
Replies: >>105594079
Anonymous
6/14/2025, 9:18:29 PM No.105594079
Untitled
Untitled
md5: 74171644060e5f13f2c090845e273356๐Ÿ”
>>105594001
i gave it a try
Replies: >>105594090
Anonymous
6/14/2025, 9:19:06 PM No.105594090
>>105594079
heh it is okay
Anonymous
6/14/2025, 9:19:44 PM No.105594096
2025-06-14 15-05-11_thumb.jpg
2025-06-14 15-05-11_thumb.jpg
md5: b1e1733eee93b49259ff44d0c283654f๐Ÿ”
Why are the mouse coords that GLFW returns like 20 pixels off in the y axis? Screen resolution on my TV is 1360 x 768. The little red cube above the mouse is hovering almost directly over 0,0,0 in world space, but the mouse cursor is 20 pixels below it on y axis. If I adjust my screen height variable to 748 instead of 768 then the cube and mouse cursor line up perfectly.
Replies: >>105594136 >>105594898 >>105604832
Anonymous
6/14/2025, 9:25:14 PM No.105594136
>>105594096
Window Decorations (Title Bar/Border)?
Replies: >>105594222
Anonymous
6/14/2025, 9:26:48 PM No.105594153
>>105592536
eww, he doesn't even pass. that's so very very gay.
Anonymous
6/14/2025, 9:34:59 PM No.105594222
>>105594136
I thought about that and then I tried to measure it with my fingers and it looked bigger. That's probably what it is though.
Anonymous
6/14/2025, 9:36:08 PM No.105594226
alya-02
alya-02
md5: 5fba12d4796f9fd2551cb9b68ce3ab42๐Ÿ”
>>105590392 (OP)
blin
Replies: >>105594316
Anonymous
6/14/2025, 9:48:44 PM No.105594316
>>105594226
uwu kak tebya zovut, milaya devochka
Anonymous
6/14/2025, 10:16:05 PM No.105594512
sorry glittycakes :/
Anonymous
6/14/2025, 10:23:17 PM No.105594574
https://www.youtube.com/watch?v=YS_t3FtnQXw

This is a trans, right?
Replies: >>105594580 >>105607518
Anonymous
6/14/2025, 10:23:59 PM No.105594580
>>105594574
Yes.
Sage
6/14/2025, 10:25:03 PM No.105594586
Which faggot made this thread, it is not a /gedg/ so I won't be progress posting in this one
Anonymous
6/14/2025, 10:45:17 PM No.105594740
true I'm not progress posting in a tranny thread either
Anonymous
6/14/2025, 11:03:27 PM No.105594891
why do older opengl games fuck up newer gpus
>>>/vm/1796345
Replies: >>105606118 >>105606640
Anonymous
6/14/2025, 11:04:17 PM No.105594898
>>105594096
Hey anon, what are you building? Looks very very cool.
I am very fond of wireframe geometric shaped
Replies: >>105595199
Anonymous
6/14/2025, 11:11:54 PM No.105594967
1749935463248
1749935463248
md5: d60c5ca3613f20cf7dbe33a2a3050520๐Ÿ”
>>105593951
A bit late for that. Out of curiosity, which library do you recommend for a project like this?
Replies: >>105594995
Anonymous
6/14/2025, 11:15:16 PM No.105594995
>>105594967
Oh, well are you at least using gtk2? Just don't use anything beyond that.
Replies: >>105595031
Anonymous
6/14/2025, 11:18:08 PM No.105595031
>>105594995
3
Replies: >>105595402
Anonymous
6/14/2025, 11:20:56 PM No.105595060
>>105590392 (OP)
Man, I wish I had a retarded GF.
Replies: >>105595080
Anonymous
6/14/2025, 11:22:25 PM No.105595080
>>105595060
>retarded *bimbo* GF
Anonymous
6/14/2025, 11:32:58 PM No.105595184
>half of replies are off topic
I am starting to think using that video as the OP might not have been the brightest idea
Stay on topic, cockbrains
Replies: >>105597903
Anonymous
6/14/2025, 11:34:44 PM No.105595199
>>105594898
A 3d asteroids/diep.io type game. I turn the wireframe on for debugging stuff.
Replies: >>105595213
Anonymous
6/14/2025, 11:35:52 PM No.105595213
>>105595199
How does it looks like without debug mode?
Replies: >>105595353
Anonymous
6/14/2025, 11:47:55 PM No.105595353
2025-05-28 21-05-46_thumb.jpg
2025-05-28 21-05-46_thumb.jpg
md5: f4aa556bd31ef803ccc469dc648cd82f๐Ÿ”
>>105595213
Replies: >>105595364 >>105620494
Anonymous
6/14/2025, 11:48:57 PM No.105595364
>>105595353
Awesome! Keep doing it
Replies: >>105595464
Anonymous
6/14/2025, 11:52:37 PM No.105595402
>>105595031
Well, I'm probably not your target audience anyway.
Replies: >>105595415
Anonymous
6/14/2025, 11:54:40 PM No.105595415
>>105595402
I currently don't have an audience and I am not sure if I will ever "release" this (and if I do that anyone will use it)
Anonymous
6/14/2025, 11:56:19 PM No.105595425
>>105591283
Ogre
Anonymous
6/14/2025, 11:59:51 PM No.105595464
>>105595364
Thank you, I will.
Anonymous
6/15/2025, 12:27:30 AM No.105595701
>>105591754
Stop right there.
Never parametrize LinkedList and BinaryTree with a type.
Use intrinsic data structures.
>less bloat
>more flexibility
You'll thank me later.
Replies: >>105596180
Anonymous
6/15/2025, 1:30:22 AM No.105596180
>>105595701
Its just an example
Anonymous
6/15/2025, 6:09:27 AM No.105597860
bump
Anonymous
6/15/2025, 6:17:55 AM No.105597903
>>105595184
You don't have to be here for long to realize how a bad OP image can absolutely ruin a thread.
As much as /dpt/ has fallen, there was always a reason that we insisted that the OP was not your personal shitposting space.
If you don't have anything on-topic to put there, just add a generic not-too-sexual anime girl there.
Replies: >>105597915
Anonymous
6/15/2025, 6:19:40 AM No.105597915
>>105597903
/dpt/ has mucher bigger problems than the op image
Replies: >>105597940
Anonymous
6/15/2025, 6:23:57 AM No.105597940
>>105597915
I know, but it used to be an """issue""" a long time ago.
Anonymous
6/15/2025, 8:50:09 AM No.105598577
NewSplashTestsmall
NewSplashTestsmall
md5: c4e621124b397e0897f52688d816ca23๐Ÿ”
New login splash screen temp until the real one is done.
Replies: >>105598644 >>105598912 >>105625616
Anonymous
6/15/2025, 8:50:24 AM No.105598580
Screenshot 2025-06-15 164759
Screenshot 2025-06-15 164759
md5: fa6006549029432d3fb6204bb8f9264f๐Ÿ”
I am stumped by this mystery triangle.
the worst part is that it isn't connected to the triangle I draw later in the frame.
Replies: >>105600225
Anonymous
6/15/2025, 9:05:39 AM No.105598644
>>105598577
thats dope af
Anonymous
6/15/2025, 9:53:37 AM No.105598912
>>105598577
that looks sweet. though the purple icicle looks a bit out of place
Replies: >>105599139
Anonymous
6/15/2025, 9:59:31 AM No.105598947
Where does "engine" come into this? Just make a game...
Replies: >>105599626
Anonymous
6/15/2025, 10:38:02 AM No.105599139
>>105598912
Yeah I was too lazy to make a fire sword again and didn't feel like fancy normal sword so I went with a like a '+_5' sword and kind of went into energy sword look.
Replies: >>105599183
Anonymous
6/15/2025, 10:49:55 AM No.105599183
>>105599139
give it some glow and i think itll look better, like a lightsaber kind of glow
Replies: >>105599292
Anonymous
6/15/2025, 11:12:16 AM No.105599292
true
true
md5: 295bc6251063761bdfd500a0bf22ec15๐Ÿ”
>>105599183
Yeah I was being lazy and experimental with a few different things. It should be more like pic rel. and that's probably how it'll be in game with a nice pulse on it. Different +'s have different colors for weapons.
Replies: >>105599319
Anonymous
6/15/2025, 11:18:07 AM No.105599319
>>105599292
now you are cooking
Anonymous
6/15/2025, 11:18:51 AM No.105599328
>>105590457
Content pipeline is fucking garbage (and still doesn't work on Apple Silicon after almost 5 years)
Replies: >>105599397
Anonymous
6/15/2025, 11:29:04 AM No.105599397
>>105599328
>still doesn't work on Apple
this is even more of a meme than Linux gamedev
Replies: >>105599476
Anonymous
6/15/2025, 11:42:21 AM No.105599476
managed-code
managed-code
md5: b5a48cb7501eceee1c43c3f1f3f013d8๐Ÿ”
>>105599397
Monogame itself is relatively decent (okay support for x-platform and portability across consoles) but it holds onto a lot bloated concepts and XNA legacy, holding it back. Some decent indies have been created with MG, but the content pipeline really sucks to work with, as mentioned.

FNA is even more legacy, trying to be a pure re-implementation of XNA 4 (15 year old as this point) and nothing else.

There's also shit like MonoGame Extended and Nez, which sit on top of MG, but I found buggy, bloated and/or lacking documentation.

Honestly for 2d games you're better off creating a specialized engine yourself using SDL2-CS, SFML.Net or Raylib-cs. It's not that complicated if you know what you need. Take a look at MG(E)/Nez source and yoink what you need if you cba to reinvent the wheel. All are on NuGet and come without the bloat that MG (or even Java shit like libGDX) comes with.
Replies: >>105599559
Anonymous
6/15/2025, 11:55:59 AM No.105599559
>>105599476
>content pipeline
Isn't it just a framework?
Anonymous
6/15/2025, 12:11:57 PM No.105599626
>>105598947
You need your own tools to get stuff done in your way. Everything else is just dancing to the tune of other people.
Anonymous
6/15/2025, 12:48:43 PM No.105599824
>>105590392 (OP)
Whatโ€™s the best way to add music to your games regarding copyrights? Looks like all solutions are likely to get Content IDโ€™d. And the safest music like Youtube Audio Library are not licensed for games. Even if you add a mute button for music, sound effects can get claimed too. Even currently-safe music, may get Content IDโ€™d because the musician changes their mind or other reasons.

Designing games to be as enjoyable without the music sounds like a very hard task. Especially for story-heavy ones.
Replies: >>105599871
Anonymous
6/15/2025, 1:00:29 PM No.105599871
>>105599824
royalty free music
Replies: >>105600115
Anonymous
6/15/2025, 1:45:33 PM No.105600115
>>105599871
Retard.
Replies: >>105600125
Anonymous
6/15/2025, 1:46:59 PM No.105600125
>>105600115
are you mentally ill?
Anonymous
6/15/2025, 2:05:38 PM No.105600211
engine
engine
md5: f56a85064287b48c6baf9f73d387756e๐Ÿ”
I think I might be mentally ill. This is a dumb idea, isn't it? Probably similar to how Denuvo works but with a polymorphic VM not reliant on Linux, I have no idea.
Replies: >>105600239 >>105600430 >>105612016
Anonymous
6/15/2025, 2:08:53 PM No.105600225
>>105598580
>that indentation
>that column width
>those variable names
I hate this so much holy fuck Iโ€™m actually triggered like I canโ€™t even
Anonymous
6/15/2025, 2:10:55 PM No.105600239
>>105600211
whats the point?
Replies: >>105600277
Anonymous
6/15/2025, 2:19:13 PM No.105600277
>>105600239
Prevent multiplayer cheating, support streaming of content and engine updates in game, and the obvious implications of wrapping your game in an encrypted VM.
Replies: >>105600293 >>105600462
Anonymous
6/15/2025, 2:21:11 PM No.105600293
>>105600277
running your game in a linux vm prevents multiplayer cheating?
Replies: >>105600332
Anonymous
6/15/2025, 2:26:44 PM No.105600332
>>105600293
It depends on the cheat, but I guess leaving rendering and input exposed leaves a big hole for wall hacks and the like. But yes, I'd basically be implementing console like security on PC, and securing the network connection from the end user. I know everything is hackable, so it's just another layer.
Replies: >>105600340
Anonymous
6/15/2025, 2:27:38 PM No.105600340
>>105600332
Is that layer anything more than a temporary obstcale?
Replies: >>105600346
Anonymous
6/15/2025, 2:29:02 PM No.105600346
>>105600340
All computer security is temporary if you give someone access to a device, so irrelevant.
Replies: >>105600380
Anonymous
6/15/2025, 2:35:29 PM No.105600378
fn dbg_file<T: std::str::FromStr>(path: &str, default: T) -> T {
dbg_some_file(path).unwrap_or(default)
}

fn dbg_some_file<T: std::str::FromStr>(path: &str) -> Option<T> {
let i = std::fs::read_to_string(path).unwrap_or(String::new());
let i = i.trim();
i.parse().ok()
}


This must be the lowest-fuss way to get debug variables. Probably it'd be better to have a macro that conditionally enables, etc.
Anonymous
6/15/2025, 2:36:11 PM No.105600380
>>105600346
Yeah but what's the point if cheaters are just going to crack it anyway?
Replies: >>105600398
Anonymous
6/15/2025, 2:39:03 PM No.105600398
>>105600380
DRM and content streaming with local rendering, mostly.
Replies: >>105600401
Anonymous
6/15/2025, 2:39:55 PM No.105600401
>>105600398
denuvo already exists and it's harder to crack than your idea
Replies: >>105600501
Anonymous
6/15/2025, 2:44:42 PM No.105600430
>>105600211
>This is a dumb idea, isn't it?
yes
Replies: >>105600501
Anonymous
6/15/2025, 2:49:49 PM No.105600462
>>105600277
i dont think you understand how cheats work
Replies: >>105600501
Anonymous
6/15/2025, 2:55:40 PM No.105600501
>>105600430
>>105600401
I'm making a Habbo Hotel clone, I think you gentlemen may understand my obsession with security. I might just have it require a TPM.
>>105600462
My knowledge of cheats is old, but I would assume the practice of hooking into the renderer and getting positional and player related variables from the engine to decode the current game state. Additionally network injection.
Replies: >>105600510 >>105600788
Anonymous
6/15/2025, 2:56:33 PM No.105600510
>>105600501
Why the fuck does your Habbo Hotel clone need client-side security? Do everything on the server
Replies: >>105600534
Anonymous
6/15/2025, 2:59:27 PM No.105600534
>>105600510
It's going to be peer to peer to save on hosting costs. Since the server is hosted locally on their machine, they won't notice any network latency issues on their side.
Replies: >>105600546 >>105602250
Anonymous
6/15/2025, 3:01:37 PM No.105600546
>>105600534
>It's going to be peer to peer to save on hosting costs
I'm sorry but that's moronic
Servers are cheap, peer to peer is unstable and grows exponentially more unstable the more players you have
Replies: >>105600575
Anonymous
6/15/2025, 3:04:48 PM No.105600575
>>105600546
You're right, I should BSD instead of Linux.
Anonymous
6/15/2025, 3:35:30 PM No.105600788
>>105600501
>habbo hotel
>worried about people wall hacking
>requires tpm
why arent you doing post quantum encryption yet?
Replies: >>105600850
Anonymous
6/15/2025, 3:43:48 PM No.105600850
>>105600788
Is there Python library for that usable with a BSD kernel?
Replies: >>105600895
Anonymous
6/15/2025, 3:50:23 PM No.105600895
>>105600850
>he isnt using the xorfuscator to ward reverse engineering, but he uses python
Anonymous
6/15/2025, 6:30:07 PM No.105602056
Fixed NPCs clipping into the player. Also changed it so that walking on certain tiles removes roofs and dims tiles and other objects outside of interior spaces. Now I can actually work on mechanics.
Anonymous
6/15/2025, 6:53:28 PM No.105602250
>>105600534
>save on hosting costs
you're going to spend more man years than you have left alive building obfuscation to save on hosting costs?
Anonymous
6/15/2025, 7:52:18 PM No.105602758
Testing on steam deck, I think I figured out why most Monogame games are capped at 60fps. Shit gets weird fast.
Anonymous
6/15/2025, 7:58:14 PM No.105602813
Screen Recording 2025-06-15 134613_thumb.jpg
Screen Recording 2025-06-15 134613_thumb.jpg
md5: 00770559882ab773a1376028661a4e52๐Ÿ”
I finished my first pass implementation of a ui framework
>buttons
>menus
>basic way for me to layout hierarchical ui elements
>hierarchical input handling
>works for keyboard and controller
Along with this I implemented a pause screen so players can restart or quit missions.

Got it deployed to itch, feels good. Looks much better than the primitive button press instructions I had before, and it will be easy to build out new stuff from here.

Next I think I'll add the Vamps (humanoid) form to gameplay.
Anonymous
6/15/2025, 8:03:30 PM No.105602856
how hard is it to write a 3d video game engine from scratch I'm half jewish half chinese btw
Replies: >>105602930 >>105602955 >>105603005 >>105604155 >>105604217 >>105604239 >>105629411
Anonymous
6/15/2025, 8:11:57 PM No.105602930
>>105602856
>how hard is it to write a 3d video game engine from scratch
It's easy, keep track of objects using X,Y, and Z instead of X and Y, then draw some triangles.
>I'm half jewish half chinese btw
Sorry to hear about that.
Anonymous
6/15/2025, 8:15:35 PM No.105602955
>>105602856
Pretty much impossible without a team of crack devs and at least $100,000,000 USD in funding.
Anonymous
6/15/2025, 8:21:42 PM No.105603005
>>105602856
>I'm half jewish half chinese btw
Steal someone else's
Anonymous
6/15/2025, 10:35:58 PM No.105604155
>>105602856
>I'm half jewish half chinese btw
That's an insane combo
Anonymous
6/15/2025, 10:45:20 PM No.105604217
>>105602856
>I'm half jewish half chinese
HOW
Anonymous
6/15/2025, 10:47:46 PM No.105604239
>>105602856
It's extremely easy with vibe coding
Replies: >>105604265
Anonymous
6/15/2025, 10:49:44 PM No.105604265
1740417187710293
1740417187710293
md5: 27412c79a5dfc721f2864a2e95e183c7๐Ÿ”
>>105604239
the socks just weren't enough for you, huh?
Anonymous
6/15/2025, 11:04:08 PM No.105604399
>>105592536
>most replied post its gay blowjob
This board is full of faggots
Replies: >>105604419
Anonymous
6/15/2025, 11:06:22 PM No.105604419
>>105604399
It is not gay if it looks like a woman, retard. It doesn't matter what your brain says, you cannot control your instincts
You see what looks like a long haired blonde woman with symmetrical face and nice tits, you get hard. End of story. No ifs and buts from your brain will prevent it.
Replies: >>105604510
Anonymous
6/15/2025, 11:14:11 PM No.105604510
1748057850900146
1748057850900146
md5: b8940a45699aadad806d65ab60b871a1๐Ÿ”
>>105604419
Replies: >>105604544 >>105604563 >>105604784 >>105605392
Anonymous
6/15/2025, 11:17:54 PM No.105604544
>>105604510
RIP
Anonymous
6/15/2025, 11:19:43 PM No.105604563
>>105604510
i would kill myself if mom found my girls with pee pees collection
Anonymous
6/15/2025, 11:41:01 PM No.105604744
half this thread is talking about game dev and the other half is talking about the mentally ill russian guy
fuck this gay shit
even reddit is less gay than this faggot shit
Replies: >>105604761
Anonymous
6/15/2025, 11:42:20 PM No.105604752
>>105590392 (OP)
ITT: nocoders (posted without reading)
Anonymous
6/15/2025, 11:43:44 PM No.105604761
>>105604744
>even reddit is less gay
You can go back anytime, sis :)
Anonymous
6/15/2025, 11:45:53 PM No.105604784
1638946862366
1638946862366
md5: ada1da483aa792ff6ff506cf49286ae5๐Ÿ”
>>105604510
Yes.
Anonymous
6/15/2025, 11:50:55 PM No.105604832
>>105594096
I've been dealing with this as well. For windows the mouse x and y I get from calling raylib's get mouse position function links up perfectly where it's supposed to be but for Linux it does not. My solution is a hack but it works kinda ok. Basically I hide the system cursor, just get what index of my grid the mouse is hovering over based on what my game thinks and I draw a fucking circle right at that cunt. Funny because at 0,0 the mouse lines up perfectly but as I move the mouse closer to X = X and Y = Y the cursor and the mismatch to where the game thinks it is increases. If I have no idea why this happens on Linux but not on Windows.
Replies: >>105605521 >>105616005
Anonymous
6/16/2025, 12:21:19 AM No.105605107
3621185_1691469415452484
3621185_1691469415452484
md5: 9460bd7aa1a80d8604e0e9794d3b7c3d๐Ÿ”
I've been trying to fix a really weird stutter for a while now. It's weird for many reasons:
>I have made demos for like a year and none had this problem before
>the stutter seems to have nothing to do with rendering, since it shows up even when all textures are taken off and replaced with lines
>tried profiling the entire program using SDL_GetTicks() and I haven't found any significant performance spikes
>the stutter is easily reproducible, it happens at the edge of a block in the tilemap, so it must be a problem with the tilemap code?

It turns out that it was a problem on the CPU side, when creating and deleting tilemap data in a per-frame basis. The stuttering must've been caused by the garbage collector then, but how am I supposed to profile something like that? I'm actually really frustrated that there weren't any performance spikes, how is that even possible? This sucks.
Replies: >>105605216 >>105605771
Anonymous
6/16/2025, 12:32:26 AM No.105605216
>>105605107
Don't use a garbage collected language?
Replies: >>105605244
Anonymous
6/16/2025, 12:35:30 AM No.105605244
>>105605216
I will not rewrite my game in C, stop tempting me.
Replies: >>105605250
Anonymous
6/16/2025, 12:36:11 AM No.105605250
>>105605244
Odin exists.
Anonymous
6/16/2025, 12:53:54 AM No.105605392
>>105604510
Lmao, futafag L
Anonymous
6/16/2025, 1:11:00 AM No.105605521
>>105604832
That sounds like a (fractional?) DPI scaling bug. You're probably on Wayland.... and it's probably your own bug. Try changing the DPI scaling to 1 and see if it goes away, but maybe you could test under different compositors or X11.
Replies: >>105606298
Anonymous
6/16/2025, 1:41:06 AM No.105605771
>>105605107
what language?
Replies: >>105605877
Anonymous
6/16/2025, 1:53:08 AM No.105605877
>>105605771
C++20
Replies: >>105605919 >>105607291 >>105618013
Anonymous
6/16/2025, 1:57:27 AM No.105605919
>>105605877
with a garbage detector?
Replies: >>105605941 >>105605974
Anonymous
6/16/2025, 2:00:03 AM No.105605941
>>105605919
No.
Replies: >>105605955
Anonymous
6/16/2025, 2:00:39 AM No.105605955
>>105605941
why are you replying?
Replies: >>105606094
Anonymous
6/16/2025, 2:02:17 AM No.105605974
>>105605919
>garbage detector
Anonymous
6/16/2025, 2:02:18 AM No.105605976
Got bored and implemented scaling for arbitrary resolutions. It tries to get a vertical resolution as close to 360p as possible and then scales back up from there.
Replies: >>105606101
Anonymous
6/16/2025, 2:12:24 AM No.105606084
whats the best programming language
Replies: >>105606461
Anonymous
6/16/2025, 2:13:10 AM No.105606094
>>105605955
I'm too demotivated to rewrite my code right now, so I'm going to stay here just a bit longer.
Anonymous
6/16/2025, 2:14:10 AM No.105606101
>>105605976
Cool. Make your window resizable, like a flash game.
Replies: >>105606731
Anonymous
6/16/2025, 2:16:29 AM No.105606118
>>105594891
bump
Replies: >>105606640
Anonymous
6/16/2025, 2:37:39 AM No.105606298
>>105605521
Thanks for the suggestions.
Anonymous
6/16/2025, 3:00:54 AM No.105606461
>>105606084
erlang
Replies: >>105610472
Anonymous
6/16/2025, 3:30:07 AM No.105606640
>>105606118
>>105594891
Historically, OpenGL had god awful conformance testing.
- Maybe the game was doing some dumb shit that old drivers let slide but causes issues on new drivers
- Maybe the drivers back then were non conformant and the game was written against those
- Maybe it's actually the modern drivers that are the one fucking it up.
Or something else entirely. Go file a bug report against your GPU driver or whatever. Running it under Linux with Mesa might be interesting to see if it works.
Anonymous
6/16/2025, 3:45:30 AM No.105606731
>>105606101
>Cool. Make your window resizable, like a flash game.
If I can get the interface to work vertically I likely will at some point.
Anonymous
6/16/2025, 5:45:21 AM No.105607291
>>105605877
They added garbage collection to c++? What are you doing, having smart pointers go out of scope and be recreated every frame?
Anonymous
6/16/2025, 6:27:48 AM No.105607464
Was thinking about writing something in C# using the Vortice DX bindings. Some of the code has to be written in unsafe blocks which I never really used before, does that cause any issues down the line with distribution? I could see Windows getting all gay and screaming warnings at users or something if a .NET program is doing scary things...
Replies: >>105607470 >>105607525
Anonymous
6/16/2025, 6:29:37 AM No.105607470
>>105607464
That's not what "unsafe" means, it's not considered a problem by the OS
Replies: >>105607506
Anonymous
6/16/2025, 6:37:01 AM No.105607506
>>105607470
I know what it means, I just figured that Windows would complain if it can't easily reason about what a .NET program is doing.
Anonymous
6/16/2025, 6:39:43 AM No.105607518
>>105594574
yeah but xhes hot
Replies: >>105607530
Anonymous
6/16/2025, 6:41:11 AM No.105607525
1745863420584902
1745863420584902
md5: 0f9b982a64b1783d491dae780f0eae4a๐Ÿ”
>>105607464
chat jippity

should be fine if it's just a normal windows program which it is if you're using directx
Replies: >>105607537
Anonymous
6/16/2025, 6:41:32 AM No.105607530
>>105607518
wrong thread, wrong board
Anonymous
6/16/2025, 6:42:33 AM No.105607537
>>105607525
Why are you asking an AI to provide you factual information?
Replies: >>105607543
Anonymous
6/16/2025, 6:43:18 AM No.105607543
>>105607537
because it's smarter than asking anons on /g/ at least
Replies: >>105607550 >>105607595
Anonymous
6/16/2025, 6:44:30 AM No.105607550
>>105607543
Do you know what a search engine is?
Replies: >>105607557
Anonymous
6/16/2025, 6:45:34 AM No.105607557
1749250809327853
1749250809327853
md5: 8c6fb41330701f0216206bc80fbd80ec๐Ÿ”
>>105607550
can you're search engine do this?
Anonymous
6/16/2025, 6:51:36 AM No.105607595
>>105607543
AI makes up shit and presents it with confidence all of the time.
Replies: >>105607629
Anonymous
6/16/2025, 6:59:13 AM No.105607629
1731044017712061
1731044017712061
md5: cc424db4cd7af1e12306604de4682740๐Ÿ”
>>105607595
same
Anonymous
6/16/2025, 10:22:49 AM No.105608535
why are there literally no resources on making game uis correctly
Replies: >>105608542
Anonymous
6/16/2025, 10:23:28 AM No.105608542
>>105608535
Maybe cause there's nothing really difficult about it
Anonymous
6/16/2025, 10:37:37 AM No.105608609
>>105593023
She has the facial expressions and mannerisms of a very young child.
Anonymous
6/16/2025, 11:18:16 AM No.105608841
>>105590435
Why would there be? C# is a windows/microgay language. Why would there be a linux engine? C#/windows games generally work fine on linux, so just use unity or whatever gay C# engine you like.
Anonymous
6/16/2025, 11:19:47 AM No.105608850
1736855728405505
1736855728405505
md5: 1c5d8f1a6e47618e78836650b1730cfd๐Ÿ”
>here bro I'm just gonna make one of these uids for every single one of your files
>ohhh and don't forget to check them in, they're important!
>ohhhhhh yeah and make sure if you move any of your files, move the uid file too! It's super important! trust me bro
Replies: >>105609749
Anonymous
6/16/2025, 11:54:06 AM No.105609040
>>105590435
https://opentk.net/
Replies: >>105609207
Anonymous
6/16/2025, 12:22:48 PM No.105609207
>>105609040
>anon asks for game engine
>you post low level openxl library
>litterally states in faq "it's not a game engine"
absolute state of /g/
Anonymous
6/16/2025, 1:35:18 PM No.105609583
There's no reason to use the content pipeline anymore. Just grab a font library and everything else can be loaded from the filesystem.

https://flibitijibibo.com/xnacontent.html
Replies: >>105609722
Anonymous
6/16/2025, 1:56:12 PM No.105609722
>>105609583
Just load graphics asset from the filesystem and create a texture atlas on the fly during game load.

You don't need bloat like texturepacker unless you're a nocoder jeet.
Anonymous
6/16/2025, 1:59:51 PM No.105609749
>>105608850
what do these even do?
Replies: >>105609770
Anonymous
6/16/2025, 2:02:43 PM No.105609770
6195WB20rdL._AC_UF1000,1000_QL80_
6195WB20rdL._AC_UF1000,1000_QL80_
md5: 2f5bdcdb2bbc9756aa613ca6b6da5212๐Ÿ”
>>105609749
https://godotengine.org/article/uid-changes-coming-to-godot-4-4/
Replies: >>105609829 >>105610017
Anonymous
6/16/2025, 2:06:44 PM No.105609797
1750075600
1750075600
md5: 56ecbe88417457c1e2860bda076a40d4๐Ÿ”
Stop using GDScript. Use RDScript instead. It has structs and traits (inspired by Rust!)
Replies: >>105609815 >>105610402 >>105627181
Anonymous
6/16/2025, 2:08:41 PM No.105609815
>>105609797
>The godot fork made as a response to Godot's identity politics BS is being inspired by rust
There's a weird irony here
Anonymous
6/16/2025, 2:10:41 PM No.105609829
>>105609770
what the fuck is wrong with filepaths
Anonymous
6/16/2025, 2:36:51 PM No.105610017
>>105609770
I love how the rationale is "big boy engines use UIDs, so godot must". Get fucked.
Replies: >>105610025
Anonymous
6/16/2025, 2:37:38 PM No.105610025
>>105610017
>big boy engines use UIDs
do they though?
Anonymous
6/16/2025, 3:27:45 PM No.105610348
anyone have anything decent on setting up more consistent stable diffusion setups to be able to make style-consistent art assets for games?
Anonymous
6/16/2025, 3:37:36 PM No.105610402
juan
juan
md5: eca6162425dc598deb91e028f7b40ba4๐Ÿ”
>>105609797
This is definitely a huge overscope for a handful of chuds who still care about woke outrage
>modern c++
>modules
>boohoo long files bad
This is some shit I'd expect you retards to care about.
Replies: >>105610411 >>105610789
Anonymous
6/16/2025, 3:38:45 PM No.105610411
>>105610402
What is godot written in currently? C99, isn't it?
Replies: >>105610433
Anonymous
6/16/2025, 3:41:20 PM No.105610433
godot2
godot2
md5: 3d83dafb96c7082734c0c74df7fc5da1๐Ÿ”
>>105610411
of course not, it's c++. Like everything else that runs the world we live in.
I think it's c++11 flavored mostly and their style guide prefers for contributors to not use more modern features.
Replies: >>105611031
Anonymous
6/16/2025, 3:46:17 PM No.105610472
>>105606461
that's dumb
Replies: >>105611720
Anonymous
6/16/2025, 4:24:34 PM No.105610789
>>105610402
>muh chuds
>godot good
Lol, lmao even
Not defending redotards though, they shouldn't even use godot in the first place
Anonymous
6/16/2025, 4:53:41 PM No.105611031
>>105610433
sorry anon you missed the memo gaydot is woke now
Anonymous
6/16/2025, 6:06:00 PM No.105611720
>>105610472
Listen here, codecel. While you're busy coping with your fifth GameMaker project that crashes if you sneeze near the inspector, I'm out here pushing 100k concurrent players through a fault-tolerant cluster running on the BEAM VM.
>B-but muh latency
Erlang was literally designed for soft real-time systems. You think shooting a rocket in Quake is hard? Try keeping a phone call alive between two drunk Swedes in a snowstorm in 1993 on a Nokia switch. Erlang did that. With pattern matching. And zero downtime.
Meanwhile your Unity build stutters every time garbage collection burps.
>Nobody uses it for games
Cool story, bro. Nobody uses deodorant on /g/ either but here we are.
Real devs donโ€™t follow trendsโ€”they build systems that donโ€™t die. Erlangโ€™s supervision trees make Unityโ€™s null reference spam look like babyโ€™s first stack trace. You ever tried hot code swapping an NPC AI module in production without restarting the server?
No?
Then sit the hell down.
Replies: >>105611749 >>105611757 >>105611770 >>105611773 >>105611786 >>105616202 >>105616303 >>105618050 >>105619999
Anonymous
6/16/2025, 6:08:54 PM No.105611749
>>105611720
strong nodev energy radiates from this post
Anonymous
6/16/2025, 6:09:30 PM No.105611757
>>105611720
yikes
Anonymous
6/16/2025, 6:11:06 PM No.105611770
>>105611720
I always wanted to try writing a MUD in erlang but it seems like a lot of work so I just take a nap instead
Anonymous
6/16/2025, 6:11:18 PM No.105611773
>>105611720
holy cope
Anonymous
6/16/2025, 6:13:00 PM No.105611786
>>105611720
>em dash
Replies: >>105611794
Anonymous
6/16/2025, 6:13:43 PM No.105611794
>>105611786
/g/ is fucking dead, nobody noticed it
Anonymous
6/16/2025, 6:32:19 PM No.105612016
>>105600211
Depends on the game.
FPS / TPS ? It'll work but it'll lag.

The industry standard is let the client play, and server corrects.
Anonymous
6/16/2025, 6:42:28 PM No.105612110
I just won't use any code written by gay people for my game! ugggh, I know, sorry! but I just won't!
Replies: >>105612122
Anonymous
6/16/2025, 6:43:42 PM No.105612122
>>105612110
So you have to code the game without a Turing complete language ... GL
Replies: >>105612348
Anonymous
6/16/2025, 7:05:29 PM No.105612348
>>105612122
>Dennis Ritchie
>sexual affiliation: straight
Anonymous
6/16/2025, 7:38:43 PM No.105612676
ded fred
ded gaem
Anonymous
6/16/2025, 7:56:18 PM No.105612903
is there an alternative to _getch() that works on MacOS? would use curses but I'm tinkering with my game on both my windows PC and my mac laptop (at work) and I'm trying to keep everything as compatible as possible
getchar() is fine but kind of annoying because it requires a return
Replies: >>105612914 >>105613913
Anonymous
6/16/2025, 7:57:19 PM No.105612914
>>105612903
should mention it's all in C
Anonymous
6/16/2025, 8:11:40 PM No.105613068
adventure game where your stepsister is stuck and you have to save her
Anonymous
6/16/2025, 9:07:34 PM No.105613684
Thoughts on software rendering?
Replies: >>105614028 >>105614041 >>105614075 >>105614548 >>105615383 >>105618227
Anonymous
6/16/2025, 9:31:33 PM No.105613913
>>105612903
note that anyone on mac who is serious about playing games would just use crossover or whatever free wine alternative, and the population of gamers on mac is miniscule.
also unless your game is on steam, users would need to self-sign the binary with xcode or whatever, and I would be surprised if it's possible to have a terminal app on the app store (but the app store requires a developer license).
If your game is a GUI but you use the terminal for a log + startup errors, I would just suggest using something similar to SDL's pop up messagebox instead (but it does not support text input) to keep the terminal open (on mac / linux, the application needs to be started from the terminal for a terminal).
If you want to suffer a tiny bit, you could code your own terminal using something like SDL and then use emscripten to build your game on the web (or make your UI using JS / HTML elements which is real annoying to debug your C++ code since you can't step through your wasm code on the web).
I don't know the answer to your question by the way, the last time I messed with terminals I would just use std::getline() on C++ which only works with return, which is not the same as getch (and getline does not like working with >> / scanf, but I would just getline all my strings and just parse each line manually using a C++ stringstream if needed, that's how I did most of advent of code).
I think osx should have C's getline in posix (but not on windows). If you just googled or asked AI your question, they would probably tell you to disable echo or something using linux specific functions or whatever and use something like getc? (which is similar to what curses does internally).
Replies: >>105617235
Anonymous
6/16/2025, 9:44:08 PM No.105614028
>>105613684
obsolete
Anonymous
6/16/2025, 9:45:28 PM No.105614041
1732021605754876
1732021605754876
md5: 6240d48daf90ef89bf440b5493a4a551๐Ÿ”
>>105613684
>ultimately still has to send the image to the gpu every frame using directx/opengl because that's just how modern pc video output works unless you're programming for retro hardware or something
Replies: >>105614073 >>105614549
Anonymous
6/16/2025, 9:49:00 PM No.105614073
>>105614041
>directx/opengl
eh, aren't gpus required to have some kind of vga emulation or something? you get video output before your os even boots so clearly it's not using any fancy graphics apis
Replies: >>105614155 >>105615383
Anonymous
6/16/2025, 9:49:03 PM No.105614075
>>105613684
Divide the image by core count and have the cpu render that segment of the screen like the new Doom port.
Anonymous
6/16/2025, 9:58:13 PM No.105614155
>>105614073
VGA text mode and UEFI, nothing you can use from within Windows. Software rendering is just a learning exercise or because you're doing something extremely specific like trying to "accurately" emulate an old game console.
Anonymous
6/16/2025, 10:24:32 PM No.105614413
1750105422
1750105422
md5: 2d343ac532b7bcf129b41ec5a235e5f3๐Ÿ”
I want to know who this girl is. I see her videos about Godot out of context sometimes
But I want to know what is her actual channel name
Replies: >>105614442
Anonymous
6/16/2025, 10:27:39 PM No.105614442
>>105614413
*gaydot
Anonymous
6/16/2025, 10:42:13 PM No.105614548
>>105613684
It's a very deep rabbit hole, good idea if you like to create MS-DOS graphics quality games.
CPU shaders are an untapped potential.
Anonymous
6/16/2025, 10:42:20 PM No.105614549
>>105614041
Windows has GDI
Replies: >>105614557
Anonymous
6/16/2025, 10:44:02 PM No.105614557
>>105614549
do you think GDI is magic, anon? for ages now all Windows is rendered through DirectX under the hood
Replies: >>105614578 >>105614586
Anonymous
6/16/2025, 10:46:33 PM No.105614578
>>105614557
>Uhm it's not ackshually software rendered because the hardware exists
oh wow, so profound mr retard
Replies: >>105614603
Anonymous
6/16/2025, 10:47:48 PM No.105614586
>>105614557
In 100-200 lines of code you can make a bare bones win32 window which displays on the screen the pixels you want to draw from some buffer.
You render however you want to that buffer you completely control, then you call a function that sends it to the win32 api to display it to the screen, whatever method win32 uses internally.
Replies: >>105614602 >>105614603
Anonymous
6/16/2025, 10:49:54 PM No.105614602
>>105614586
No it doesn't count because there is virutal memory, it only counts when you write you own OS and draw directly to physical memory
Replies: >>105614832
Anonymous
6/16/2025, 10:49:55 PM No.105614603
>>105614578
>>105614586
>it's not using directx because I'm not personally calling directx, instead the api I'm using is calling directx!
Replies: >>105615573
Anonymous
6/16/2025, 10:54:18 PM No.105614645
It seems BigGPU doesn't want you to make your own software renderer.
The algorithms themselves are small but a bit hard to create them all and tie them together and have them work perfectly (with no pixel artifacts).
The GPUs only execute those small pieces of code in a massive parallel fashion.
Anonymous
6/16/2025, 11:21:25 PM No.105614832
>>105614602
acktshually, it doesn't count until you generate video signal by manually pushing electrons into the wire.
Anonymous
6/16/2025, 11:30:19 PM No.105614907
>>105592977
This isnโ€™t true , right?
Like Iโ€™m pretty sure I could code this.
Anonymous
6/17/2025, 12:37:26 AM No.105615383
>>105613684
Offline rendering, perfectly fine, maybe even preferred in some situations.
Real-time rendering, obsolete as fuck, and doesn't scale to modern resolutions and frame rates.

>>105614073
You're giving your software buffer to your compositor and that's essentially just doing all of the uploading stuff to the GPU for you.
Anonymous
6/17/2025, 1:05:58 AM No.105615573
>>105614603
not anon, but really old GPU's had special hardware targeting GDI hardware acceleration (XP only), but now it's only done by the CPU, and the only hardware that GDI supports is blitting to the screen (and it's really fucked up because it seems like to make the fastest blitting GDI code for modern PC's ends up destroying the performance of XP because GPU's with GDI hardware support require a different bitmap format).
https://www.reddit.com/r/Windows10/comments/v9xk3h/moan_the_dirty_backwards_secret_of_gdi_since_win/
https://www.tomshardware.com/reviews/2d-windows-gdi,2547-12.html
Now does GDI's blitting use DirectX? Or does the driver vender choose? Or does windows require the driver vendors to support a path for GDI to blit with the GPU?
Anonymous
6/17/2025, 2:06:21 AM No.105616005
2025-06-15 18-06-51_thumb.jpg
2025-06-15 18-06-51_thumb.jpg
md5: b529efa51bf3073bbac5649991bed929๐Ÿ”
>>105604832
That's what I ended up doing last night. .
Anonymous
6/17/2025, 2:36:07 AM No.105616202
>>105611720
>I'm out here pushing 100k concurrent players through a fault-tolerant cluster running on the BEAM VM.
yeah, maybe for a turn based game
Anonymous
6/17/2025, 2:52:23 AM No.105616303
>>105611720
this reads like a copypasta
Replies: >>105616600
Anonymous
6/17/2025, 3:33:03 AM No.105616600
>>105616303
its ai generated
Anonymous
6/17/2025, 3:51:44 AM No.105616725
>>105590392 (OP)
insanely obvious it's a dude when you can see hands and torso
Anonymous
6/17/2025, 5:08:19 AM No.105617235
>>105613913
I'm not too worried about the audience and/or steam, it's a traditional roguelike that does all of the display inside the terminal, so I'm aimed at an extremely niche audience already
>If you just googled or asked AI your question, they would probably tell you to disable echo or something using linux specific functions or whatever and use something like getc? (which is similar to what curses does internally).
It took a surprising amount of digging to find the solution, which ended up being only a few lines of code.
#include <termios.h>
#include <unistd.h>

static struct termios old_settings, new_settings;
void displaySetup(void) {
tcgetattr(STDIN_FILENO, &old_settings);
new_settings = old_settings;
new_settings.c_lflag &= ~ICANON; // Disable canonical input processing.
new_settings.c_lflag &= ~ECHO; // Disable echo.
tcsetattr(STDIN_FILENO, TCSANOW, &new_settings);
Replies: >>105617493 >>105624858
Anonymous
6/17/2025, 5:55:19 AM No.105617493
>>105617235
you are better off using SDL and just drawing a spritesheet onto a grid.
it might look more simple on the surface to use the terminal API, but the second you try to add in any feature that isn't trivial, you encounter a lot of problems (fullscreen, upscaling, mouse input, custom tilesets / graphics, animations, emscripten).
Also you have not answered how you are going to get apple users to use your application. I don't use apple and I don't know much about it (I couldn't figure out how to install Xcode in OSX KVM without a phone number), but is there something that I am missing that lets you easily share your binary on apple?
-Users can't run unsigned applications.
-If you did sign (and paid $100 for the yearly developer license), you can't put a terminal application on the app store (I expect that there is a emulator like XTerm for apple, but I can't find anything)
-Self signing is more complicated than using wine / crossover (needs Xcode?)
The only magical solution is maybe homebrew is a lot more easier to publish than I expected? Or maybe you don't need to sign / self sign for terminal applications?
Replies: >>105618384
Anonymous
6/17/2025, 7:12:29 AM No.105618013
>>105605877
There's no garbage collection in C++ unless you use some third party library.
Anonymous
6/17/2025, 7:15:39 AM No.105618050
>>105611720
Based BEAMer
Anonymous
6/17/2025, 7:47:44 AM No.105618227
index
index
md5: b73d673a83353742dfea4c33e33f0057๐Ÿ”
>>105613684
giga hyperborean exachad 800iq move
>viable in the age of MORE CORES
>can do literally anything; raytracing, voxels, procedurally generated bees
>can be extremely specialized for the game
>works in a hypervisor without gpu passthrough
>works on the chuddest, librest and meanest OSes
>portable like the unix virus
>can accelerate with compute anyway
>gpu completely free to do AI inference
>dependencies: C compiler and assembler
Replies: >>105618677
Anonymous
6/17/2025, 7:54:05 AM No.105618259
this thread is half retards who think software rendering is cool and half tranny fetishists
where are the fucking game developers
Anonymous
6/17/2025, 8:16:27 AM No.105618384
>>105617493
You're saying macos users can't install random software? That sounds crazy.
Replies: >>105624494
Anonymous
6/17/2025, 9:03:05 AM No.105618677
>>105618227
>procedurally generated bees
I never thought I would ever hear that again.
Anonymous
6/17/2025, 12:57:12 PM No.105619999
>>105611720
>Real devs donโ€™t follow trendsโ€”they build systems that donโ€™t die.
AI generated mannerisms
Anonymous
6/17/2025, 1:03:19 PM No.105620032
If you had to write a cdda/dwarffortress/cavesofqud-like what stack would you use?
Replies: >>105620061 >>105621902
Anonymous
6/17/2025, 1:08:26 PM No.105620061
>>105620032
C# with Raylib-cs
Anonymous
6/17/2025, 2:17:53 PM No.105620494
1749263368257758
1749263368257758
md5: 339f9de481048277025bfa6928514364๐Ÿ”
>>105595353
nice shitting rabbit simulator bro
Anonymous
6/17/2025, 5:27:10 PM No.105621889
bump
what is gedg working on right now?
Replies: >>105623309
Anonymous
6/17/2025, 5:30:01 PM No.105621902
>>105620032
C or Go with raylib
Anonymous
6/17/2025, 8:09:26 PM No.105623309
>>105621889
just finished a major rewrite of module system in my engine to facilitate automatic generation of docs (API reference).
anything not to do any real progress.
Anonymous
6/17/2025, 9:17:31 PM No.105623839
If I want to build something with SDL3 + sdl_gpu, should I learn c or c++?
Apparently c++ is a must if you need to work with vectors, but if most of the "graphical" stuff will be handled by sdl_gpu, there's no need to do it in c++, right?
Replies: >>105623892 >>105624311
Anonymous
6/17/2025, 9:25:55 PM No.105623892
>>105623839
You are not at liberty to choose C over C++ until you at least know both languages well enough to answer the question yourself.
Replies: >>105623932
Anonymous
6/17/2025, 9:31:01 PM No.105623932
>>105623892
I don't want to learn two languages before making a thing in one of them. Besides, I've gone through K&R book years ago and solved all of the exercise, so it will be easier for me to pick up C. I know that doom was written in C and it was fine... So I wanted to know, am I making a mistake by avoiding C++
Replies: >>105623971
Anonymous
6/17/2025, 9:36:14 PM No.105623971
>>105623932
just use c++ like you're writing c with benefits
Anonymous
6/17/2025, 9:48:15 PM No.105624060
>>105590392 (OP)
fuck, I was 100% sure that video is AI and was waiting for some unimaginable horror to start happening
Replies: >>105624104
Anonymous
6/17/2025, 9:55:06 PM No.105624104
1749058865678_thumb.jpg
1749058865678_thumb.jpg
md5: 8b754eb66a94fcf9908fbb8500a43fa7๐Ÿ”
>>105624060
Like this? :D
Replies: >>105624858
Anonymous
6/17/2025, 9:57:26 PM No.105624123
1740892703564320
1740892703564320
md5: 59c159821cfa7b9c2ef16bc59031da4a๐Ÿ”
gay dots
Anonymous
6/17/2025, 10:22:08 PM No.105624311
>>105623839
C++. there's no reason to go with C over C++ in 2025 AD.
Replies: >>105624329
Anonymous
6/17/2025, 10:24:34 PM No.105624329
1730643142378085
1730643142378085
md5: 45117f05e84e7c96b68314176551f2eb๐Ÿ”
>>105624311
human readability
Anonymous
6/17/2025, 10:44:48 PM No.105624494
>>105618384
most random software is open source and apple offers a free license for open source projects, so those applications shouldn't need to pay $100.
but if it's closed source, and it runs without problem, and it's not a python or some scripting language, and it's not part of some launcher like steam, they probably paid $100 for the license.
turns out you don't need to self-sign the binary with a 3rd party application, it turns out you just need to ctrl click on older OS versions, or just go into the system settings and manually give permission to the unsigned app, or just run a sudo command to completely disable the security check globally.
Replies: >>105624511 >>105624582
Anonymous
6/17/2025, 10:47:01 PM No.105624511
>>105624494
anon no mac user knows wtf you're talking about
Replies: >>105624574
Anonymous
6/17/2025, 10:49:45 PM No.105624540
>>105590435
Doesn't Unity work on Linux?
Anonymous
6/17/2025, 10:52:57 PM No.105624574
>>105624511
I honestly think signing C++ code is probably the easiest part of getting C++ game running on apple software.
The part that intimidates me the most is that I would need to learn to use CPACK in cmake to make an appimage on apple (AND get that working in such a way so that it works with ARM and x86).
BUT if you just put your game on steam, it would just work without signing. This is more of an issue if you want to give people a zip archive for apple users, or you want the program on the app store.
There is actually a huge benefit for paying $100 which is that you get crash reports, stacktraces, as long as you upload your symbols. The same thing is possible on windows (WER reports) BUT it's 100x more complicated because I think that information is only for businesses, there is no simple solo dev way to get those crash reports / knowing how many people are using your application / which country on windows.
Anonymous
6/17/2025, 10:53:41 PM No.105624582
>>105624494
Ok, I'll scratch any plans of releasing anything for mac if you have to pay. I had no idea it had gotten so bad that user's can't run whatever software they want.
Anonymous
6/17/2025, 10:55:28 PM No.105624601
why cant gamedev be ez like it was on the c64
Replies: >>105624632 >>105624672
Anonymous
6/17/2025, 10:58:03 PM No.105624632
>>105624601
It's more ez than ever with all the available toolings, frameworks, documentation, and tutorials literally everywhere and LLMs to write algos for you.

You're not being filtered, are you, anon?
Anonymous
6/17/2025, 11:01:42 PM No.105624672
>>105624601
The Windows programming API should be implemented as memory-mapped registers.
Anonymous
6/17/2025, 11:17:52 PM No.105624806
>>105590392 (OP)
Stop posting this faggot.
Replies: >>105624839
Anonymous
6/17/2025, 11:21:35 PM No.105624839
1750195270
1750195270
md5: 1377d5245241ab1fade5e4e390c2e9d3๐Ÿ”
>>105624806
Anonymous
6/17/2025, 11:24:11 PM No.105624858
>>105617235
Maybe you will want to debug your roguelike with gdb. Experience has shown me this is trouble because they will be fighting over the terminal. What you can do is open a new one and
$ tty; sleep 99d
/dev/pts/123

and in gdb
(gdb) tty /dev/pts/123


This has some deficiencies but idk how to fix them.

>>105624104
Wow thank you I will never watch another video from the internet in my life.
Anonymous
6/18/2025, 12:34:48 AM No.105625460
where would a gamedev go to find someone to do some artwork for the store page / previews? I tried looking through Fiverr and the vast majority of it is obviously AI generated, even on the non-AI sections.
Also most of the real artists I've seen want like $500+. is this standard?
Replies: >>105625496
Anonymous
6/18/2025, 12:37:57 AM No.105625496
>>105625460
a decent design can take 10+ hours
Anonymous
6/18/2025, 12:53:18 AM No.105625616
>>105598577
I like this
Anonymous
6/18/2025, 1:35:37 AM No.105625901
Screencast_20250617_183217_thumb.jpg
Screencast_20250617_183217_thumb.jpg
md5: 8160ad48c50e4c2d334336cae9d5f31f๐Ÿ”
Tried to use those free Pixar textures downscaled, but I don't think I'm a fan of it overall.
Anonymous
6/18/2025, 2:11:26 AM No.105626114
>>105590392 (OP)
https://youtu.be/qYzi7x_BBUc?t=1563
Anonymous
6/18/2025, 2:14:05 AM No.105626131
I have a question about Vulkan pipeline caches.
I know the main use is to save it to disk, to speed up compilation on subsequent runs of your program, but is it appropriate to use as a general purpose cache? E.g. I load 100 gltf models, and they theoretically could have different vertex input formats, so could need different pipelines. Could I just create a pipeline for every model individually, and the pipeline cache just deals with it and not waste a ton of resources? Or is this misusing this API and I need to do my own caching?
Anonymous
6/18/2025, 4:23:37 AM No.105626966
Is there any good examples of horizontal scaling in a game server? Multiple servers handling the same region, sharding game regions across servers? I see a lot of half way examples, but I've yet to see a complete, cohesive game world like that.
Replies: >>105626973 >>105627000
Anonymous
6/18/2025, 4:24:16 AM No.105626973
>>105626966
That's what chunks are for.
Replies: >>105626993
Anonymous
6/18/2025, 4:27:12 AM No.105626993
>>105626973
I know that, but so far the only game I've seen that does it seamlessly is a mod for Minecraft. But I'm trying to figure out a good architecture that doesn't bottleneck at the world data source, and actually does handoff correctly.
Replies: >>105627004
Anonymous
6/18/2025, 4:28:20 AM No.105627000
>>105626966
>Multiple servers handling the same region
not really viable
Replies: >>105627004
Anonymous
6/18/2025, 4:29:09 AM No.105627004
>>105626993
>>105627000
I just realized you mentioned multiple servers for the same region...why?
Replies: >>105627014 >>105627102
Anonymous
6/18/2025, 4:32:28 AM No.105627014
>>105627004
Probably the same guy who thinks he needs a Linux VM for anticheat
Replies: >>105627102
Anonymous
6/18/2025, 4:51:24 AM No.105627102
>>105627004
>>105627014
Minecraft is what got me into programming, and I've always wanted to make an open world game in a fixed world where everyone had the option of playing together. Different games approach that in different ways, but one consistent issue is local performance - get enough players in a room together and it slows to a crawl. I'd like to build a game where there is a great deal of complexity in a fixed game world, and parallelizing different aspects of it would go a long ways in achieving my vision.
One idea is the concept of game object LoDs. I want the player to be able to see everything in the world as it occurs, with the same distance you'd see in real life - someone builds a skyscraper, and then knocks it down, you'd want to be able to see that from really far away. So I've designed a system where a dedicated server processes "the big picture" into different LoDs that are served to the player. But that same complexity in a small area would put the server handling that area under stress, and you can only vertically scale so far. So I'm hoping to model out some mechanism to distribute world segments without a loading screen.
Replies: >>105627165 >>105627223
Anonymous
6/18/2025, 5:02:47 AM No.105627165
>>105627102
Unless your playerload gets massive it can absolutely be handled on one server. Pretty much all mmos were like that until like 2007.
Anonymous
6/18/2025, 5:05:21 AM No.105627181
>>105609797
nigga no one who wants to make games gives a shit about any of this
Anonymous
6/18/2025, 5:12:23 AM No.105627223
>>105627102
>get enough players in a room together and it slows to a crawl.
There's basically no solution to this, which is one of the reasons MMOs have become more instanced
Like early during WoW's lifecycle they tried to do server-wide events, they caused massive instability so they stopped trying
But if you're talking about large persistent worlds with players who are spread out that's possible
Replies: >>105627588
Anonymous
6/18/2025, 6:16:36 AM No.105627588
>>105627223
One idea I had was to delegate different layers of the world processing to different instances - one for world geometry, one for physics, one for the "game object LoDs" I described, and then a cluster where each handles a certain number of players. Those would take incoming world changes from the other servers, lump it together, and serve it, as well as sync player info within the cluster. A top level coalescing service would aggregate the world state into frames and store the frames, keeping the latest couple in memory so new instances could get up to speed quickly. But then the coalescing service becomes the bottleneck, and I've wasted a bunch of money and effort getting back to square one.
Replies: >>105627613 >>105627708
Anonymous
6/18/2025, 6:20:15 AM No.105627613
>>105627588
You should probably make a few games before you start having big thoughts about architecture because that's a really stupid idea for several reasons
It's not neccessary to split up tasks between servers, and the latency would be unbearable
Replies: >>105627728
Anonymous
6/18/2025, 6:36:03 AM No.105627708
>>105627588
You're thinking about things that you probably won't even encounter. My current game runs in the background while we're devving and takes no hit from processing everything. Think about old mmos from the late 90s/early 00's and how many thousands of players they had running on that old hardware and compare it to modern hardware.
Replies: >>105627728
Anonymous
6/18/2025, 6:40:48 AM No.105627728
>>105627613
I've made a few, but not MMO style. I come from a weird mix of game and enterprise (not Java, not a brownoid) development. Some of the latency can be mitigated with game design choices, but you are right in that it would be slower. Slow enough to kill the game? Not sure, which is why I'm asking around while prototyping.
>>105627708
What I'm trying to design around isn't necessarily players, it's that the world itself will be very compute heavy, and I'm also thinking longer term if it reaches sufficient scale, if I'm already splitting out other bits, why not see if I can split players as well?
Replies: >>105627748 >>105627776
Anonymous
6/18/2025, 6:43:36 AM No.105627748
>>105627728
>the world itself will be very compute heavy
What do you have in mind that's so heavy a single dedicated server can't handle it?
Either way it'd better to split things up based on region rather than task because if you split them up based on task then you'll be bottlenecked on data transfer
Replies: >>105627776 >>105627790
Anonymous
6/18/2025, 6:48:11 AM No.105627776
>>105627728
>>105627748
>Either way it'd better to split things up based on region rather than task because if you split them up based on task then you'll be bottlenecked on data transfer
This. Latency is going to be a killer if everything is being processed by something different and needs to link back up and then be matched.
Replies: >>105627790
Anonymous
6/18/2025, 6:51:19 AM No.105627790
>>105627748
If I can get a good prototype going for the split architecture, I was hoping to incorporate more and more complex simulations into the world and the NPCs. If I got far enough down the rabbit hole I even wanted to experiment with offloading some parts of rendering to the server, which would let me do really wack shit even on low end devices.
>>105627776
That's fair. I would wager even best case scenario I'd be looking at 500+ ms round trip latency across the layers I currently have in mind, not including compute between ticks
Replies: >>105627850
Anonymous
6/18/2025, 6:59:58 AM No.105627850
>>105627790
>offloading some parts of rendering to the server
You can't do that because of latency
Anonymous
6/18/2025, 11:12:19 AM No.105629256
sat
sat
md5: cad0990e292ad3adc95f92da55f62110๐Ÿ”
My separating axes theorem debug visualizations, let me show you them.
Anonymous
6/18/2025, 11:19:17 AM No.105629301
next >>105629295
Anonymous
6/18/2025, 11:42:57 AM No.105629411
>>105602856
Each individual task is easy but all tasks combined will take you 5 years.