dop2000's Recent Forum Activity

  • Instead of the container use hierarchy. Connect all objects to a hierarchy in the layout editor. Create the parent object and all child objects will be created automatically.

  • This likely happens because the bird sprite collides with the wall twice. It happens very fast, so you don't see it, but it momentarily changes its direction to the left, then collides with the wall again and changes direction again. Since the bird is already in the wall, further collisions are not registered and it continues flying to the right.

    You can try adjusting the origin point and collision polygons in all animation frames, make them strictly symmetrical. But the easiest solution is to add a cooldown period. After changing the direction, ignore further collisions, say for the next 1 second.

    You can use Timer behavior and check that the cooldown timer is not running. Or simply save the collision time in an instance variable on the bird. And compare (lastCollisionTime>(time-1))

  • You mean the data you saved in Local Storage while developing the game? It won't be exported of course.

    Every browser has its own local storage location, and it's separate for every website domain. Even if you play your exported game in the same browser you used for development, the storage contents will be different.

  • There are several examples in Construct editor, have you seen them? Search by the word "gravity"

  • GridMovement may not be the best choice here, because it stops after every cell.

    I would probably choose MoveTo behavior. Use raycasting of LineOfSight behavior to detect the nearest wall in that direction, then move to it.

  • I am also still confused on the Array size expression you mention. I currently don't have an array in use, just a Json

    Your JSON string actually contains arrays. "Scene" is an array, and "dialogues" is an array. If you see square brackets in JSON string - that's an array.

    So JSON.ArraySize("Scene.0.dialogues") for example will return the number of elements in "dialogues" array in the first scene.

    I suggest you read/watch some tutorials about JSON. It's not that complex and once you understand its structure, it will all make sense.

  • That's not the right formula.

    Use "Set value" instead of "Add value" and my formula from the previous comment.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can round the number every time you add 0.01

    Set var to (round(var*100)+1)/100

  • Same way - on every tick set text to its default position for all buttons.

    If mouse is over the button - offset text position.

  • This shouldn't happen if you organize the events correctly. Try this:

    On Every tick: Button Set frame to 0
    
    (sub-event)
    .... Mouse over Button : Button Set frame to 1
    
dop2000's avatar

dop2000

Member since 26 May, 2016

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