This file is auto-generated from the SuperTux source code, using the template ScriptingPage.md.
An AmbientSound
that was given a name can be controlled by scripts.
An AmbientSound
is instantiated by placing a definition inside a level. It can then be accessed by its name from a script or via sector.name
from the console.
This class inherits functions and variables from the following base classes:
Method | Explanation |
---|---|
float get_pos_x() |
Deprecated! Use get_x() instead! Returns the ambient sound's X coordinate. |
float get_pos_y() |
Deprecated! Use get_y() instead! Returns the ambient sound's Y coordinate. |
None.
None.