diff options
author | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-01-28 12:59:06 +0200 |
---|---|---|
committer | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-01-28 13:00:10 +0200 |
commit | 5aa179deaa7cfc35b5bbc6abfba348deb0cc7017 (patch) | |
tree | 3439c6eccc415a10c4c4f7bef1fcb0538a4de9d7 /game/shared/explosion | |
parent | 40e31067f724d7a0570d622cc4d4dc0ee7233275 (diff) | |
download | gamejam-ggj-2024-5aa179deaa7cfc35b5bbc6abfba348deb0cc7017.tar.gz gamejam-ggj-2024-5aa179deaa7cfc35b5bbc6abfba348deb0cc7017.tar.bz2 gamejam-ggj-2024-5aa179deaa7cfc35b5bbc6abfba348deb0cc7017.zip |
Add timer
Diffstat (limited to 'game/shared/explosion')
-rwxr-xr-x | game/shared/explosion/exp.png | bin | 0 -> 47453 bytes | |||
-rw-r--r-- | game/shared/explosion/exp.png.import | 34 | ||||
-rw-r--r-- | game/shared/explosion/explosion.tscn | 134 | ||||
-rwxr-xr-x | game/shared/explosion/explosion.wav | bin | 0 -> 124000 bytes | |||
-rw-r--r-- | game/shared/explosion/explosion.wav.import | 24 |
5 files changed, 192 insertions, 0 deletions
diff --git a/game/shared/explosion/exp.png b/game/shared/explosion/exp.png Binary files differnew file mode 100755 index 0000000..addc212 --- /dev/null +++ b/game/shared/explosion/exp.png diff --git a/game/shared/explosion/exp.png.import b/game/shared/explosion/exp.png.import new file mode 100644 index 0000000..eff80ab --- /dev/null +++ b/game/shared/explosion/exp.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8abra05bev3b" +path="res://.godot/imported/exp.png-678be4d75d87644797d4d4328de5d75f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://game/shared/explosion/exp.png" +dest_files=["res://.godot/imported/exp.png-678be4d75d87644797d4d4328de5d75f.ctex"] + +[params] + +compress/mode=0 +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/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +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 diff --git a/game/shared/explosion/explosion.tscn b/game/shared/explosion/explosion.tscn new file mode 100644 index 0000000..4762e81 --- /dev/null +++ b/game/shared/explosion/explosion.tscn @@ -0,0 +1,134 @@ +[gd_scene load_steps=21 format=3 uid="uid://bqbngfstmish5"] + +[ext_resource type="Texture2D" uid="uid://8abra05bev3b" path="res://game/shared/explosion/exp.png" id="1_kjyh7"] +[ext_resource type="Script" path="res://game/explosion.gd" id="2_1jen5"] +[ext_resource type="AudioStream" uid="uid://dvwbn5r2l3ol7" path="res://game/shared/explosion/explosion.wav" id="3_wtj5u"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_plmyp"] +atlas = ExtResource("1_kjyh7") +region = Rect2(0, 0, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dhqph"] +atlas = ExtResource("1_kjyh7") +region = Rect2(64, 0, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_060gj"] +atlas = ExtResource("1_kjyh7") +region = Rect2(128, 0, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ottke"] +atlas = ExtResource("1_kjyh7") +region = Rect2(192, 0, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_krhkr"] +atlas = ExtResource("1_kjyh7") +region = Rect2(0, 64, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_eunpj"] +atlas = ExtResource("1_kjyh7") +region = Rect2(64, 64, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0asdp"] +atlas = ExtResource("1_kjyh7") +region = Rect2(128, 64, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_o5oir"] +atlas = ExtResource("1_kjyh7") +region = Rect2(192, 64, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_olqn8"] +atlas = ExtResource("1_kjyh7") +region = Rect2(0, 128, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nq5n7"] +atlas = ExtResource("1_kjyh7") +region = Rect2(64, 128, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gyecm"] +atlas = ExtResource("1_kjyh7") +region = Rect2(128, 128, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ua8hk"] +atlas = ExtResource("1_kjyh7") +region = Rect2(192, 128, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_p43u0"] +atlas = ExtResource("1_kjyh7") +region = Rect2(0, 192, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pyqsk"] +atlas = ExtResource("1_kjyh7") +region = Rect2(64, 192, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1nm4e"] +atlas = ExtResource("1_kjyh7") +region = Rect2(128, 192, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwd08"] +atlas = ExtResource("1_kjyh7") +region = Rect2(192, 192, 64, 64) + +[sub_resource type="SpriteFrames" id="SpriteFrames_el6y5"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_plmyp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dhqph") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_060gj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ottke") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_krhkr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_eunpj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0asdp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_o5oir") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_olqn8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nq5n7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_gyecm") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ua8hk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_p43u0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pyqsk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1nm4e") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wwd08") +}], +"loop": false, +"name": &"default", +"speed": 30.0 +}] + +[node name="Explosion" type="AnimatedSprite2D"] +visible = false +sprite_frames = SubResource("SpriteFrames_el6y5") +autoplay = "default" +script = ExtResource("2_1jen5") + +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource("3_wtj5u") diff --git a/game/shared/explosion/explosion.wav b/game/shared/explosion/explosion.wav Binary files differnew file mode 100755 index 0000000..86d8570 --- /dev/null +++ b/game/shared/explosion/explosion.wav diff --git a/game/shared/explosion/explosion.wav.import b/game/shared/explosion/explosion.wav.import new file mode 100644 index 0000000..45e8cb3 --- /dev/null +++ b/game/shared/explosion/explosion.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://dvwbn5r2l3ol7" +path="res://.godot/imported/explosion.wav-6073403ca2d95c6ce12d339dfef46831.sample" + +[deps] + +source_file="res://game/shared/explosion/explosion.wav" +dest_files=["res://.godot/imported/explosion.wav-6073403ca2d95c6ce12d339dfef46831.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 |