On trigger draw bar height

0 favourites
  • 7 posts
From the Asset Store
Take your creativity to new heights with over 410+ files.
  • Hi,

    This is my first post! I've been reading in the forum and it's great! A lot of great feedback and helpful users.

    I'm new to this. So please be patient.

    Im doing a platform game. When my charachter walks past a sprite(invisible sprite "trigger") I want a small bar to be drawn from imagepoint to another point. Say, from 0% to 100%, or from 0% to 75%. And stop. Not keep raising in height. I've tried:

    system> every tick> bar set height Bar.Height+1. But it keeps adding height.

    And if I add the trigger it only adds +3 when walking past the trigger.

    Best regards

  • You could set the image to solid and every tick make the image increse in width by +1 and if you want the image to grow from left to right set the image point to the far left of the image in the center.

  • Im thinking the same, but when my player sprite is triggering this switch I want to extend my bar height from 0 to 75 and stop.

  • i want the bar to gradually increase height (dynamically)

  • Thanks I guess, I havent updated to that beta version. Could you please give me a screenshot of the event sheet.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The downloads (including beta) are at the bottom of this page.

    <img src="https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/Ashampoo_Snap_2014.02.13_08h11m29s_001.png" border="0">

    demo

    (I will probably delete this demo in a couple of days - get it while its hot :) )

    edit - picture failed to load.

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