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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Scrolling Backgrounds in Pygame](https://i.ytimg.com/vi/8ppKSy8aUZc/default.jpg)
![Scrolling the Camera (Pygame)](https://i.ytimg.com/vi/L9Sy8ic4LSo/default.jpg)
![Python / Pygame tutorial: Collisions between static and moving objects](https://i.ytimg.com/vi/1_H7InPMjaY/default.jpg)
![So I Made a Python Game in 48 Hours…](https://i.ytimg.com/vi/lVmdmivVK5w/default.jpg)
![Pygame Tutorial - Making a Platformer ep. 4: Camera Movement and Parallax Scrolling](https://i.ytimg.com/vi/5q7tmIlXROg/default.jpg)
![Pygame Animation Tutorial: How to Animate a Player Character](https://i.ytimg.com/vi/qPnKIbrVnJk/default.jpg)
![Make A Security Camera With Python](https://i.ytimg.com/vi/Exic9E5rNok/default.jpg)
![Tile-based game Part 4: Scrolling Map / Camera](https://i.ytimg.com/vi/3zV2ewk-IGU/default.jpg)
![Pygame Menu System Tutorial Part 1: Game Loops and Structure](https://i.ytimg.com/vi/a5JWrd7Y_14/default.jpg)
![Pygame Camera - Pygame RPG Tutorial #8](https://i.ytimg.com/vi/KnAkhpF3mIU/default.jpg)
![Pygame - 2D game physics with Python and pybox2D](https://i.ytimg.com/vi/P3ZpSGcHRA8/default.jpg)
![Pygame's Performance - What You Need to Know](https://i.ytimg.com/vi/hnKocNdF9-U/default.jpg)
![Python / Pygame Tutorial: An introduction to sprites](https://i.ytimg.com/vi/hDu8mcAlY4E/default.jpg)
![PyGame Beginner Tutorial in Python - Sprite Animation](https://i.ytimg.com/vi/nXOVcOBqFwM/default.jpg)
![Pygame Sprite Sheet Tutorial: How to Load, Parse, and Use Sprite Sheets](https://i.ytimg.com/vi/ePiMYe7JpJo/default.jpg)
![Python Game Programming Tutorial: Space Invaders 1](https://i.ytimg.com/vi/crV6T3piwHQ/default.jpg)
![Pymunk Basics: Collisions](https://i.ytimg.com/vi/cCiXqK9c18g/default.jpg)
![Python Pygame Tutorial - Scrolling Background With Player](https://i.ytimg.com/vi/AX8YU2hLBUg/default.jpg)
![Pygame Saving and Loading Tutorial: Creating Customizable Controls](https://i.ytimg.com/vi/1UCaiX8ESsQ/default.jpg)
![Collision Detection in Pygame | Pygame Tutorial #7](https://i.ytimg.com/vi/fWQ0f00Te6s/default.jpg)