équilibrage général du jeu

This commit is contained in:
2025-09-26 17:17:23 +02:00
parent 099f8bb1be
commit bb24efe46b
5 changed files with 15 additions and 5 deletions

View File

@@ -7,10 +7,12 @@ var item2: Item
func show_rewards():
get_tree().paused = true
%AnimationPlayer.play("show")
get_tree().paused = true
func hide_rewards():
get_tree().paused = false
%AnimationPlayer.play_backwards("show")
get_tree().paused = false
func _on_planet_quota_reward_asked(_planet:Planet, _item1:Item, _item2:Item):
planet = _planet

View File

@@ -1,9 +1,14 @@
[gd_scene load_steps=4 format=3 uid="uid://fh3dsuvn5h78"]
[gd_scene load_steps=5 format=3 uid="uid://fh3dsuvn5h78"]
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/default_theme.tres" id="1_ga3ae"]
[ext_resource type="Texture2D" uid="uid://bsgmxvuphn73c" path="res://common/icons/arrow-narrow-down.svg" id="2_kc1j1"]
[ext_resource type="Script" uid="uid://r6hgefyycute" path="res://gui/game/tutorial/in_game_indicator/scripts/in_game_indicator.gd" id="2_kij5i"]
[sub_resource type="LabelSettings" id="LabelSettings_kc1j1"]
shadow_size = 3
shadow_color = Color(0, 0, 0, 0.75686276)
shadow_offset = Vector2(0, 0)
[node name="InGameIndicator" type="CenterContainer"]
modulate = Color(0.91, 0.6521667, 0, 1)
offset_right = 150.0
@@ -24,6 +29,7 @@ unique_name_in_owner = true
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
text = "Text and a very very very long text"
label_settings = SubResource("LabelSettings_kc1j1")
horizontal_alignment = 1
autowrap_mode = 3