mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Game UI
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://n7w0ff7u25yc"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://n7w0ff7u25yc"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Logic/Game.gd" id="1_iox18"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqe8ucbruto1j" path="res://Nodes/StartNode.tscn" id="2_61aog"]
|
||||
[ext_resource type="PackedScene" uid="uid://byo1m0n20yl45" path="res://Nodes/cannon.tscn" id="2_vrf6k"]
|
||||
[ext_resource type="Script" path="res://scripts/Train.gd" id="2_xl0he"]
|
||||
[ext_resource type="PackedScene" uid="uid://vwjd5od63jgh" path="res://Nodes/Player.tscn" id="4_1ipcp"]
|
||||
[ext_resource type="Texture2D" uid="uid://b8rsm7uapp583" path="res://undefined - Imgur (1).png" id="6_agvbb"]
|
||||
[ext_resource type="Texture2D" uid="uid://44lfs83sax35" path="res://undefined - Imgur.png" id="7_n8t7y"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_ognqx"]
|
||||
size = Vector3(13, 1, 25)
|
||||
@@ -15,6 +17,14 @@ data = PackedVector3Array(-6.5, 0.5, 12.5, 6.5, 0.5, 12.5, -6.5, -0.5, 12.5, 6.5
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_l76gd"]
|
||||
data = PackedVector3Array(-6.5, 0.5, 12.5, 6.5, 0.5, 12.5, -6.5, -0.5, 12.5, 6.5, 0.5, 12.5, 6.5, -0.5, 12.5, -6.5, -0.5, 12.5, 6.5, 0.5, -12.5, -6.5, 0.5, -12.5, 6.5, -0.5, -12.5, -6.5, 0.5, -12.5, -6.5, -0.5, -12.5, 6.5, -0.5, -12.5, 6.5, 0.5, 12.5, 6.5, 0.5, -12.5, 6.5, -0.5, 12.5, 6.5, 0.5, -12.5, 6.5, -0.5, -12.5, 6.5, -0.5, 12.5, -6.5, 0.5, -12.5, -6.5, 0.5, 12.5, -6.5, -0.5, -12.5, -6.5, 0.5, 12.5, -6.5, -0.5, 12.5, -6.5, -0.5, -12.5, 6.5, 0.5, 12.5, -6.5, 0.5, 12.5, 6.5, 0.5, -12.5, -6.5, 0.5, 12.5, -6.5, 0.5, -12.5, 6.5, 0.5, -12.5, -6.5, -0.5, 12.5, 6.5, -0.5, 12.5, -6.5, -0.5, -12.5, 6.5, -0.5, 12.5, 6.5, -0.5, -12.5, -6.5, -0.5, -12.5)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d1e56"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_u6hdq"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_nlhhs"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_q46da"]
|
||||
|
||||
[node name="Game" type="Node"]
|
||||
script = ExtResource("1_iox18")
|
||||
|
||||
@@ -48,7 +58,6 @@ transform = Transform3D(0.999998, 0, 0, 0, 1, 0, 0, 0, 0.999998, 12, 0, 0)
|
||||
script = ExtResource("2_xl0he")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Player2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
mesh = SubResource("BoxMesh_ognqx")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Player2/MeshInstance3D"]
|
||||
@@ -81,3 +90,39 @@ anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VSlider" type="VSlider" parent="Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 13
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -39.0
|
||||
offset_top = 1.0
|
||||
offset_right = -23.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_icons/grabber_disabled = ExtResource("6_agvbb")
|
||||
theme_override_styles/slider = SubResource("StyleBoxTexture_d1e56")
|
||||
theme_override_styles/grabber_area = SubResource("StyleBoxTexture_u6hdq")
|
||||
value = 20.0
|
||||
editable = false
|
||||
scrollable = false
|
||||
|
||||
[node name="VSlider2" type="VSlider" parent="Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 13
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 32.0
|
||||
offset_right = 48.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_icons/grabber_disabled = ExtResource("7_n8t7y")
|
||||
theme_override_styles/slider = SubResource("StyleBoxTexture_nlhhs")
|
||||
theme_override_styles/grabber_area = SubResource("StyleBoxTexture_q46da")
|
||||
value = 80.0
|
||||
editable = false
|
||||
scrollable = false
|
||||
|
||||
Reference in New Issue
Block a user