Enemy with Bridge with tile map

This topic contains 2 replies, has 2 voices, and was last updated by  M. Akbar 1 year, 1 month 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.

Download the new CartoonSmart TV App - Tons of FREE and Premium Lessons

It's Free Right? Sure, I'll Get It!