![]() |
||||
Chapter 4 |
||||
TNT Basic |
||||
The TNT Basic application is the program that actually runs your projects. When you select "Run" in Hieroglyph, TNT Basic is launched if it is not already running and instructed to execute your project. Any errors are passed back to Hieroglyph for reporting.
You can launch TNT Basic yourself and run projects by using the "Open..." command in the file menu. You can also run projects by dropping them on the TNT Basic icon.
When your TNT Basic program is running, you can get back to TNT Basic's menus at any time by hitting Escape. This will pause your game and show the menu bar.
This is a guide to some of the menu commands available in the "Control" menu when your game is running:
Restart
Starts your program again from the beginning
Pause
Pauses/Unpauses your program
Terminate
Stops your program and resets TNT Basic, this is a good way of stopping a program you've forgotten to add a quit option!
Configure Controls
If your program uses input resources for input you can configure your controls using this option.
Show FPS
This option turns on/off a FPS (frames per second) counter in the bottom right of the screen. This allows you to see how fast your game is running.
Take Screenshot
This takes a screenshot of your game and saves it to your desktop (under Mac OS 8/9) or in your Pictures folder (Mac OS X).
Note that the shortcut keys for terminate (cmd-.) and take screenshot (cmd-F12) also work from inside your game, you do not have to escape to the menus to use them.