In my post “Handles are the better pointers”: An Odin gamedev follow-up I talked about how one can implement a handle-based map in Odin. In this post I want to follow that up by talking about three specific variants of a handle-based map, and highlight what sets them apart. The three variants are available in this repository: https://github.com/karl-zylinski/odin-handle-map NOTE: In the old post I used the term “handle-based array”, I’ve since then switched to saying “handle-based...| Posts on Karl Zylinski
Background Andre Weissflog wrote an article in 2018 called “Handles are the better pointers”. In it he talks about how one can use handles instead of pointers when one wants to store permanent references to elements in an array. I think there are many nuances regarding handles that only become apparent after some real-world usage. Here we’ll look at an implementation in Odin and discuss it. I use the Odin Programming Language and the examples are game development-centric.| zylinski.se
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.| Posts on Karl Zylinski
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.| Posts on Karl Zylinski
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’, meanin...| zylinski.se
An overview of the Odin programming language and its features.| odin-lang.org