Compare commits

...

3 commits

Author SHA1 Message Date
f1d89d2abf Update version to 0.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-06 12:00:59 +07:00
8fa547be1c Reduce the explosion animation time to 0.5 2023-12-06 11:57:28 +07:00
d6d1c66eb6 Update explosion animation for area damage 2023-12-06 11:56:52 +07:00
6 changed files with 31 additions and 47 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

View file

@ -2,7 +2,7 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://vpx6vs4ufycr"
uid="uid://b8fdtvgaq5bo6"
path="res://.godot/imported/explosion.png-886739e81fcc3dcfae2147b72459ccad.ctex"
metadata={
"vram_texture": false

View file

@ -26,8 +26,8 @@ architectures/armeabi-v7a=true
architectures/arm64-v8a=true
architectures/x86=false
architectures/x86_64=false
version/code=4
version/name="0.4.0"
version/code=5
version/name="0.5.0"
package/unique_name="dev.moepoi.frontierofhell"
package/name="Frontier of Hell"
package/signed=true
@ -237,8 +237,8 @@ application/modify_resources=true
application/icon="res://assets/icons/app-logo.png"
application/console_wrapper_icon=""
application/icon_interpolation=4
application/file_version="0.0.4.0"
application/product_version="0.0.4.0"
application/file_version="0.0.5.0"
application/product_version="0.0.5.0"
application/company_name="Moepoi"
application/product_name="Frontier of Hell"
application/file_description="~"

View file

@ -1,8 +1,8 @@
[gd_scene load_steps=16 format=3 uid="uid://dqa80ptcc8p70"]
[gd_scene load_steps=14 format=3 uid="uid://dqa80ptcc8p70"]
[ext_resource type="Script" path="res://scripts/bullets/bullet.gd" id="1_lacqw"]
[ext_resource type="Texture2D" uid="uid://c57taqe4k3mi2" path="res://assets/spritesheets/bullet-1.png" id="2_o8iut"]
[ext_resource type="Texture2D" uid="uid://vpx6vs4ufycr" path="res://assets/spritesheets/explosion.png" id="3_wtt2i"]
[ext_resource type="Texture2D" uid="uid://b8fdtvgaq5bo6" path="res://assets/spritesheets/explosion.png" id="3_wtt2i"]
[sub_resource type="CircleShape2D" id="CircleShape2D_3cgpo"]
radius = 6.0
@ -10,75 +10,61 @@ radius = 6.0
[sub_resource type="CircleShape2D" id="CircleShape2D_dyohr"]
radius = 88.0511
[sub_resource type="AtlasTexture" id="AtlasTexture_2161y"]
[sub_resource type="AtlasTexture" id="AtlasTexture_5sdcd"]
atlas = ExtResource("3_wtt2i")
region = Rect2(0, 0, 1500, 1125)
region = Rect2(0, 0, 1428, 2000)
[sub_resource type="AtlasTexture" id="AtlasTexture_iaa62"]
[sub_resource type="AtlasTexture" id="AtlasTexture_5uq50"]
atlas = ExtResource("3_wtt2i")
region = Rect2(1500, 0, 1500, 1125)
region = Rect2(1428, 0, 1428, 2000)
[sub_resource type="AtlasTexture" id="AtlasTexture_6haw2"]
[sub_resource type="AtlasTexture" id="AtlasTexture_8w3i0"]
atlas = ExtResource("3_wtt2i")
region = Rect2(3000, 0, 1500, 1125)
region = Rect2(2856, 0, 1428, 2000)
[sub_resource type="AtlasTexture" id="AtlasTexture_k4fug"]
[sub_resource type="AtlasTexture" id="AtlasTexture_vq42n"]
atlas = ExtResource("3_wtt2i")
region = Rect2(0, 1100, 1500, 1700)
region = Rect2(4284, 0, 1428, 2000)
[sub_resource type="AtlasTexture" id="AtlasTexture_icmj8"]
[sub_resource type="AtlasTexture" id="AtlasTexture_r0vwq"]
atlas = ExtResource("3_wtt2i")
region = Rect2(1500, 1100, 1500, 1700)
region = Rect2(5712, 0, 1428, 2000)
[sub_resource type="AtlasTexture" id="AtlasTexture_cckbs"]
[sub_resource type="AtlasTexture" id="AtlasTexture_011v7"]
atlas = ExtResource("3_wtt2i")
region = Rect2(3000, 1100, 1500, 1700)
region = Rect2(7140, 0, 1428, 2000)
[sub_resource type="AtlasTexture" id="AtlasTexture_s5xhq"]
[sub_resource type="AtlasTexture" id="AtlasTexture_viipg"]
atlas = ExtResource("3_wtt2i")
region = Rect2(0, 2700, 1500, 1500)
[sub_resource type="AtlasTexture" id="AtlasTexture_sxyjv"]
atlas = ExtResource("3_wtt2i")
region = Rect2(1500, 2700, 1500, 1500)
[sub_resource type="AtlasTexture" id="AtlasTexture_50qmh"]
atlas = ExtResource("3_wtt2i")
region = Rect2(3000, 2700, 1500, 1500)
region = Rect2(8568, 0, 1428, 2000)
[sub_resource type="SpriteFrames" id="SpriteFrames_88q0q"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2161y")
"texture": SubResource("AtlasTexture_5sdcd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iaa62")
"texture": SubResource("AtlasTexture_5uq50")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6haw2")
"texture": SubResource("AtlasTexture_8w3i0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_k4fug")
"texture": SubResource("AtlasTexture_vq42n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_icmj8")
"texture": SubResource("AtlasTexture_r0vwq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cckbs")
"texture": SubResource("AtlasTexture_011v7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s5xhq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sxyjv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_50qmh")
"texture": SubResource("AtlasTexture_viipg")
}],
"loop": true,
"name": &"default",
"speed": 12.0
"speed": 5.0
}]
[node name="bullet" type="Area2D"]
@ -103,8 +89,6 @@ shape = SubResource("CircleShape2D_dyohr")
visible = false
scale = Vector2(0.15, 0.15)
sprite_frames = SubResource("SpriteFrames_88q0q")
frame = 7
frame_progress = 0.957328
[connection signal="body_entered" from="." to="." method="_on_Bullet_body_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]

View file

@ -75,7 +75,7 @@ Supervisor :
- Darius Andana Haris, M. TI
Version : 0.4.0"
Version : 0.5.0"
autowrap_mode = 3
[node name="MarginContainer" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2"]

View file

@ -29,7 +29,7 @@ func _on_Bullet_body_entered(body):
$AnimatedSprite2D.play("default")
for enemy in enemies:
enemy.hit(damage)
await get_tree().create_timer(1).timeout
await get_tree().create_timer(0.5).timeout
elif slow_effect:
body.get_parent().hit(damage)
body.get_parent().slow()