From f6346dd30fc5f5b0dc31336e9e133bbdecd4ebb1 Mon Sep 17 00:00:00 2001 From: Alan O'Cull Date: Wed, 3 Apr 2024 00:34:03 -0400 Subject: [PATCH] Slight tweaks and improvements --- assets/props/posters/three_d_design.png | 3 + .../props/posters/three_d_design.png.import | 20 +- icon.svg | 1 - main.tscn | 182 ++++++++++-------- scripts/explosion.gd | 3 +- ui_theme.tres | 4 + 6 files changed, 121 insertions(+), 92 deletions(-) create mode 100644 assets/props/posters/three_d_design.png rename icon.svg.import => assets/props/posters/three_d_design.png.import (52%) delete mode 100644 icon.svg diff --git a/assets/props/posters/three_d_design.png b/assets/props/posters/three_d_design.png new file mode 100644 index 0000000..e75def5 --- /dev/null +++ b/assets/props/posters/three_d_design.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd202a2ab84cf216c8d73b821d9655cb7c9e660678e86c17c99cfed9ae9a9af9 +size 426889 diff --git a/icon.svg.import b/assets/props/posters/three_d_design.png.import similarity index 52% rename from icon.svg.import rename to assets/props/posters/three_d_design.png.import index 92b312e..839866d 100644 --- a/icon.svg.import +++ b/assets/props/posters/three_d_design.png.import @@ -2,26 +2,27 @@ importer="texture" type="CompressedTexture2D" -uid="uid://d30qiv54t56cq" -path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +uid="uid://c3uikn1b2sy2u" +path.s3tc="res://.godot/imported/three_d_design.png-3f693da7e6e5db023af901c4cb9dc953.s3tc.ctex" metadata={ -"vram_texture": false +"imported_formats": ["s3tc_bptc"], +"vram_texture": true } [deps] -source_file="res://icon.svg" -dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] +source_file="res://assets/props/posters/three_d_design.png" +dest_files=["res://.godot/imported/three_d_design.png-3f693da7e6e5db023af901c4cb9dc953.s3tc.ctex"] [params] -compress/mode=0 +compress/mode=2 compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" @@ -31,7 +32,4 @@ process/normal_map_invert_y=false process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +detect_3d/compress_to=0 diff --git a/icon.svg b/icon.svg deleted file mode 100644 index b370ceb..0000000 --- a/icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/main.tscn b/main.tscn index a16e213..74f862b 100644 --- a/main.tscn +++ b/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=87 format=3 uid="uid://d2ftoqr7ydi38"] +[gd_scene load_steps=88 format=3 uid="uid://d2ftoqr7ydi38"] [ext_resource type="Script" path="res://main.gd" id="1_bcqi1"] [ext_resource type="Material" uid="uid://cgkuu3oelkm7o" path="res://assets/materials/garage_floor/mat_floor.tres" id="2_c6dsy"] @@ -54,6 +54,7 @@ [ext_resource type="PackedScene" uid="uid://d3w07g7udw5ig" path="res://assets/bezos/BALLZ.glb" id="36_w1osm"] [ext_resource type="PackedScene" uid="uid://bdccq5y56ruro" path="res://props/shelves/shelf.tscn" id="38_f3pj2"] [ext_resource type="AudioStream" uid="uid://b0x23gtshoo2c" path="res://assets/audio/oof.wav" id="40_bym4i"] +[ext_resource type="Texture2D" uid="uid://c3uikn1b2sy2u" path="res://assets/props/posters/three_d_design.png" id="43_lq48c"] [ext_resource type="Material" uid="uid://bdk2p7q54ftfv" path="res://assets/props/blake3/mat_arrow.tres" id="53_slbh8"] [sub_resource type="Gradient" id="Gradient_qqc4q"] @@ -5283,6 +5284,7 @@ fadein_time = 0.05 fadeout_time = 0.05 [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_c1xvk"] +graph_offset = Vector2(-436.818, 45.2727) nodes/Animation/node = SubResource("AnimationNodeAnimation_fnfd8") nodes/Animation/position = Vector2(-200, 140) "nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_xsp1s") @@ -5351,31 +5353,31 @@ bones/2/scale = Vector3(1.01115, 1.01115, 1.01115) bones/3/rotation = Quaternion(0.52569, 0.289474, 0.105462, 0.792927) bones/3/scale = Vector3(0.731301, 0.731302, 0.731301) bones/4/rotation = Quaternion(0.0791671, 0.591145, 0.0117835, 0.802584) -bones/5/rotation = Quaternion(-0.0912604, 0.0309506, 0.0544245, 0.993857) -bones/6/rotation = Quaternion(0.0490755, -0.0223719, -0.00966258, 0.998498) -bones/7/rotation = Quaternion(-0.00105998, 0.00670768, -0.00120126, 0.999976) -bones/8/rotation = Quaternion(0.0104679, 0.83236, 0.549135, 0.0742798) +bones/5/rotation = Quaternion(0.064732, 0.0390538, 0.0489371, 0.995937) +bones/6/rotation = Quaternion(0.148653, -0.0232256, -0.00737725, 0.988589) +bones/7/rotation = Quaternion(0.0989149, 0.0065539, -0.00186614, 0.995073) +bones/8/rotation = Quaternion(0.0288045, 0.899182, 0.429723, 0.0773259) bones/8/scale = Vector3(1, 1, 1) -bones/9/rotation = Quaternion(-0.0229002, -0.0181954, -0.003928, 0.999565) -bones/10/rotation = Quaternion(-0.225417, -0.000831856, -0.0162014, 0.974127) +bones/9/rotation = Quaternion(0.185325, -0.00979528, -0.00172842, 0.982627) +bones/10/rotation = Quaternion(-0.0180491, -0.00418089, -0.015674, 0.999706) bones/10/scale = Vector3(1, 1, 1) bones/11/rotation = Quaternion(0.00106178, 0.584364, -0.0154954, 0.811343) -bones/12/rotation = Quaternion(-0.0192736, 0.0192274, 0.0263709, 0.999281) -bones/13/rotation = Quaternion(0.0181715, -0.0369166, 0.0352487, 0.998531) +bones/12/rotation = Quaternion(0.0801393, 0.0217532, 0.0243296, 0.996249) +bones/13/rotation = Quaternion(0.081645, -0.0345996, 0.0375262, 0.995354) bones/13/scale = Vector3(1, 1, 1) -bones/14/rotation = Quaternion(-0.0284116, -0.00620675, -0.0115343, 0.999511) +bones/14/rotation = Quaternion(0.0352186, -0.00692762, -0.011116, 0.999294) bones/15/rotation = Quaternion(-0.0611887, 0.573124, -0.0421539, 0.816093) -bones/16/rotation = Quaternion(0.0268615, -0.0214114, 0.0341806, 0.998825) +bones/16/rotation = Quaternion(0.0383101, -0.0210182, 0.0344236, 0.998452) bones/16/scale = Vector3(1, 1, 1) -bones/17/rotation = Quaternion(0.0452917, -0.00538364, 0.0307525, 0.998486) +bones/17/rotation = Quaternion(0.0526036, -0.00515821, 0.0307915, 0.998127) bones/17/scale = Vector3(1, 1, 1) -bones/18/rotation = Quaternion(0.0163825, -0.029305, 0.0245309, 0.999135) +bones/18/rotation = Quaternion(0.0236998, -0.0291246, 0.0247448, 0.998988) bones/18/scale = Vector3(1, 1, 1) bones/19/rotation = Quaternion(-0.15484, 0.544614, -0.0238322, 0.823925) -bones/20/rotation = Quaternion(0.133498, -0.011435, 0.0185648, 0.990809) -bones/21/rotation = Quaternion(0.0507491, 0.000642768, -0.0269178, 0.998348) +bones/20/rotation = Quaternion(0.0676451, -0.0126384, 0.0177676, 0.997471) +bones/21/rotation = Quaternion(0.0206376, 0.00145362, -0.0268861, 0.999424) bones/21/scale = Vector3(1, 1, 1) -bones/22/rotation = Quaternion(0.0527924, -0.0140116, 0.0701538, 0.99604) +bones/22/rotation = Quaternion(0.0227498, -0.0161194, 0.0696991, 0.997178) bones/22/scale = Vector3(1, 1, 1) [node name="Main_Body" parent="world/Armondo/rig/Skeleton3D" index="0"] @@ -5478,6 +5480,13 @@ size = Vector3(3, 3, 4.5) texture_albedo = ExtResource("14_icb2l") cull_mask = 2 +[node name="Decal3" type="Decal" parent="world/env/mesh_floor2"] +transform = Transform3D(0.995265, -3.40939e-09, -0.097201, 4.19219e-09, 1, 7.8491e-09, 0.097201, -8.21944e-09, 0.995265, 6.74433, -0.0395317, 3.13905) +layers = 2 +size = Vector3(0.768, 1, 1) +texture_albedo = ExtResource("43_lq48c") +cull_mask = 2 + [node name="Decal2" type="Decal" parent="world/env/mesh_floor2"] layers = 2 size = Vector3(8, 1, 4) @@ -5690,99 +5699,99 @@ bones/28/scale = Vector3(1.00001, 0.999972, 1.00001) bones/29/rotation = Quaternion(0.137653, 0.129111, 0.0826848, 0.978542) bones/29/scale = Vector3(0.979536, 1.0413, 0.981311) bones/30/rotation = Quaternion(0.024349, 0.587802, 0.0762459, 0.805036) -bones/31/rotation = Quaternion(-0.0368222, 0.0364448, 0.0364464, 0.997992) -bones/32/rotation = Quaternion(-0.0456551, -0.0210859, 0.00158821, 0.998734) +bones/31/rotation = Quaternion(0.242057, 0.04514, 0.0248795, 0.968892) +bones/32/rotation = Quaternion(0.134875, -0.0204553, 0.00535819, 0.990637) bones/32/scale = Vector3(1, 1, 1) -bones/33/rotation = Quaternion(0.00417262, 0.00689776, -0.00797983, 0.999936) -bones/34/rotation = Quaternion(-0.188551, 0.687511, 0.457334, 0.531623) -bones/35/rotation = Quaternion(-0.00761933, -0.0157986, -0.0107989, 0.999788) -bones/36/rotation = Quaternion(-0.207599, -0.00294032, 0.0262029, 0.977859) -bones/37/rotation = Quaternion(-0.0368222, 0.0364448, 0.0364464, 0.997992) -bones/38/rotation = Quaternion(-0.0456551, -0.0210859, 0.00158821, 0.998734) +bones/33/rotation = Quaternion(0.184105, 0.0053488, -0.00909135, 0.98285) +bones/34/rotation = Quaternion(-0.0932649, 0.747185, 0.345414, 0.560095) +bones/35/rotation = Quaternion(0.234566, -0.00777299, -0.00910263, 0.972026) +bones/36/rotation = Quaternion(0.035309, 0.00349147, 0.0261364, 0.999029) +bones/37/rotation = Quaternion(0.242057, 0.04514, 0.0248795, 0.968892) +bones/38/rotation = Quaternion(0.134875, -0.0204553, 0.00535819, 0.990637) bones/38/scale = Vector3(1, 1, 1) -bones/39/rotation = Quaternion(0.00417262, 0.00689776, -0.00797983, 0.999936) -bones/40/rotation = Quaternion(-0.036822, 0.0364449, 0.0364467, 0.997992) -bones/40/scale = Vector3(1, 1.00794, 1) -bones/41/rotation = Quaternion(-0.188551, 0.687511, 0.457334, 0.531623) -bones/42/rotation = Quaternion(-0.00761933, -0.0157986, -0.0107989, 0.999788) -bones/43/rotation = Quaternion(-0.207599, -0.00294032, 0.0262029, 0.977859) -bones/44/rotation = Quaternion(-0.180078, 0.677585, 0.460736, 0.544218) -bones/44/scale = Vector3(1, 1.08017, 1) -bones/46/rotation = Quaternion(-0.0368211, 0.0364436, 0.0364467, 0.997992) +bones/39/rotation = Quaternion(0.184105, 0.0053488, -0.00909135, 0.98285) +bones/40/rotation = Quaternion(0.242057, 0.0451401, 0.024879, 0.968892) +bones/40/scale = Vector3(1, 0.892713, 1) +bones/41/rotation = Quaternion(-0.0932649, 0.747185, 0.345414, 0.560095) +bones/42/rotation = Quaternion(0.234566, -0.00777299, -0.00910263, 0.972026) +bones/43/rotation = Quaternion(0.035309, 0.00349147, 0.0261364, 0.999029) +bones/44/rotation = Quaternion(-0.0905008, 0.742685, 0.346148, 0.566048) +bones/44/scale = Vector3(1, 0.924507, 1) +bones/46/rotation = Quaternion(0.242058, 0.0451389, 0.0248794, 0.968892) bones/46/scale = Vector3(1, 1, 1) -bones/48/rotation = Quaternion(-0.0456542, -0.0210874, 0.00158867, 0.998734) +bones/48/rotation = Quaternion(0.134876, -0.0204569, 0.0053587, 0.990637) bones/48/scale = Vector3(1, 1, 1) -bones/50/rotation = Quaternion(0.00417119, 0.00689982, -0.00797894, 0.999936) +bones/50/rotation = Quaternion(0.184104, 0.00535082, -0.00909065, 0.98285) bones/50/scale = Vector3(1, 1, 1) -bones/52/rotation = Quaternion(-0.0755315, -4.93895e-08, 0.997143, 1.62907e-09) +bones/52/rotation = Quaternion(-0.0755315, -3.70286e-08, 0.997143, -2.85504e-09) bones/52/scale = Vector3(1, 1, 1) -bones/55/rotation = Quaternion(-0.0368222, 0.0364448, 0.0364464, 0.997992) -bones/56/rotation = Quaternion(-0.180077, 0.677584, 0.460737, 0.544218) -bones/58/rotation = Quaternion(-0.00781705, 0.00264917, -0.0106507, 0.999909) +bones/55/rotation = Quaternion(0.242057, 0.04514, 0.0248795, 0.968892) +bones/56/rotation = Quaternion(-0.0905002, 0.742684, 0.346148, 0.566049) +bones/58/rotation = Quaternion(0.234486, -8.09892e-06, -0.0109752, 0.972058) bones/58/scale = Vector3(1, 1, 1) -bones/60/rotation = Quaternion(-0.207599, -0.00294277, 0.0262045, 0.977858) +bones/60/rotation = Quaternion(0.0353086, 0.00348867, 0.0261374, 0.999029) bones/62/rotation = Quaternion(0.884812, 3.32611e-06, 0.465948, -1.29939e-06) -bones/65/rotation = Quaternion(-0.188551, 0.687511, 0.457334, 0.531623) +bones/65/rotation = Quaternion(-0.0932649, 0.747185, 0.345414, 0.560095) bones/66/rotation = Quaternion(-0.0150627, 0.584674, 0.0037911, 0.811119) -bones/67/rotation = Quaternion(-0.0938845, 0.0172443, 0.0273573, 0.995058) +bones/67/rotation = Quaternion(0.173028, 0.0238745, 0.0218131, 0.984386) bones/67/scale = Vector3(1, 1, 1) -bones/68/rotation = Quaternion(0.0139078, -0.0364893, 0.021996, 0.998995) +bones/68/rotation = Quaternion(0.184869, -0.0321809, 0.0279238, 0.981839) bones/68/scale = Vector3(1, 1, 1) -bones/69/rotation = Quaternion(0.0296172, -0.00485396, -0.0439236, 0.998584) -bones/70/rotation = Quaternion(-0.0938845, 0.0172443, 0.0273573, 0.995058) +bones/69/rotation = Quaternion(0.200275, -0.0123083, -0.0424413, 0.978743) +bones/70/rotation = Quaternion(0.173028, 0.0238745, 0.0218131, 0.984386) bones/70/scale = Vector3(1, 1, 1) -bones/71/rotation = Quaternion(0.0139078, -0.0364893, 0.021996, 0.998995) +bones/71/rotation = Quaternion(0.184869, -0.0321809, 0.0279238, 0.981839) bones/71/scale = Vector3(1, 1, 1) -bones/72/rotation = Quaternion(0.0296172, -0.00485396, -0.0439236, 0.998584) -bones/73/rotation = Quaternion(-0.093885, 0.0172443, 0.0273574, 0.995058) -bones/73/scale = Vector3(1, 1.01009, 1) -bones/75/rotation = Quaternion(-0.0938841, 0.0172434, 0.0273572, 0.995058) +bones/72/rotation = Quaternion(0.200275, -0.0123083, -0.0424413, 0.978743) +bones/73/rotation = Quaternion(0.173028, 0.0238745, 0.0218129, 0.984386) +bones/73/scale = Vector3(1, 0.90047, 1) +bones/75/rotation = Quaternion(0.173029, 0.0238736, 0.0218129, 0.984386) bones/75/scale = Vector3(1, 1, 1) -bones/77/rotation = Quaternion(0.0139103, -0.0364915, 0.0219964, 0.998995) +bones/77/rotation = Quaternion(0.184871, -0.032183, 0.0279235, 0.981839) bones/77/scale = Vector3(1, 1, 1) -bones/79/rotation = Quaternion(0.02962, -0.00485721, -0.0439245, 0.998584) +bones/79/rotation = Quaternion(0.200278, -0.0123113, -0.0424427, 0.978742) bones/80/rotation = Quaternion(-3.08873e-06, 3.24659e-06, 8.01869e-07, 1) -bones/81/rotation = Quaternion(0.028989, -2.44904e-09, 0.99958, -1.00893e-08) +bones/81/rotation = Quaternion(0.028989, 8.18805e-09, 0.99958, -5.23975e-09) bones/81/scale = Vector3(1, 1, 1) -bones/84/rotation = Quaternion(-0.0938845, 0.0172443, 0.0273573, 0.995058) +bones/84/rotation = Quaternion(0.173028, 0.0238745, 0.0218131, 0.984386) bones/84/scale = Vector3(1, 1, 1) bones/85/rotation = Quaternion(-0.0536367, 0.572428, -0.051421, 0.816581) bones/85/scale = Vector3(1, 1, 1) -bones/86/rotation = Quaternion(-0.0914051, -0.0253145, 0.0315204, 0.994993) -bones/87/rotation = Quaternion(0.0134918, -0.00565684, 0.0153322, 0.999775) -bones/88/rotation = Quaternion(0.0311727, -0.0266189, -0.0119666, 0.999088) -bones/89/rotation = Quaternion(-0.0914051, -0.0253145, 0.0315204, 0.994993) -bones/90/rotation = Quaternion(0.0134918, -0.00565684, 0.0153322, 0.999775) -bones/91/rotation = Quaternion(0.0311727, -0.0266189, -0.0119666, 0.999088) -bones/92/rotation = Quaternion(-0.0914051, -0.0253145, 0.0315204, 0.994993) -bones/92/scale = Vector3(1, 1.01044, 1) -bones/94/rotation = Quaternion(-0.0914048, -0.0253148, 0.0315207, 0.994993) +bones/86/rotation = Quaternion(0.13415, -0.0175976, 0.0363963, 0.990136) +bones/87/rotation = Quaternion(0.158084, -0.0033776, 0.0159898, 0.98729) +bones/88/rotation = Quaternion(0.175479, -0.0280704, -0.00798769, 0.984051) +bones/89/rotation = Quaternion(0.13415, -0.0175976, 0.0363963, 0.990136) +bones/90/rotation = Quaternion(0.158084, -0.0033776, 0.0159898, 0.98729) +bones/91/rotation = Quaternion(0.175479, -0.0280704, -0.00798769, 0.984051) +bones/92/rotation = Quaternion(0.13415, -0.0175977, 0.0363962, 0.990136) +bones/92/scale = Vector3(1, 0.917952, 1) +bones/94/rotation = Quaternion(0.134151, -0.0175979, 0.0363966, 0.990136) bones/95/rotation = Quaternion(-2.952e-07, 2.49594e-07, -2.64961e-07, 1) -bones/96/rotation = Quaternion(0.0134927, -0.0056576, 0.0153317, 0.999775) -bones/98/rotation = Quaternion(0.0311698, -0.0266159, -0.0119653, 0.999088) +bones/96/rotation = Quaternion(0.158085, -0.0033785, 0.0159892, 0.98729) +bones/98/rotation = Quaternion(0.175476, -0.0280677, -0.00798612, 0.984051) bones/98/scale = Vector3(1, 1, 1) -bones/100/rotation = Quaternion(0.135625, -7.12668e-08, 0.99076, 7.80658e-09) -bones/103/rotation = Quaternion(-0.0914051, -0.0253145, 0.0315204, 0.994993) +bones/100/rotation = Quaternion(0.135625, -8.17917e-08, 0.99076, 5.94618e-09) +bones/103/rotation = Quaternion(0.13415, -0.0175976, 0.0363963, 0.990136) bones/104/rotation = Quaternion(-0.0646238, 0.533247, -0.142714, 0.831327) bones/104/scale = Vector3(1, 1, 1) -bones/105/rotation = Quaternion(-0.142018, -0.0186741, 0.0573678, 0.988024) -bones/106/rotation = Quaternion(-0.0139695, 0.00259837, -0.0382522, 0.999167) +bones/105/rotation = Quaternion(0.0551059, -0.0070247, 0.0599204, 0.996656) +bones/106/rotation = Quaternion(0.112857, -0.00227401, -0.0382723, 0.992871) bones/106/scale = Vector3(1, 1, 1) -bones/107/rotation = Quaternion(0.049384, -0.0111722, 0.0322972, 0.998195) -bones/108/rotation = Quaternion(-0.142018, -0.0186741, 0.0573678, 0.988024) -bones/109/rotation = Quaternion(-0.0139695, 0.00259837, -0.0382522, 0.999167) +bones/107/rotation = Quaternion(0.175576, -0.00698625, 0.0334527, 0.983873) +bones/108/rotation = Quaternion(0.0551059, -0.0070247, 0.0599204, 0.996656) +bones/109/rotation = Quaternion(0.112857, -0.00227401, -0.0382723, 0.992871) bones/109/scale = Vector3(1, 1, 1) -bones/110/rotation = Quaternion(0.049384, -0.0111722, 0.0322972, 0.998195) -bones/111/rotation = Quaternion(-0.142019, -0.0186741, 0.0573678, 0.988024) -bones/111/scale = Vector3(1, 1.00991, 1) +bones/110/rotation = Quaternion(0.175576, -0.00698625, 0.0334527, 0.983873) +bones/111/rotation = Quaternion(0.0551059, -0.00702469, 0.0599202, 0.996656) +bones/111/scale = Vector3(1, 0.929485, 1) bones/112/rotation = Quaternion(2.7474e-08, 3.72529e-09, -1.86265e-09, 1) -bones/113/rotation = Quaternion(-0.142018, -0.0186745, 0.0573677, 0.988024) +bones/113/rotation = Quaternion(0.0551063, -0.00702504, 0.0599202, 0.996656) bones/113/scale = Vector3(1, 1, 1) -bones/115/rotation = Quaternion(-0.0139667, 0.00259596, -0.0382534, 0.999167) -bones/117/rotation = Quaternion(0.0493803, -0.0111693, 0.0322969, 0.998195) +bones/115/rotation = Quaternion(0.11286, -0.00227629, -0.0382738, 0.992871) +bones/117/rotation = Quaternion(0.175572, -0.00698327, 0.0334527, 0.983873) bones/118/rotation = Quaternion(3.45754e-06, -3.00538e-06, 5.0338e-07, 1) bones/119/rotation = Quaternion(0.164736, 2.91293e-07, 0.986338, 7.60808e-07) -bones/122/rotation = Quaternion(-0.142018, -0.0186741, 0.0573678, 0.988024) +bones/122/rotation = Quaternion(0.0551059, -0.0070247, 0.0599204, 0.996656) bones/123/rotation = Quaternion(-0.0646238, 0.533247, -0.142714, 0.831327) bones/123/scale = Vector3(1, 1, 1) bones/124/rotation = Quaternion(0.707107, 0, 0, 0.707107) @@ -5858,10 +5867,25 @@ anchor_right = 1.0 anchor_bottom = 0.1 offset_top = 50.0 offset_right = -50.0 +theme_override_colors/font_color = Color(0.227451, 0.678431, 0, 1) text = "$7.25/hr" horizontal_alignment = 2 vertical_alignment = 1 +[node name="points" type="Label" parent="Control"] +unique_name_in_owner = true +layout_mode = 1 +anchors_preset = -1 +anchor_right = 1.0 +anchor_bottom = 0.1 +offset_top = 95.0 +offset_right = -50.0 +theme_override_colors/font_color = Color(1, 1, 0.498039, 1) +theme_override_font_sizes/font_size = 36 +text = "0 pts" +horizontal_alignment = 2 +vertical_alignment = 1 + [node name="spacebar2" type="Label" parent="Control"] visible = false modulate = Color(0.580392, 0.580392, 0.580392, 1) diff --git a/scripts/explosion.gd b/scripts/explosion.gd index 5bb3091..51f9eb7 100644 --- a/scripts/explosion.gd +++ b/scripts/explosion.gd @@ -108,8 +108,9 @@ func _physics_process(_delta: float) -> void: var hitPos: Vector3 = rayRes.get("position") var factor: float = falloff(ray_params.from.distance_to(rayRes.get("position"))) - var bodyState = PhysicsServer3D.body_get_direct_state(rid) + var bodyState: PhysicsDirectBodyState3D = PhysicsServer3D.body_get_direct_state(rid) if is_instance_valid(bodyState): + bodyState.sleeping = false # Force objects to wake up bodyState.apply_impulse(dir * impulse, hitPos - pos) func falloff(dist: float) -> float: diff --git a/ui_theme.tres b/ui_theme.tres index b05eafb..9e8896a 100644 --- a/ui_theme.tres +++ b/ui_theme.tres @@ -5,3 +5,7 @@ [resource] default_font = ExtResource("1_4bf7c") default_font_size = 48 +Label/colors/font_shadow_color = Color(0, 0, 0, 0.807843) +Label/constants/shadow_offset_x = 2 +Label/constants/shadow_offset_y = 2 +Label/constants/shadow_outline_size = 16