Jump to content


Photo

Explosion shock?


  • Please log in to reply
3 replies to this topic

#1 rochowmaster

rochowmaster

    GMC Member

  • New Member
  • 59 posts

Posted 30 April 2011 - 06:26 AM

Hey I'm making a platformer, where there are explosions.
is there any simple way to send an object flying from an explosion?

OTHER FORUM LNKS ACCEPTED
  • 0

#2 pure_evil020

pure_evil020

    GMC Member

  • New Member
  • 1479 posts

Posted 30 April 2011 - 06:47 AM

No there's not really any simple way to send an object flying in a platform game, because then you are dealing with gravity.
To a certain extent, you could make a simple work around, but still, its not something I would recommend a beginner to bother trying with.
  • 0

#3 Awesomeness

Awesomeness

    GMC Member

  • New Member
  • 367 posts

Posted 30 April 2011 - 06:59 AM

Heeyy, it's you again rowchowmaster! Hi! :D

So anyway, you should be able to just set the object's speed to a direction away from that explosion, or maybe create another object with the same sprite as whatever's getting blown away, and make that fly off from that point. If it's more like shrapnel going everywhere, then make several objects. Really depends on what you want to do, like if you still want the object afterward or if you want it falling off screen.

- Awesomeness

Edited by Awesomeness, 30 April 2011 - 07:01 AM.

  • 0

#4 rochowmaster

rochowmaster

    GMC Member

  • New Member
  • 59 posts

Posted 01 May 2011 - 08:37 AM

Heeyy, it's you again rowchowmaster! Hi! :D

So anyway, you should be able to just set the object's speed to a direction away from that explosion, or maybe create another object with the same sprite as whatever's getting blown away, and make that fly off from that point. If it's more like shrapnel going everywhere, then make several objects. Really depends on what you want to do, like if you still want the object afterward or if you want it falling off screen.

- Awesomeness


well Awesomeness, you certainly live up to your name!
thanks for the advice!
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users