Cameras and Viewports in LibGDX. Dealing with multiple device resolutions and aspect ratios
Channel:
Subscribers:
265,000
Published on ● Video Link: https://www.youtube.com/watch?v=Ml-XXQaN0hc
In this tutorial we look at supporting multiple resolutions as aspect ratios using Viewports and Cameras in LibGDX. We cover setting the various types of cameras available, setting your game world up to use your own coordiantes instead of pixels and render with a camera. Finally we look at using Viewports to display the same results on multiple devices at different aspect ratios.
It is a part of this larger LibGDX series that is available here: http://www.gamefromscratch.com/page/LibGDX-Tutorial-series.aspx
All of the source code mentioned in this tutorial is available here: http://www.gamefromscratch.com/post/2014/12/09/LibGDX-Video-Tutorial-Cameras-and-Viewports-Handling-multiple-resolutions-and-aspect-ratios.aspx
Other Videos By Gamefromscratch
Tags:
LibGDX
Gamefromscratch
Aspect Ratio
Tutorial
Game Programming
Gamedev
HD
iPad
Android
Gaming