source: Studio/Player.tscn@ 0249beb

sandbox
Last change on this file since 0249beb was f7b09c8, checked in by Kevin Chapman <victory2b@…>, 4 years ago

First Draft of world test with working movement and loading screen.

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[f7b09c8]1[gd_scene load_steps=7 format=2]
2
3[ext_resource path="res://Player.gd" type="Script" id=1]
4[ext_resource path="res://Testures/Crosshair/Crosshair.png" type="Texture" id=2]
5[ext_resource path="res://Testures/Interface/Man.png" type="Texture" id=3]
6
7[sub_resource type="CapsuleMesh" id=1]
8mid_height = 3.0
9
10[sub_resource type="CapsuleShape" id=2]
11height = 3.0
12
13[sub_resource type="CylinderShape" id=3]
14
15[node name="Player" type="KinematicBody"]
16transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.25497, 0 )
17script = ExtResource( 1 )
18
19[node name="BodyMesh" type="MeshInstance" parent="."]
20transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
21mesh = SubResource( 1 )
22material/0 = null
23
24[node name="BodyCollison" type="CollisionShape" parent="."]
25transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
26shape = SubResource( 2 )
27
28[node name="Foot" type="CollisionShape" parent="."]
29transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.5, 0 )
30shape = SubResource( 3 )
31
32[node name="Head" type="Spatial" parent="."]
33transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
34
35[node name="Camera" type="Camera" parent="Head"]
36
37[node name="GroundCheck" type="RayCast" parent="."]
38transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 )
39enabled = true
40cast_to = Vector3( 0, -1.5, 0 )
41
42[node name="HUD" type="Control" parent="."]
43anchor_right = 1.0
44anchor_bottom = 1.0
45margin_right = 4.0
46__meta__ = {
47"_edit_use_anchors_": false
48}
49
50[node name="Crosshair" type="Control" parent="HUD"]
51anchor_left = 0.5
52anchor_top = 0.5
53anchor_right = 0.5
54anchor_bottom = 0.5
55margin_left = -21.0
56margin_top = -21.0
57margin_right = 21.0
58margin_bottom = 21.0
59__meta__ = {
60"_edit_use_anchors_": false
61}
62
63[node name="Crosshair_Image" type="TextureRect" parent="HUD/Crosshair"]
64anchor_right = 0.5
65anchor_bottom = 0.5
66margin_right = 40.0
67margin_bottom = 40.0
68texture = ExtResource( 2 )
69
70[node name="Control" type="Control" parent="HUD"]
71anchor_top = 1.0
72anchor_right = 0.5
73anchor_bottom = 1.0
74margin_left = -0.28
75margin_top = 542.0
76margin_right = -913.0
77margin_bottom = -5398.0
78
79[node name="TextureRect" type="TextureRect" parent="HUD/Control"]
80anchor_right = 0.5
81anchor_bottom = 0.5
82margin_left = 5.89191
83margin_top = -733.919
84margin_right = 107.892
85margin_bottom = -546.919
86texture = ExtResource( 3 )
87__meta__ = {
88"_edit_use_anchors_": false
89}
Note: See TracBrowser for help on using the repository browser.