--- /dev/null
+(supertux-sprite
+ (action
+ (name "left")
+ (x-offset 6)
+ (y-offset 10)
+ (images "left-0.png"
+ "left-1.png"
+ "left-2.png"))
+ (action
+ (name "right")
+ (x-offset 6)
+ (y-offset 10)
+ (mirror-action "left"))
+ (action
+ (name "iced-left")
+ (x-offset 6)
+ (y-offset 10)
+ (images "iced-left.png"))
+ (action
+ (name "iced-right")
+ (x-offset 6)
+ (y-offset 10)
+ (mirror-action "iced-left")
+ )
+ (action
+ (name "sleeping-left")
+ (x-offset 6)
+ (y-offset 10)
+ (images "sleeping-left.png"))
+ (action
+ (name "sleeping-right")
+ (x-offset 6)
+ (y-offset 10)
+ (mirror-action "sleeping-left"))
+ (action
+ (name "waking-left")
+ (x-offset 6)
+ (y-offset 10)
+ (fps 6.0)
+ (images "waking-left-0.png"
+ "waking-left-1.png"
+ "waking-left-2.png"))
+ (action
+ (name "waking-right")
+ (fps 6.0)
+ (x-offset 6)
+ (y-offset 10)
+ (mirror-action "waking-left"))
+)
+++ /dev/null
-(supertux-sprite
- (action
- (name "left")
- (x-offset 6)
- (y-offset 10)
- (images "left-0.png"
- "left-1.png"
- "left-2.png"))
- (action
- (name "right")
- (x-offset 6)
- (y-offset 10)
- (mirror-action "left"))
- (action
- (name "iced-left")
- (x-offset 6)
- (y-offset 10)
- (images "iced-left.png"))
- (action
- (name "iced-right")
- (x-offset 6)
- (y-offset 10)
- (mirror-action "iced-left")
- )
- (action
- (name "sleeping-left")
- (x-offset 6)
- (y-offset 10)
- (images "sleeping-left.png"))
- (action
- (name "sleeping-right")
- (x-offset 6)
- (y-offset 10)
- (mirror-action "sleeping-left"))
- (action
- (name "waking-left")
- (x-offset 6)
- (y-offset 10)
- (fps 6.0)
- (images "waking-left-0.png"
- "waking-left-1.png"
- "waking-left-2.png"))
- (action
- (name "waking-right")
- (fps 6.0)
- (x-offset 6)
- (y-offset 10)
- (mirror-action "waking-left"))
-)
stay_on_platform = false;
reader.get("stay-on-platform", stay_on_platform);
bbox.set_size(31.8, 31.8);
- sprite = sprite_manager->create("images/creatures/sspiky/sspiky.sprite");
+ sprite = sprite_manager->create("images/creatures/spiky/sleepingspiky.sprite");
state = SSPIKY_SLEEPING;
}