new badguys: iceflame, ghostflame, livefire, goldbomb, smartblock
new bonuses: coinrain, coinexplode
statistics improved
+icy island levels tweaked
+new sounds
+massive improvements to localization
+efficiency tweaks
Supertux Release 0.3.4 (2013-07)
--------------------------------
(action
(name "big-backflip-right")
(hitbox 16 37 32 32)
- (fps 18.0)
- (images "big/backflip-0.png"
- "big/backflip-1.png"
- "big/backflip-2.png"
- "big/backflip-3.png"
- "big/backflip-4.png"
- "big/backflip-5.png"
- "big/backflip-6.png"
- "big/backflip-7.png"
- "big/backflip-8.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"
- "big/backflip-0.png"))
+ (images "big/backflip.png"))
(action
(name "big-backflip-left")
(action
(name "fire-backflip-right")
(hitbox 16 37 32 32)
- (fps 18.0)
- (images "fire/backflip-0.png"
- "fire/backflip-1.png"
- "fire/backflip-2.png"
- "fire/backflip-3.png"
- "fire/backflip-4.png"
- "fire/backflip-5.png"
- "fire/backflip-6.png"
- "fire/backflip-7.png"
- "fire/backflip-8.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"
- "fire/backflip-0.png"))
+ (images "fire/backflip.png"))
(action
(name "fire-backflip-left")
(action
(name "ice-backflip-right")
(hitbox 16 37 32 32)
- (fps 18.0)
- (images "ice/backflip-0.png"
- "ice/backflip-1.png"
- "ice/backflip-2.png"
- "ice/backflip-3.png"
- "ice/backflip-4.png"
- "ice/backflip-5.png"
- "ice/backflip-6.png"
- "ice/backflip-7.png"
- "ice/backflip-8.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"
- "ice/backflip-0.png"))
+ (images "ice/backflip.png"))
(action
(name "ice-backflip-left")
deactivated = false;
backflipping = false;
backflip_direction = 0;
+ sprite->set_angle(0.0f);
visible = true;
swimming = false;
on_ice = false;
if (climbing) stop_climbing(*climbing);
backflipping = false;
backflip_direction = 0;
+ sprite->set_angle(0.0f);
GameSession::current()->start_sequence(sequence_name);
}
//prevent player from changing direction when backflipping
dir = (backflip_direction == 1) ? LEFT : RIGHT;
if (backflip_timer.started()) physic.set_velocity_x(100 * backflip_direction);
+ //rotate sprite during flip
+ sprite->set_angle(sprite->get_angle() + (dir==LEFT?1:-1) * elapsed_time * (360.0f / 0.5f));
}
// set fall mode...
if (backflipping && (backflip_timer.get_timegone() > 0.15f)) {
backflipping = false;
backflip_direction = 0;
+ sprite->set_angle(0.0f);
// if controls are currently deactivated, we take care of standing up ourselves
if (deactivated)
if( backflipping && ( !controller->hold(Controller::JUMP) && !backflip_timer.started()) ){
backflipping = false;
backflip_direction = 0;
+ sprite->set_angle(0.0f);
}
}
adjust_height(SMALL_TUX_HEIGHT);
duck = false;
backflipping = false;
+ sprite->set_angle(0.0f);
set_bonus(NO_BONUS, true);
} else if(player_status->bonus == NO_BONUS) {
safe_timer.start(TUX_SAFE_TIME);
set_size(TUX_WIDTH, SMALL_TUX_HEIGHT);
duck = false;
backflipping = false;
+ sprite->set_angle(0.0f);
last_ground_y = vector.y;
if (climbing) stop_climbing(*climbing);
if (backflipping) {
backflipping = false;
backflip_direction = 0;
+ sprite->set_angle(0.0f);
}
}