the tophat cookbook
Welcome to the tophat cookbook. You can find all sorts of recipes for doing common stuff in tophat.
To fully understand examples in the cookbook, it is important to know the basic concepts used in tophat.
Tophat doesn’t have any kind of scenes. Everything is structured and managed by the player. User has to explicitly call functions into tophat to get results or draw stuff. Tophat doesn’t do nearly anything automatically - the user is in front of the steering wheel.
- rotations are in degrees
- load paths are relative to what
dirwas set to (
./by default), unless overriden by the
Quick type reference:
- 2d vector
- struct defining transformation
- alias for int32
- alias for uint32
- alias for real32