dop2000's Recent Forum Activity

  • You can load the screenshot into an empty sprite, resize the sprite to your desired size and screenshot it again. Or paste the sprite onto a drawing canvas and save the image from the canvas.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You don't have to spawn body parts, they are created automatically when you create the body, because you have "create hierarchy=true". And you only need to pin once, not on every tick.

    Try this:

  • I found this solution - add these lines to package.json

    "icons": {
     "256": "icons/icon-256.png"
    },
    

    If you ticked "package assets" option on export, package.json will be inside package.nw archive.

    I think Scirra need to update their export to include these lines automatically.

  • But the problem occurs when the user hits the spawn button again, the pin only attached to the firstly spawn object only.

    When you spawn an object, in a sub-event pick its arm and hand using "Pick child" condition.

  • You can still use the hierarchy to create all objects. And once created, pin the hand to the arm.

  • You do not have permission to view this post

  • In this particular case you will probably need to use Pin behavior to pin the hand to image point on the arm. Or update its position on every tick with events.

  • I fixed some mistakes in my previous comment.

    Here is a demo:

    dropbox.com/scl/fi/uqgd4mpi4823mi0wtmvzd/randomColors.c3p

    Another and better option is to use the Advanced Random plugin. Create a probability table with three values, and then for each sprite assign a value from it. Sounds scary, but it's in fact pretty simple.

  • For each Sprite Order by random(1)
    
     loopindex<Sprite.count*0.35 : Sprite set variable 1
    
     Else
     loopindex<Sprite.count*0.90 : Sprite set variable 2
    
     Else : Sprite set variable 3
    
  • Quotation marks are only needed when you set values via events. If you manually enter text values into instance or global/local variables, quotation marks are not required.

  • I don't know, it's possible that quotation marks are not supported in probability table names.

    Why do you have them in your string in the first place?

  • I did a quick test a WeightedByName returns correct values when two or more probability tables are added.

    Make sure you are picking the right WildEncounterTiles instance, and Location variables contains the right value. You can use Debug View and Browser Log to troubleshoot issues like these.

dop2000's avatar

dop2000

Member since 26 May, 2016

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