Create invisible platforms

0 favourites
  • 8 posts
From the Asset Store
Awardkit
$5 USD
Create custom awards and achievement or use the many templates and create your own.
  • Hey there,

    I want to create invisible platforms appearing if the hero jumps on them. But i have the problem if my hero jumps on one platform all plattforms will be visible. But it should only get the one visible where the hero is jumped on.

    Can anyone help me out? Thanks a lot!

  • Sure thing. Would you mind posting a picture of the conditions and actions where you think the problem is? Then it will be much easier to tell what is going wrong.

    But, basically, it sounds like you have an Unreferenced object, which is the most likely cause of this issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for your fast respone :)

    I'm quite new at construct so I tried it really easy.

    Here is my event.

    <img src="http://ausbildung-elektrotechnik.de/wp-content/uploads/2014/01/event.png" border="0" />

    Let me explain it a little bit.

    First the level starts and if the hero touch the remove_platforms sprite all platforms will be set invisible. Then on every jump on a invisible platform it should be set visible.

  • AndreasR, Is it necessary left and right side to be different objects.

    Now the problem is when colliding with left side it would pick that object but the right_platform is not specified so it picks them all.

    If they have to be separate objects one way would be to but only left edge to the map and create container and but right edge there. Then on start it creates right edge automatically and you could set condition for the right edge like this.

    On created -> Set position to left.Y and left.X+32(Tile width)

    Otherwise you could use same events. Object picking works now when they are on same container.

  • Hey Katala,

    No its not neccesary, I also could use one sprite. Can you send me an example file? Would be awesome! Thanks a lot, both of you!

  • Here you have an example, hope this is what you were looking for.

    https://copy.com/Bc4CjW6EUkTf

  • system > for each platform...

  • Perfect :) Thank you so much!

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