ile-de-test/scenes/interface/page_player.tscn

174 lines
5.5 KiB
Text
Raw Permalink Normal View History

2023-11-26 16:22:53 +00:00
[gd_scene load_steps=7 format=3 uid="uid://iupkschafyjy"]
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[ext_resource type="Script" path="res://script/interface/page_perso.gd" id="1_ev8xv"]
[ext_resource type="Texture2D" uid="uid://ckukbjjvm54c5" path="res://assets/background/settings-Khanat-background.png" id="2_6q3rv"]
[ext_resource type="PackedScene" uid="uid://x2deg4hgjdm3" path="res://assets/creatures/raference/raference.tscn" id="3_nnmsb"]
[ext_resource type="Script" path="res://assets/creatures/CameraControllerMain.gd" id="4_5c5wm"]
2023-11-26 16:22:53 +00:00
[ext_resource type="Theme" uid="uid://boqakd3l3vldf" path="res://assets/tres/khanat.tres" id="5_vrlym"]
2023-10-05 18:02:23 +00:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jdln7"]
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
2023-10-23 15:21:27 +00:00
[node name="page_choice_player" type="Control"]
2023-10-05 18:02:23 +00:00
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 127.0
offset_bottom = 74.0
grow_horizontal = 2
grow_vertical = 2
2023-10-23 15:21:27 +00:00
script = ExtResource("1_ev8xv")
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="background" type="TextureRect" parent="."]
2023-10-05 18:02:23 +00:00
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
2023-10-23 15:21:27 +00:00
texture = ExtResource("2_6q3rv")
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="create_player1" type="SubViewportContainer" parent="."]
2023-10-05 18:02:23 +00:00
layout_mode = 0
offset_left = 188.0
offset_top = 75.0
offset_right = 368.0
offset_bottom = 455.0
tooltip_text = "Le click droit de la souris permets de tourner le perso "
2023-10-23 15:21:27 +00:00
[node name="create_player" type="SubViewport" parent="create_player1"]
2023-10-05 18:02:23 +00:00
handle_input_locally = false
size = Vector2i(180, 380)
render_target_update_mode = 4
2023-10-23 15:21:27 +00:00
[node name="model" type="Node3D" parent="create_player1/create_player"]
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="raference" parent="create_player1/create_player/model" instance=ExtResource("3_nnmsb")]
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="cameraroot" type="Node3D" parent="create_player1/create_player"]
script = ExtResource("4_5c5wm")
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="camera3D" type="Camera3D" parent="create_player1/create_player/cameraroot"]
transform = Transform3D(1, 0, 0, 0, 0.900395, 0.435074, 0, -0.435074, 0.900395, 0, 1.45159, 1.17343)
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="omniLight3D" type="OmniLight3D" parent="create_player1/create_player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.76994, 1.51255)
light_energy = 3.0
light_indirect_energy = 2.0
[node name="omniLight3D2" type="OmniLight3D" parent="create_player1/create_player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.67263, -1.03286)
light_energy = 3.0
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="create_player2" type="TextEdit" parent="."]
2023-10-05 18:02:23 +00:00
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 396.0
offset_top = 77.0
offset_right = 419.335
offset_bottom = 329.094
2023-10-05 18:02:23 +00:00
theme_override_styles/normal = SubResource("StyleBoxFlat_jdln7")
text = "creer un personnage
Ne fonctionne pas"
editable = false
[node name="create_player3" type="SubViewportContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 620.0
offset_top = 78.0
offset_right = 637.335
offset_bottom = 133.094
[node name="create_player3" type="SubViewport" parent="create_player3"]
handle_input_locally = false
size = Vector2i(190, 180)
render_target_update_mode = 4
[node name="model3" type="Node3D" parent="create_player3/create_player3"]
[node name="raference" parent="create_player3/create_player3/model3" instance=ExtResource("3_nnmsb")]
[node name="cameraroot_3" type="Node3D" parent="create_player3/create_player3"]
script = ExtResource("4_5c5wm")
[node name="camera3D_3" type="Camera3D" parent="create_player3/create_player3/cameraroot_3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.47696, 0.322714)
[node name="omniLight3D" type="OmniLight3D" parent="create_player3/create_player3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.76994, 1.51255)
light_energy = 3.0
light_indirect_energy = 2.0
[node name="omniLight3D2" type="OmniLight3D" parent="create_player3/create_player3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.67263, -1.03286)
light_energy = 3.0
[node name="create_player4" type="TextEdit" parent="."]
2023-10-05 18:02:23 +00:00
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 620.0
offset_top = 279.0
offset_right = 643.335
2023-10-05 18:02:23 +00:00
offset_bottom = 326.094
theme_override_styles/normal = SubResource("StyleBoxFlat_jdln7")
text = "creer un personnage
Ne fonctionne pas"
editable = false
[node name="create_player5" type="TextEdit" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 838.0
offset_top = 79.0
offset_right = 861.335
offset_bottom = 126.094
theme_override_styles/normal = SubResource("StyleBoxFlat_jdln7")
text = "creer un personnage
Ne fonctionne pas"
editable = false
[node name="create_player6" type="TextEdit" parent="."]
2023-10-05 18:02:23 +00:00
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 840.0
offset_top = 283.0
offset_right = 863.335
2023-10-05 18:02:23 +00:00
offset_bottom = 330.094
theme_override_styles/normal = SubResource("StyleBoxFlat_jdln7")
text = "creer un personnage
Ne fonctionne pas"
editable = false
2023-10-23 15:21:27 +00:00
[node name="button_select_player" type="Button" parent="."]
2023-10-05 18:02:23 +00:00
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 835.0
offset_top = 534.0
offset_right = 858.335
offset_bottom = 461.094
2023-11-26 16:22:53 +00:00
theme = ExtResource("5_vrlym")
2023-10-23 15:21:27 +00:00
text = "Select player"
2023-10-05 18:02:23 +00:00
2023-10-23 15:21:27 +00:00
[node name="button_return" type="Button" parent="."]
2023-10-05 18:02:23 +00:00
layout_mode = 0
offset_left = 290.0
offset_top = 549.0
offset_right = 381.0
offset_bottom = 580.0
2023-11-26 16:22:53 +00:00
theme = ExtResource("5_vrlym")
2023-10-05 18:02:23 +00:00
text = "Return"
2023-10-23 15:21:27 +00:00
[connection signal="pressed" from="button_select_player" to="." method="_on_perso_pressed"]
[connection signal="button_down" from="button_return" to="." method="_on_return_button_down"]