#42 ajout d'un inspecteur

This commit is contained in:
2025-08-21 14:29:49 +02:00
parent 52b2df8639
commit 49e16d12f8
19 changed files with 165 additions and 15 deletions

View File

@@ -257,6 +257,7 @@ grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 1
script = ExtResource("1_udau0")
[node name="GameAction" type="TextureButton" parent="."]
@@ -266,6 +267,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
@@ -343,6 +345,7 @@ layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
focus_mode = 0
mouse_filter = 1
theme = ExtResource("2_nq5i2")
text = "Recharge"
icon = ExtResource("4_k4juk")
@@ -455,6 +458,7 @@ layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
focus_mode = 0
mouse_filter = 1
icon = ExtResource("9_2wykm")
[node name="RechargeFade" type="ColorRect" parent="."]

View File

@@ -0,0 +1,10 @@
extends Control
class_name Mouse
@export var default_cursor : Texture2D
func _ready():
Input.set_custom_mouse_cursor(default_cursor)
func _process(_delta):
position = get_viewport().get_mouse_position()

View File

@@ -0,0 +1 @@
uid://dm0d2sxki2ljd

View File

@@ -2,7 +2,6 @@ extends Control
var pause = false :
set(v):
print(pause)
pause = v
visible = pause
get_tree().paused = pause