Character death animations

Character death animations

Postby Tedium » 06 Apr 2012, 13:10

I don't want the characters to disappear without a trace when they die. Therefore I made death animations.
2 directions x 2 characters.

The offset caused by the floating movement is in the image, but could also be done programmatically. ( 2, 4, 8 px)
Then again, adding an offset value to the theme manager would make it more flexible :think:...

What do you think?
Attachments
shadowdeathleft.png
shadowdeathleft.png (2.33 KiB) Viewed 1932 times
shadowdeathright.png
shadowdeathright.png (2.37 KiB) Viewed 1932 times
deathleft.png
deathleft.png (2.16 KiB) Viewed 1932 times
deathright.png
deathright.png (2.24 KiB) Viewed 1932 times
User avatar
Tedium
 
Posts: 122
Joined: 19 Oct 2011, 10:40

Re: Character death animations

Postby Edward_Lii » 06 Apr 2012, 15:18

Hello Tedium,

Tedium {l Wrote}:The offset caused by the floating movement is in the image, but could also be done programmatically. ( 2, 4, 8 px)
Then again, adding an offset value to the theme manager would make it more flexible :think:...

There's already a way to add offset data to a ThemeObject independent of the pictureAnimation.

So to get this animation working change the die block to:
{l Code}: {l Select All Code}
characterState(die){
   oneTimeAnimation=20,dead
   object{
      animation=20,0
      offset(0,-14)
      pictureAnimation(deathright.png){
         point(0,0,23,54,1,5)
         point(92,0,23,54,4,5)
      }
   }
}
characterState(dead){
   object{
      picture(player.png,0,0,23,40)
      invisibleAtRunTime=1
   }
}


Tedium {l Wrote}:What do you think?

I'm going to add different states for dying left and dying right.
Do you want any other die states? (Squish for example)?
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 770
Joined: 20 Dec 2010, 16:46

Re: Character death animations

Postby Tedium » 06 Apr 2012, 15:37

Edward_Lii {l Wrote}:I'm going to add different states for dying left and dying right.
Do you want any other die states? (Squish for example)?

No, not yet ;). But you can implement it anyway, for other theme makers who want to use it :).
I'll update the cloudscape theme after we've made the left and right dying animations.
User avatar
Tedium
 
Posts: 122
Joined: 19 Oct 2011, 10:40

Re: Character death animations

Postby Edward_Lii » 06 Apr 2012, 15:45

Hello Tedium,

Tedium {l Wrote}:No, not yet ;). But you can implement it anyway, for other theme makers who want to use it :).
I'll update the cloudscape theme after we've made the left and right dying animations.

Haven't implemented the squish death yet.
But the left and right die animations are in svn rev. 332.

They are called dieleft and dieright.
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 770
Joined: 20 Dec 2010, 16:46

Who is online

Users browsing this forum: No registered users and 1 guest