Custom ball movement

0 favourites
  • 6 posts
From the Asset Store
Minimalist Crash Balls is a game where the goal is to hit the ball on the portal, with 20 different levels :)
  • I've been trying to make a ball movement similar to what you'd find in a breakout game and..wow, it's more difficult than I expected. Thing is, every example and tutorial I've found uses the bullet behavior which, unfortunately, is too wonky for an actual breakout game; the ball tends to "stutter" and teleport in tight areas and the bounce is not always accurate.

    That said, I was wondering if anyone has programmed or knows how to program their own ball movement with just events. I read through a few flash tutorials and came close, but I couldn't get an accurate bounce off the walls and bricks, just the paddle. Thanks for any help!

  • Try Physics behavior

  • Sounds a bit redundant don't you think?

  • ok i just got an idea, try to combine bullet and Physics

    on ball collision --> bullit off

    something like that! I will think of a proper way to do this, but thats a start.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lol..The physics behavior is working pretty well with this, actually. All I need to figure out is how to get the ball to maintain a constant speed.

    Still open to event-only movements though, or perhaps something using the custom movement behavior.

  • Hey Tokinsom,

    Not sure if you are still looking for an events only ball movement example. But I found this one a few weeks back. It was created by R0J0hound, and as always it's another superb example from the BIG DOG!!

    BallMovement.capx

    Hope it helps!

    <img src="smileys/smiley1.gif" border="0" align="middle">

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