LibGDX & Tiled RPG Tutorial - #10 Camera

Channel:
Subscribers:
1,850
Published on ● Video Link: https://www.youtube.com/watch?v=HDflWUtpd7s



Duration: 0:00
100 views
9


This video is part of a tutorial series covering the most important aspects of LibGDX and Tiled to create any 2D game (with focus on RPG).

Github repository of final code: https://github.com/Quillraven/mystictutorial

LibGDX interpolation: https://libgdx.com/wiki/math-utils/interpolation

Chapters:
00:00 - Introduction to camera system
02:25 - Implementing the CameraFollow component
03:35 - Update TiledAshleyConfigurator
04:48 - Implementing the CameraSystem
08:31 - Updating the initial window size
10:16 - Restrict camera to map boundaries
19:10 - Offset camera y position
20:50 - Implementing a smooth camera
26:30 - Restrict player movement to map boundaries