dop2000's Recent Forum Activity

  • Normally you do it like this:

    For each Sprite
    .. Wait loopindex*0.5
    .. // other actions
    

    But if you put this loop inside "Every 0.04s" event, it will cause havoc.

    I don't think syncing every 2-3 ticks is necessary. And if it is, you should choose a different method. Perhaps combining the properties of all bots into a single string and sending that string.

  • Your project is not big and it should definitely not cause your computer to run out of memory.

    Must be an issue with Chrome. Try opening the project in another browser, preferably in Firefox. If it works in Firefox, try cleaning cache/data in Chrome, disabling extensions, reinstalling Chrome.

    If it still doesn't work, press F12 in the editor and see if there are any errors in the console log.

  • We noticed a problem in NWJS game - custom cursor changes to system cursor when it touches the edges of the screen:

    Subscribe to Construct videos now

    I tried turning different settings on and off (window frame, kiosk mode, devtools), this doesn't help.

    Strangely, this doesn't happen on some machines. I have two laptops, both with AMD cpu and both running Windows 10, this bug only affects one of them.

    Is there any fix?

    Tagged:

  • Just FYI - I added emojis to some event sheets, it was working fine for a couple of days. But today was unable to open the project.

    So I had to restore an older version from backup.

    It was fun while it lasted, but I wouldn't risk using emojis again, at least not in file names (event sheets, layouts, objects etc.)

  • You mean scroll by dragging the screen?

    howtoconstructdemos.com/scroll-by-dragging-the-screen-with-touch-or-mouse

  • 1. Might be this bug:

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

    You can try adding a new folder under Objects and moving either the Touch plugin or the menu sprite to that folder. This will change the order of objects and your menu should start working.

    2. If you want to block buttons while the menu is scrolling, you can add these conditions:

    Touch On Tap on Button
    Menu is NOT dragging
    Menu Bullet is NOT moving
    
  • I guess another option is try to use any of the recently added scripting methods, which didn't exist in r344.2

    And catch an exception with try-catch.

    Edit: This code seems to work!

    const inst = runtime.objects.Text.getFirstPickedInstance();
    try {
     console.log(inst.getTagCount("mytag"));
    } 
    catch {
     // exception means that the version is correct
    }
  • GeoffB This is promising! How do I use it in a script?

    I tried console.log(c3_runtimeBaseUrl) and it didn't work.

    EDIT: seems like it doesn't work with worker enabled.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The most reliable method is to run the editor by version link. This way it will never update itself.

    Of course we are launching the editor by direct link (editor.construct.net/r344-2/), but several people are working on the project and human errors do happen. I had to spent several hours once manually editing project files because the game was saved in wrong version. I want to prevent this from happening in the future.

  • Thanks, but that's not what I was asking.

  • We are preparing a big game for release and need to stay on Construct version 344-2. But because the editor constantly prompts to update, it's easy to accidentally save the project in a new version.

    Is there any way to check C3 version in runtime? I want to display an alert if this happens.

  • You can encrypt anything, including any JSON files in your project.

    But you will have to use "Plain text" file format to store the encrypted data. Request it with AJAX, decrypt and parse into JSON.

    You can use the official example to encrypt/decrypt your files:

    editor.construct.net

dop2000's avatar

dop2000

Member since 26 May, 2016

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