(name "earth-walk-right-stone")
(fps 15.0)
(hitbox 16 14 32 64)
- (images "earth/stand.png"))
+ (images "earth/walk.png"))
(action
(name "earth-walk-left-stone")
(name "earth-jump-right-stone")
(fps 15.0)
(hitbox 16 14 32 64)
- (images "earth/stand.png"))
+ (images "earth/jump.png"))
(action
(name "earth-jump-left-stone")
(action
(name "earth-skid-right-stone")
(hitbox 16 14 32 64)
- (images "earth/stand.png"))
+ (images "earth/skid.png"))
(action
(name "earth-skid-left-stone")
(action
(name "earth-kick-right-stone")
(hitbox 16 14 32 64)
- (images "earth/stand.png"))
+ (images "earth/kick.png"))
(action
(name "earth-kick-left-stone")
(name "earth-idle-right-stone")
(fps 5.0)
(hitbox 16 14 32 64)
- (images "earth/stand.png"))
+ (images "earth/head.png"))
(action
(name "earth-idle-left-stone")
(action
(name "earth-climbing-right-stone")
(hitbox 16 14 32 64)
- (images "earth/stand.png"))
+ (images "earth/ladder.png"))
(action
(name "earth-climbing-left-stone")
(action
(name "earth-duck-right-stone")
(hitbox 16 45 32 32)
- (images "earth/stand.png"))
+ (images "earth/duck.png"))
(action
(name "earth-duck-left-stone")
(action
(name "earth-backflip-right-stone")
(hitbox 16 37 32 32)
- (images "earth/stand.png"))
+ (images "earth/backflip.png"))
(action
(name "earth-backflip-left-stone")
(action
(name "earth-buttjump-right-stone")
(hitbox 16 14 32 64)
- (images "earth/stand.png"))
+ (images "earth/buttjump.png"))
(action
(name "earth-buttjump-left-stone")
if (backflipping && (backflip_timer.get_timegone() > 0.15f)) {
backflipping = false;
backflip_direction = 0;
- sprite->set_angle(0.0f);
- powersprite->set_angle(0.0f);
- lightsprite->set_angle(0.0f);
+ if (!stone) {
+ sprite->set_angle(0.0f);
+ powersprite->set_angle(0.0f);
+ lightsprite->set_angle(0.0f);
+ }
// if controls are currently deactivated, we take care of standing up ourselves
if (deactivated)
return;
if (backflipping)
return;
+ if (stone)
+ return;
if (adjust_height(BIG_TUX_HEIGHT)) {
duck = false;
if (controller->pressed(Controller::DOWN) && player_status->bonus == EARTH_BONUS && !cooldown_timer.started()) {
if (controller->hold(Controller::ACTION) && !ability_timer.started()) {
ability_timer.start(player_status->max_earth_time * STONE_TIME_PER_FLOWER);
+ powersprite->stop_animation();
stone = true;
physic.set_gravity_modifier(1.0f); // Undo jump_early_apex
}
if (stone && (!controller->hold(Controller::ACTION) || ability_timer.get_timeleft() <= 0.5f)) {
cooldown_timer.start(ability_timer.get_timegone()/2.0f); //The longer stone form is used, the longer until it can be used again
ability_timer.stop();
+ sprite->set_angle(0.0f);
+ powersprite->set_angle(0.0f);
+ lightsprite->set_angle(0.0f);
stone = false;
for (int i = 0; i < 8; i++)
{