lionz's Recent Forum Activity

  • I don't see any logic related to calculating distance. What is cut off at the top, is that a group ?

  • So that is what I mentioned above, you are out of scope so the variable is reset. So you've now put the logic within the same event yes this should fix it.

  • lionz

    I don't have any other events that control opacity. Here's what I have for the collision event.

    And for the opposite to set it back to 100 ?

    Can you explain the gameplay of the game and what the border is ? Maybe there is a better way to achieve what you want.

  • Well it sets the angle/position once but the enemy moves...

    So you want the bullet to follow the enemy like a homing bullet ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think you can overlap a solid object you can only collide into it, though it is strange how the 'not colliding' event doesn't revert the opacity to 100, unless you have other events that control opacity? Can we see a screenshot of what you did with collision ?

  • I would check the user data folder or the project folder. Maybe somewhere like C:\Users\User\AppData

  • You can use a variable but easier than how you described, you add 1 to it (max 2) when the jump key is pressed, and reset it to 0 when you land. So if var=2 that means you are double jumping so set the animation when var=2

  • You can't do it with the same sprite because when you pick yourself the instances are reduced to only yourself. There is one way which is to put the sprite in a family and say when 'sprite' has LOS of 'family' then move to family (which would be another sprite in the end). This aids the picking process. The variable would have to be moved to the family level as family instance vars. Or the other obvious way is to make team B a different sprite.

  • I'm surprised you can select the local var in the second event. Usually it would be out of scope. So the local var being used here is probably set to 0 is my guess.

    Try the same logic with global variables, is it fixed ?

  • I think it's in the folder for the Browser you are using, wherever the local data is stored.

  • But why do you need to display it on screen at all ? That's what I'm wondering about. If you store AsJSON in a variable then you can save the variable value into local storage, that's how I did it in the past and it was fine.

  • Based on what I'm reading it's not bad and should work especially on start of layout. Instead of using overlapping destination for now try 'on arrived' and see if that works for the new destination.

    For the ones not moving check their status if they found a path, or simple things like they do have speed set to move and pathfinding enabled.

    You could send a screenshot for us to see the events more clearly, thanks.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 72 followers

Trophy Case

  • 11-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

24/44
How to earn trophies