Skip to content

Commit 4ec5a4e

Browse files
authored
Add repel powerup sprite (#2148)
The asset animation was done using as references: - The button sprite - The repel effect found in StoryWeaver sprite Add a SpriteFrames resource for it, and use it in the powerup of the ink_combat_round_1 and unify_abilities_test levels.
1 parent 754e68e commit 4ec5a4e

6 files changed

Lines changed: 100 additions & 4 deletions

File tree

scenes/game_elements/characters/player/components/unify_abilities_test.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
[ext_resource type="PackedScene" uid="uid://dmevaymmt6wco" path="res://scenes/game_elements/props/powerup/powerup.tscn" id="17_w66m4"]
1818
[ext_resource type="PackedScene" uid="uid://b82nsrh332syj" path="res://scenes/game_elements/characters/enemies/throwing_enemy/throwing_enemy.tscn" id="18_iu48k"]
1919
[ext_resource type="SpriteFrames" uid="uid://cfgahyntmtfgu" path="res://scenes/game_elements/props/powerup/components/powerup_thread.tres" id="18_mecxj"]
20-
[ext_resource type="SpriteFrames" uid="uid://cualgrcaaggcm" path="res://scenes/game_elements/props/powerup/components/powerup_default.tres" id="18_nev3j"]
20+
[ext_resource type="SpriteFrames" uid="uid://cni7ipc5funa7" path="res://scenes/game_elements/props/powerup/components/powerup_button.tres" id="18_nev3j"]
2121
[ext_resource type="PackedScene" uid="uid://y8ha8abfyap2" path="res://scenes/game_elements/props/filling_barrel/filling_barrel.tscn" id="19_a36ca"]
2222

2323
[node name="Testeo" type="Node2D" unique_id=80760666]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:55b8c510d4c250334084d142d892b006c7b3b62d80a5057e8cdc9482676132a9
3-
size 21580
2+
oid sha256:67deb9e34bb59222696e0eef3c1db0980a9c13575e386adac67d9c707f6b202b
3+
size 24752
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://burtk2wy5wygl"
6+
path="res://.godot/imported/powerup_button.png-22604b71dfdedac8dc6397902d2f1c94.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://scenes/game_elements/props/powerup/components/powerup_button.png"
14+
dest_files=["res://.godot/imported/powerup_button.png-22604b71dfdedac8dc6397902d2f1c94.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/uastc_level=0
22+
compress/rdo_quality_loss=0.0
23+
compress/hdr_compression=1
24+
compress/normal_map=0
25+
compress/channel_pack=0
26+
mipmaps/generate=false
27+
mipmaps/limit=-1
28+
roughness/mode=0
29+
roughness/src_normal=""
30+
process/channel_remap/red=0
31+
process/channel_remap/green=1
32+
process/channel_remap/blue=2
33+
process/channel_remap/alpha=3
34+
process/fix_alpha_border=true
35+
process/premult_alpha=false
36+
process/normal_map_invert_y=false
37+
process/hdr_as_srgb=false
38+
process/hdr_clamp_exposure=false
39+
process/size_limit=0
40+
detect_3d/compress_to=1
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[gd_resource type="SpriteFrames" format=3 uid="uid://cni7ipc5funa7"]
2+
3+
[ext_resource type="Texture2D" uid="uid://burtk2wy5wygl" path="res://scenes/game_elements/props/powerup/components/powerup_button.png" id="1_ht4tu"]
4+
5+
[sub_resource type="AtlasTexture" id="AtlasTexture_0onex"]
6+
atlas = ExtResource("1_ht4tu")
7+
region = Rect2(0, 0, 128, 128)
8+
9+
[sub_resource type="AtlasTexture" id="AtlasTexture_ktd5x"]
10+
atlas = ExtResource("1_ht4tu")
11+
region = Rect2(128, 0, 128, 128)
12+
13+
[sub_resource type="AtlasTexture" id="AtlasTexture_4f466"]
14+
atlas = ExtResource("1_ht4tu")
15+
region = Rect2(256, 0, 128, 128)
16+
17+
[sub_resource type="AtlasTexture" id="AtlasTexture_htvbg"]
18+
atlas = ExtResource("1_ht4tu")
19+
region = Rect2(384, 0, 128, 128)
20+
21+
[sub_resource type="AtlasTexture" id="AtlasTexture_pnbcf"]
22+
atlas = ExtResource("1_ht4tu")
23+
region = Rect2(512, 0, 128, 128)
24+
25+
[sub_resource type="AtlasTexture" id="AtlasTexture_yja38"]
26+
atlas = ExtResource("1_ht4tu")
27+
region = Rect2(640, 0, 128, 128)
28+
29+
[resource]
30+
animations = [{
31+
"frames": [{
32+
"duration": 1.0,
33+
"texture": SubResource("AtlasTexture_0onex")
34+
}, {
35+
"duration": 1.0,
36+
"texture": SubResource("AtlasTexture_ktd5x")
37+
}, {
38+
"duration": 1.0,
39+
"texture": SubResource("AtlasTexture_4f466")
40+
}, {
41+
"duration": 1.0,
42+
"texture": SubResource("AtlasTexture_htvbg")
43+
}, {
44+
"duration": 1.0,
45+
"texture": SubResource("AtlasTexture_pnbcf")
46+
}, {
47+
"duration": 1.0,
48+
"texture": SubResource("AtlasTexture_yja38")
49+
}],
50+
"loop": true,
51+
"name": &"default",
52+
"speed": 10.0
53+
}]

scenes/quests/lore_quests/quest_001/2_ink_combat/ink_combat_round_1.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
[ext_resource type="PackedScene" uid="uid://7873qa54birk" path="res://scenes/game_elements/props/tree/tree.tscn" id="13_hlahk"]
2424
[ext_resource type="AudioStream" uid="uid://bbnj2fog3rdy8" path="res://assets/first_party/sounds/throwing_enemy/Spray.wav" id="14_7ekah"]
2525
[ext_resource type="PackedScene" uid="uid://c5jedlvvnnbi0" path="res://scenes/game_elements/props/projectile/ink_blob_projectile.tscn" id="16_k65js"]
26-
[ext_resource type="SpriteFrames" uid="uid://cualgrcaaggcm" path="res://scenes/game_elements/props/powerup/components/powerup_default.tres" id="24_iu4vq"]
26+
[ext_resource type="SpriteFrames" uid="uid://cni7ipc5funa7" path="res://scenes/game_elements/props/powerup/components/powerup_button.tres" id="24_iu4vq"]
2727
[ext_resource type="PackedScene" uid="uid://dmevaymmt6wco" path="res://scenes/game_elements/props/powerup/powerup.tscn" id="26_a4lwd"]
2828

2929
[sub_resource type="Animation" id="Animation_nlryc"]

0 commit comments

Comments
 (0)