Skip to content

Commit aa5e87f

Browse files
committed
Add more card icons
1 parent a280360 commit aa5e87f

34 files changed

+35
-22
lines changed

assets/config/actor.ron

+6-7
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,18 @@
1919
movement: Movement(
2020
speed: 80.0,
2121
),
22+
// TODO: Does this still work or does it get overwritten?
2223
attack: Attack(
2324
power: 2,
2425
force: 4,
2526
color: Srgba(Srgba(red: 0.855, green: 0.576, blue: 0.800, alpha: 1.000)),
26-
// TODO: For testing purposes. This should actually be None.
27-
projectile: Some("quarter_note"),
2827
),
2928
health: Health(
3029
max: 100,
3130
current: 100,
3231
),
3332
deck: Deck(
34-
cards: ["step", "double_beat"],
33+
cards: ["step", "pair"],
3534
),
3635
),
3736
},
@@ -57,7 +56,7 @@
5756
color: Srgba(Srgba(red: 0.929, green: 0.557, blue: 0.576, alpha: 1.000)),
5857
),
5958
deck: Deck(
60-
cards: ["step", "step", "double_beat"],
59+
cards: ["step", "step", "pair"],
6160
),
6261
),
6362

@@ -81,7 +80,7 @@
8180
color: Srgba(Srgba(red: 0.855, green: 0.576, blue: 0.800, alpha: 1.000)),
8281
),
8382
deck: Deck(
84-
cards: ["step", "double_beat", "double_beat"],
83+
cards: ["step", "pair", "pair"],
8584
),
8685
),
8786

@@ -105,7 +104,7 @@
105104
color: Srgba(Srgba(red: 0.557, green: 0.722, blue: 0.518, alpha: 1.000)),
106105
),
107106
deck: Deck(
108-
cards: ["double_beat"],
107+
cards: ["pair"],
109108
),
110109
),
111110

@@ -129,7 +128,7 @@
129128
color: Srgba(Srgba(red: 0.424, green: 0.694, blue: 0.725, alpha: 1.000)),
130129
),
131130
deck: Deck(
132-
cards: ["step", "double_beat"],
131+
cards: ["step", "pair"],
133132
),
134133
),
135134

assets/config/card.ron

+29-15
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@
66
// Cards:
77
card_height: Vw(9.0),
88
card_background_map: {
9-
"yellow": CardBackground (
10-
texture: "image/card/yellow_card.png",
9+
"blue": CardBackground (
10+
texture: "image/card/background/blue.png",
1111
texture_atlas_grid: TextureAtlasGrid(
1212
tile_size: UVec2(16, 16),
1313
columns: 2,
1414
rows: 1,
1515
),
1616
),
17-
"green": CardBackground (
18-
texture: "image/card/green_card.png",
17+
"pink": CardBackground (
18+
texture: "image/card/background/pink.png",
1919
texture_atlas_grid: TextureAtlasGrid(
2020
tile_size: UVec2(16, 16),
2121
columns: 2,
2222
rows: 1,
2323
),
2424
),
25-
"blue": CardBackground (
26-
texture: "image/card/blue_card.png",
25+
"green": CardBackground (
26+
texture: "image/card/background/green.png",
2727
texture_atlas_grid: TextureAtlasGrid(
2828
tile_size: UVec2(16, 16),
2929
columns: 2,
3030
rows: 1,
3131
),
3232
),
33-
"pink": CardBackground (
34-
texture: "image/card/pink_card.png",
33+
"yellow": CardBackground (
34+
texture: "image/card/background/yellow.png",
3535
texture_atlas_grid: TextureAtlasGrid(
3636
tile_size: UVec2(16, 16),
3737
columns: 2,
@@ -40,10 +40,24 @@
4040
),
4141
},
4242
card_icon_map: {
43-
"step": CardIcon(texture: "image/card/step.png"),
44-
"double_beat": CardIcon(texture: "image/card/double_beat.png"),
45-
"major_chord": CardIcon(texture: "image/card/major_chord.png"),
46-
"splits": CardIcon(texture: "image/card/splits.png"),
43+
// TODO: Long-duration notes are stronger versions of short-duration notes (more damage and knockback, maybe less speed).
44+
"eighth_note": CardIcon(texture: "image/card/icon/eighth_note.png"),
45+
//"quarter_note": CardIcon(texture: "image/card/icon/quarter_note.png"),
46+
//"half_note": CardIcon(texture: "image/card/icon/half_note.png"),
47+
//"whole_note": CardIcon(texture: "image/card/icon/whole_note.png"),
48+
"pair": CardIcon(texture: "image/card/icon/pair.png"),
49+
"major_chord": CardIcon(texture: "image/card/icon/major_chord.png"),
50+
"cluster_chord": CardIcon(texture: "image/card/icon/cluster_chord.png"),
51+
"rest": CardIcon(texture: "image/card/icon/rest.png"),
52+
"sharp_flat": CardIcon(texture: "image/card/icon/sharp_flat.png"),
53+
"natural": CardIcon(texture: "image/card/icon/natural.png"),
54+
"fermata": CardIcon(texture: "image/card/icon/fermata.png"),
55+
"bass_clef": CardIcon(texture: "image/card/icon/bass_clef.png"),
56+
57+
"step": CardIcon(texture: "image/card/icon/step.png"),
58+
"splits": CardIcon(texture: "image/card/icon/splits.png"),
59+
"ballet": CardIcon(texture: "image/card/icon/ballet.png"),
60+
"moonwalk": CardIcon(texture: "image/card/icon/moonwalk.png"),
4761
},
4862
card_map: {
4963
"step": Card(
@@ -71,11 +85,11 @@
7185
remove_on_beat: 16,
7286
),
7387
),
74-
"double_beat": Card(
75-
name: "Double Beat",
88+
"pair": Card(
89+
name: "Pair",
7690
description: "Two beats, rapid fire!",
7791
background: "pink",
78-
icon: "double_beat",
92+
icon: "pair",
7993

8094
action: DoubleBeat,
8195
action_config: CardActionConfig(
789 Bytes
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/image/card/blue_card.aseprite

-417 Bytes
Binary file not shown.
-382 Bytes
Binary file not shown.

assets/image/card/green_card.aseprite

-423 Bytes
Binary file not shown.

assets/image/card/icon/ballet.png

156 Bytes
Loading

assets/image/card/icon/bass_clef.png

167 Bytes
Loading

assets/image/card/icon/cartwheel.png

151 Bytes
Loading
149 Bytes
Loading
File renamed without changes.
135 Bytes
Loading

assets/image/card/icon/fermata.png

130 Bytes
Loading

assets/image/card/icon/icons.aseprite

2.36 KB
Binary file not shown.
File renamed without changes.

assets/image/card/icon/moonwalk.png

152 Bytes
Loading

assets/image/card/icon/natural.png

159 Bytes
Loading

assets/image/card/icon/pair.png

158 Bytes
Loading

assets/image/card/icon/rest.png

134 Bytes
Loading

assets/image/card/icon/sharp_flat.png

164 Bytes
Loading

assets/image/card/icon/splits.png

138 Bytes
Loading

assets/image/card/icon/step.png

147 Bytes
Loading
-360 Bytes
Binary file not shown.

assets/image/card/pink_card.aseprite

-423 Bytes
Binary file not shown.

assets/image/card/splits.aseprite

-381 Bytes
Binary file not shown.

assets/image/card/splits.png

-146 Bytes
Binary file not shown.

assets/image/card/step.aseprite

-379 Bytes
Binary file not shown.

assets/image/card/step.png

-149 Bytes
Binary file not shown.
-411 Bytes
Binary file not shown.

assets/mockup/pyrious.aseprite

777 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)