LittleStain's Recent Forum Activity

  • If you use key is down - set speed, it should set the speed every tick amd thus the speed would stay the same..

  • You could just add an event on player destroyed.

    or you could add a system compare player.count is 0

    or put all the events concerning the score in a group and deactivate it in the same event you destroy the player.

    There's probably more possibilities I can't think of in these 5 seconds

    But how could the score go up anyway if the player is destroyed?

  • Another solution would be to have invisible sprites act as collision-boxes. just pin them to the playerobject (probably putting them in a container would be usefull too)

  • system compare two values: score>bestscore : system set variable bestscore to score?

  • could you please try to explai what it is you are trying to do there?

    What is this line supposed to achieve?

    add 1 + 1 * int((text.MaxHp -HP/10) to HP

    text.maxHp, so MaxHp is an instance variable of the text?

    Why not use a global variable MaxHp?

    Why HP/10?

    If I understand what you are trying to do, it will probably be easier to see where you go wrong.

  • Pode,

    After searching for a very long time why your plugin wouldn't work, I found out I had to set Webgl to off. I don't need Webgl in my project, so it's not a big issue, but could there be an issue exporting?

    (I thought I read somewhere some exporters automatically turn on webgl, but can't find the related info anymore)

  • I'm not sure if this will work, but couldn't you create three global variables:

    -startAlpha

    -startBeta

    -startGamma

    and on start of layout set startAlpha to Touch.Alpha etcetera?

    you could also choose to make a button which the player could touch on the moment he or she wants the phone/tablet to be considered straight and set the values on touch.

    after that you should use touch.alpha-startAlpha to get the correct alpha value..

    I would try it this way, but if this works?

  • Just invert the has los event. right-click event in eventsheet - choose invert

  • For fancy menu animations you could try the lite tween plugin from the plugins forum.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • in the properties of the behaviour set fade in to 0 and fade out to 1, set active on start to false. in your event sheet set on object hit star fade out..

  • Add frames to the animation and you are ready to go..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies