Brick Breaker Game Help!

I am making this brick breaker game. Sometimes the ball keeps going straight up and down forever. Is there some way to fix this problem? Please help me!

Comments

  • FajlajpFajlajp Member Posts: 666
    Look at this video:

    Hope it helps
  • rajit.garg11rajit.garg11 Member Posts: 11
    Could you please tell me the code in words! I can barely see the video.
  • FallacyStudiosFallacyStudios Member Posts: 970
    In the templates GS provides on the launch screen (or they used to) it has a block breaking game that has that code in it. That template would pretty much get you rolling on that type of game pretty quick.

    Pretty much you just need the ball to decide if after a given period of time it is still within a range to give it a push in a direction.
  • rajit.garg11rajit.garg11 Member Posts: 11
    When and how do you make the ball decide whether to go a different direction?
  • Thunder_ChildThunder_Child Member Posts: 2,343
    edited December 2013
    Sounds like to need to create some actors call them "walls and floor". Surround screen with walls and a floor. Make them bouncyness 0 and non movable...as well as invisible if you choose...then under your balls...lol...rules bounce when collide with walls and floor if you like. Usually the floor will destroy actor...and decrease "lives" attribute-1
Sign In or Register to comment.