lionz's Recent Forum Activity

  • If touch.y is less than a value, so whatever the middle of the screen is, then have the player move towards touch but override the Y by setting player Y to a specific value.

  • I just meant that you check if enemy is not overlapping anything and do the move, and the following check about enemy is overlapping and choose a direction happens all within the same move and it's too fast. So it moves the enemy down one space, then checks if overlapping and alters the direction, this always results in choosing the last condition where it chooses left or right because it's not detecting overlaps correctly.

    So what I did was allow the enemy to move on the is not overlapping check, then add a small wait, then call a function. The wait is because you are setting a position and there is no condition like 'has moved'. The separate function called has all of the 'is overlapping' checks to then determine if the enemy is now overlapping anything once landed.

    FYI if you edit a post I don't get notified of anything.

  • If one object is pinned you don't need to simulate the movement of both. For the animations you can set some kind of state for the player when you press attack key, then you use this to block out the movement animations. So when moving and 'not attacking' > play move animation. When 'attacking' play attack animation.

  • Looks like you are checking overlaps too quickly within the tick like maybe before the unit has properly moved. If I move the overlap checks into a separate function, wait and then run it then it works perfectly.

  • It sounds like you bookmarked or installed a specific version of Construct. Note editor.construct.net represents the latest stable release, so if you bookmark or install that, you always get the latest stable release. If you want the latest beta instead, bookmark or install editor.construct.net/beta.

    Yeah what that guy said lol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you go via Launch Construct 3 it navigates to a general link which is the stable release. You can copy the link with the current beta so the latest one is editor.construct.net/r193 and go straight to it, this stops the prompts.

  • Looks interesting dude, good luck with it..

  • There is no picture, but yes better to see the events or the file to assist with this.

  • Ah yes, you slide from the right twice.

  • You can run a for loop and use array.at(0,loopindex) which increments at 0,1,2,3 etc, the only problem is when you find a 0 and delete the row it pushes everything up and will skip some rows, so you could use the for loop and when a 0 is found delete the row and run the loop again until no 0 are found.

  • Yes use trigger once. On checked runs constantly, in your text you said 'on clicked' which would run once only as it is a different kind of event.

  • The important events here are the ones you've put in as text but can we see a screenshot? thanks

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies