Sync Tutorial - Creating a New Project
We are using Torque Game Builder 1.7.2 but anything above 1.5 will work.  All the graphics for this tutorial will be supplied for you, that way you can focus on the programming.  Also remember to save the images that have transparencies as .png.  You can tell which one these are because they look weird unless you allow the blocked content.  The transparency will only show up if you enable the blocked content

Now that you have Torque Game Builder opened, click the “create” button, and name your file Sync, and then finish creating the file.

Save this image into your image folder under the game folder that you just created.  It should be in MyDocuments/MyGames/Sync/Game/Data/Images assuming you are using the Default Windows Directory.
Graphics Tip:

This star field was created in Adobe Photoshop using the Add Noise Function.  Color was added by creating lens flares with the Layer Style of Color Dodge.

Experiment and see if you can make an even better star field.
Now we are going to import the Star Field that you just downloaded.  Click on create, then hit the + image, and select your file.  The image will appear under Static Sprites.
These visual boxes are a way to help you learn your way around the game engine, and show you what to do.
Drag the Star Field image onto the field and scale it to the size of the camera box. For people who want to be exact the position is 0,0 and the scale is 100,75.
Select the star field image and go to the edit tab on the right menu. Set its layer value to 30. Save the level as "Battlefield" in the levels subfolder (this should be the default folder). Naming the level Battlefield is important so we can load it with code.
Now you have successfully added an image, and you have run the program in the game engine.
Next Page
Previous Page
Download: SyncImages.Zip