Speedometer HELP for racing game in TGE!
by NewGuy · in Game Design and Creative Issues · 02/22/2010 (12:54 pm) · 3 replies
Hi there, i am new to TGE. I just got the TGE 1.5.2 and i'm trying to create a racing game. So i already worked on my racing game when i found the racing game starter kit. The racing starter kit game has a speedometer in the game. I would like to know how does the speedometer work?? How do i implement it in my racing game that I already created? Help plz!
#2
=-=-=-=-=
@NewGuy - I don't have the racing kit, so I don't know *how they did it in* the racing kit. However, if I had to guess I would bet it is a GUI.
I recommend playing around in the GUI editor a bit.
Also here are some links I found I hope can help you:
http://torque.realinfo.de/index.php?title=GUI_Editor_Tutorial
http://torque.realinfo.de/index.php?title=Torque_GUI
What sort of speedometer are you trying to create? A simple number like a digital clock would probably be easier than a gauge that has an arrow that points to a speed. I'm not recommending either, but it would help me (and others) to help you if we knew what type of speedometer your going after.
02/23/2010 (9:43 am)
@Ted Southard - Schools/Collages have deals with Garage Games. He probably purchased it through a university.=-=-=-=-=
@NewGuy - I don't have the racing kit, so I don't know *how they did it in* the racing kit. However, if I had to guess I would bet it is a GUI.
I recommend playing around in the GUI editor a bit.
Also here are some links I found I hope can help you:
http://torque.realinfo.de/index.php?title=GUI_Editor_Tutorial
http://torque.realinfo.de/index.php?title=Torque_GUI
What sort of speedometer are you trying to create? A simple number like a digital clock would probably be easier than a gauge that has an arrow that points to a speed. I'm not recommending either, but it would help me (and others) to help you if we knew what type of speedometer your going after.
#3
On another note:
Take a look at what happens when the car flips over. In short, GAME OVER.
See if you can't figure a way to detect when the car is upside down and not moving and reset it (the car, not the game) to right side up! (yes, I figured out a way)
02/23/2010 (1:29 pm)
When you ask "how does it work" do mean code-wise or do you mean "how do you use it in a game" (GUI related)?On another note:
Take a look at what happens when the car flips over. In short, GAME OVER.
See if you can't figure a way to detect when the car is upside down and not moving and reset it (the car, not the game) to right side up! (yes, I figured out a way)
Torque 3D Owner Ted Southard