Blog


Introduction to the Odin Programming Language

Preface This article is an introduction to the Odin Programming Language. It is aimed at people who know a bit of programming, but have never touched Odin. It is not a reference guide, rather I try to keep things informal and talk about what I think are important aspects of the language. There will be some notes on differences to C/C++, as Odin in many ways tries to be better C....

June 7, 2024

Solodevs and the trap of the game engine

Since I was 19 I’ve wanted to make my own video games, as in creating everything in the game myself, often referred to as being a solo developer, or solodev. But I was bad at committing to anything and I always thought that I lacked some specific skill such as music making, game design skills and art skills. Now I’m 35 and just released my own game (see trailer below). I’ve made everything in it myself....

May 23, 2024

Make games using Odin and Raylib #3: An animated player

Today we will make our game look less dull by adding a run animation to the player character. We will download an image containing an animation, draw it in game and then make the animation play properly. A theme throughout today’s post is that we will try the different procs for drawing graphics on the screen that Raylib provides, and see how they can be used in different circumstances. A new thing in this post is that each section ends with a “Full code + what changed in this section” expandable item....

February 20, 2024

Make games using Odin and Raylib #2: A controllable player

In this second post about making games using Odin and Raylib we shall look at how to add a simple player character and make it moveable. We will first introduce some simple left to right movement, and after that add gravity and the ability to jump. Here’s the companion video for this post. If you get confused by this post, then chances are that the companion video can help you understand:...

February 11, 2024

Make games using Odin and Raylib #1: Setup + First Program

Hello and welcome to the first post in this blog series on making games using Odin and Raylib. Throughout this series we will create a small 2D game with simple platforming mechanics. When we are done you’ll be able to extend the game, or take the knowledge you’ve learnt and make other, more complex games! This series is aimed at people with little to no programming experience. Being a bit technical and having an interest in games will help....

February 9, 2024

Hot Reload Gameplay Code: What, why, limitations and examples!

This post is about what hot reload for gameplay code is, why you would use it and what the limitations are. I’ll also present an example implementation in Odin Programming Language. The final section is on some caveats, improvements and how to use hot reload in Odin together with Raylib. The front parts are language agnostic while the further down you read the more Odin specific it gets. The methods I will outline here are for people who are writing their own game ‘from scratch’, meaning you don’t use any game engine....

September 15, 2023