Pygame Camera Tutorial: How to Make a Side-Scrolling Camera System

Описание к видео Pygame Camera Tutorial: How to Make a Side-Scrolling Camera System

In this tutorial, we'll be creating a camera side-scrolling camera system. We'll learn how scrolling works and how we can make our camera as flexible as possible.

All code/images can be found on my github:
https://github.com/ChristianD37/Youtu...

Questions? Join the discord:   / discord  

Timestamps:
Intro to cameras in side-scrollers: 0:09
Creating the Camera Class : 0:58
Class Diagram: 2:08
Creating the Scroll Methods: 3:07
Following the Player (Follow): 3:41
Limiting the Camera View (Border): 5:14
Auto Scroll (Auto): 6:16
Putting it all together: 6:58
Showcasing the Camera System: 8:01

In the hopes of not wasting peoples time, I recorded this tutorial a little faster than normal, so feel free to watch it at 75% feed and pause as you need to :)

Music: Pokemon Gold/Silver - Pewter City
Awesome Article on game cameras in 2D side-scrollers: https://gamasutra.com/blogs/ItayKeren...

#pygame #gamedev #camera

Комментарии

Информация по комментариям в разработке