winstreak's Recent Forum Activity

  • Are you using on collision for your even trigger?

    Should be something along the lines of:

    Arrow on collision with Target || Destroy target (Or whatever you want)

    I believe on collision only targets 1 but if it is still hitting 2 targets add another condition:

    Arrow on collision with Target

    Arrow Pick nearest Target || Destroy target (Or whatever you want)

  • Bob is a fine name for an island.

    I think you should be good to remove every behavior from the Island other than Solid.

    This should make the island just stay where you put it, while allowing Flaugus's to walk on Bob.

    If you plan on having your Islands move, you can add Moveto behavior for that.

  • just tried using only physics but for the future would you recommend using only platform or only physics (including with flaugus)

    I don't use physics often so I am definitely no expert, but:

    I would imagine there is times where one is better than the other. I think physics is meant for interactions like you would see in Angry birds. Where weight and speed matter against the objects they are hitting.

    Platform you can think of side scroller games like Mario.

  • > Melkang's new check is: if its less than 4000 then go to 4050 so its within 50 now... They say they dont move at all ... prolly getting over written else where in the code

    wait did you edit it to use my pronouns? thank you! that makes me feel happy. also good morning from Minnesota

    Of course I did ^.^

  • I know physics behavior interacts poorly with other behaviors such as platform and it is advised to only use one, or if using both to work with enabling and disabling 1 at a time.

    Could be something to do with that.

  • Melkang's new check is: if its less than 4000 then go to 4050 so its within 50 now... They say they dont move at all ... prolly getting over written else where in the code

  • Code looks right to me.

    Verify that he is actually UID 74?

    Verify that whatever he is starting on is not a Solid or stopping him from moving?

    Verify pathfinding is actually enabled?

    Otherwise it's possible other code is stopping it from working.

  • If I understand correctly you want the ball to move to a random position in the Grey.

    Your call sets the position of Normie somewhere between 0 and 1376 for the X and between 0 and 871.5 for the Y.

    I'm not positive but it looks like that your Grey area does not start in the top left (first pixel) of your game. What you need to do if find the top left pixels location of where you want them to spawn, lets say its (200,50). Then you find the size of your Grey area lets say (800,100). Then you start the range at the top left spot and add a random(width) to the X and a random(height) to the Y.

    Start of Layout || Normie set position to (200+random(800),50+random(100))

  • Here - Ignore everything so far and work off of this. It is a working model that calls 1 instance of my flaugus's and moves them with pathfinding back and fourth

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ya that's in mine at the end. AnyTime any Flaugus finds a Pathfinding they move to it

  • Please show us the code you are trying to use to 'spawn' in.

    But when you spawn you should either be moving a sprite or creating a sprite and just make sure it's position is inside the white are.

  • And is automatically applied to Conditions inside the same block. I was just trying to explain it in words that they need to be grouped together.

    (Example of And)In your code from the ScreenShot

    Flaugus Pathfinding is enabled

    Flaugus Pick instance with UID 74

winstreak's avatar

winstreak

Member since 4 Dec, 2019

Twitter
winstreak has 11 followers

Connect with winstreak