Displaying a 'height bar'

jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
edited November -1 in Working with GS (Mac)
So,in my game I'd like to have a bar that floats right above the tallest obeject, and as things fall, it comes down. I'm adding logic to check to make sure that bar falls below the goal in order to complete the level. But my implementation leaves much to be desired. I just created an actor that rests on the tallest actor, and it does fall, but it also effects the blast and bounce ability of the small building parts, and sometimes bounces as it falls

Is there a way to do this with values? I know how i can roughly make the line go up with objects, but I'm not sure how to make it fall back down with the tallest object

There is a blast demo out there that uses a yellow line to display the max height an object reaches, but in that demo it only goes up.

I hope im clear enough :)

Comments

  • ChirpinGamesChirpinGames Member, PRO Posts: 214
    Any luck with this mate? I'm about to start a game with some similar mechanics, would be very handy to know...
  • ChirpinGamesChirpinGames Member, PRO Posts: 214
    *Bump - Would anybody know how to achieve something like this?
    Thanks,
    Mark W
Sign In or Register to comment.