https://github.com/programmingrainbow/beginners-guide-to-sdl3-in-c
An in-depth guide to getting started with SDL3 in the C Language .
https://github.com/programmingrainbow/beginners-guide-to-sdl3-in-c
clang gcc guide sdl3 sdl3-image sdl3-mixer sdl3-ttf tutorial
Last synced: 8 months ago
JSON representation
An in-depth guide to getting started with SDL3 in the C Language .
- Host: GitHub
- URL: https://github.com/programmingrainbow/beginners-guide-to-sdl3-in-c
- Owner: ProgrammingRainbow
- Created: 2025-01-30T20:44:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T10:28:16.000Z (about 1 year ago)
- Last Synced: 2025-03-26T11:35:05.612Z (about 1 year ago)
- Topics: clang, gcc, guide, sdl3, sdl3-image, sdl3-mixer, sdl3-ttf, tutorial
- Language: C
- Homepage:
- Size: 1.48 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# An in-depth guide to getting started with SDL3 in the C Language.
# ArchLinux instructions.
You will need to make sure SDL3, SDL3_image, SDL3_ttf and SDL3_mixer is installed.
```
sudo pacman -S --needed base-devel sdl3
```
```
cd
git clone https://aur.archlinux.org/sdl3_image-git.git
cd sdl3_image-git
makepkg -i
```
```
cd
git clone https://aur.archlinux.org/sdl3_ttf-git.git
cd sdl3_ttf-git
makepkg -i
```
```
cd
git clone https://aur.archlinux.org/sdl3_mixer-git.git
cd sdl3_mixer-git
makepkg -i
```
```
cd
git clone https://github.com/ProgrammingRainbow/Beginners-Guide-to-SDL3-in-C
cd Beginners-Guide-to-SDL3-in-C
make run
```
The Makefile supports these commands:
```
make rebuild
make clean
make release
make debug
SRC_DIR=Video8 make rebuild run
```
# Controls
Space - Changes background Color\
Arrows - Moves sprite\
M - Toggles music mute\
Escape - Quits