Interface

This commit is contained in:
Иван Кузьменко 2023-03-18 20:37:33 +03:00
parent 63be02d2a6
commit d90f819d68
9 changed files with 178 additions and 0 deletions

101
main_scene.tscn Normal file
View file

@ -0,0 +1,101 @@
[gd_scene load_steps=9 format=3 uid="uid://i801l1q51ty"]
[ext_resource type="Script" path="res://scripts/GameController.gd" id="1_1it4g"]
[ext_resource type="MeshLibrary" uid="uid://1fphqppfq2sf" path="res://tileset.tres" id="2_6yanm"]
[ext_resource type="Texture2D" uid="uid://co0jbthyi0g22" path="res://textures/grayons.jpg" id="3_7asrf"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_8im05"]
[sub_resource type="Sky" id="Sky_q8l0m"]
sky_material = SubResource("ProceduralSkyMaterial_8im05")
[sub_resource type="Environment" id="Environment_01c1r"]
background_mode = 2
sky = SubResource("Sky_q8l0m")
[sub_resource type="ViewportTexture" id="ViewportTexture_nwbi4"]
viewport_path = NodePath("SubViewport")
[sub_resource type="LabelSettings" id="LabelSettings_4j670"]
font_size = 42
[node name="Root" type="Node" node_paths=PackedStringArray("PartyCamera")]
script = ExtResource("1_1it4g")
PartyCamera = NodePath("SubViewport/PartyCamera")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(320, 320)
[node name="GridMap" type="GridMap" parent="SubViewport"]
mesh_library = ExtResource("2_6yanm")
data = {
"cells": PackedInt32Array(65535, 65535, 0, 65535, 0, 0, 0, 0, 0, 0, 65535, 0)
}
[node name="PartyCamera" type="Camera3D" parent="SubViewport"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.405028, 0)
environment = SubResource("Environment_01c1r")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="SubViewport"]
transform = Transform3D(0.810471, -0.450933, 0.373893, 0, 0.638284, 0.769801, -0.585778, -0.623901, 0.517311, 0, 0, 0)
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 651.0
grow_vertical = 2
texture = SubResource("ViewportTexture_nwbi4")
stretch_mode = 4
[node name="Label" type="Label" parent="."]
anchors_preset = -1
anchor_left = 0.598
anchor_top = 0.039
anchor_right = 0.987
anchor_bottom = 0.236
offset_left = 0.103943
offset_top = -0.272001
offset_right = -0.0240479
offset_bottom = 0.071991
text = "ЗАЛУПА БЕХОЛДЕРА
ОФФЛАЙН"
label_settings = SubResource("LabelSettings_4j670")
horizontal_alignment = 1
vertical_alignment = 1
uppercase = true
[node name="Grayons" type="Sprite2D" parent="."]
position = Vector2(735, 248)
scale = Vector2(0.215054, 0.184039)
texture = ExtResource("3_7asrf")
[node name="Grayons2" type="Sprite2D" parent="."]
position = Vector2(957, 270)
scale = Vector2(0.12724, 0.210912)
texture = ExtResource("3_7asrf")
[node name="Grayons3" type="Sprite2D" parent="."]
position = Vector2(735, 451)
scale = Vector2(0.260753, 0.188518)
texture = ExtResource("3_7asrf")
[node name="Grayons4" type="Sprite2D" parent="."]
position = Vector2(999, 466)
scale = Vector2(0.291667, 0.252239)
texture = ExtResource("3_7asrf")
[node name="Log" type="TextEdit" parent="."]
anchors_preset = -1
anchor_top = 0.881
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 650.0
offset_top = -19.888
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 3
size_flags_vertical = 10
text = "Партия поспала, посрала и пожрала. Не обязательно в данном порядке.
Вы услышали шорох."
editable = false
wrap_mode = 1