[SOLVED]Bullet Issues/Bouncing

0 favourites
  • 6 posts
From the Asset Store
Bouncing ball
$9.99 USD
Template for a bouncing ball game, fully documented in comments and video
  • Hey everyone!

    I followed the "Breakout Clone" tutorial on this site and everything was perfect. For the past few weeks I have been expanding on that tutorial and adding new features etc.

    Today I noticed that the "ThroughBall" was not going through the bricks anymore. Instead it was just bouncing back like any regular ball. (This used to work).

    I have gone through all of my code, disabled almost everything I can while leaving the game still testable, and went through the tutorial again and saw that my events matched up perfectly...

    What events are you guys using for continuous motion after a collision?

    Here's a screen of what I am working with.

    <img src="http://imageshack.us/a/img836/1756/0007od.png" border="0" /><img src="http://imageshack.us/a/img585/2793/0008x.png" border="0" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Check your ball bullet settings ;

    Bounce from solid should be set to no


  • That did nothing except make my ball go through everything.

  • Add 180 to action where you set the ball direction on collision.

  • Good attempt but that only sort of works. I am still getting issues with collisions.

    The original code I posted above actually works. I think something else in my game is causing a bug with it.

  • Okay, I have fixed it. The Every Tick event that I was using was going through too many events I guess. I setup a new Every Tick, by its self, for the direction variable and now it all works! :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)