@modev's Avatar

@modev

@modevstudio.srht.site

I write code, gamedev. https://sr.ht/~modevstudio https://codeberg.org/modevstudio

8
Followers
22
Following
21
Posts
30.12.2025
Joined
Posts Following

Latest posts by @modev @modevstudio.srht.site

Just created a mirror repository at #codeberg: codeberg.org/modevstudio/...

#gamedev #indiedev #odinlang #opensource

07.03.2026 00:48 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

I have finished rewriting base prototype of my space game in Odin and karl2d (by @zylinski.se) library. I have not implemented UI for selecting world, but hope to back to this in future. I have also used my moecs library (planning write documentation for it on the days).

sr.ht/~modevstudio...

05.03.2026 16:57 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1

And I'm thinking and feeling the same again. Build for fun and what you are interested in your spare time. It will be that hidden gold you missed before.

03.03.2026 22:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

When I first wrote a program, I thought, "This is magic, I've definitely found what I want to do in my life." That was almost 30 years ago. It was a Tomagotchi game on a monochrome screen using the Basic language. Not long ago, I started doing #gamedev as a hobby, learned awesome C, Odin, C3, Rust.

03.03.2026 22:28 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

If you want to dive into Odin #programming, this book must be your guide. Well written, you will find explanations that is absent in official overview and more useful advices. Author is experienced Odin programmer, also visit his youtube channel about #gamedev. I support him at github and use karl2d

27.02.2026 20:40 πŸ‘ 7 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Devlog: some progress with rewriting my mospace game with Odin #programming language and #karl2d lib by @zylinski.se. Also using #box2d by @erincatto.bsky.social. Assets by @kenney.nl.

#gamedev #indiedev #odinlang

27.02.2026 18:38 πŸ‘ 6 πŸ” 3 πŸ’¬ 0 πŸ“Œ 1
C3 C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers.

#c3lang release. #programming

c3-lang.org/blog/c3-0-7-...

27.02.2026 10:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

We need also C, C3, Odin, Hare. Please.

26.02.2026 19:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Another example here. No parentheses, no semicolons; automatic variable type inference; array programming... All this makes the code easier on the eyes and the language more defined.

26.02.2026 12:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Does Syntax Matter? Yes.But not necessarily in the ways you might thinkΒ  n.b. This article could have been a lot longer than it currently is..Concrete and Abstract SyntaxesIn the previous article, Choosing a Language Ba...

Consider reading article about language syntax from @gingerbill.org (creator of Odin #programming language): www.gingerbill.org/article/2026...

26.02.2026 12:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Code in C and Odin programming languages.

Code in C and Odin programming languages.

I am rewriting a game from #clang to #odinlang.
Which one looks more clear? I think Odin (left) code filled with more scannability and readability.

#gamedev #indiedev

26.02.2026 12:26 πŸ‘ 7 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0

C3 should be in this list.

26.02.2026 10:21 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image Post image

Dear ImGui 1.92.6 released!
github.com/ocornut/imgu...
~80 fixes/improvements/additions
(incl. new default scalable vector font matching classic font, color markers on multi-components widgets, many fixes for fonts, tables, tree nodes, text input, navigation, viewports, backends...)

17.02.2026 22:59 πŸ‘ 76 πŸ” 10 πŸ’¬ 1 πŸ“Œ 3
Join the C Programming Discord Server! Check out the C Programming community on Discord - hang out with 1643 other members and enjoy free voice and text chat.

discord.gg/KydfXPfpYK

03.02.2026 20:29 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Who Owns the Memory? Part 1: What is an Object? | Luca Lombardo Effective types, storage duration, and aliasing rules in C, C++, and Rust.

lukefleed.xyz/posts/who-ow...

27.01.2026 22:59 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Karl2D beta is here! With Windows, Linux, Mac and Web support

Karl2D beta is here. It's a 2D game creation library written in Odin. In this newsletter I talk a bit about how that platform support is set up news.zylinski.se/p/karl2d-bet...

23.01.2026 07:20 πŸ‘ 59 πŸ” 10 πŸ’¬ 0 πŸ“Œ 0

Nice view. Nature save us from burnout sometimes...

18.01.2026 19:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Avian Physics 0.5 - Joona Aalto Bevy 0.18 support

I just released version 0.5 of Avian, an ECS-driven physics engine for @bevy.org.

This is the first update under our new release process, where we publish Bevy version updates separately from feature releases.

As always, an announcement post can be found here:
joonaa.dev/blog/11/avia...

17.01.2026 01:23 πŸ‘ 147 πŸ” 20 πŸ’¬ 2 πŸ“Œ 0
Post image

Because static lifetime entities lives wile the world exists there are no deleting mechanism for them in its blocks, and components are simply inserted to the next free row or new block will be inserted if current one is full.

13.01.2026 12:22 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

For quick lifetime, entities and components are previously stored in the buffers and passed by reference to ECS.

When buffers are full they will be flushed to newly created block on the heap. If entities not outlive the size of quick lifetime block, access to them will be as fast as stack memory.

13.01.2026 12:22 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

My attempt at creating an ECS. The main idea is that memory for components is divided into blocks, entities belong to three lifetimes.

sr.ht/~modevstudio...

For DYNAMIC lifetime blocks, components chunks inserted at the end of the block if there are no free rows after previously deleted entities.

13.01.2026 12:22 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Implemented features:

~ Moving forward, backward, left, right, angular.
~ Extreme breaking.
~ Increasing/decreasing max speed.
~ Choose weapon type (one/two bullets).
~ Shots interval (100 ms).
~ Impulses calculates depending on ship mass.
~ Bullet/asteroid collision animation.

#gamedev #raylib

13.01.2026 12:15 πŸ‘ 5 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Editor window with entities (spaceships, asteroids) and UI controls.

Editor window with entities (spaceships, asteroids) and UI controls.

This is worlds (maps) editor for my space game mospace. It can be used for adding entities, edit their components & tags, and set some general world properties.
sr.ht/~modevstudio...

#gamedev #clang #raylib #raygui #flecs

13.01.2026 12:12 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Spaceship shooting into enemies, cosmos, asteroids.

Spaceship shooting into enemies, cosmos, asteroids.

This is a simple space game.
I am making it in my spare time for fun and learning.
Feel free to use it as template for your own things.
sr.ht/~modevstudio...

#gamedev #clang #raylib #box2d #flecs

13.01.2026 12:10 πŸ‘ 5 πŸ” 1 πŸ’¬ 0 πŸ“Œ 1
Preview
GitHub - karl-zylinski/karl2d: Odin 2D game library. Beginner friendly and easy to modify. Odin 2D game library. Beginner friendly and easy to modify. - karl-zylinski/karl2d

A first beta of my 2D game library Karl2D is now available: github.com/karl-zylinsk...

It's raylib-like, written in Odin, has emscripten-free web builds and easy to modify.

01.01.2026 22:49 πŸ‘ 209 πŸ” 21 πŸ’¬ 11 πŸ“Œ 0