winstreak's Forum Posts

  • Glad it worked for ya ;D

  • 3 sprites all on 1 layer. Set this layer to Force own texture.

    Essentially 2 edges, one that's long & can cover bar - fill them a solid color. Set Destination out for the 2 edges.

    blue bar is just a bar no special settings.

    This will explain it in more details:

    Subscribe to Construct videos now
  • I like to make all my origin, sizing, and polygon collisions set up to my first animation frame.

    Then I copy the frame or animation and make edits to the image. If my next frame image is smaller I dont resize the image, and usually polygon and origin stay the same through out (exceptions do exist).

    If the image is larger (ie. character puts their hands up above their head) I will increase the image size and verify the character does not change by previewing before I go on (if origin is center and you stretch the image while having align center it shouldn't change).

    It's all about finding a process that works for you ^^

  • I believe you are looking for a HUD Display. Essentially something that stays in a fixed spot while the rest of your game moves around.

    This is done with another layer and changing the Parallax to 0,0. The new Layer then stay where you initially see it.

    This video takes a look at adding one if you want additional details:

    Subscribe to Construct videos now
  • I believe you are looking to put something randomly inside the width of another object 'platform'.

    So you will take platform.x which will give you the origin on the X axis of platform and add it to random(10) which will give you 0-9.99999 and the same for subtract.

  • I would suggest just making a function that has 1 parameter. The parameter will be the Layer you want your character to go to. Inside the function you just move each item to the new layer in the correct order.

    It's gross to do, but you only need to do it 1 time, then you can call the function whenever you need to.

  • If you have a purchased Construct account you can put all the pieces into a family. Then move the family to the other layer.

    If you dont have a family you will just have to call all of them individually

  • Easiest way I can think would be to make a Global boolean - this will track either true or false and you will toggle this each time the correct button is clicked, and use it to verify the correct button is picked.

    This code will move a sprite up slowly if you click left then right then left..

    left left left - will only move it once on the first left click

    right right right - wont move it.

  • Double click anywhere to add a new object. Add the keyboard object.

    Then you can make events based on keyboard clicks.

  • I would think you could create a sprite that is the size of the range you want to have as an attack. You will do this for each different type of unit that will have a range.

    Then you can have an overlapping and the forEach will be after overlapping. So it will only be on the units that are overlapped.

  • Hey everyone. I spent all my free time over the last 2 weeks creating a new game.

    Subscribe to Construct videos now

    You can try it out here.

    win-streak.itch.io/super-mario-infinite-crawler

    I have a few bugs listed in the description, but if you bump into any other ones please let me know! :)

    I will be looking to add to the levels in the future.

  • Do the enemies have Animations?

    What speed are you moving them at?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Array in Construct can use Push. You can start with a 0 size array and every time you scan you can Push a new instance into the array. To delete an instance you just use delete. These will both edit your Array Width (size).

    To capture the current size simply create a text object. And every (whatever timing you decide) setText to Array.Width.

    Potential issues:

    Changing your array size means whatever you had in index 15 at one time may be else where at a later time. So you would need to add additional width/depth to the array to add an ID.

  • The more specific your question, the more likely people will be to help you out.

    We don't know what your pirate game looks like or how it works, so we can't give our input on how to add to it.

  • Add the Moveto behavior on your Player.

    When the bullet arrives/collides with wall. Set Move to Object bullet (Do this before you destroy the bullet so there is a bullet for the game to find)

    If you are new to Moveto:

    Subscribe to Construct videos now