dop2000's Recent Forum Activity

  • No problem!

    Where did you see that I changed the default animation to dash? I didn't.

  • Try Bullet behavior + Sine behavior (with vertical movement)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You are simulating controls only when the speed is <200

    Change your events like this:

  • There is nothing wrong with the code.

    Could you share your capx?

  • Make sure that all frames in the running/dashing animations are the same size and the Origin image point is in the same position in all frames.

    There is a common trick that helps to avoid issues like that:

    Create an invisible rectangular sprite with Platform behavior. This will be your main "character" sprite, controlled by the player.

    Remove Platform behavior from your sonic sprite and pin it to the invisible character sprite, like a "skin".

    This way animations on the sonic sprite will not interfere with platform movements.

  • Baddies|On detroyed
       System|Compare two values (random(100)<30)     ->    Baddies|Spawn Goodies [/code:l8xdlyad]
  • When you create a family instance, a random family member (random sprite) will be created. So yes, to make custom particles, you can add all those arms and legs to a family, add Bullet and Fade behavior. When an enemy is killed, create a bunch of family instances, set random angles and speed etc.

    Though it may be easier to have all these body parts in one sprite as different frames. Then when you create a new sprite instance, simply set animation frame to floor(random(Sprite.animationFrameCount))

  • 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)

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 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