Skip to content

Commit dd0521d

Browse files
committed
Add yellow actor
1 parent dddf1c0 commit dd0521d

File tree

5 files changed

+34
-9
lines changed

5 files changed

+34
-9
lines changed

assets/config/actor.ron

+29-9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,28 @@
2424
},
2525

2626
enemies: {
27+
// TODO: If character select screen is implemented, uncomment this and include logic to
28+
// avoid spawning enemies that look like the player (aka same key).
29+
/*"pink": Actor(
30+
name: "Linus",
31+
32+
texture: "image/actor/pink.png",
33+
texture_atlas_grid: TextureAtlasGrid(
34+
tile_size: UVec2(9, 8),
35+
columns: 2,
36+
rows: 1,
37+
),
38+
sprite_animation: SpriteAnimation(
39+
frames: [
40+
SpriteAnimationFrame(index: 0, beats: 8),
41+
SpriteAnimationFrame(index: 1, beats: 8),
42+
],
43+
),
44+
45+
attack: Attack(color: Srgba(Srgba(red: 0.855, green: 0.576, blue: 0.800, alpha: 1.000))),
46+
deck: Deck(cards: ["step", "pair", "pair"]),
47+
),*/
48+
2749
"red": Actor(
2850
name: "Lucy",
2951

@@ -44,14 +66,12 @@
4466
deck: Deck(cards: ["step", "step", "pair"]),
4567
),
4668

47-
// TODO: If character select screen is implemented, uncomment this and include logic to
48-
// avoid spawning enemies that look like the player (aka same key).
49-
/*"pink": Actor(
50-
name: "Linus",
69+
"yellow": Actor(
70+
name: "Lemon",
5171

52-
texture: "image/actor/pink.png",
72+
texture: "image/actor/yellow.png",
5373
texture_atlas_grid: TextureAtlasGrid(
54-
tile_size: UVec2(9, 8),
74+
tile_size: UVec2(8, 8),
5575
columns: 2,
5676
rows: 1,
5777
),
@@ -62,9 +82,9 @@
6282
],
6383
),
6484

65-
attack: Attack(color: Srgba(Srgba(red: 0.855, green: 0.576, blue: 0.800, alpha: 1.000))),
66-
deck: Deck(cards: ["step", "pair", "pair"]),
67-
),*/
85+
attack: Attack(color: Srgba(Srgba(red: 0.839, green: 0.816, blue: 0.510, alpha: 1.000))),
86+
deck: Deck(cards: ["step", "whole_note", "quarter_rest"]),
87+
),
6888

6989
"green": Actor(
7090
name: "Jade",

assets/config/wave.ron

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
condition: [GreaterThan(3)]
1515
)
1616
],
17+
"yellow": [
18+
SpawnInfo(
19+
condition: [GreaterThan(5)]
20+
)
21+
],
1722
"green": [
1823
SpawnInfo(
1924
condition: [GreaterThan(3)]

assets/image/actor/yellow.aseprite

354 Bytes
Binary file not shown.

assets/image/actor/yellow.png

156 Bytes
Loading

assets/mockup/pyrious.aseprite

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)