--- /dev/null
+(supertux-sprite
+ (action
+ (name "default")
+ (images "key_brass.png")
+ )
+ (action
+ (name "display")
+ (images "display_brass.png")
+ )
+ (action
+ (name "outline")
+ (images "outline_brass.png")
+ )
+)
--- /dev/null
+(supertux-sprite
+ (action
+ (name "default")
+ (images "key_bronze.png")
+ )
+ (action
+ (name "display")
+ (images "display_bronze.png")
+ )
+ (action
+ (name "outline")
+ (images "outline_bronze.png")
+ )
+)
--- /dev/null
+(supertux-sprite
+ (action
+ (name "default")
+ (images "key_gold.png")
+ )
+ (action
+ (name "display")
+ (images "display_gold.png")
+ )
+ (action
+ (name "outline")
+ (images "outline_gold.png")
+ )
+)
--- /dev/null
+(supertux-sprite
+ (action
+ (name "default")
+ (images "key_iron.png")
+ )
+ (action
+ (name "display")
+ (images "display_iron.png")
+ )
+ (action
+ (name "outline")
+ (images "outline_iron.png")
+ )
+)
--- /dev/null
+(supertux-sprite
+ (action
+ (name "default")
+ (images "key_silver.png")
+ )
+ (action
+ (name "display")
+ (images "display_silver.png")
+ )
+ (action
+ (name "outline")
+ (images "outline_silver.png")
+ )
+)
(images "tiles/doodads/platter.png")
)
)
- (sprite
- (name "key-brass")
- (action
- (name "default")
- (images "objects/keys/key_brass.png")
- )
- (action
- (name "display")
- (images "objects/keys/display_brass.png")
- )
- (action
- (name "outline")
- (images "objects/keys/outline_brass.png")
- )
-
- )
- (sprite
- (name "key-iron")
- (action
- (name "default")
- (images "objects/keys/key_iron.png")
- )
- (action
- (name "display")
- (images "objects/keys/display_iron.png")
- )
- (action
- (name "outline")
- (images "objects/keys/outline_iron.png")
- )
- )
- (sprite
- (name "key-bronze")
- (action
- (name "default")
- (images "objects/keys/key_bronze.png")
- )
- (action
- (name "display")
- (images "objects/keys/display_bronze.png")
- )
- (action
- (name "outline")
- (images "objects/keys/outline_bronze.png")
- )
- )
- (sprite
- (name "key-silver")
- (action
- (name "default")
- (images "objects/keys/key_silver.png")
- )
- (action
- (name "display")
- (images "objects/keys/display_silver.png")
- )
- (action
- (name "outline")
- (images "objects/keys/outline_silver.png")
- )
- )
- (sprite
- (name "key-gold")
- (action
- (name "default")
- (images "objects/keys/key_gold.png")
- )
- (action
- (name "display")
- (images "objects/keys/display_gold.png")
- )
- (action
- (name "outline")
- (images "objects/keys/outline_gold.png")
- )
- )
)
(script "levelflip();")
)
(powerup (x 8000) (y 352)
- (sprite "key-gold")
+ (sprite "images/objects/keys/key_gold.sprite")
(script "get_gold_key();")
(disable-physics #t)
)
physic.set_velocity_x(dir == LEFT ? -KICKSPEED : KICKSPEED);
sprite->set_action(dir == LEFT ? "flat-left" : "flat-right");
// we should slide above 1 block holes now...
- bbox.set_size(32.5, 31.8);
+ bbox.set_size(34, 31.8);
break;
case ICESTATE_GRABBED:
flat_timer.stop();
max_score_multiplier(1)
{
reset();
- key_brass = sprite_manager->create("key-brass");
- key_iron = sprite_manager->create("key-iron");
- key_bronze = sprite_manager->create("key-bronze");
- key_silver = sprite_manager->create("key-silver");
- key_gold = sprite_manager->create("key-gold");
+ key_brass = sprite_manager->create("images/objects/keys/key_brass.sprite");
+ key_iron = sprite_manager->create("images/objects/keys/key_iron.sprite");
+ key_bronze = sprite_manager->create("images/objects/keys/key_bronze.sprite");
+ key_silver = sprite_manager->create("images/objects/keys/key_silver.sprite");
+ key_gold = sprite_manager->create("images/objects/keys/key_gold.sprite");
key_brass->set_action("outline");
key_iron->set_action("outline");
key_bronze->set_action("outline");