ASTEROIDS in C - Raylib Tutorial Part 1

Опубликовано: 15 Апрель 2026
на канале: Andrew Hamel Codes
34,383
975

In anticipation of HYPER METEOR getting it's Steam release, I am tackling our first Raylib mini-series! We're setting out to build an asteroids-like shooter game. The scope for this is fairly limited: we want asteroids spawning and splitting, with a player controller that can move around the screen and shoot projectiles. We'll tie the whole thing together with a health bar and a score, and some basic flow management.

As a bonus, this video also contains a brief tutorial for some of raygui's simplest features. A longer form raygui overview is likely to come later, but in the mean time check out the repo here:
https://github.com/raysan5/raygui

The GIT for this project:
https://github.com/AndrewHamel111/ray...

My video on the C Language:
   • C Language Overview  

My VS Code workflow with Raylib:
   • Unlocking VSCode's power to make GAMES in C  

My video on Tic-Tac-Toe with Raylib in C:
   • Making Tic-Tac-Toe in Raylib with C  

Chapters
0:00 Asteroid Struct
3:42 Asteroid Management
8:11 Asteroid Path
10:42 Adding Debug Visualization
16:16 BONUS: Simple Debug Menu