Chud 11/09/25 (Sun) 00:17:40 β 43179 [Quote]
also if anyone knows more about how to do this than i do, i could use all the help i can get, i dont know if i should be doing this alone since i lack experience
Chud 11/09/25 (Sun) 02:55:58 β 43216 [Quote]
ok when i get home these are the issues i plan to work on water is all sorts of fucked up any blocks with transparency flicker when the chunk they are in is interacted with any blocks with transparency dont render in the right order when placed in front of one another sometimes random crashes happen (cant find the source yet) a SINGLE randomly colored brick block will be placed at a completely random point in the world, and if you explore long enough you'll find some more.. I don't know what to make of that one but if i find out why it happens, i might turn it into something cool oh and the way torch light propogates across chunks is broken again
Chud 11/09/25 (Sun) 03:22:09 β 43220 [Quote]
>>43153 not fantastic, i remember it feeling around 30 fps, maybe less
Chud 11/09/25 (Sun) 03:22:35 β 43221 [Quote]
>>43220 yeah that should not be that bad, its supposed to be waaay over that
Chud 11/09/25 (Sun) 12:01:27 β 43245 [Quote]
>>43170 why the fuck are you using glfw now? this codebase sucks o algo
Chud 11/09/25 (Sun) 14:48:51 β 43268 [Quote]
>>43245 here are some major issues with the codebase:
no module organization: everything is inside /src/
the main.cpp
file: it does WAY TOO MUCH, ideally it should just construct an app object and run it
game loop: your current game loop is retarded
"JavaRandom.cpp": why are you remaking standard library functionality and why does it need to be exactly like java's implementation?
<reddit space the code is way too low level: ideally you should be creating neat little abstractions for dealing with raw operations. you shouldnt have to write opengl code to make a main menu screen.
the comments are useless. i dont want to know the what or how, i want to know the why of your code. also use /// for documentation comments
<reddit space this codebase is ai slop, without any doubt. the coding styles clash very heavily. i advise you to fully revamp it before you continue adding new features. good luck, 'een.
Chud 11/09/25 (Sun) 14:50:23 β 43269 [Quote]
also create a git repo o algo, it helps with debugging regressions
Chud 11/09/25 (Sun) 15:54:18 β 43272 [Quote]
lil bro needs to go read a few design patterns textbooks ππππΏπΏ
Chud 11/09/25 (Sun) 17:11:33 β 43276 [Quote]
>>43272 just learn rust o algo, it's a good middle step between boring objects and hecking agarthaborean functional programming
Chud 11/09/25 (Sun) 17:13:45 β 43277 [Quote]
>>43276 not even rust will help if you have no clue how to properly structure your programs doe
Chud 11/09/25 (Sun) 17:18:16 β 43279 [Quote]
>>43277 yeah but it atleast forces you to write better code with compile time errors and lints, its better than nothing
Chud 11/09/25 (Sun) 18:47:51 β 43286 [Quote]
>>43245 what should i use instead
Chud 11/09/25 (Sun) 18:49:04 β 43287 [Quote]
>>43268 basically i wanted to get the functionality as close to how java minecraft did it and then change it how i wanted but things kinda got mixed up along the way
Chud 11/09/25 (Sun) 21:49:23 β 43300 [Quote]
>>43268 can you elaborate on the game loop part
Chud 11/09/25 (Sun) 23:41:23 β 43311 [Quote]
just a hunch but i have a feeling that the random singular brick blocks that spawn rarely around the world, might be related to dungeon spawning logic
Chud 11/10/25 (Mon) 06:17:18 β 43337 [Quote]
why the fuck did the troon heart get added as the fucking image
Chud 11/10/25 (Mon) 06:17:44 β 43338 [Quote]
does clicking on images just automatically make them get added to my reply or something
Chud 11/10/25 (Mon) 09:22:13 β 43339 [Quote]
i uploaded a new update along with the source code for it, go test it
Chud 11/10/25 (Mon) 09:22:39 β 43340 [Quote]
it's at cubuild.net incase there's anyone who hasnt read this whole thing
Chud 11/10/25 (Mon) 12:44:43 β 43343 [Quote]
>>43286 glfw isnt bad, i was just confused because changing libraries in development isnt a good idea
>>43287 that's retarded, youre not remaking minceraf
>>43300 use simple while loops and conditionals instead of your current "state machine" design
Chud 11/10/25 (Mon) 12:53:23 β 43344 [Quote]
>>43339 that's pretty gemmy, the source code looks much better and the game runs better on my machine.
fix the z-fighting issue THOUGH
Chud 11/10/25 (Mon) 14:09:03 β 43347 [Quote]
make everything hexagons instead of cubes so you're not just remaking minecraft
Chud 11/10/25 (Mon) 17:13:01 β 43359 [Quote]
>>43344 its caused by water generating in entire chunks for some reason. i gotta fix it still
Chud 11/10/25 (Mon) 17:13:54 β 43360 [Quote]
>>43347 building a house out of hexagons would look monumentally retarded
Chud 11/10/25 (Mon) 18:20:25 β 43364 [Quote]
>>43360 uhhh bees would like a word with you chud
Chud 11/10/25 (Mon) 21:45:37 β 43384 [Quote]
>>43364 im not a fucking bee nigger
Chud 11/10/25 (Mon) 23:00:22 β 43392 [Quote]
idk what the fuck i did but the game runs at around 2000fps on my pc now so im gonna finish up what im doing and upload that later
Chud 11/10/25 (Mon) 23:00:59 β 43393 [Quote]
water is still broken im gonna fix that first
Chud 11/11/25 (Tue) 01:39:12 β 43405 [Quote]
almost done fixing water
Chud 11/11/25 (Tue) 02:52:44 β 43413 [Quote]
uploaded new update go look
Chud 11/11/25 (Tue) 02:55:42 β 43416 [Quote]
ok google is being a faggot
Chud 11/11/25 (Tue) 02:56:34 β 43417 [Quote]
why the fuck does google think it has a virus now what the fuck
Chud 11/11/25 (Tue) 03:05:18 β 43421 [Quote]
well it let me upload the source code but not the game itself so idk
Chud 11/11/25 (Tue) 03:06:18 β 43422 [Quote]
ok it didnt let me do the source code either
Chud 11/11/25 (Tue) 04:56:40 β 43426 [Quote]
doing the github thing
Chud 11/11/25 (Tue) 06:53:29 β 43428 [Quote]
got half slabs working btw
Chud 11/11/25 (Tue) 07:25:14 β 43431 [Quote]
in order to get water to do what i want i had to make slabs work first then i can build off of that
Chud 11/11/25 (Tue) 07:35:33 β 43432 [Quote]
also im gonna make it so you can place different slabs together also blocks will be able to be placed at half block increments (only vertically and only if you do it by placing it on top of or under a slab) also torches and such will be able to be placed on slabs as well
Chud 11/11/25 (Tue) 07:37:34 β 43433 [Quote]
also i fixed a glitch where worlds will get fucked up if you leave them and rejoin
Chud 11/11/25 (Tue) 07:51:24 β 43434 [Quote]
added dirt slabs too because fun
Chud 11/11/25 (Tue) 07:51:44 β 43435 [Quote]
and bookshelf slabs because i thought that would look interesting
Chud 11/12/25 (Wed) 02:43:59 β 43481 [Quote]
i want to add more blocks to the game, what do you guys want in it
Chud 11/12/25 (Wed) 05:59:32 β 43485 [Quote]
>>43481 A palette of metal blocks for building would be nice. Iron blocks with textures that would make for good panels for floors, walls, and maybe other things that are less cube-shaped you might find in a bunker or a lab.
Chud 11/12/25 (Wed) 06:10:00 β 43486 [Quote]
>>43485 draw it and ill see what i can do
Chud 11/12/25 (Wed) 06:10:13 β 43487 [Quote]
>>43485 draw it and ill see what i can do
Chud 11/13/25 (Thu) 08:31:50 β 43586 [Quote]
>>43486 Just saw this now award
< I can't draw so I stole this image from a minecraft mod, but I hope you can see where I'm going with this. Stuff like girders, floor grates, and bolted walls.