Car GUI

I am making a racing game and need to implement a speedometer with a digital display, a lap timer, and place position displays. The Unity GUI seems so confusing to me and honestly, I don’t really know where to begin… I know its vague, but if someone could just point me in the right direction to get started I would appreciate it. I do already have the textures I want it to look like. Any help would be greatly appreciated…Thanks.

Start with this:

GUI Scripting Guide

Copy what it does, learn the basics. Then if you want more you can always look at the tutorials, example projects and Unite videos we have posted online:

Unity Resources

also look at the lerpz demo’s GUI.

I have looked over the basics and the Lerpz tutorial, but I am still having some difficulties. Even in the lerpz tutorial the HUD wasn’t showing up and I went through it just as they did. So I have no idea why and applying the same type of concept to my game doesn’t seem to be working either. Maybe I could ask what I think might be a simple question. How would you display a variable, such as “speed” via the GUI and have it actually display the number that the variable is?

use the reference to look for the GUI method you want, label, box, password field…

try doing again the lerpz GUI tutorial until you get it.
and reading the GUI scripting reference

For Hard Rock Racing I’ve been using a separate “dials” camera that only renders the speedometer and all that and I put this camera then on top of the normal camera that follows the race car.

As noted above check out GUI.Label.

If you’re having trouble then start simple and feel free to post your in-progress code as that might help us spot any obvious errors/mistakes. :slight_smile: