-
-
Notifications
You must be signed in to change notification settings - Fork 539
ScriptingSector
Ingo Ruhnke edited this page Aug 27, 2018
·
13 revisions
__NOTOC__
The Sector
class provides basic controlling functions for the current sector.
An instance under sector.settings is available from scripts and the console.
float get_ambient_light_red() |
Returns the specified channel of the ambient light color. |
---|---|
set_ambient_light(float red, float green, float blue) |
Sets the sector's ambient light to the specified color. |
set_gravity(float gravity) |
Sets the sector's gravity. |
None
Template:Navbox Scripting reference
Category:Scripting Reference
Home
Guidelines
Game Mechanics
Tools
Engine
- Cameras in other games
- Collision
- Configuration File
- Console
- Cutscenes
- Game_Engine
- Lighting
- Map_transformer
- Portables
- SceneGraph
- Scripting
Specifications
Milestones
- Milestone 1 Analysis
- Milestone 2 Design Document
- Milestone 2 Design Document Old
- Milestone 3 Design Document
Building (mostly outdated)
- INSTALL.md
- Building
- Building on macOS
- Building SuperTux
- Building on Windows
- Building with MXE (cross-compile)
Meetings