AllanR's Recent Forum Activity

  • for the stuff I normally do, I use "Is overlapping object". Unlike a collision trigger, "is overlapping" will pick multiple objects at the same time (if they are overlapping). Then I use Pick top instance to get only one.

    "On clicked object" works that way too. (picking multiple instances)

  • it is not a quirk of families, the "On Collision" is a trigger and gets triggered for each instance it collides with.

    you do not need the pick nth instance (the second condition) because the code will get triggered for each instance regardless when the instances are overlapping. You can verify that by checking the AFaction.PickedCount.

    Your solution of setting the BBullet's instance variable is a good way to handle it. I would probably call the instance variable something like "Kills" and set it to a number like 1, then on each collision subtract 1 and if it gets to 0, destroy the bullet. So, that last condition would then say "BBullet.Kills > 0" to allow the collision to damage the AFaction.

    This would allow stronger bullets that could potentially kill multiple enemies.

    EDIT: oh yeah, I can edit comments, so I guess you may have to wait until you have posted enough comments before you can edit?

  • you are doing a number of things that could cause the problem - without seeing the code it is impossible to say.

    you should be using the Advanced Random to generate a unique list.

    or if you want to do it manually, use IndexOf to find if thisIssue is already in the array...

  • does it run on a tablet if you do a remote preview? or an HTML export?

    are you using any plugins that require a feature only found on phones?

  • you can click the links under your picture on this page - where it says 8 Topics 18 Posts

  • event 3 will run every tick - before, during and after AJAX has loaded the lists.

    you probably want event 3 to be a subevent of event 2 so that it only runs once when AJAX complete triggers.

  • awesome job! looks fantastic :)

  • it is not as easy as you would think.

    here is a recent thread where someone asked the same question:

    https://www.construct.net/en/forum/construct-3/how-do-i-8/put-dot-number-157309?kws=regex%2bcomma

    and here is an older thread where I give an example using regex:

    https://www.construct.net/en/forum/construct-2/how-do-i-18/help-formating-numbers-commas-114567?kws=regex

  • you might need a "For each chest" to process each one the ball collided with. Although a collision is normally triggered for each instance as far as I know.

    you could log the Chest.PickedCount to see if it is trying to process several at one time.

    What you are describing should work - without having to redesign things. If it isn't doing what you want, then create a small sample file for us to look at.

  • I looked at your old dev log, and it looked like I could post - it just gives a warning saying that it is an old post. Give it a try...

    Tom would probably be the person to contact if the post was locked.

  • I tried your file after your first post, and couldn't get it to work either.

    But I had not done much with timelines, so I wasn't really sure how it was supposed to work. Might be a bug.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the mesh has to be a grid of rows and columns. But there could be a way to select which mesh points are allowed to move/be affected by the "cloth" motion routine.

    you would have to show some kind of example or mock-up of what you had in mind.

    the way it is now assumes the top two corners are anchored and don't move. that could be expanded to anchor other points on the mesh.

AllanR's avatar

AllanR

Member since 21 Nov, 2013

Twitter
AllanR has 23 followers

Trophy Case

  • 11-Year Club
  • 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
  • Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies