Zoom, nouvelles mutations et cie
* ajout d'une aide de jeu directement dans l'interface * ajout de 8 nouvelles mutations (Productif, pressé, pur, vivace, généreux, robuste, protecteur et prolifique) * changements d'icône pour plus de clarté * changement de l'animation de recharge pour montrer le temps qui passe * ajout des mutations rare et de la possibilité d'avoir des mutation niveau 2 dès le départ * ajout d'un zoom * correction de bugs (déplacement au dialogue, problème de score au load d'une région)
This commit is contained in:
@@ -47,7 +47,7 @@ func setup_energy_values():
|
||||
current_energy = from_energy
|
||||
|
||||
func pass_day_animation():
|
||||
|
||||
|
||||
setup_energy_values()
|
||||
|
||||
%ChargeCount.text = tr('%d_CHARGE_LEFT') % GameInfo.game_data.current_region_data.charges
|
||||
@@ -60,6 +60,7 @@ func pass_day_animation():
|
||||
await appear()
|
||||
is_animation_appeared = true
|
||||
animation_appeared.emit()
|
||||
%NightAnimationPlayer.play("pass")
|
||||
await get_tree().create_timer(TIME_MARGIN).timeout
|
||||
recharging = true
|
||||
time_since_recharging = 0.
|
||||
@@ -78,12 +79,20 @@ func appear():
|
||||
BLUR_MIX_PERCENTAGE,
|
||||
0.5
|
||||
)
|
||||
add_tween(
|
||||
"modulate:a",
|
||||
%NightAnimation,
|
||||
1.,
|
||||
0.5
|
||||
)
|
||||
await add_tween(
|
||||
"blur_strength",
|
||||
%Blur,
|
||||
BLUR_STRENGTH,
|
||||
0.5
|
||||
).finished
|
||||
|
||||
|
||||
await %PassDayInfoAnimationPlayer.appear()
|
||||
|
||||
func disappear():
|
||||
@@ -94,12 +103,19 @@ func disappear():
|
||||
0.0,
|
||||
0.5
|
||||
)
|
||||
add_tween(
|
||||
"modulate:a",
|
||||
%NightAnimation,
|
||||
0.,
|
||||
0.5
|
||||
)
|
||||
await add_tween(
|
||||
"blur_strength",
|
||||
%Blur,
|
||||
0.1,
|
||||
0.5
|
||||
).finished
|
||||
|
||||
hide()
|
||||
|
||||
func add_tween(
|
||||
|
||||
Reference in New Issue
Block a user