YesNoOk
avatar

bouncing helpers!? (Read 194 times)

Started by zuuboi, November 09, 2014, 10:40:34 pm
Share this topic:
bouncing helpers!?
#1  November 09, 2014, 10:40:34 pm
  • *
    • USA
    • zuuboi09@yahoo.com
Is there a way to make a helper bounce randomly off the screen sorta like a game of pong!
Re: bouncing helpers!?
#2  November 09, 2014, 10:47:12 pm
  • *****
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Pong game's ball doesn't bounce randomly. It has a well defined set of physics.

Anyways, to create a bouncing effect, you must check the current position on-screen of the helper and simply change its velocity when the helper touches the edge of the screen.

It's rather easy to do, provided you know how to create a helper and manage its own states.
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
Re: bouncing helpers!?
#3  November 09, 2014, 10:59:54 pm
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
Check Hsieh's Roll for how she handles her Rock Ball.
Re: bouncing helpers!?
#4  November 11, 2014, 03:17:04 am
  • *
    • USA
    • zuuboi09@yahoo.com
alright thx guys!