The O.G. Virtual learning! Buy one, get 2 more Lifetime Memberships! - Click Here!

Enemy with Bridge with tile map

This topic contains 2 replies, has 2 voices, and was last updated by  M. Akbar 3 years, 7 months ago.

  • September 11, 2017 at 12:12 am #171314

    Hello Justin,
    I notice that when an enemy passes thru a bridge which is a tilemap with CreateBodyAsTwoWayPlatform=YES, the enemy will fall right through it. Can I know how to ensure that the enemy will just cross the bridge instead falling right through it?

  • September 11, 2017 at 12:16 am #171315

    You could just disable gravity on the enemy. If its just moving back and forth, it doesn’t really need gravity.

  • September 11, 2017 at 12:25 am #171317

    Sweet! Why I didn’t think of that? Thanks heaps, Justin 🙂

    Another thing. I notice that if a tilemap which is set as createbody=YES, when running the game, the tilemap still becomes opaque (visible 100%) even though I set the alpha=0.1.
    Is there a way to maintain the alpha as configured so it stays transparent?

You must be logged in to reply to this topic.

Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!

Uh oh, missing your affiliate ID. Create one real quick