When I got my current laptop a couple years back I decided to keep it unity free and quarantined unity to my office desktop. Looking forward to the day I have no need to use it whatsoever!
28.07.2025 15:49 β π 2 π 0 π¬ 1 π 0@sebdegraff.bsky.social
Game dev, working on Terraformers terraformers-game.com Game jams, homemade game engine dev. Sometimes streaming on youtube: π΄ https://www.youtube.com/@seb_degraff/streams Also on mastodon: π http://mastodon.gamedev.place/@seb_degraff
When I got my current laptop a couple years back I decided to keep it unity free and quarantined unity to my office desktop. Looking forward to the day I have no need to use it whatsoever!
28.07.2025 15:49 β π 2 π 0 π¬ 1 π 0"My indie game is a metaphor for depression"
26.07.2025 13:45 β π 4 π 0 π¬ 0 π 0Incredibly cool!
26.07.2025 10:43 β π 1 π 0 π¬ 1 π 0You still managed to write and publish a large number of blogposts for your tower defense tutorial, as a fellow ADHDer I find that quite impressive
26.07.2025 09:16 β π 2 π 0 π¬ 1 π 0Nice
26.07.2025 09:01 β π 2 π 0 π¬ 0 π 0Originally I moved the cars by pinning the front and back to the path. It worked but looked like moving on rails.
The solution: Pin the front wheel's center position to the path and use the Kinematic Bicycle Model to update the rear: thomasfermi.github.io/Algorithms-f...
#gamedev | #indiedev
Very cool! Thanks for the link, that will surely be handy!
Wondering what could be done to make the cars "eat the curb" a little less. Have a front wheel path that overshoots a bit, then centers back on the road at the end of the turn?
But often this kind of abstraction is counterproductive, not only for perf but in term of organisation and flexibility of the code, which is why some people prefer fat structs.
24.07.2025 06:15 β π 1 π 0 π¬ 1 π 0With that last example you could have different struct types for different kind of entities since you now only store a pointer to them in entities. You'd need to know which kind of entity you're accessing so you can cast them, for example with a tag as the first field of every entity type.
24.07.2025 06:12 β π 0 π 0 π¬ 1 π 0@nolram.bsky.social, if you declare a C array like that:
entity_t entities[1024];
the structs will be next to each other in memory.
An array of pointers would be:
entity_t a = {...};
entity_t b = {...};
entity_t* entities[1024] = { &a, &b }
(note the extra *)
indeed, I only heard "fat struct" for array of contiguous structs that contain all properties for your entities, irrespective the actual "type" of entities they represent.
24.07.2025 06:09 β π 2 π 0 π¬ 1 π 0For me the main advantage of fat structs is that itβs a simple design, and is easy to optimize later if needed by splitting off the cold data to a separate array
23.07.2025 18:52 β π 2 π 0 π¬ 1 π 0My understanding is it depends on how fat, but is often less bad than alternatives. Struct of arrays or ECS can be a win, but they can also separate data too much I believe (e.g. if you want to random access a single entity, you eat the cost of a chache miss per property you access)
23.07.2025 18:50 β π 3 π 0 π¬ 1 π 0we made a python program for WHODUNNIT? that lets us export layeredimage declarations + images through a guided console app, i want to release it but it requires a specific layer structure for it to work...
if any folks want to try it out let me know, would love to know if it would still b useful
Awesome stuff! I love these kind of art workflow things π
Is it python on the right screenshot?or some kind of DLS understood by renpy?
Also, how do you read the psd, have you found a good library? I remember using a C one a while back but it had subtle bugs that made me give up.
Found an excuse to work on something else. Has to be done by next Wednesday.
Everything from scratch just using #raylib
#gamedev
I see! I never got further than using stb_truetype myself.
Have you seen the recently released kb_text_shape.h lib? It seems to handle everything except rasterization (which can be then be done by stb_truetype for example). Could be interesting
github.com/JimmyLefevre...
I think a font atlas doesnβt necessarily imply no ligatures β you could render the glyph of the ligature just as any other glyph, right?
19.07.2025 18:09 β π 2 π 0 π¬ 1 π 0For that weird, narrow segment of technically-minded programmers who want to know how we programmed 3D graphics in the 90s and also want to know about 80% of the stuff I programmed before RAD, I sat down for a 5 hour interview on the Wookash Podcast.
www.youtube.com/watch?v=T1tX...
Engine dev: added a command palette with some sort of autocomplete.
Here the "load" command suggests filenames to load, and the "save" command suggests filenames to override.
I intend the command palette to be pretty flexible and customizable, and ultimately replace the traditional in-game console
friendly reminder that this starter pack exists!!
if you know more C programmers on here - let me know and i'll add them!!!!
#C #programming
go.bsky.app/5S36P1b
Thank you both! That's really motivating, got to post more now :)
12.07.2025 08:47 β π 2 π 0 π¬ 0 π 0...and accumulating them towards the front plane. The actual fog is drawn as a post-process effect by sampling the froxel volume according to the depth
12.07.2025 08:38 β π 1 π 0 π¬ 0 π 0Thank you!
I did a pretty naive implementation inspired by this description: simoncoenen.com/blog/program....
I'm not computing any atmosphere scattering LUT at this point, just filling froxels with white or black depending on if in shadow or not (sampling the shadowmap)
Nice! I'm doing the same these days, for writing a basic breakout game. So many things to fix or cleanup π
11.07.2025 08:52 β π 1 π 0 π¬ 1 π 0I had copied some code from the unity math library for my engine. Figured I'd go and replace that since their licence is quite hostile.
So I go to the wikipedia page for Xorshift, and what do you know β here's the exact same code I was about to replace, with the same magic values and all :D
Fair enough!
09.07.2025 09:09 β π 1 π 0 π¬ 1 π 0For me itβs a matter of communicating intent. If I see 1<<31, Iβll assume that the constant can only be changed to another power of two (which may or may not be the case in the original example).
If the constant is just an arbitrary limit, 2 * GiB looks good to me
geordi laforge saying nah to 0xDEADBEEF but saying yea to 0xACAB1312
08.07.2025 09:39 β π 160 π 30 π¬ 5 π 0Added easing curves to picoCAD 2's animation tool. Getting things to look goos is a lot easier now. What's your favourite curve? π‴οΈ
#3d #lowpoly #gamedev