dop2000's Forum Posts

  • It runs fine at 60fps on my laptop.

  • New Premium Templates are now available on HowToConstructDemos.com! They can be purchased from the Scirra store.

    .

    1. Random Level Generator - now contains 3 demo levels and shows how to build levels from scenes of selected difficulty and make endless runner/jumper games. A free 'lite' version of this template is available for download.

    2. Color Picker and Converter Tool - I've completely reworked this demo, it's now 100% accurate and allows converting between HSV, RGB and HEX formats.

    3. NEW! Multistroke Gesture Recognizer and Recorder - supports single stroke or multi-stroke gestures, allows recording new gestures and adding them permanently to your project.

  • Here is my opinion, but keep it mind that it may be wrong!

    You don't need to set up a company when you publish your first small games. Just be careful not to break any rules (copyright, data collection etc.), otherwise you personally may be liable.

    You do need a Privacy Policy, there are websites that can generate a generic policy for you. And you will need to put it somewhere online, doesn't matter on what website, but the link should be accessible for everybody.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • 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