Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Jet of Fire!!!

Oh no Chromaticed needs help again!!!!

Yea I'm stuck again : (

So there is a part in my game which involves the hero walking from one place to the other.
But there is statues in the way that throws a jet of fire then stops for some time to allow
the player to pass and then it repeats.
If the hero touches it he looses half of his HP and he takes a step back preventing him to pass.

Like this:
http://i299.photobucket.com/albums/mm294/Chromaticed50/RAWRFIRE.png[/img]

I just can't manage to do it. What do I need. Sprites? Animations? And how do I set up the event?

I really need this so please help me

-Chromaticed
 

poccil

Sponsor

I would suggest making a parallel process event that runs an animation and waits until the animation ends.  The animation would trigger invisible events on the floor that cause HP damage if the player is on that floor tile.
 
Presumably, they could be activated by the same switch.  (Warning:  XP only guy here.)  At least, that's how I'd do it-- have a parallel process event that goes wait, wait, wait, flip switch on, wait, flip switch off.  When the switch is on, play the animation, and activate the invisible events that say "If you're standing here, loose half your health!" 

But that's in XP.  I don't know if VX works the same way.
 
Unka Josh":3mm9bqg2 said:
Presumably, they could be activated by the same switch.  (Warning:  XP only guy here.)  At least, that's how I'd do it-- have a parallel process event that goes wait, wait, wait, flip switch on, wait, flip switch off.  When the switch is on, play the animation, and activate the invisible events that say "If you're standing here, loose half your health!" 

But that's in XP.  I don't know if VX works the same way.

VX could probably do that. Let my try it now...

Edit: Yay, I did it! Thanks all of you!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top