Torque2D/pong Tutorial OverView

From TDN

This page is a Work In Progress.

Contents


Basic Information


This tutorial has been written for TGB 1.1 beta, formally known as T2D. Most of the information in this tutorial has been collected here on TDN and the forums. This is one of my first TGB projects, so the code may not be the best. This is also a very basic tutorial. If you see an issue, please fix it and make a note so everyone can benefit from it.
Link to Image:Pong.zip <-- not sure if this is the proper way to upload the file






Topics to Cover


This section will outline the steps needed.

Torque2D/pong_Tutorial_TGB_Setup

  • Restructuring the images directory
  • Setting up TGB


Torque2D/pong_Tutorial_TGB_Game_Arena

  • Setting up a tileMap
  • Checking for Collisions
  • Triggers


Torque2D/pong_Tutorial_TGB_Player_Setup

  • Creating the player
  • Binding some keys
  • Move the paddle


Torque2D/pong_Tutorial_TGB_Ball_Setup

  • Create the Ball
  • another topic


Link to Winning/Losing Conditions

  • Use of triggers
  • scoring


Link to Setting up GUI

  • GG and company splash screens
  • menu gui



Next - Getting TGB ready!