Files
Zacharie Guet 79357982d0 Dev Demo
* pleins de choses et j'ai pas le temps
* mais en gros
* le détecteur détecte les cellules
* ajout du sprite de Demeter
* ajout d'une limite dans la map
* la recharge ne peut plus de nouveau être utilisée après la fin de la région
2026-05-29 16:35:42 +02:00

90 lines
3.5 KiB
Plaintext

[gd_scene format=3 uid="uid://c2unmkf4ec4gf"]
[ext_resource type="Script" uid="uid://ds8qj6h3nerkt" path="res://entities/interactable_3d/ai_receptacle/scripts/ai_receptacle.gd" id="1_f5pxu"]
[ext_resource type="Texture2D" uid="uid://dg00xnpp6ixls" path="res://common/icons/server-2.svg" id="2_f5pxu"]
[ext_resource type="PackedScene" uid="uid://b50g4ufp0ul5x" path="res://entities/interactable_3d/ai_receptacle/assets/3d/ai_receptacle.blend" id="2_hstrx"]
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="3_ocu3y"]
[ext_resource type="PackedScene" uid="uid://dssuk68nfqq1y" path="res://entities/interactable_3d/ai_receptacle/assets/3d/ai_receptacle_broken.blend" id="4_drapv"]
[sub_resource type="BoxShape3D" id="BoxShape3D_f5pxu"]
size = Vector3(1.4648438, 1.5727539, 1.1850586)
[sub_resource type="ViewportTexture" id="ViewportTexture_drapv"]
viewport_path = NodePath("Screen/SubViewport")
[sub_resource type="LabelSettings" id="LabelSettings_s7ckp"]
font = ExtResource("3_ocu3y")
font_size = 30
[node name="AiReceptacle" type="Area3D" unique_id=1082354698]
script = ExtResource("1_f5pxu")
screen_icon = ExtResource("2_f5pxu")
screen_text = "Hello"
screen_turned_on = true
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
[node name="Model" parent="." unique_id=154868613 instance=ExtResource("2_hstrx")]
unique_name_in_owner = true
[node name="ModelBroken" parent="." unique_id=1633938801 instance=ExtResource("4_drapv")]
unique_name_in_owner = true
visible = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=447695736]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0038106, 3.0576665)
shape = SubResource("BoxShape3D_f5pxu")
[node name="Screen" type="Sprite3D" parent="." unique_id=1396407912]
transform = Transform3D(1, 0, 0, 0, 0.8021926, 0.5970652, 0, -0.5970652, 0.8021926, 0, 0.8748945, 3.3313272)
pixel_size = 0.0018
texture = SubResource("ViewportTexture_drapv")
[node name="SubViewport" type="SubViewport" parent="Screen" unique_id=709453654]
disable_3d = true
transparent_bg = true
size = Vector2i(595, 367)
[node name="TurnedOffBackground" type="ColorRect" parent="Screen/SubViewport" unique_id=65019012]
unique_name_in_owner = true
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.0627451, 0.05882353, 0.16862746, 1)
[node name="ScreenContent" type="MarginContainer" parent="Screen/SubViewport" unique_id=380698147]
unique_name_in_owner = true
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16
[node name="VBoxContainer" type="VBoxContainer" parent="Screen/SubViewport/ScreenContent" unique_id=1893636910]
layout_mode = 2
size_flags_vertical = 4
alignment = 1
[node name="ScreenIcon" type="TextureRect" parent="Screen/SubViewport/ScreenContent/VBoxContainer" unique_id=697782774]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 100)
layout_mode = 2
texture = ExtResource("2_f5pxu")
expand_mode = 1
stretch_mode = 5
[node name="ScreenTitle" type="Label" parent="Screen/SubViewport/ScreenContent/VBoxContainer" unique_id=443526476]
unique_name_in_owner = true
layout_mode = 2
text = "Hello"
label_settings = SubResource("LabelSettings_s7ckp")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 3