Python Scripting
- Introduction to Scripting
- Why Script When You Can Logic Brick It?
- Sane Replacement for Large-Scale Logic-Bricked Objects
- Better Handling of Multiple Objects
- Access to UPBGE’s Advanced Features
- Use Features That Are Not Part of UPBGE
- Keep Track of Your Changes with a Version Control System
- Debug Your Game While It Runs
- So What Exactly Is Python?
- Flexible Data Types
- OOP - Object-Oriented Programming
- Where to Learn Python
- Online Material
- Offline Material
- Python Built-in Help
- Python and the Game Engine
- Integrating Python in the Game Engine
- Writing Your Python Scripts
- Reference Material and Documentation
- Testing Your Scripts
- 3D World Elements
- Understanding the Code
- Global Initialization
- Event Management
- Internal Functions
- Game Interaction
- More Python
- Reusing Your Script
- File Organization - Groups and Layers
- Tweaks and Adjustments - Getting Your Hands Dirty
- Using the Game Engine API - Application Programming Interface
- LibLoad(), LibNew(), LibFree(), LibList() (TODO to be replaced with new ones)
- globalDict, loadGlobalDict(), saveGlobalDict()
- bge.types
- Class KX_GameObject
- bge.render
- Window and Mouse
- World Settings (TODO to be removed/changed)
- Stereo Settings (TODO to be changed)
- Material Settings (TODO to be changed)
- Others
- bge.events
- bge.texture
- bge.constraints
- Mathutils - Math Types and Utilities
- Vector
- Matrix
- Euler and Quaternion
- aud - Audio System
- Example: Basic Audio Playback (TODO to be adapted to new API)
- bgl - OpenGL Wrapper
- blf - Font Drawing
- Inheritance And Composition