gabmusic's Recent Forum Activity

  • Hey, I got a simple solution changing the method.

    As long you're the last user on this forum, can I get your discord contact?

  • Hi!

    I hope this forum stills alive.

    Well, there are 3 objects that are created by this event:

    When it's triggered alone by some object from the family 'benches' it works fine.

    But if it's triggered simultaneously, those 3 objects are created multiple times. And every time I run the project, a diferent number of clones are created.

    I've already checked every event that mentions them. Can't find it at all!

    Could you please help me to solve it if it's not a bug?

    A screenshot of the game to help to understand the problem:

    Tagged:

  • Heeey, no need to open the example.

    I found out what was going wrong.

    It was the definitive time global variable.

    It was programmed to increase 1 every 1 second.

    I changed it to 0.1 every 0.1 second, and now the crops grow separately.

    It's fine now.

    Thanks a lot, your tip about changing 'for each' position helped too!

  • Here's the capx. I made the same coding, and now it works way better than inside my game. I dont know why...

    take a look:

    drive.google.com/file/d/1b_jqQusI9gIdWF4I49j--acVNRvtoxdf/view

    But it still not working perfectly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, now they aren't growing all at same time, but the other crops are waiting for the first created one to reach it's peak to go directly to last stage.

    :(

    May I provide a capx?

  • Just on top of the block, or as a main event?

  • Hello, thanks for reading.

    I've been struggling with that for days.

    I have a system where crops grow after certain some time value. The crop grows (changes the sprite animation) when it reach X seconds after its creation time value.

    It works fine with one crop. But when I have more than 1 crop, all the crops change the sprite together, instead of changing each one at its own time.

    I don't know how to tell them to act individually.

    Here's a screenshot:

    Tagged:

  • I'll check that possibility. Thanks!

  • Thanks for replying again and for sending an example.

    I still struggling with that. I see no big differences between mine and your example.

  • Is it like what you said? The mob still waiting for another to attack... :(

  • Got it! I'll try it again! Thanks, and sorry for bothering

  • Hi, I've tried you suggestion and a bunch of similar variations with Timers, and nothing worked.

    Look the script. What do you think?

gabmusic's avatar

gabmusic

Member since 2 Mar, 2019

Twitter
gabmusic has 1 followers

Trophy Case

  • 5-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies