Replying to @CoderGeeta
i kept the old code, i just made sure to set the freed pointer to nullptr this time
2
Day-188 Project: Voxel-game
regions, chunks, everything is saving, and correctly too
i was using a pointer after free, which made some problems, and took days to fine...
some images of failures below
planned: terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
2
2
30
Day-187 Project: Voxel-game
seems im quite burnt out, since ive been trying to rush though development, ill try to get back on track, but it might be slow
added region load/save, but not chunk data
planned: more advanced world save/load, terrain
#100DaysOfCode #cpp #gamedev
5
Day-186 Proj: Voxel-game
i was busy today
im making a diagram/design of the entire game and its systems, including the current code, i also fixed some small bugs, and such as i was reviewing the code
planned: more advanced world save/load, terrain
#100DaysOfCode #cpp #gamedev
4
Day-185 Project: Voxel-game
tried to make a region saving/loading system with 8x8x8 size
i showed only save/load chunk to the game, and kept regions hidden, but this was a bad idea
i was busy today
planned: more advanced world save/load, terrain
#100DaysOfCode #cpp #gamedev
15
Day-184 Project: Voxel-game
having some problems with saving and loading of chunks, and each chunk being separate is vary bad for my file system, so ill be doing that next
planned: more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
9
Day-183 Project: Voxel-game
finally, camera jittering is gone
the problem was that i told the GPU to render, then immediately, updating the uniform, undefined behavior in the currently rendering frame
planned: more advanced world save/load, terrain
#100DaysOfCode #cpp #gamedev
10
Day-182 Project: Voxel-game
good news: threading is all done
bad news: theres camera jittering when looking around, and i have no idea why, and i cant seem to fix it
planned: more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
5
Day-181 Project: Voxel-game
that did not fix it
im going to have to rework how my chunks data is stored, and how possibly rendering
planned: threading, more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
2
18
Day-180 Project: Voxel-game
split the rendering into a separate thread, its not working right now, but i know the problem, its just going to take a bit to fix
planned: threading, more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
1
1
20
Day-179 Project: Voxel-game
made a thread worker manager, which ill use for meshing, generating, and there big single run tasks
planned: threading, more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
6
Day-178 Project: Voxel-game
added entity graphics back to rendering
working on adding threading to rendering, meshing,
planned: more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
5
Day-177 Project: Voxel-game
added world load points, which load a spherical radius of chunks around a position(the player uses one)
added infinite worlds, but the number of chunk files is to much
planned: more advanced world save/load, terrain
#100DaysOfCode #cpp #gamedev
8
Day-176 Project: Voxel-game
added chunk saving, each chunk is 1 file for now
added chunk loading
chunks now generate, load, and save as needed rather then manually doing it
planned: more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
1
8
Day-175 Project: Voxel-game
finished how objects are managed in ubylib
still need to add the new errors to most things though
my games rendering is now separate, and chunk remeshing works now
planned: world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
11
Day-173 Project: Voxel-game
added a shader manager
working on reworking rendering for chunks and entities
working on fixing some bug, flaws, in ubylib
working on adding new features to ubylib
next: chunk remeshing, world save/load, terrain?
#100DaysOfCode #cpp #gamedev
1
31
Day-172 Project: Voxel-game
added gravity to entities
added entity graphics(kinda)
created the first entity/robot/worker/bot
New Video: youtu.be/B_6uqpLZOVM?si=Bk1Z…
next: chunk remeshing, world save/load, terrain?
#buildinpublic #100DaysOfCode #cpp #gamedev
11
Day-171 Project: Voxel-game
was starting to rework chunks to own there own buffers, and be rendered separately, but decided to do that a little bit later, ill see about getting some gravity implemented instead
surprise tomorrow
#buildinpublic #100DaysOfCode #cpp #gamedev
4
Day-170 Project: Voxel-game
i reworked basiclly the entire BufferObject from ubylib to support resizing, setting data without recreating the buffer, and sub region data setting
thats all
ill see about chunks owning there meshes and buffers next
#100DaysOfCode #cpp #gamedev
4




