Welcome to this series building a Swarm Shooter in C++!
Time to add a Camera2D, move it around and clamp it.
Starter assets / code repo:
https://github.com/bluefeversoft/raylib-swarm-shooter
Full Programming Tutorial Series:
https://www.youtube.com/playlist?list=PLZ1QII7yudbd8bgyvoNkYYqtpSSG5UYtS
Discord:
https://discord.gg/9hCUD4n7R2
Udemy courses
https://www.udemy.com/course/jumpstart-to-2d-game-development-godot-4-for-beginners
https://www.udemy.com/course/complete-3d-godot-4-game-development-course
https://www.udemy.com/course/learn-2d-game-development-godot-43-c-from-scratch
00:00 Introduction
00:10 Window setup tips
02:08 Adding player & pivot basics
04:25 Camera concept
05:08 Creating Camera2D
06:20 Centering camera
08:00 Camera movement
09:40 Fixing rendering issues
11:30 Keyboard controls (WASD)
13:30 UI overlay & debug info
16:00 Clamping camera to map
17:45 Outro
#Cpp #GameDevelopment #Raylib #GameDev #CppTutorial
Download
0 formats
No download links available.
C++ Swarm Shooter with Raylib (no Engine) - adding a camera (#2) | NatokHD