How do I make a bouncing object with 8 direction behavior?

0 favourites
  • 2 posts
From the Asset Store
Bouncing ball
$9.99 USD
Template for a bouncing ball game, fully documented in comments and video
  • so lets say i make i want to make an object that moves down and right at the same time, and when it touches a horizontal wall it changes its direction to left but it keeps moving down (its something like an object with the bullet behavior with bounce off solids enabled)

    how could i do something like that? using the reverse action wouldn't be useful because it would only move in a diagonal line (down, left and up right only)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Create 2 sprites. Give one the 8 Directional Behavior and the other the Platform Behavior. Put the 8 Dir origin point at top and the Platform at bottom.

    In Events, At Every Tick set the platform to the 8 Directional object. (Set position to another object) The Platform should always be above the 8Dir object.

    You can then pin your character sprite to one of those or set position.

    Now you should be able to access the Simulate Control of Jump when the 8 Directional (since it’s at bottom) hits a floor.

    Now, I may be off as I’m trying to do this off the top of my head. So I apologize if it doesn’t work accordingly.

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