Загрузка страницы

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/YoutubeTutorials/tree/master/Camera%20System

Questions? Join the discord: https://discord.gg/qu8a7DfK2X

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/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php

#pygame #gamedev #camera

Видео Pygame Camera Tutorial: How to Make a Side-Scrolling Camera System канала CDcodes
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 августа 2020 г. 22:35:33
00:09:39
Яндекс.Метрика