Chapter 6. Designing an Advanced Game

Want to make even more complex games? Want to have a more complex controller and not just a tap all over the screen? What about a platformer? Move, navigate, jump, and fire some bullets to kill enemies.

In this chapter, you will be running through the process of building a platformer level with a more advanced player controller with touch interface inputs, more complex actors, and new components.

By the end of this chapter you will be able to:

  • Use the 2D colliders
  • Use the touch interface to add on-screen buttons
  • Add some enemies and make them responsive
  • Add projectiles on runtime as bullets
  • Use an actor as a component
  • Randomly spawn enemy types
  • Pass custom inputs into custom events

The project structure

If you are going to use the already finished project that comes with the book, then you will find that it was made with the Unreal Editor 4.3. If you are using a higher version, it might ask you to upgrade the project to a higher version, which is an irreversible step. Just keep this in mind!

You encountered the main character of this game in the last chapter, but there are also some new items for the environment. Feel free to use your own handmade assets or use the assets that come with this example for the chapter or any other educational purpose. This chapter's folder structure contains the following:

  • The Blueprints folder: This contains all of the blueprints used to build this game logic
  • The Flipbooks folder: This contains all five flipbook animations used in the game
  • The Frames folder: This contains all of the textures and sprites used for the animations, the background, and the environment items.
  • The Maps folder: This holds one level, which is the game.
  • The Materials folder: This contains one material which is used with the level blocking.
  • The StarterContent folder: This is the home for the basic 3D shapes that you might need to use.
  • The UIButtons folder: This contains the textures used to build the touch interface.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.109.234