Gale
Getting started
Installation
Requirements
From source
Starting a new project
Guides
gale.ai
Steering only
Behavior tree
Decision tree
Blackboard
Using it with Factory
Graphs
Search algorithms
gale.animation
Switching between named animations
gale.camera
Basic usage
Following a target
Zoom
Keeping the camera inside the map
Screen shake
Screen ↔ world coordinates
Known limitations
gale.ecs
World, entities, and components
Querying entities
Systems
gale.factory
gale.frames
gale.input_handler
Typical project setup
Registering a listener manually
Key combos
Gamepads
gale.log
Basic usage
Adding another destination (Graylog and friends)
Named loggers
gale.net
Basic connection and messaging
Choosing a channel
Round-trip time
LAN discovery
Dedicated server vs. player-hosted
Host migration
Room codes
Client-side prediction and server reconciliation
Entity interpolation and lag compensation
Security notes
gale.particle_system
gale.physics
Creating a world and bodies
Stepping the simulation: update vs. fixed_update
Reading and driving a body
Collision: callbacks vs. touching_bodies
Joints
Scene graph
Debug rendering
Project template (gale-admin)
Adding a state (gale-admin create-state)
gale.state
StateMachine
HierarchicalState
StateStack
gale.stencil
Fog of war / vision reveal
Cropping to a shape
How it works
gale.text
gale.tilemap
Building a TileMap by hand
Loading a map made in Tiled
Collision: solid walls and one-way platforms
Isometric maps
Known limitations
gale.timer
gale.ui
A simple menu
Widget list
Mouse support
Customizing look and feel
Cursors from settings.py
Paginated text: click-through or buttons
Closable windows
Known limitations
gale.sequence
Step
StepGroup
Sequence
gale.quest
gale.cutscene
Running several beats at once
“Playing a video”
Writing your own beats
API reference
gale package
Subpackages
gale.ai package
gale.cutscene package
gale.ecs package
gale.log package
gale.management package
gale.net package
gale.physics package
gale.tilemap package
gale.ui package
Submodules
gale.animation module
gale.camera module
gale.ease_functions module
gale.factory module
gale.frames module
gale.game module
gale.input_handler module
gale.math_util module
gale.particle_system module
gale.quest module
gale.sequence module
gale.state module
gale.stencil module
gale.text module
gale.timer module
Gale
Search
Please activate JavaScript to enable the search functionality.