dop2000's Recent Forum Activity

  • Don't use round with random, it will produce uneven results. Value 2 will be picked more often than 1 or 3.

    Use int(random(1,4)) instead, or choose(1,2,3)

  • There are two tasks here - sending information to some server, and receiving information about player status (free coins, no ads etc.)

    If you need a proper solution, you will have to set up a database on your private server, or use some service like Firebase.

    If it's a simple game and you don't care much about people cheating, you can send their email to a Google spreadsheet and just immediately give them free coins for doing that.

  • When the timer starts, save the current system time in Local Storage. If player closed the game, next time it opens retrieve the value from Local Storage and you'll be able to calculate how much time has passed and whether to give the reward or not.

    If you are worried about people changing the time on their device to trick your game, you can retrieve the time from the Internet, there are plenty of free services.

  • It's not recommended to mix Physics with any other movement behaviors, especially if you are using joints.

  • You can make your own drag&drop, it's quite easy, especially since you want to snap object position to the touch.

    On Sprite Touched - save Sprite.UID in a variable

    Is In Touch - pick sprite by the UID saved in that variable and set its position to touch x/y

    On Touch End - clear the variable.

  • Check out Ashley's comment to this bug report:

    github.com/Scirra/Construct-3-bugs/issues/3718

    You can try this trick - create a folder in the list of objects and move either the sprite or Touch object into the folder (but not both).

  • You can't load that JSON data into the dictionary directly. C3 dictionary requires a specific format of JSON string, it looks like this:

    {"c2dictionary":true,"data":{"A":"alpaca","B":"baboon","C":"cat"}}
    

    Your JSON string contains an array with several nested objects. A dictionary can't hold that data. I suggest you keep it in JSON object.

    If you want to convert it a dictionary, you'll need to parse it into JSON object (which you've already done), then loop through all entries and add them one by one to the dictionary.

    Check out the official template in C3:

    editor.construct.net

  • There are lots of ways to calculate the trajectory for such movement. Check out this demo:

    howtoconstructdemos.com/category/misc

  • Glad it worked! I highly recommend setting up automatic backup in Construct settings.

  • Yeah, it's really annoying that there is no way to align such objects.. I posted a bug report:

    github.com/Scirra/Construct-3-bugs/issues/5585

  • You mean the files are empty (with size 0 bytes)? In this case yet, this is definitely wrong.

    Are the duplicate files (for example text 2.json) also empty? If not, you can try renaming them. Make a backup copy of the project just in case.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't have any experience with 3D yet, but normally to convert coordinates between two layers you need these two expressions:

    Set X to CanvasToLayerX("UI", LayerToCanvasX("Game",Animals.X,Animals.Y), LayerToCanvasY("Game",Animals.X,Animals.Y))

    Set Y to CanvasToLayerY("UI", LayerToCanvasX("Game",Animals.X,Animals.Y), LayerToCanvasY("Game",Animals.X,Animals.Y))

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