lionz's Forum Posts

  • The finer details depend on the actual gameplay but in general use a global variable to track number of blocks. You can make it subtract 1 when you place a block for example, then when it hits 0 you can no longer place blocks.

  • I know someone suggested to use save and load but probably that isn't the way to do it if you have a timer. You should store your values or moves whatever somewhere and then when you undo it reverts to these values, not using save/load.

  • If it is just set to crouch when button is down then it should work really because this would run constantly.

  • As soon as you get frozen the debuff is true so the crouching logic will be false. Since you want him to remain crouched maybe you should remove that condition that debuff is false (though really once the freeze ends this should work and revert to crouch in theory) I didn't understand the bit about releasing the crouch key.

  • Install the latest (final) version of Construct 2, I checked for you and it's on there construct.net/en/construct-2/download

  • Do you mean you can't find the right condition or that you found the right one and it's not working as intended? You can right-click on the overlap condition and invert it if you didn't get that far.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's in the platform behaviour properties, in Construct 3 it's called jump sustain. As I recall, Construct 2 also had it.

  • other events change the animation so i cant use set animation here.

    im not bothered about the rotation that is sorted in my game.

    am i right that the set up i have should play the animation when walking and stop when not walking?

    because i had a very similar set up a few days ago but now it seems to be inverted and i cant figure out why.

    You don't really need the key released events they should be taken out also because they are trigger events. The events should be simple, key is down set walk animation. And then player is not moving, set idle animation or stop walk animation.

  • Use set animation instead of start. The animation is facing the wrong way by default, use the rotation tools in the image editor to rotate the frames 90 degrees. To stop it playing when the player stops walking, usually you would have an idle animation to change to, or you can untick 'looping' from the animation in the editor, and then on key release dset the animation to frame 0.

  • Thank you again.

    I think this is correct but it is limiting the number of active shots to 5 instead of 3

    I don't think so? What were you using to verify that it's 5 shots. The variable can't go over 3.

  • Right click the is overlapping condition and choose invert, this then becomes 'is not overlapping'

  • Literally the condition 'every X seconds' from system, attached to the W key is down condition. The action then runs every X seconds while W is down.

  • On the action you need to add 1 to the global variable 'shot', you are increasing the wrong variable.

  • The variable should be on the single object that is shooting such as the player object, not on the missile which is being created. Or you can use a global variable which is fine and maybe better.

  • On the press space bar event you add another condition next to it (blocks can contain multiple conditions) which is shot.variable < 3. This is found under the player object's conditions and then compare instance variable.