Nim SDL2 Game Development for Beginners #2 Adding walls and explaining image depth

Опубликовано: 03 Август 2026
на канале: Kiloneie
1,322
45

In this video we will create a new Wall object and then place Wall objects around the Window.We will also add a Player object and restructure the code we used to move the astronaut image around to be the Player object one, and then i will showcase and explain depth and how it can be implemented and used for.

Timestamps:
00:00 Intro
00:29 Declaring a Wall object
01:22 Wall object initialization
02:29 Placing Wall objects around the SDL Window into a sequence
04:00 Rendering Walls
04:49 Code restructuring, making a Player object
07:14 Depth explanation and demonstration

LINKS:
Patreon page: https://www.patreon.com/Kiloneie?fan_...
Twitter page:   / kiloneie  
Code link: https://github.com/Kiloneie/kiloneie....
Visual Studio Code Short Cuts: https://code.visualstudio.com/shortcu...

LINKS to this video's subject:
SDL2_nim documentation: https://vladar4.github.io/sdl2_nim/
SDL2 documentation(in case SDL2_nim documentation missed something): https://wiki.libsdl.org/APIByCategory