alextro's Forum Posts

  • It just how the condition should arranged in that order within same block condition, with 'Trigger once' put at very bottom. With this setup the action will execute once, each time the condition met.

    Say that you want to add value to a variable each time sprite1 (and it's instances) hit sprite2. So if the sprite1 overlap sprite2 at one time, the action will trigger. Another time they overlap again, the action will trigger again.

    It will be different if you put 'Trigger once' at very top order. Try it by yourself

  • Indeed I did that in my working capx which is inspired from Doraemon Gadget Rescue.

    Here a preview:

    Still working on the sample, move onto spawning system. So wait untill I finished the capx and I'll share the capx.

    (Struggle on finding the most efficient way to build entire system)

  • You can modify some events to meet your needs. Just in case, I will create another demo file to showcase how filling empty space works.

  • Draw connection link between sprites:

    If you want to immediately re-spawn after block being destroyed, see my example here:

  • hmott

    Indeed it help me alot to understand to synch json data with dictionary object. Well explained.

  • This is must be what volkiller730 mean:

  • zikdot

    Shouldn't be a problem, once destroyed system will add a value to the score. Might be it would be something with collision event. To anticipate speedy object doesn't detected collide with other object, I usually use overlap test:

    Sprite1 is overlap Sprite2, Trigger once >> Destroy Sprite1

    Put 'Trigger once' after 'overlap'.

  • Previous thread relate to the topic:

  • A special stage:

    pix_special

  • A Blessed month for all of you

    Reveal the picture in pix:

    pix_special

  • What are you up to? Boids ? Or something else? A picture will help people to understand the case.

  • In browser preview, the url can acces file directly by typing the filename and it's extension:

    Tag | "pick level"

    URL | level2.json

    And you can replace the url fieldname with a variable to pass a level name.

    Thanks matte for giving some clues so my project progressing flawlessly.

  • This is what I'm trying to say:

  • Uh I don't know what you want to do with local/web-storage as a condition to play a sound fx.

    Would be better if score occur after those Ninja destroyed (Ninja on destroyed >> add 1 to score). With your current condition the score will not store the value correctly especially when more Ninjas collide with a "color" box at the same time. Trust me I made some test!

    So you can safely placing sound fx & score after 'Ninja on destroyed'. But make sure set text to score after add 1 to score, or simply separate the text action under 'every tick' condition.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Was sub event placed after enemy destroyed? If that true then it is not the correct way to code.