Basic infoscreen functionnality

This commit is contained in:
Victor Turgeon
2022-10-12 13:17:07 -04:00
parent 6469c6969f
commit 82932225d1
3 changed files with 58 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Materials/Dark_ProtoMat.tres" type="Material" id=1]
[ext_resource path="res://Scenes/InfoScreen.tscn" type="PackedScene" id=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=3]
[node name="Spatial" type="Spatial"]
@@ -9,7 +10,7 @@
use_collision = true
[node name="Floor" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -6 )
snap = 1.0
width = 20.0
height = 6.0
@@ -17,7 +18,7 @@ depth = 30.0
material = ExtResource( 1 )
[node name="FloorClear" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7, -6 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, -6 )
operation = 2
width = 18.0
height = 19.0
@@ -28,4 +29,7 @@ material = ExtResource( 1 )
transform = Transform( 0.707107, -0.353553, 0.612372, 0, 0.866025, 0.5, -0.707107, -0.353553, 0.612372, 7.99925, 6, 7.97141 )
[node name="Player" parent="." instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.17456, 5 )
transform = Transform( 0.258819, 0, 0.965926, 0, 1, 0, -0.965926, 0, 0.258819, -3, 4.17456, 4 )
[node name="InfoScreen" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.67344, 0 )