Inspired by the Create Minecraft mod, Ponder is an in-game user documentation API. With this API, any other addon can register their own storyboards and provide visual documentation for their addon, rather than having to maintain an online wiki/rely on word of mouth.
A couple of example storyboards are provided in lua/ponder/storyboards_cl/.
- Ponder Wiki - Comprehensive guide to the Ponder system
- Quick Reference Guide - Concise reference sheet for common instructions
- Example Storyboard - Complete example demonstrating various features
- Storyboard Template - Starter template for creating your own storyboards
This documentation provides comprehensive information about using the Ponder in-game tutorial system for Garry's Mod. Ponder allows you to create interactive, animated tutorials to explain game mechanics, addons, or any other concept.
Ponder is built around several key concepts:
- Storyboard: The main container for a tutorial
- Chapter: A section of a storyboard containing a sequence of instructions
- Instruction: An individual action like placing a model, showing text, or moving the camera
- Environment: The 3D space where the tutorial takes place
- Playback: Controls the playback of a storyboard
If you're new to Ponder, we recommend following these steps:
- Read the Ponder Wiki to understand the core concepts
- Review the Example Storyboard to see how everything fits together
- Use the Quick Reference Guide as a handy reference while coding
- Start creating your own storyboard using the Storyboard Template
To create a basic storyboard:
- Copy the Storyboard Template to a new file in your addon's
lua/ponder/storyboards_cl/
directory - Customize the storyboard properties (name, description, icon)
- Add your own instructions to each chapter
- Test your storyboard in-game
- Plan your storyboard before coding
- Keep chapters focused on one concept or step
- Use appropriate timing to allow users to read and understand
- Add descriptive text to guide the user through each step
- Test frequently to ensure smooth animations and correct timing
If you encounter issues or have questions:
- Check the Troubleshooting section in the wiki
- Review the example files for reference implementations
- Examine the Ponder source code for deeper understanding
If you find errors in this documentation or have suggestions for improvements, please let us know!