ggj2020

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

commit cc249bcb23b0670ed2c19c1987c612d05dafb851
parent eb635d08ff91d7c138c4a7614dc6a310f987155c
Author: Christopher Ray Langford <chris@hellocld.com>
Date:   Sat,  1 Feb 2020 17:20:25 -0500

Converted test cube into it's own scene. Added/tested Win exports

Diffstat:
AItems/TestGrabbable.tscn | 21+++++++++++++++++++++
MSpatial.tscn | 44+++++++++++++++++---------------------------
Mexport_presets.cfg | 42++++++++++++++++++++++++++++++++++++++++++
3 files changed, 80 insertions(+), 27 deletions(-)

diff --git a/Items/TestGrabbable.tscn b/Items/TestGrabbable.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Grabbable.gd" type="Script" id=1] + +[sub_resource type="BoxShape" id=1] +extents = Vector3( 0.25, 0.25, 0.25 ) + +[sub_resource type="CubeMesh" id=2] +size = Vector3( 0.5, 0.5, 0.5 ) + +[node name="Grabbable" type="RigidBody"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.88499, 8.72828 ) +mass = 2.0 +script = ExtResource( 1 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +shape = SubResource( 1 ) + +[node name="Cone" type="MeshInstance" parent="."] +mesh = SubResource( 2 ) +material/0 = null diff --git a/Spatial.tscn b/Spatial.tscn @@ -1,37 +1,32 @@ -[gd_scene load_steps=11 format=2] +[gd_scene load_steps=10 format=2] [ext_resource path="res://Spatial.gd" type="Script" id=1] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Grabbable.gd" type="Script" id=3] +[ext_resource path="res://shattered_dreams.ogg" type="AudioStream" id=3] +[ext_resource path="res://Items/TestGrabbable.tscn" type="PackedScene" id=4] [sub_resource type="PlaneMesh" id=1] size = Vector2( 100, 100 ) -[sub_resource type="OpenSimplexNoise" id=7] +[sub_resource type="OpenSimplexNoise" id=2] persistence = 1.0 lacunarity = 3.0 -[sub_resource type="NoiseTexture" id=8] +[sub_resource type="NoiseTexture" id=3] seamless = true as_normalmap = true bump_strength = 12.0 -noise = SubResource( 7 ) +noise = SubResource( 2 ) -[sub_resource type="SpatialMaterial" id=2] +[sub_resource type="SpatialMaterial" id=4] albedo_color = Color( 0.247059, 0.705882, 0.352941, 1 ) normal_enabled = true normal_scale = 1.0 -normal_texture = SubResource( 8 ) +normal_texture = SubResource( 3 ) -[sub_resource type="ConcavePolygonShape" id=9] +[sub_resource type="ConcavePolygonShape" id=5] data = PoolVector3Array( 50, 0, 50, -50, 0, 50, 50, 0, -50, -50, 0, 50, -50, 0, -50, 50, 0, -50 ) -[sub_resource type="BoxShape" id=10] -extents = Vector3( 0.25, 0.25, 0.25 ) - -[sub_resource type="CubeMesh" id=11] -size = Vector3( 0.5, 0.5, 0.5 ) - [node name="Spatial" type="Spatial"] script = ExtResource( 1 ) @@ -39,25 +34,20 @@ script = ExtResource( 1 ) [node name="Floor" type="MeshInstance" parent="."] mesh = SubResource( 1 ) -material/0 = SubResource( 2 ) +material/0 = SubResource( 4 ) [node name="StaticBody" type="StaticBody" parent="Floor"] [node name="CollisionShape" type="CollisionShape" parent="Floor/StaticBody"] -shape = SubResource( 9 ) - -[node name="Grabbable" type="RigidBody" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.88499, 8.72828 ) -mass = 2.0 -script = ExtResource( 3 ) +shape = SubResource( 5 ) -[node name="CollisionShape" type="CollisionShape" parent="Grabbable"] -shape = SubResource( 10 ) - -[node name="Cone" type="MeshInstance" parent="Grabbable"] -mesh = SubResource( 11 ) -material/0 = null +[node name="Grabbable" parent="." instance=ExtResource( 4 )] [node name="DirectionalLight" type="DirectionalLight" parent="."] transform = Transform( 0.472826, -0.280103, 0.835451, -0.320795, 0.828346, 0.459275, -0.820686, -0.485166, 0.301808, 0, 0, 0 ) shadow_enabled = true + +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 3 ) +volume_db = -17.165 +autoplay = true diff --git a/export_presets.cfg b/export_presets.cfg @@ -23,3 +23,45 @@ binary_format/64_bits=true binary_format/embed_pck=false custom_template/release="" custom_template/debug="" + +[preset.1] + +name="Windows Desktop" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="bin/Win_x64/ggj20.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.1.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +codesign/enable=false +codesign/identity="" +codesign/password="" +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PoolStringArray( ) +application/icon="" +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks=""