forked from unfa/liblast
Moved debug label into Player scene
This commit is contained in:
parent
932ea33b0c
commit
88d94918c4
4 changed files with 21 additions and 14 deletions
18
Game.tscn
18
Game.tscn
|
@ -1,23 +1,15 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Game.gd" type="Script" id=2]
|
||||
[ext_resource path="res://Level.tscn" type="PackedScene" id=3]
|
||||
|
||||
[node name="Game" type="Spatial"]
|
||||
script = ExtResource( 2 )
|
||||
is_server = false
|
||||
SERVER_IP = "172.28.166.24"
|
||||
|
||||
[node name="Level" parent="." instance=ExtResource( 3 )]
|
||||
|
||||
[node name="Debug" type="Label" parent="."]
|
||||
margin_left = 8.91335
|
||||
margin_top = 9.52806
|
||||
margin_right = 49.9134
|
||||
margin_bottom = 23.5281
|
||||
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
||||
text = "Debug"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Players" type="Spatial" parent="."]
|
||||
[node name="Player" parent="." instance=ExtResource( 1 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 12.7215, 13.0596, -0.85251 )
|
||||
|
|
|
@ -75,3 +75,9 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 9, -5 )
|
|||
operation = 2
|
||||
width = 12.0
|
||||
depth = 12.0
|
||||
|
||||
[node name="CSGBox9" type="CSGBox" parent="CSGCombiner"]
|
||||
transform = Transform( 0.965926, -0.258819, 0, 0.258819, 0.965926, 0, 0, 0, 1, 16.4633, 6.96057, -15.5364 )
|
||||
width = 19.8983
|
||||
height = 1.04801
|
||||
depth = 3.06491
|
||||
|
|
|
@ -12,7 +12,7 @@ const WALK_DECEL = 0.1
|
|||
const MOUSE_SENSITIVITY = 1.0 / 300
|
||||
|
||||
onready var camera = $Camera
|
||||
onready var debug = $"../Debug" # really bad
|
||||
onready var debug = $Debug
|
||||
|
||||
var velocity = Vector3.ZERO
|
||||
|
||||
|
|
|
@ -21,3 +21,12 @@ transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 0, 0
|
|||
visible = false
|
||||
mesh = SubResource( 2 )
|
||||
material/0 = null
|
||||
|
||||
[node name="Debug" type="Label" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 14.0
|
||||
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
||||
text = "Debug"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue