dop2000's Recent Forum Activity

  • 1) Function.Param(0) applies to "dialogue" function. If you call this function with the parameter "John", then the "name" key in the dictionary will be set to "John".

    2) This variable is used to store XML XPath. "&ProjectVariables.Get("name")&"']/@ means add a value from the dictionary to the string. So the result will look like this:

    /Dialogues/Dialogue[@id='John']/@
    

    3) It uses Regex to search for something and extract some sub-strings. You can use any of the online regex parsers to try to decipher what's going on there.

    I must say, this tutorial seems unnecessary complicated to me. You can study it, but maybe it would be better to build your own dialogue system.

  • Check out the official Date template. It shows how to calculate the difference between two dates (it's in milliseconds), and display it in readable format.

    https://editor.construct.net/#open=date-time

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • I can't open your file. You need to allow access to everyone.

    Try opening this link yourself in Private Mode in your browser.

    • Post link icon

    Not sure what you mean, the title doesn't say much. Effects can be applied to objects or layers. So you can either re-use the same objects on multiple layouts, or create global layers.

  • I don't, because you didn't post your project file.

    You need to run your game in debug mode and check what objects or events are affecting the FPS.

  • You need to move the condition from sub-event to event #60. "While" and the condition should be in the same event.

    I also suggest always adding this "emergency" exit condition to While loops, to prevent infinite loops: loopindex<1000

  • If it's an unzipped project file (with .caproj file), you can open it in Construct.

    If this is an exported game (with .js and .html files), there is nothing you can do.

  • Press F12 in Construct window and check error messages in Console log when you are trying to open the project.

    Also is there a way I can attach a file.

    You can upload it to Dropbox, Google Drive etc. and post download link here.

  • If I understood your question correctly, you can use SnapX and SnapY expressions. For example:

    Sprite is dragging:
    Sprite set position to Tilemap.SnapX(Sprite.X), Tilemap.SnapX(Sprite.X)
    

    You can also add clamp to limit the movement to tilemap area:

    Tilemap.SnapX(clamp(Sprite.X, Tilemap.BBoxLeft, Tilemap.BBoxRight))

    Tilemap.SnapY(clamp(Sprite.Y, Tilemap.BBoxTop, Tilemap.BBoxBottom))

  • I don't think it's possible. You can make your own text input.

    construct.net/en/tutorials/your-own-textbox-459

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