Page 1 of 1

Special helth question

PostPosted: Thu Aug 04, 2005 3:43 am
by frozonfire
How do you make your health like mariio health? (i.e. Fiery when hit goes to big, Big goes to small, nd small dies right away.)

PostPosted: Thu Aug 04, 2005 5:31 am
by BeyondtheTech
Create different animations and create a global variable that will store what type of mode the character is on (i.e. 0=tiny, 1=big, 2=fiery).

When the player gets hit, subtract the value by one and change the animation based on that value. if the value is < 0 then the player's dead and show that animation.