dop2000's Recent Forum Activity

  • You can try something like this:

    Sprite1 overlapping Soldier
         System->Pick All Soldier
         Sprite2 overlapping Soldier
             System->Pick All Soldier
             Sprite3 overlapping Soldier
                  System->Pick All Soldier
                  Sprite4 overlapping Soldier
                       System->Pick All Soldier
                       Sprite5 overlapping Soldier   -> (Destroy all sprites)
    [/code:3t7plozd]
    
    But it's easier to add Sprites 1-5 to a family and do this:
    [code:3t7plozd]
    SpriteFamily overlapping Soldier
         System Compare two values: SpriteFamily.pickedCount=SpriteFamily.count  -> SpriteFamily destroy
    [/code:3t7plozd]
  • You need to use System For Each (ordered) event.

    For example:

    System For Each Soldier (order by Soldier.attackDamage) descending -> Soldier set position to (X=50+loopindex*100, Y=500)

    This will arrange Soldiers on the screen by their attack damage, strongest first.

  • Add all enemies to a family. Add all objects you want to be spawned to another family.

    For example if you want to give your enemies 30% chance to drop some object when they die:

    EnemyFamily -> On destroyed

    random(100)<30 -> EnemyFamily: spawn ObjectFamily

  • You have multiple object types, and you want them to spawn random objects?

    Add them all to a family.

    Then do the same, only with the family:

    Pick random instance of Family -> Family: spawn Family

  • rafaelsorgato

    Physics Apply Force at Angle (Ship.angle)

  • .CurValue, CurX and similar expressions only work with "Array-For Each element" loop. (But Array-For Each loops can't be stopped)

    When you are using System-For loop, those expressions don't work.

    You need to use Array.At() as in my example above.

  • It finds all results - 2, 3, 4, 5

    If you want to stop after the first element found, change the loop to this:

    For x=0 to Array.width-1

    .... left(Array.at(loopindex), 10)="PlayerSkin" -> set result to loopindex

    .... -> Stop loop

  • You don't need regex. You can use expressions like left, right, find, mid etc.

  • No, sorry, I am not going to waste time trying to guess what could be wrong with your game.

    If you need help, you have to post your capx here and provide proper description of the problem.

  • There may be some useful information in this post:

  • Yeah, you need to make custom particles with sprite, bullet and fade behaviors.

    Sprites are slower than Particles plugin, but unless you are spawning thousands of them, it should be fine.

    And of course you should be able to mirror, rotate, change frames, bounce and do lots of other cool things with individual particle sprites.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can change the angle for Particles object. I believe if you set it to 180, it should have the same effect as mirroring.

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