dop2000's Recent Forum Activity

  • You should only add 1 to horns when you add 1 to level. It's that simple.

    If your level variable is increasing correctly, then put "Add 1 to horns" in the same event.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to pick the correct basket instance. Normally, when you use "On collision" event, it picks the instance which is in collision. Make sure your animation action is inside this event. If this doesn't help, please share a screenshot of your code or capx file.

  • Instead of "Every 1 second Set progressBar progress to (progressBar.progress-1)" use "Every tick Set progressBar progress to (progressBar.progress-dt)"

  • "You received item [color=#ff0000]" & ItemName & "[/color]!"

  • Oh, right, that's because your layout size is bigger than the screen. Here is the fixed file

    dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx

  • You want to display these tables on the screen? This means that you need to read all files one by one, load them into JSON object, extract the values from them, and only then you will be able to build the table. If a folder contains many files, this can take a lot of time.

    You can put some of the information into the file name. Something like "Map_2000x1000_Forest_355objects.JSON"

    And when user clicks this file, you can read it and display additional information - sprites locations and so on.

  • Ok, then remove event #6, and add an action "Add 1 to Horns" to event #1.

    This way every time the level is increased, Horns will also get increased by 1.

  • Local variables are just variables that are defined inside of events or event groups. They are visible/accessible only from inside these events, hence the name "local". If you set local variable as "Static", it will not be reset.

    Like I said, there are other ways to store values that you don't want to be reset, you can put them into a dictionary for example.

  • Yes, I do!

    Create a family CihlaFamily and change that condition to "Cihla not overlapping ChihlaFamily at offset"

  • Instead of the video you should post your capx file.

    You can add an instance variable TreeUID to the Person sprite. When you assign a tree to a person, set Person.TreeUID to Tree.UID

    This way you will always know which persons chops which tree, and will be able to pick the correct tree in events.

    When you want to stop chopping, set TreeUID to 0.

  • Fixed this a couple of other issues:

    dropbox.com/s/91b0fifq00wysj7/SliderGamepad.capx

    Edit: I missed the "Have the cursor in the centre" part. You can simply add "Set Cursor position to Slider" in event 13. And you should move the Origin image point in Cursor sprite to its tip.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies