Skip to content

Commit

Permalink
Add yellow actor
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Jul 28, 2024
1 parent dddf1c0 commit dd0521d
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 9 deletions.
38 changes: 29 additions & 9 deletions assets/config/actor.ron
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,28 @@
},

enemies: {
// TODO: If character select screen is implemented, uncomment this and include logic to
// avoid spawning enemies that look like the player (aka same key).
/*"pink": Actor(
name: "Linus",
texture: "image/actor/pink.png",
texture_atlas_grid: TextureAtlasGrid(
tile_size: UVec2(9, 8),
columns: 2,
rows: 1,
),
sprite_animation: SpriteAnimation(
frames: [
SpriteAnimationFrame(index: 0, beats: 8),
SpriteAnimationFrame(index: 1, beats: 8),
],
),
attack: Attack(color: Srgba(Srgba(red: 0.855, green: 0.576, blue: 0.800, alpha: 1.000))),
deck: Deck(cards: ["step", "pair", "pair"]),
),*/

"red": Actor(
name: "Lucy",

Expand All @@ -44,14 +66,12 @@
deck: Deck(cards: ["step", "step", "pair"]),
),

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

texture: "image/actor/pink.png",
texture: "image/actor/yellow.png",
texture_atlas_grid: TextureAtlasGrid(
tile_size: UVec2(9, 8),
tile_size: UVec2(8, 8),
columns: 2,
rows: 1,
),
Expand All @@ -62,9 +82,9 @@
],
),

attack: Attack(color: Srgba(Srgba(red: 0.855, green: 0.576, blue: 0.800, alpha: 1.000))),
deck: Deck(cards: ["step", "pair", "pair"]),
),*/
attack: Attack(color: Srgba(Srgba(red: 0.839, green: 0.816, blue: 0.510, alpha: 1.000))),
deck: Deck(cards: ["step", "whole_note", "quarter_rest"]),
),

"green": Actor(
name: "Jade",
Expand Down
5 changes: 5 additions & 0 deletions assets/config/wave.ron
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
condition: [GreaterThan(3)]
)
],
"yellow": [
SpawnInfo(
condition: [GreaterThan(5)]
)
],
"green": [
SpawnInfo(
condition: [GreaterThan(3)]
Expand Down
Binary file added assets/image/actor/yellow.aseprite
Binary file not shown.
Binary file added assets/image/actor/yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/mockup/pyrious.aseprite
Binary file not shown.

0 comments on commit dd0521d

Please sign in to comment.