As part of the GUI design for Last Alarm, I’ve created a fair few custom GUI controls for TorqueX, some of them are probably more easily adaptable to suit your needs than others, the GUITypeWriter is easily the most useful.
It has a number of key features over and above the standard GUIText control
- Writes out multiple lines
- Animated ‘Typewriter’ effect on what’s written
- Animated Cursor also available
- Visible opacity parameter so text can stay hidden until required
- Lots of timers and switches to control the flow of the text animation
You can find the full source code, as well as an example, over here at the GarageGames resource page.
If nothing else it should give you a good insight into how to create your own custom control, which can be a daunting prospect (as i learned).
If you find it useful do me a favour and leave a rating.
