ggj2020

My game project for Global Game Jam 2020!
git clone git://git.hellocld.com/ggj2020
Log | Files | Refs

commit 2ad50a2af34dc95e91e82eb9300e223e92a504c2
parent ffbc50b9482c8a3aed8efd6220a544d66bc47f76
Author: Christopher Ray Langford <chris@hellocld.com>
Date:   Sun,  2 Feb 2020 13:06:28 -0500

Made a spoopy scene

Diffstat:
A.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.etc.stex | 0
A.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.md5 | 3+++
A.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.s3tc.stex | 0
A.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.stex | 0
A.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.etc.stex | 0
A.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.md5 | 3+++
A.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.s3tc.stex | 0
A.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.stex | 0
MWorlds/CSG_Testing/CSG VR Test.tscn | 162+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
AWorlds/CSG_Testing/Concrete.png | 0
AWorlds/CSG_Testing/Concrete.png.import | 34++++++++++++++++++++++++++++++++++
AWorlds/CSG_Testing/Concrete.tres | 8++++++++
AWorlds/CSG_Testing/Lamp.tscn | 27+++++++++++++++++++++++++++
AWorlds/CSG_Testing/TestTile02.png | 0
AWorlds/CSG_Testing/TestTile02.png.import | 34++++++++++++++++++++++++++++++++++
AWorlds/CSG_Testing/TestingMat01.tres | 8++++++++
AWorlds/CSG_Testing/TestingMat02.tres | 8++++++++
Mdefault_env.tres | 11++++++++++-
18 files changed, 282 insertions(+), 16 deletions(-)

diff --git a/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.etc.stex b/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.etc.stex Binary files differ. diff --git a/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.md5 b/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.md5 @@ -0,0 +1,3 @@ +source_md5="809bae02ed802cde6dc43fea8583383b" +dest_md5="41bf4edb28bbeee4fd0043fedec9d364" + diff --git a/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.s3tc.stex b/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.s3tc.stex Binary files differ. diff --git a/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.stex b/.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.stex Binary files differ. diff --git a/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.etc.stex b/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.etc.stex Binary files differ. diff --git a/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.md5 b/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.md5 @@ -0,0 +1,3 @@ +source_md5="c2e84cdb766e9258a95ea0430f22b16a" +dest_md5="1147b43fe120bb332ebce5e3c005772d" + diff --git a/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.s3tc.stex b/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.s3tc.stex Binary files differ. diff --git a/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.stex b/.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.stex Binary files differ. diff --git a/Worlds/CSG_Testing/CSG VR Test.tscn b/Worlds/CSG_Testing/CSG VR Test.tscn @@ -1,22 +1,154 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=6 format=2] -[ext_resource path="res://Worlds/CSG_Testing/TestTile01.png" type="Texture" id=1] +[ext_resource path="res://Worlds/CSG_Testing/TestingMat02.tres" type="Material" id=1] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2] - -[sub_resource type="SpatialMaterial" id=1] -flags_world_triplanar = true -albedo_texture = ExtResource( 1 ) -uv1_triplanar = true +[ext_resource path="res://Worlds/CSG_Testing/TestingMat01.tres" type="Material" id=3] +[ext_resource path="res://Worlds/CSG_Testing/Concrete.tres" type="Material" id=4] +[ext_resource path="res://Worlds/CSG_Testing/Lamp.tscn" type="PackedScene" id=5] [node name="CSG VR Test" type="Spatial"] -[node name="Room" type="CSGBox" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 ) -use_collision = true -invert_faces = true -width = 14.0 +[node name="Player" parent="." instance=ExtResource( 2 )] + +[node name="OmniLight" type="OmniLight" parent="Player"] +light_energy = 0.5 +omni_range = 15.0 +omni_attenuation = 1.41421 + +[node name="Yard" type="CSGBox" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, -6 ) +width = 80.0 +depth = 112.0 +material = ExtResource( 3 ) + +[node name="Building" type="CSGCombiner" parent="."] + +[node name="Exterior" type="CSGBox" parent="Building"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8, -24 ) +width = 36.0 +height = 16.0 +depth = 26.0 +material = ExtResource( 1 ) + +[node name="Interior" type="CSGBox" parent="Building/Exterior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 ) +operation = 2 +width = 34.0 +height = 18.0 +depth = 22.0 +material = ExtResource( 1 ) + +[node name="Doorway" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 12 ) +width = 4.0 +height = 12.0 +depth = 4.0 +material = ExtResource( 1 ) + +[node name="Skywindow" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0 ) +width = 20.0 height = 4.0 -depth = 16.0 -material = SubResource( 1 ) +depth = 12.0 +material = ExtResource( 1 ) -[node name="Player" parent="." instance=ExtResource( 2 )] +[node name="Window" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 1, -12 ) +height = 8.0 +depth = 4.0 +material = ExtResource( 1 ) + +[node name="Window2" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 1, -12 ) +height = 8.0 +depth = 4.0 +material = ExtResource( 1 ) + +[node name="Window3" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 1, -12 ) +height = 8.0 +depth = 4.0 +material = ExtResource( 1 ) + +[node name="Window4" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -12 ) +height = 8.0 +depth = 4.0 +material = ExtResource( 1 ) + +[node name="Window5" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 1, -12 ) +height = 8.0 +depth = 4.0 +material = ExtResource( 1 ) + +[node name="Window6" type="CSGBox" parent="Building/Exterior/Interior"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 1, -12 ) +height = 8.0 +depth = 4.0 +material = ExtResource( 1 ) + +[node name="Sculpt" type="CSGCombiner" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -26 ) + +[node name="CSGPolygon" type="CSGPolygon" parent="Sculpt"] +polygon = PoolVector2Array( 0, 0, 0, 1, 3, 1, 4, 0 ) +mode = 1 +spin_degrees = 360.0 +spin_sides = 8 +material = ExtResource( 1 ) + +[node name="CSGCylinder2" type="CSGCylinder" parent="Sculpt/CSGPolygon"] +transform = Transform( 0.502653, -0.864474, -0.00490272, -0.864487, -0.502655, -0.000878814, -0.00170465, 0.00468008, -0.999988, 1.27144, 4.37984, 0 ) +radius = 0.577079 +height = 2.69725 +cone = true +material = ExtResource( 4 ) + +[node name="CSGCylinder3" type="CSGCylinder" parent="Sculpt/CSGPolygon"] +transform = Transform( -0.502653, 0.864474, 0.00490281, -0.864487, -0.502655, -0.000878814, 0.00170469, -0.00468016, 0.999988, -1.271, 4.38, 0 ) +radius = 0.577079 +height = 2.69725 +cone = true +material = ExtResource( 4 ) + +[node name="CSGCylinder" type="CSGCylinder" parent="Sculpt/CSGPolygon"] +transform = Transform( 1, 0, 0, 0, -1, 8.74228e-08, 0, -4.37114e-08, -0.5, 0, 2.16093, 0 ) +height = 4.0 +cone = true +material = ExtResource( 4 ) + +[node name="CSGSphere" type="CSGSphere" parent="Sculpt/CSGPolygon"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0 ) +radius = 0.594801 +material = ExtResource( 4 ) + +[node name="SpotLight" type="SpotLight" parent="Sculpt"] +transform = Transform( 1, 0, 0, 0, 0.298708, -0.954345, 0, 0.954345, 0.298708, 0, -0.0429983, 2.05057 ) +light_energy = 2.72 +spot_range = 10.2 +spot_angle = 27.6 + +[node name="Lamp" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 12 ) + +[node name="Lamp2" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 6 ) + +[node name="Lamp3" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0 ) + +[node name="Lamp4" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -6 ) + +[node name="Lamp8" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 12 ) + +[node name="Lamp7" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 6 ) + +[node name="Lamp6" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0 ) + +[node name="Lamp5" parent="." instance=ExtResource( 5 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -6 ) diff --git a/Worlds/CSG_Testing/Concrete.png b/Worlds/CSG_Testing/Concrete.png Binary files differ. diff --git a/Worlds/CSG_Testing/Concrete.png.import b/Worlds/CSG_Testing/Concrete.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Worlds/CSG_Testing/Concrete.png" +dest_files=[ "res://.import/Concrete.png-e351c981bba9eb6cf67437f261317e0a.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=true +flags/filter=false +flags/mipmaps=true +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Worlds/CSG_Testing/Concrete.tres b/Worlds/CSG_Testing/Concrete.tres @@ -0,0 +1,8 @@ +[gd_resource type="SpatialMaterial" load_steps=2 format=2] + +[ext_resource path="res://Worlds/CSG_Testing/Concrete.png" type="Texture" id=1] + +[resource] +flags_world_triplanar = true +albedo_texture = ExtResource( 1 ) +uv1_triplanar = true diff --git a/Worlds/CSG_Testing/Lamp.tscn b/Worlds/CSG_Testing/Lamp.tscn @@ -0,0 +1,27 @@ +[gd_scene format=2] + +[node name="Lamp" type="CSGCombiner"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10 ) + +[node name="OmniLight" type="OmniLight" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.518494, 0 ) +light_energy = 3.0 +omni_range = 2.58482 + +[node name="CSGCylinder" type="CSGCylinder" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0 ) +radius = 0.3 +height = 0.5 +smooth_faces = false + +[node name="CSGCylinder2" type="CSGCylinder" parent="CSGCylinder"] +transform = Transform( 1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 0.117015, 0 ) +operation = 2 +radius = 0.3 +height = 0.360112 +cone = true +smooth_faces = false + +[node name="CSGSphere" type="CSGSphere" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.816504, 0 ) +radius = 0.203418 diff --git a/Worlds/CSG_Testing/TestTile02.png b/Worlds/CSG_Testing/TestTile02.png Binary files differ. diff --git a/Worlds/CSG_Testing/TestTile02.png.import b/Worlds/CSG_Testing/TestTile02.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Worlds/CSG_Testing/TestTile02.png" +dest_files=[ "res://.import/TestTile02.png-a6591146fb91b3ea1579e56b6ccd7cd6.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=true +flags/filter=false +flags/mipmaps=true +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Worlds/CSG_Testing/TestingMat01.tres b/Worlds/CSG_Testing/TestingMat01.tres @@ -0,0 +1,8 @@ +[gd_resource type="SpatialMaterial" load_steps=2 format=2] + +[ext_resource path="res://Worlds/CSG_Testing/TestTile01.png" type="Texture" id=1] + +[resource] +flags_world_triplanar = true +albedo_texture = ExtResource( 1 ) +uv1_triplanar = true diff --git a/Worlds/CSG_Testing/TestingMat02.tres b/Worlds/CSG_Testing/TestingMat02.tres @@ -0,0 +1,8 @@ +[gd_resource type="SpatialMaterial" load_steps=2 format=2] + +[ext_resource path="res://Worlds/CSG_Testing/TestTile02.png" type="Texture" id=1] + +[resource] +flags_world_triplanar = true +albedo_texture = ExtResource( 1 ) +uv1_triplanar = true diff --git a/default_env.tres b/default_env.tres @@ -3,5 +3,14 @@ [sub_resource type="ProceduralSky" id=1] [resource] -background_mode = 2 +background_mode = 1 background_sky = SubResource( 1 ) +background_color = Color( 0.101961, 0.0862745, 0.12549, 1 ) +ambient_light_color = Color( 1, 1, 1, 1 ) +ambient_light_energy = 0.1 +ambient_light_sky_contribution = 0.0 +fog_enabled = true +fog_color = Color( 0.101961, 0.0862745, 0.12549, 1 ) +fog_sun_color = Color( 1, 1, 1, 1 ) +fog_depth_begin = 5.0 +fog_depth_curve = 0.392292