Issue with moving platforms via the bullet behavior

0 favourites
  • 2 posts
From the Asset Store
Forget about default textbox restrictions, you can create sprites atop of the textbox
  • What I thought would be a relatively simple mechanic to implement is actually becoming the bane of my existence T.T

    Basically, I have moving platforms that bounce off of each other, the borders of the level, and platform blocks. Initially I was having trouble with the "bounce off solids" behavior, so I opted to disable it and have all of the bouncing be triggered by collision events instead.

    In very simple configurations, it works perfectly

    Subscribe to Construct videos now

    It also seems to work just fine when they bounce off each other

    Subscribe to Construct videos now

    The issue seems to arise when I have tiles with corners, they just seem to pass right through them. I've double checked that all the tiles have collisions enabled in the tilemap, so I'm not really sure where the problem's coming from.

    Subscribe to Construct videos now
    Subscribe to Construct videos now
    Subscribe to Construct videos now

    help me please mommy

    Here are all the events that handle the mover blocks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you made the movers slightly smaller it may help. The reasoning behind that if the collision will only be triggered once per the objects overlapping the walls.

    You could also try adding a “for each mover” to the on collision events. The reasoning for that is if the on collision condition picks all the colliding movers in one shot it could possibly need to be handled one by one but I haven’t looked at your events too closely.

    Third thought is the bullet behaviors bounce action may not be robust enough to be super reliable. But that’s just a thought

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