Game Development Community

2 Questions - Please Help

by Do Not Delete · in Torque X 2D · 09/05/2007 (7:46 pm) · 42 replies

1. What is the best way to pause a game using Torque X?

2. I've been tinkering around with the FireProjectileComponenet from the Blaster Tutorial and decided to add the code to the Player Controller.cs file. There is one problem though, it can't find SceneObject. The SceneObject in our case is the Dragon. What would the equivilent of SceneObject be in our case?

Code:

// Set the position based on the position of the object that's shooting.
                projectileObj.Position = SceneObject.Position;

                projectileObj.Layer = SceneObject.Layer + 1;
Can anyone help?

Thanks!
Page«First 1 2 3 Next»
#41
10/04/2007 (7:14 pm)
Damn, I don't get what your saying. Time is really confusing. How would I put the timer code in the Actor Component?
#42
10/09/2007 (2:27 am)
Dro Sarhadian just wanted to say thanks 4 the tutorial on the projectile
and if there will b updates on the progress
cheers
Page«First 1 2 3 Next»