NeronSparda's Forum Posts

  • Have you tried googling? :)

    https://www.scirra.com/manual/130/common-features

    https://www.scirra.com/tutorials/361/understanding-uid-iid-health-cards-and-rocket-smoke-trail

    Yes, sorry for this. Thanks for help. It should be enough <3

  • If you add "ID" variable to the object, you can use it to pick object instances. You can also pick by UID, IID and several dozens of other criteria.

    It's interesting, where I can find info about UID and IID?

  • Do I understand right: there is no possibility in Construct 2 to pick enemy by ID or something?

    I know, that I can create an empty sprite and use it to hit enemies. Just wanted to make it more clear.

  • If you don't want to use "On collision" or "Is overlapping" events, you can use "Pick nearest enemy to player", and/or compare distance between player and enemy and pick enemy instance within some short distance

    It won't work, because it's possible to have more than 1 enemy at the same distance.

    Example:

    androidapplications.ru/uploads/posts/2016-03/1458729930_the-greedy-cave-3.jpg

  • > Sorry, but your advice doesn't fit my problem.

    > As I said before:

    > >I'm trying to make a game with combat system without collisions

    I have to ask. Why no collisions ?

    Because player and enemy will fight with some distance between them.

    It's a game with grid-movement system.

  • Sorry, but your advice doesn't fit my problem.

    As I said before:

    I'm trying to make a game with combat system without collisions

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello!

    I have a problem. I'm trying to make game with combat system without collisions.

    Imagine a layer with 3 sprites: player, enemy, enemy. Enemies is from one sprite.

    What I want:

    Player hits an enemy, 1 enemy is destroyed.

    What I have:

    Player hits an enemy, all enemies are destroyed.

    I think that I need somehow specify object, but I don't know how.

    Can someone help me?

  • I want to make very fast platformer, but I've faced a problem: my character's speed of falling is very slow. I want to increase it. How can I do this? I know about max fall speed, but it works only with long fallings, whereas I need high speed even after simple jumpes.

  • Thanks for answering!

    dop2000

    I have tried to do what you said and behavior of balls became a lot better. Thanks you very much!

  • simplest solution, not so elegant

    https://www.dropbox.com/s/abz22ibtbpvok ... .capx?dl=0

    Looks great. Thanks!

  • Example:

  • Hallo NeronSparda,

    you can use the 'Repeat' Condition to create more bullets with one click. But when all bullets have the exact same direction, they overlap each other and it looks like one bullet. If you want to shoot multiple bullets one after another with a short delay, you can make it like this:

    > + Mouse: On Left button Clicked
    ----+ System: Repeat 5 times
    -----> System: Wait LoopIndex ÷ 10 seconds
    -----> player: Spawn bullet on layer 0 (image point 1)
    [/code:bi17ytlc]
    

    Thanks, It works!

    I've tried to make it without "loopindex" and it didn't work.

    But now - all is great! Thank you very much!

  • I want to make burst shooting.

    For example, if I click on mouse's left button 1 time, there will be created a 3 bullet.

    How can I do it?

  • You can add all such sprites to a family.

    Then when you create a family object (using Create or Spawn action) - a random sprite member will be created.

    Thanks, It works. Very interesting.

    Christmas, thanks you too.

  • Is there any way to create random object?

    For example

    Every 1 second one of added sprites is created.