Alex's Avatar

Alex

@alektron.bsky.social

Software-/Game developer I write my own engines ⚙️ All my recent projects: https://alek-tron.com/

38 Followers  |  40 Following  |  122 Posts  |  Joined: 11.11.2024  |  2.4227

Latest posts by alektron.bsky.social on Bluesky

Video thumbnail

Compression is not doing it justice but my subpixel anti-aliased GPU text renderer is now working pretty well.

Supports colored text and backgrounds and I was able to get rid of all visible artifacts.
Was quite annoying to figure out sub-pixel bugs...

24.10.2025 20:10 — 👍 1    🔁 0    💬 0    📌 0
Preview
The Great Software Quality Collapse: How We Normalized Catastrophe The Apple Calculator leaked 32GB of RAM.

open.substack.com/pub/techtren...

12.10.2025 13:38 — 👍 6    🔁 2    💬 0    📌 0
Preview
Intentionally inconvenient API design Why std::stack::pop does not return a value

New blog post:
alek-tron.com/Pop/Pop.html

09.10.2025 12:38 — 👍 0    🔁 0    💬 0    📌 0
Preview
Developing desktop apps from scratch: A feature checklist

My new blog post is about my experience developing 'from scratch' software for real users and how easy it is to forget basic functionality when it is not handled for you by a framework anymore.

Functionality that users take for granted and expect to work.
alek-tron.com/AppChecklist...

08.10.2025 10:16 — 👍 0    🔁 0    💬 0    📌 0
Video thumbnail

Working a bit on the visuals of my game.
Tried Magicavoxel for modeling the drones and satellites. Not my strong suit but it certainly looks better than the placeholders from before.
The lasers also have some actual sprites now.
#gamdev #indiedev #odinlang #voxels

24.08.2025 13:52 — 👍 4    🔁 1    💬 0    📌 0
Video thumbnail

Implemented a prototype voxel renderer and I'm already quite happy with the result.
Unfortunately I can't use MSAA for anti-aliasing anymore so edges are a bit ugly at the moment...

#gamedev #indiedev

20.08.2025 22:54 — 👍 11    🔁 4    💬 0    📌 0
Video thumbnail

Some UI work

16.08.2025 17:39 — 👍 0    🔁 0    💬 0    📌 0
Video thumbnail

Currently redesigning my old game into an Incremental Game. Video compression is not happy about it.
#gamedev #indiedev #odinlang #incrementalgame

11.08.2025 22:39 — 👍 12    🔁 4    💬 0    📌 0

Gut dass wir noch jung sind, aber das sieht mir nach ner echt schwierigen Badewanne fürs hohe Alter aus 😅

11.08.2025 08:11 — 👍 1    🔁 0    💬 1    📌 0
Preview
GitHub - alektron/imgui-odin-backends: A custom backend for 'Dear ImGui' written in Odin A custom backend for 'Dear ImGui' written in Odin. Contribute to alektron/imgui-odin-backends development by creating an account on GitHub.

My 'Dear Imgui' Odin backends are finished (for now).
Supports Windows as platform with D3D11, OpenGL 3.3 and a very much experimental software rasterizer for rendering:
github.com/alektron/img...

@ocornut.bsky.social @gingerbill.org

28.07.2025 13:58 — 👍 1    🔁 0    💬 0    📌 0

Imgui Odin backends now also include an OpenGL renderer in addition to DirectX and the software rasterizer:
github.com/alektron/img...

#imgui #dearimgui #odin

23.07.2025 18:12 — 👍 2    🔁 0    💬 0    📌 0

lol, was :D

21.07.2025 19:47 — 👍 1    🔁 0    💬 0    📌 0

Now also features an experimental software rasterizer.
#imgui #dearimgui #odinlang

21.07.2025 08:10 — 👍 1    🔁 1    💬 0    📌 0
Preview
GitHub - alektron/imgui-odin-backends: A custom backend for 'Dear ImGui' written in Odin A custom backend for 'Dear ImGui' written in Odin. Contribute to alektron/imgui-odin-backends development by creating an account on GitHub.

I wrote a custom Dear ImGui backend for Windows/DirectX in Odin. With thin abstraction layer to allow easy extension for more platforms/renderers:
github.com/alektron/img...

#imgui #DearImGui #Odin #Odinlang

17.07.2025 07:01 — 👍 2    🔁 1    💬 0    📌 2
A whitewashed pub wall, with mortar standing proud of the stones.

A whitewashed pub wall, with mortar standing proud of the stones.

When I found a pub with an inverted normal map. (If you understand what this means, you have to repost.)

09.07.2025 22:21 — 👍 1874    🔁 906    💬 54    📌 23

Just yesterday I was thinking about the fact that I've never seen you give any talks. Funny coincidence.

07.07.2025 18:17 — 👍 0    🔁 0    💬 0    📌 0

Why use ImGui::Button() when ImGui::GetWindowDrawList() is right there, amirite?

04.07.2025 21:14 — 👍 1    🔁 1    💬 2    📌 0

I keep reading that but so far every medium article I've ever read was just... not behind a paywall?
Am I using medium wrong? Is the paywall optional and up to the author? Because then it would be fine I guess.

04.07.2025 21:02 — 👍 0    🔁 0    💬 0    📌 0

The font changes caused a surge of new issues I assume?

29.06.2025 17:32 — 👍 0    🔁 0    💬 1    📌 0
Video thumbnail

dear imgui 1.92 released!
github.com/ocornut/imgu...
New protocol for backends to create/update textures, with support for 13 renderers. Dynamic font scaling. Dozens of font/atlas related changes. Dozens of other changes. Expect some turbulence.
(misc video from January...)

25.06.2025 17:15 — 👍 163    🔁 34    💬 5    📌 1
Post image

Super minimal profiler + flame graph for DearImGui (~100 LOC):
alek-tron.com/FlameGraph/f...

Can be trivially adjusted for other UI systems and languages due to its simplicity.
#imgui

21.06.2025 04:25 — 👍 0    🔁 0    💬 0    📌 0
Video thumbnail

Currently working on a native version of DXF Explorer (dxf-explorer.com)

It opens DXF files with millions of entries in milliseconds, filters them in realtime and comes as a single executable file.

30.05.2025 18:19 — 👍 1    🔁 0    💬 0    📌 0
Preview
GitHub - alektron/ChunkMinerGame: Chunk Miner is a small but complete game, in less than 3200 lines of Odin code. Chunk Miner is a small but complete game, in less than 3200 lines of Odin code. - alektron/ChunkMinerGame

I just recently wrote a little game from scratch in just ~3200 LOC. It's up on GitHub as a learning resource:
github.com/alektron/Chu...

21.05.2025 19:20 — 👍 6    🔁 0    💬 1    📌 0

"Why am I fighting this thing daily for what essentially becomes a glorified asset loader"

Works well with what always like to say about big engines:
Their biggest 'benefit' is platform independence, especially in regards to rendering APIs. Everything else is just in the way.

21.05.2025 19:06 — 👍 0    🔁 0    💬 0    📌 0
Custom Titlebar The absolute minimal code required for a win32 window with custom title bar

Creating a Windows window with custom title bar is for some reason much harder than it should be.
Here is my method to achieve it which is simpler than other solutions I've found online, yet covers most edge cases AFAIK:

alek-tron.com/borderless/b...

12.05.2025 17:47 — 👍 0    🔁 0    💬 0    📌 0

Are the gizmos and indicators drawn in screen space? Looks very nice

03.05.2025 21:05 — 👍 0    🔁 0    💬 1    📌 0
Video thumbnail

The predicted trajectory of a spaceship in an N-Body system visualized in realtime. Multiple trajectories with different timesteps are calculated in parallel which results in this chaotic shape until it converges to the calculations with the lowest timestep.
#gamdev #graphics #space

06.04.2025 16:08 — 👍 0    🔁 0    💬 0    📌 0
Video thumbnail

Got my old space sim project running again and might implement some new ideas I've been having...

04.04.2025 23:05 — 👍 1    🔁 0    💬 0    📌 0
Post image

Made this little cheat sheet for #odinlang pointer/slice/container types

26.01.2025 21:16 — 👍 1    🔁 1    💬 0    📌 1

@zylinski.se @gingerbill.org

29.03.2025 13:27 — 👍 0    🔁 0    💬 0    📌 0

@alektron is following 20 prominent accounts