ChunkDev ๐Ÿฆ‹'s Avatar

ChunkDev ๐Ÿฆ‹

@chunkdev

Building ChunkCity - an Infinite City Builder for PC & mobile ๐Ÿ’ป๐Ÿ“ฑ. No engine, built with #Kotlin

906
Followers
277
Following
687
Posts
18.10.2024
Joined
Posts Following

Latest posts by ChunkDev ๐Ÿฆ‹ @chunkdev

I'm all in for wacky but good enough solutions

07.03.2026 11:22 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Using rsync on top of it

06.03.2026 06:53 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I like that low level graphics development and being able to follow the journey makes it so much nicer.

02.03.2026 10:24 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Sounds actually like a good thing for cache locality. On the other hand, many hash implementations apply another transformation on the hash key to reduce collisions due to wrapping anyway.

27.02.2026 13:44 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Are you sure the compiler not already SIMDd it for you?

24.02.2026 14:53 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I found shadows tend to be quite heavy. Adding quality settings that adjust shadow map size and cascade count at least give the user an option to deal with it.

23.02.2026 05:30 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I predict the future: You'll double the size

20.02.2026 08:10 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Red arrow plus big number always gets em

08.02.2026 14:20 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

This is GOAT

03.02.2026 20:27 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Shinestone so to speak

Sorry...

02.02.2026 22:09 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

IntelliJ IDEA by jetbrains

01.02.2026 14:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I didnโ€™t have a compiler course or the Dragon Book. Watching a YouTuber called tsoding build compilers from scratch on YouTube was my sole inspiration.

31.01.2026 21:19 ๐Ÿ‘ 8 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Probably, yes - just not yet. I want it to be in a somewhat presentable state first.

31.01.2026 21:14 ๐Ÿ‘ 8 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

First post of the year after a few stressful weeks at work. Added support for Kotlin objects (singletons): no lazy init yet, but the implementation was refreshingly straightforward.

#kotlin

31.01.2026 20:31 ๐Ÿ‘ 246 ๐Ÿ” 13 ๐Ÿ’ฌ 8 ๐Ÿ“Œ 0
I Made My Game's Map 1000x Bigger! - Village Builder Devlog #11
I Made My Game's Map 1000x Bigger! - Village Builder Devlog #11 YouTube video by Nikita Lisitsa

A new devlog about my village building game! ๐Ÿ“บ

Learn about how and why I transformed my game's world from a tiny 200m patch to a mighty 100km island! ๐Ÿ”ฅ

#gamedev #indiedev #indiegames #devlog

youtu.be/00f5GLnVtok

24.01.2026 23:02 ๐Ÿ‘ 83 ๐Ÿ” 19 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 1
I'm making a game engine based on dynamic signed distance fields (SDFs)
I'm making a game engine based on dynamic signed distance fields (SDFs) YouTube video by Mike Turitzin

The video:

youtu.be/il-TXbn5iMA

06.01.2026 19:53 ๐Ÿ‘ 214 ๐Ÿ” 58 ๐Ÿ’ฌ 20 ๐Ÿ“Œ 15
Post image

I just learnt that Valve used it in Half-Life and called it "Half Lambert"

05.01.2026 23:00 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Probably set to private like I did

02.01.2026 13:14 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

Nice, top 80%

02.01.2026 12:38 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

I tried similar things before but this one works exceptionally well while being extremely simple yet elegant.

Also thanks for sprinkling in hermite splines, just to conclude that even math says it's a great solution.

02.01.2026 12:33 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Duff's device - Wikipedia

It reminds me of Duff's device: en.wikipedia.org/wiki/Duff%27...
So it's basically goto, and maybe shouldn't be used because it's confusing

31.12.2025 20:27 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

So... just two more years? Anyways, I'm looking forward to it

31.12.2025 19:41 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

New blog post! (yep, at New Year's Eve.) A short detour into a fun one-liner shading model I use for clouds in my game ๐Ÿฅฐ

lisyarus.github.io/blog/posts/a...

31.12.2025 15:03 ๐Ÿ‘ 52 ๐Ÿ” 7 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

I need two different move instructions since I use separate stacks for primitive (.p) and object types (.a) for implementation reasons.

The .i in the MUL instruction stands for 32bit integer multiplication, indeed.

30.12.2025 20:12 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Thanks, I haven't released it yet

30.12.2025 19:51 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Basically role playing with code

30.12.2025 12:40 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

I considered doing it this way, but adding a separate function and calling it reliably behind the scene sounds like a major headache. So instead I added special instructions to the VM to communicate a bit mask of used default values to the function.

They are only present before inlining.

30.12.2025 10:52 ๐Ÿ‘ 6 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Taught my Kotlin scripting runtime to handle default parameters and named arguments. For simplicity, default evaluation lives in the function body and gets removed when inlined at the call site.

#kotlin

29.12.2025 20:40 ๐Ÿ‘ 185 ๐Ÿ” 6 ๐Ÿ’ฌ 8 ๐Ÿ“Œ 1

These numbers would piss me off, too

26.12.2025 10:30 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

Angular lerping done wrong in production

25.12.2025 22:33 ๐Ÿ‘ 23 ๐Ÿ” 4 ๐Ÿ’ฌ 6 ๐Ÿ“Œ 0