generated from 201flaviosilva-labs/Godot-Repository-Template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e548f5d
commit c69a3ad
Showing
4 changed files
with
111 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,88 @@ | ||
[gd_scene load_steps=4 format=2] | ||
[gd_scene load_steps=13 format=2] | ||
|
||
[ext_resource path="res://Game3D/Player/Player.tscn" type="PackedScene" id=1] | ||
[ext_resource path="res://UI/Pause.tscn" type="PackedScene" id=2] | ||
[ext_resource path="res://Game3D/Game3D.gd" type="Script" id=3] | ||
|
||
[sub_resource type="CubeMesh" id=1] | ||
size = Vector3( 2, 2, 50 ) | ||
|
||
[sub_resource type="SpatialMaterial" id=5] | ||
albedo_color = Color( 0, 0.14902, 1, 1 ) | ||
|
||
[sub_resource type="ConcavePolygonShape" id=2] | ||
data = PoolVector3Array( -1, 1, 25, 1, 1, 25, -1, -1, 25, 1, 1, 25, 1, -1, 25, -1, -1, 25, 1, 1, -25, -1, 1, -25, 1, -1, -25, -1, 1, -25, -1, -1, -25, 1, -1, -25, 1, 1, 25, 1, 1, -25, 1, -1, 25, 1, 1, -25, 1, -1, -25, 1, -1, 25, -1, 1, -25, -1, 1, 25, -1, -1, -25, -1, 1, 25, -1, -1, 25, -1, -1, -25, 1, 1, 25, -1, 1, 25, 1, 1, -25, -1, 1, 25, -1, 1, -25, 1, 1, -25, -1, -1, 25, 1, -1, 25, -1, -1, -25, 1, -1, 25, 1, -1, -25, -1, -1, -25 ) | ||
|
||
[sub_resource type="SpatialMaterial" id=6] | ||
albedo_color = Color( 1, 0, 0, 1 ) | ||
|
||
[sub_resource type="SpatialMaterial" id=7] | ||
albedo_color = Color( 0, 1, 0.243137, 1 ) | ||
|
||
[sub_resource type="CubeMesh" id=3] | ||
material = SubResource( 7 ) | ||
size = Vector3( 100, 2, 2 ) | ||
|
||
[sub_resource type="ConcavePolygonShape" id=4] | ||
data = PoolVector3Array( -50, 1, 1, 50, 1, 1, -50, -1, 1, 50, 1, 1, 50, -1, 1, -50, -1, 1, 50, 1, -1, -50, 1, -1, 50, -1, -1, -50, 1, -1, -50, -1, -1, 50, -1, -1, 50, 1, 1, 50, 1, -1, 50, -1, 1, 50, 1, -1, 50, -1, -1, 50, -1, 1, -50, 1, -1, -50, 1, 1, -50, -1, -1, -50, 1, 1, -50, -1, 1, -50, -1, -1, 50, 1, 1, -50, 1, 1, 50, 1, -1, -50, 1, 1, -50, 1, -1, 50, 1, -1, -50, -1, 1, 50, -1, 1, -50, -1, -1, 50, -1, 1, 50, -1, -1, -50, -1, -1 ) | ||
|
||
[sub_resource type="CubeMesh" id=8] | ||
size = Vector3( 100, 2, 2 ) | ||
|
||
[sub_resource type="ConcavePolygonShape" id=9] | ||
data = PoolVector3Array( -50, 1, 1, 50, 1, 1, -50, -1, 1, 50, 1, 1, 50, -1, 1, -50, -1, 1, 50, 1, -1, -50, 1, -1, 50, -1, -1, -50, 1, -1, -50, -1, -1, 50, -1, -1, 50, 1, 1, 50, 1, -1, 50, -1, 1, 50, 1, -1, 50, -1, -1, 50, -1, 1, -50, 1, -1, -50, 1, 1, -50, -1, -1, -50, 1, 1, -50, -1, 1, -50, -1, -1, 50, 1, 1, -50, 1, 1, 50, 1, -1, -50, 1, 1, -50, 1, -1, 50, 1, -1, -50, -1, 1, 50, -1, 1, -50, -1, -1, 50, -1, 1, 50, -1, -1, -50, -1, -1 ) | ||
|
||
[node name="Game3D" type="Spatial"] | ||
pause_mode = 2 | ||
script = ExtResource( 3 ) | ||
|
||
[node name="Camera" type="Camera" parent="."] | ||
transform = Transform( 1, 0, 0, 0, 0.724268, 0.689518, 0, -0.689518, 0.724268, 0, 37.5787, 45.8828 ) | ||
|
||
[node name="Pause" parent="." instance=ExtResource( 2 )] | ||
|
||
[node name="Camera" type="Camera" parent="."] | ||
transform = Transform( 1, 0, 0, 0, 0.642788, 0.766044, 0, -0.766044, 0.642788, 0, 30, 15 ) | ||
far = 150.0 | ||
|
||
[node name="Player" parent="." instance=ExtResource( 1 )] | ||
|
||
[node name="Camera Target" type="Position3D" parent="Player"] | ||
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 6.5, 7 ) | ||
|
||
[node name="Walls" type="Spatial" parent="."] | ||
|
||
[node name="Left" type="Area" parent="Walls"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, 0 ) | ||
|
||
[node name="MeshInstance" type="MeshInstance" parent="Walls/Left"] | ||
mesh = SubResource( 1 ) | ||
material/0 = SubResource( 5 ) | ||
|
||
[node name="CollisionShape" type="CollisionShape" parent="Walls/Left"] | ||
shape = SubResource( 2 ) | ||
|
||
[node name="Right" type="Area" parent="Walls"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 50, 0, 0 ) | ||
|
||
[node name="MeshInstance" type="MeshInstance" parent="Walls/Right"] | ||
mesh = SubResource( 1 ) | ||
material/0 = SubResource( 6 ) | ||
|
||
[node name="CollisionShape" type="CollisionShape" parent="Walls/Right"] | ||
shape = SubResource( 2 ) | ||
|
||
[node name="Top" type="Area" parent="Walls"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -25 ) | ||
|
||
[node name="MeshInstance" type="MeshInstance" parent="Walls/Top"] | ||
mesh = SubResource( 3 ) | ||
|
||
[node name="CollisionShape" type="CollisionShape" parent="Walls/Top"] | ||
shape = SubResource( 4 ) | ||
|
||
[node name="Area" type="Area" parent="Walls"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 25 ) | ||
|
||
[node name="MeshInstance" type="MeshInstance" parent="Walls/Area"] | ||
mesh = SubResource( 8 ) | ||
|
||
[node name="CollisionShape" type="CollisionShape" parent="Walls/Area"] | ||
shape = SubResource( 9 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters