lionz's Recent Forum Activity

  • Yes this approach will not work. If just one blue unit cannot see a particular red unit then it will be set to unseen. The fix for this could be something like always set red_unit to unseen, and keep the event for if blue unit has line of sight then set to seen.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • A sprite can perform the function of a button, on touched or on clicked.

  • You first add the instance variable to the object so a string 'name' then use a condition in the event sheet using the object compare instance variable.

  • Hello!

    For movement it is the 8-direction behaviour which allows a kind of top down movement and by default with the arrow keys.

    To create at a random position would be to use sytem > create object and the position would be the same Y but with a random X, it would be something like random(0,500) for example which chooses something in that range.

  • It's a strange approach I guess, you shouldn't have to bring in gameplay assets from another layout and set them invisible, but if you are doing that then I don't see how the player colliding them while invisible is a problem? Anyway the approach is not great as you start bringing in unnecessary art assets and increasing memory usage. They are invisible, serve no real purpose. You should process the overlap checks when you enter the layout that contains the crops.

  • Seems kinda counter intuitive to make them global then hide them on other layouts, why are they global? What purpose do they serve?

  • There's no real need to check this every tick and my guess is it's not running for each soldier so it just applies to the first one. I would set everything in position when the enemy is created and pin it then you just do it once. All of the actions from that every tick can probably be moved above to the enemy on created block and that's all you need. You would know it is picking the enemy correctly, the one created.

  • Yes that's right

  • You can also disable collision on the objects

  • What do you mean exactly by cutting off at the end?

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