diff options
Diffstat (limited to 'world.tscn')
-rw-r--r-- | world.tscn | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/world.tscn b/world.tscn new file mode 100644 index 0000000..b44b216 --- /dev/null +++ b/world.tscn @@ -0,0 +1,103 @@ +[gd_scene load_steps=13 format=2] + +[ext_resource path="res://scripts/movement.gd" type="Script" id=1] +[ext_resource path="res://scripts/enemies.gd" type="Script" id=2] +[ext_resource path="res://addons/voxel-core/classes/voxel_set.gd" type="Script" id=3] +[ext_resource path="res://addons/voxel-core/classes/voxel_mesh.gd" type="Script" id=4] +[ext_resource path="res://models/pointer.obj" type="ArrayMesh" id=5] +[ext_resource path="res://scenes/gui.tscn" type="PackedScene" id=6] +[ext_resource path="res://scripts/path.gd" type="Script" id=7] + +[sub_resource type="SphereShape" id=1] + +[sub_resource type="SpatialMaterial" id=6] +vertex_color_use_as_albedo = true + +[sub_resource type="ArrayMesh" id=7] +surfaces/0 = { +"aabb": AABB( 0, 0, 0, 2, 1, 2.5 ), +"array_data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 128, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 128, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 128, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 63, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 63, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 63, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 63, 255, 127, 255, 127, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 128, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 128, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 192, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 192, 63, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 128, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 192, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 128, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 192, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 192, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 192, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 192, 63, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 64, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 64, 1, 128, 0, 0, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 255, 255, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 32, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 32, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 32, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 32, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 64, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 64, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 32, 64, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 32, 64, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 32, 64, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 32, 64, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 32, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 32, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 32, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 32, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 192, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 192, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 128, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 128, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 192, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 192, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 192, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 128, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 128, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 128, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 128, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 192, 63, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 1, 128, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 128, 63, 0, 0, 192, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 192, 63, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 128, 63, 0, 0, 0, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 64, 255, 127, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 0, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 192, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 128, 63, 0, 0, 0, 64, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 128, 63, 0, 0, 192, 63, 0, 0, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 192, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 128, 63, 0, 0, 192, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 192, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 192, 63, 255, 127, 255, 127, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 192, 63, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 192, 63, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 64, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 0, 64, 1, 128, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 128, 63, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 192, 63, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 0, 64, 0, 0, 0, 0, 98, 0, 255, 255 ), +"array_index_data": PoolByteArray( 0, 0, 1, 0, 2, 0, 1, 0, 3, 0, 2, 0, 4, 0, 5, 0, 6, 0, 5, 0, 7, 0, 6, 0, 8, 0, 9, 0, 10, 0, 9, 0, 11, 0, 10, 0, 12, 0, 13, 0, 14, 0, 13, 0, 15, 0, 14, 0, 16, 0, 17, 0, 18, 0, 17, 0, 19, 0, 18, 0, 20, 0, 21, 0, 22, 0, 21, 0, 23, 0, 22, 0, 24, 0, 25, 0, 26, 0, 25, 0, 27, 0, 26, 0, 28, 0, 29, 0, 30, 0, 29, 0, 31, 0, 30, 0, 32, 0, 33, 0, 34, 0, 33, 0, 35, 0, 34, 0, 36, 0, 37, 0, 38, 0, 37, 0, 39, 0, 38, 0, 40, 0, 41, 0, 42, 0, 41, 0, 43, 0, 42, 0, 44, 0, 45, 0, 46, 0, 45, 0, 47, 0, 46, 0, 48, 0, 49, 0, 50, 0, 49, 0, 51, 0, 50, 0, 52, 0, 53, 0, 54, 0, 53, 0, 55, 0, 54, 0, 56, 0, 57, 0, 58, 0, 57, 0, 59, 0, 58, 0, 60, 0, 61, 0, 62, 0, 61, 0, 63, 0, 62, 0, 64, 0, 65, 0, 66, 0, 65, 0, 67, 0, 66, 0, 68, 0, 69, 0, 70, 0, 69, 0, 71, 0, 70, 0, 72, 0, 73, 0, 74, 0, 73, 0, 75, 0, 74, 0, 76, 0, 77, 0, 78, 0, 77, 0, 79, 0, 78, 0, 80, 0, 81, 0, 82, 0, 81, 0, 83, 0, 82, 0, 84, 0, 85, 0, 86, 0, 85, 0, 87, 0, 86, 0, 88, 0, 89, 0, 90, 0, 89, 0, 91, 0, 90, 0, 92, 0, 93, 0, 94, 0, 93, 0, 95, 0, 94, 0, 96, 0, 97, 0, 98, 0, 97, 0, 99, 0, 98, 0, 100, 0, 101, 0, 102, 0, 101, 0, 103, 0, 102, 0, 104, 0, 105, 0, 106, 0, 105, 0, 107, 0, 106, 0, 108, 0, 109, 0, 110, 0, 109, 0, 111, 0, 110, 0, 112, 0, 113, 0, 114, 0, 113, 0, 115, 0, 114, 0, 116, 0, 117, 0, 118, 0, 117, 0, 119, 0, 118, 0, 120, 0, 121, 0, 122, 0, 121, 0, 123, 0, 122, 0, 124, 0, 125, 0, 126, 0, 125, 0, 127, 0, 126, 0, 128, 0, 129, 0, 130, 0, 129, 0, 131, 0, 130, 0, 132, 0, 133, 0, 134, 0, 133, 0, 135, 0, 134, 0, 136, 0, 137, 0, 138, 0, 137, 0, 139, 0, 138, 0, 140, 0, 141, 0, 142, 0, 141, 0, 143, 0, 142, 0, 144, 0, 145, 0, 146, 0, 145, 0, 147, 0, 146, 0, 148, 0, 149, 0, 150, 0, 149, 0, 151, 0, 150, 0, 152, 0, 153, 0, 154, 0, 153, 0, 155, 0, 154, 0, 156, 0, 157, 0, 158, 0, 157, 0, 159, 0, 158, 0, 160, 0, 161, 0, 162, 0, 161, 0, 163, 0, 162, 0, 164, 0, 165, 0, 166, 0, 165, 0, 167, 0, 166, 0, 168, 0, 169, 0, 170, 0, 169, 0, 171, 0, 170, 0, 172, 0, 173, 0, 174, 0, 173, 0, 175, 0, 174, 0, 176, 0, 177, 0, 178, 0, 177, 0, 179, 0, 178, 0, 180, 0, 181, 0, 182, 0, 181, 0, 183, 0, 182, 0 ), +"blend_shape_data": [ ], +"format": 2194699, +"index_count": 276, +"material": SubResource( 6 ), +"name": "0,0.5,1,0,1,1,1,1", +"primitive": 4, +"skeleton_aabb": [ ], +"vertex_count": 184 +} + +[sub_resource type="SpatialMaterial" id=4] + +[sub_resource type="Resource" id=5] +script = ExtResource( 3 ) +tile_size = Vector2( 32, 32 ) +materials = [ SubResource( 4 ) ] +VOXELS = [ { +"color": Color( 1, 1, 1, 1 ) +}, { +"color": Color( 0.386364, 0, 1, 1 ) +}, { +"color": Color( 0.113636, 0, 1, 1 ) +} ] + +[node name="world" type="Spatial"] + +[node name="player" type="KinematicBody" parent="."] +script = ExtResource( 1 ) + +[node name="RayCast" type="RayCast" parent="player"] +cast_to = Vector3( 0, 0, -100 ) +collision_mask = 3 + +[node name="CollisionShape" type="CollisionShape" parent="player"] +shape = SubResource( 1 ) +disabled = true + +[node name="Camera" type="Camera" parent="player"] +current = true +fov = 90.9 +far = 4482.9 + +[node name="pointer" type="Spatial" parent="."] + +[node name="MeshInstance" type="MeshInstance" parent="pointer"] +mesh = ExtResource( 5 ) +material/0 = null + +[node name="world" type="MeshInstance" parent="."] +mesh = SubResource( 7 ) +material/0 = null +script = ExtResource( 4 ) +voxel_set = SubResource( 5 ) +VOXELS = { +Vector3( 0, 0, 0 ): 0, +Vector3( 0, 0, 1 ): 0, +Vector3( 0, 0, 2 ): 0, +Vector3( 1, 0, 0 ): 0, +Vector3( 1, 0, 1 ): 0, +Vector3( 2, 0, 1 ): 0, +Vector3( 2, 0, 2 ): 0, +Vector3( 2, 0, 3 ): 0, +Vector3( 2, 0, 4 ): 1, +Vector3( 2, 1, 3 ): 1, +Vector3( 3, 0, 2 ): 1, +Vector3( 3, 0, 3 ): 1 +} + +[node name="gui" parent="." instance=ExtResource( 6 )] + +[node name="turrets" type="Node" parent="."] + +[node name="enemies" type="Node" parent="."] +script = ExtResource( 2 ) + +[node name="path" type="Node" parent="."] +script = ExtResource( 7 ) + +[node name="fx" type="Node" parent="."] + +[node name="projectiles" type="Node" parent="."] + +[node name="attach" type="Node" parent="."] |