-
-
Notifications
You must be signed in to change notification settings - Fork 492
ScriptingMovingSprite
SuperTux Bot edited this page Nov 26, 2024
·
7 revisions
This file is auto-generated from the SuperTux source code, using the template ScriptingPage.md.
Abstract base class for MovingObject
s, that are represented by a sprite.
None.
This class inherits functions and variables from the following base classes:
The following classes inherit functions and variables from this class:
- AngryStone
- BadGuy
- BicyclePlatformChild
- BigSnowball
- Block
- BonusBlock
- Boss
- BouncingSnowball
- Brick
- Bumper
- Candle
- CaptainSnowball
- CirclePlatform
- Coin
- ConveyorBelt
- CorruptedGranito
- CorruptedGranitoBig
- Crusher
- CrusherRoot
- Crystallo
- Dart
- DartTrap
- Decal
- Dispenser
- DiveMine
- Door
- Explosion
- FallBlock
- Firefly
- FishChasing
- FishHarmless
- FishJumping
- FishSwimming
- Flame
- FlyingSnowBall
- GhostTree
- Ghoul
- GoldBomb
- Granito
- GranitoBig
- GranitoGiant
- GrowUp
- Haywire
- HeavyBrick
- HeavyCoin
- HurtingPlatform
- Igel
- InfoBlock
- InvisibleBlock
- Ispy
- Jumpy
- KamikazeSnowball
- Key
- Kugelblitz
- Lantern
- LeafShot
- LevelTile
- LitObject
- LiveFire
- LiveFireAsleep
- LiveFireDormant
- MagicBlock
- Mole
- MoleRock
- MrBomb
- MrIceBlock
- MrTree
- OneUp
- Owl
- Plant
- Platform
- PneumaticPlatformChild
- PocketPowerUp
- PowerUp
- PushButton
- RCrystallo
- Rock
- Root
- RootSapling
- RubLight
- RustyTrampoline
- SCrystallo
- SSpiky
- ScriptedObject
- Shard
- ShortFuse
- SkyDive
- SmartBall
- SmartBlock
- Snail
- SnowBall
- SnowExplosionParticle
- Snowman
- SpawnPointObject
- SpecialTile
- Spiky
- SpriteChange
- SpritedTrigger
- Stalactite
- Star
- StickyBadguy
- StickyObject
- StickyTrigger
- Stumpy
- Switch
- Tarantula
- Teleporter
- Toad
- Torch
- Totem
- Trampoline
- TreeWillOWisp
- UnstableTile
- ViciousIvy
- WalkingBadguy
- WalkingCandle
- WalkingLeaf
- WaterDrop
- WeakBlock
- WillOWisp
- WorldMapObject
- Yeti
- YetiStalactite
- Zeekling
Method | Explanation |
---|---|
bool set_sprite(string file) |
Sets the sprite of the object. |
string get_sprite() |
Returns the file of the object's sprite. |
string get_action() |
Returns the name of the current action of the sprite. |
void set_action(string name) |
Sets the current action of the sprite and resizes the bounding box. |
void set_action_loops(string name, int loops) |
Sets the current action of the sprite, as well as the number of times it should loop, and resizes the bounding box. |
None.
None.
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