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

Опубликовано: 01 Март 2026
на канале: Karl Zylinski
5,134
221

Adding an animation to our player character and how 2D animation for games works.
📑 Blog post version of this video: https://zylinski.se/posts/gamedev-for...
😻 Support me:   / karl_zylinski  
✨ The player animation image you need to download: https://zylinski.se/odinraylib3/cat_r...

This series is a beginner friendly intro to making games using the Odin programming language and Raylib. It's meant for people without programming experience, but it might also be interesting to people who know programming, but are unfamiliar with making games.

Throughout this series we will make a small 2D game with simple platforming mechanics.

Contents:
00:00 Intro & what we'll do today
01:02 Replacing the green rectangle
05:52 Scaling up the player
07:02 Draw one animation frame at a time
12:40 Scaling up the player, again
17:06 Making the animation switch frame
25:32 Making the player turn around
27:31 Improving to the animation timer
30:17 Wrap up

Odinlang website: https://odin-lang.org/
Raylib website: https://www.raylib.com/

Buy my game CAT & ONION on itch.io https://zylinski.itch.io/cat-and-onion or wishlist on Steam https://store.steampowered.com/app/27... -- The itch version comes with the full Odin + Raylib source.

You can find me on:
Twitter:   / karl_zylinski  
Threads: https://www.threads.net/@karl_zylinski
My Gamdev Discord server:   / discord   (also has a channel for talking about Odinlang)