1. Utilising Templates

Get started quickly by making changes to one of the existing templates

The default project comes with 8 unique templates based on existing popular endless runner games.

These are intended to act as your starting point allowing you to either build your logic on top of the template that best suits your creative idea or to reference the implementation that best matches your needs.

The templates cover both 2D and 3D game types to demonstrate implementing paper2D animations as well as standard skeletal mesh animations.

As an example, if we go into the FlappyRunner example map this will provide a demonstration setup for a target based score system rather than a distance based score. The target in this case is successfully navigating through the pillars.

You can also check in here for the Paper2D animation system of the player pawn.

Similarly you could reference the LizardRunner2D template to see an implementation of a more stylized 2D game where a single sprite is used rather than a flipbook and all animations are handled in the Player Blueprint.

Most other templates utilise 3D meshes and animations and implement a distance based scoring system and are intended to demonstrate different input schemes including lane bases switching and free side to side movement.

The final unique template type is the VerticalRunner to show how you can entirely change the direction of the game to create vertical movement for the spawnable classes.

One important thing to note is that each template has been placed in its own folder structure which will hold the template specific GameMode, Pawn, Obstacles etc.

This allows you to easily remove any of the templates you know that you won’t be using from your project without any dependency clashes.

Anything that is the parent class, base material or meshes shared between templates has been put into the CommonAssets folder. So make sure you only delete things from this folder if you’re certain you won’t be using it as it can cause asset reference issues for the template modes.

Last updated