Bouncing Bullet Behavior & Layers

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
  • As I'm learning Construct 2, I tried out the "Bouncing Bullets" example.

    I tried to see if layers affect the "Bounce Off Solids" option in the Bullet Behavior.

    Apparently bullets will bounce off solids in other/all layers. Since I am new to C2, I assume this is on purpose.

    But it would make a lot more sense if bullets on one layer only bounced off the solids in the same layer.

    Obviously an event could be written to modify this behavior, but maybe it can be included in the default behavior. Or as another option in the behavior?

    Just a thought.

    Thanks much for a great tool that I am very glad I bought.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Taking my own advice, I created the event condition to bounce bullets only off objects (in this case a Block) on the same layer. Here it is for anyone that may want it:

    <img src="http://akabutters.com/bullet_override.png" border="0" />

    But it would be way better if there was property in the Bullet behavior to set the layer with which the bullet will bounce off of.

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