ile-de-test/scenes/interface/page_perso.tscn
2023-10-05 20:02:23 +02:00

124 lines
3.9 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://iupkschafyjy"]
[ext_resource type="Script" path="res://script/interface/page_perso.gd" id="1_5g4xk"]
[ext_resource type="Texture2D" uid="uid://ckukbjjvm54c5" path="res://assets/background/settings-Khanat-background.png" id="2_2uy4g"]
[ext_resource type="PackedScene" uid="uid://x2deg4hgjdm3" path="res://assets/creatures/raference/raference.tscn" id="3_2scnp"]
[ext_resource type="Script" path="res://assets/creatures/CameraControllerMain.gd" id="4_sgxte"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jdln7"]
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jvgma"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uyprx"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[node name="PageChoisirServer" type="Control"]
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
script = ExtResource("1_5g4xk")
[node name="Background" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
texture = ExtResource("2_2uy4g")
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
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 "
[node name="creer_perso" type="SubViewport" parent="SubViewportContainer"]
handle_input_locally = false
size = Vector2i(180, 380)
render_target_update_mode = 4
[node name="model" type="Node3D" parent="SubViewportContainer/creer_perso"]
[node name="raference" parent="SubViewportContainer/creer_perso/model" instance=ExtResource("3_2scnp")]
[node name="cameraroot" type="Node3D" parent="SubViewportContainer/creer_perso"]
script = ExtResource("4_sgxte")
[node name="Camera3D" type="Camera3D" parent="SubViewportContainer/creer_perso/cameraroot"]
transform = Transform3D(1, 0, 0, 0, 0.994295, 0.106663, 0, -0.106663, 0.994295, 0, 0.973339, 1.38456)
[node name="OmniLight3D" type="OmniLight3D" parent="SubViewportContainer/creer_perso"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.67263, 1.60367)
[node name="creer_perso2" type="TextEdit" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 393.0
offset_top = 85.0
offset_right = 416.335
offset_bottom = 326.094
theme_override_styles/normal = SubResource("StyleBoxFlat_jdln7")
text = "creer un personnage
Ne fonctionne pas"
editable = false
[node name="creer_perso3" type="TextEdit" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 623.0
offset_top = 85.0
offset_right = 646.335
offset_bottom = 326.094
theme_override_styles/normal = SubResource("StyleBoxFlat_jdln7")
text = "creer un personnage
Ne fonctionne pas"
editable = false
[node name="creer_perso4" type="TextEdit" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.173
offset_left = 843.0
offset_top = 89.0
offset_right = 866.335
offset_bottom = 330.094
theme_override_styles/normal = SubResource("StyleBoxFlat_jdln7")
text = "creer un personnage
Ne fonctionne pas"
editable = false
[node name="choisir_perso" type="Button" parent="."]
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
theme_override_styles/normal = SubResource("StyleBoxFlat_jvgma")
text = "choisir un personnage"
[node name="return" type="Button" parent="."]
layout_mode = 0
offset_left = 290.0
offset_top = 549.0
offset_right = 381.0
offset_bottom = 580.0
theme_override_styles/normal = SubResource("StyleBoxFlat_uyprx")
text = "Return"
[connection signal="pressed" from="choisir_perso" to="." method="_on_perso_pressed"]
[connection signal="button_down" from="return" to="." method="_on_return_button_down"]