Skip to content

Commit

Permalink
Animations for the new mushroom enemy.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkettering committed Jul 2, 2015
1 parent 9027e49 commit 5dd7041
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions data/objects/enemies/mushrooms/mushroom_sponge_cloud_shooter.cfg
Expand Up @@ -12,7 +12,7 @@ properties: {
dive_speed_x: "if(higher_difficulty, 24+1d12, 24)",
dive_speed_y: "if(higher_difficulty, 16+1d16, 16)",
climb_speed_x: "if(higher_difficulty, 20, 15)",
climb_speed_y: "if(higher_difficulty, 26, 20)",
climb_speed_y: "if(higher_difficulty, 13, 13)",

bounds_width: "int :: abs(_x_bound - _x2_bound)",

Expand Down Expand Up @@ -122,6 +122,7 @@ animation: [
{
"@base": true,
image: "enemies/mushroom-sponge-cloud-shooter.png",
no_remove_alpha_borders: true,
body_area: "all",
accel_y: 0,
feet_x: 23,
Expand All @@ -132,26 +133,26 @@ animation: [
{
id: "fly1",
rect: [1,1,45,46],
frames: 1,
duration: 48,
frames: 8,
duration: 5,
accel_x: 0,
events: "8:wingflap",
events: "40:wingflap",
},
{
id: "fly2",
rect: [1,1,45,46],
frames: 1,
duration: 48,
rect: [1,49,45,94],
frames: 8,
duration: 5,
accel_x: 0,
events: "8:wingflap",
events: "40:wingflap",
},
{
id: "fly3",
rect: [1,1,45,46],
frames: 1,
duration: 48,
rect: [1,97,45,142],
frames: 8,
duration: 5,
accel_x: 0,
events: "8:wingflap",
events: "40:wingflap",
},
{
id: "spring",
Expand Down
Binary file modified images/enemies/mushroom-sponge-cloud-shooter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5dd7041

Please sign in to comment.