How to make a 2D Camera Pan & Zoom in Godot 4

Описание к видео How to make a 2D Camera Pan & Zoom in Godot 4

Next Video: Making an Item System:    • How to make an Item System in Godot 4  
Previous Video: Pathfinding & Pawns:    • How to make Rimworld in Godot 4: Path...  
Patreon:   / realrobots  
Discord:   / discord  

In this particular video we'll give our camera the ability to pan and zoom.

Full Code: https://gitlab.com/realrobots/rimworl...

-----

In this series I'll show you how to make your own remix of Rimworld, or any similar top-down colony management/strategy game.

Puzzling out how to make a game you know is a great way to learn, we're obviously not going to make an exact copy, but we'll develop a lot of the features that make the game, and maybe even spin it off into something unique.

You can find the finished camera script here.
https://realrobots.net/files/youtube/...



00:00 Create CameraController.gd
01:30 Defining actions and key binds
03:14 Zoom
08:14 WASD Pan
14:33 Click and Drag Pan

Комментарии

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