dop2000's Recent Forum Activity

  • There should be a file with the same name as your project, just run it on mac.

  • Run your game in Debug Mode (Shift+F4) and you should be able to see what happens with those objects.

  • You mean different offsets in one tilemap? It's not possible. You can put multiple tilemap instances, each with a different offsets.

  • You can use "Dictionary For Every Key" event to go through all keys. Say, to check if the character is wearing any armor:

    Dictionary For Every Key
    find(Dictionary.CurrentKey, "armor")>=0
    Dictionary.CurrentValue>0
    
  • No need for Javascript. You can check tile ID using "Tilemap Compare tile at" condition. Say, if it's a ground tile - spawn an earth creature. If it's a water tile - spawn water creature.

    To convert between layout and tilemap coordinates use these expressions:

    construct.net/en/make-games/manuals/construct-3/plugin-reference/tilemap

  • Use "System Is between values", because I think the angle may not always be exactly 90 degrees.

    Note, that this is an inverted condition (right-click, Invert)

  • It really depends on the game. Sometimes instance variables will be better, sometimes a dictionary, sometimes a combination of both.

    In terms of performance dictionaries are very fast and you won't notice any difference.

  • You can compare the reflection angle and stop the loop.

    anglediff(LaserTurret.LineOfSight.ReflectionAngle, Ray.angle) expression will give you the difference between two angles.

  • No worries, glad it was helpful!

  • Wow, then can even pull each other. Great solution as always!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is KnightTurret in the same container with the Knight? If not, then the code that pins them will not work correctly.

    "Acquire target" means a single target - a particular goblin instance among all other goblins. So you need to pick that instance before acquiring! Like I said, it's up to you how to pick it (by visibility, distance, lowest HP etc.), but you need conditions to pick the goblin instance. Please read some tutorials about picking in Construct, it's very important to understand how it works.

    Another option is automatic targeting - use "Add object to target" action. Then turrets will automatically select the target in range. This target can be identified by UID. If you want the knight to move to it, pick the instance by UID first:

    Every 0.5 seconds
    For Each Knight
    Goblin pick by unique ID = KnightTurret.Turret.TargetUID
     -> Knight Move To Goblin
    
dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 262 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies