TGB/Tutorials/Platformer

From TDN


Platformer Mechanics Tutorial

Written for TGB Version: 1.7.2


Overview

Welcome to the TGB Platformer Mechanics Tutorial Hub. Click on the icon next to the section description to go to that page.




Project and Scene Setup


Tutorial Aspects Covered: TGB Editor, Image/Animation Builder

This section goes over the necessary steps needed to create and edit the project, images, animation, and scene. Usage of basic TGB editor functions are detailed. Recommended for beginners.


Creating a Player


Tutorial Aspects Covered: TGB Editor, Scripting

At the core of platformer mechancis is how the player character moves in the world. Keyboard input, movement control, collision response, and animation are all covered and handled through Torquescript.


Focus on the Camera


Tutorial Aspects Covered: Behaviors

How the camera is controlled is also an important aspect in platformers. This section details the creation of a camera system using a behavior attached to a scene object.