ElleTrudgett's Forum Posts

  • I managed to essentially copy the sublayers into all the layouts with a script by saving the project as a folder and adding the overridden layouts into each map that didn't have them. The inherited_layers.json file was just a copy of the subLayers list from a layout that had the layers inherited.

    If you use this Python script, you use it at your own risk. Make sure you have made a backup first, and you will need to edit e.g. the "map_*.json" wildcard pattern to have it match your map names. It will overwrite the actual layout files. The SID generated is random too, and does no checks if it's a duplicate, so I also opened the project and opened every single map just to make sure it didn't crash.

    pastebin.com/jjvccn2V

    I then moved everything from the parent layer to the respective sub-layer, then made the parent layer non-global, because otherwise it acts weird in combination with the global sublayers.

  • Hi,

    I'm making a game that has a number of global layers that appear in each level layout (HUD, in-game menu, etc.)

    Sometimes I realize I need to add new global layers, for example in the in-game menu, I want to put the contents of each menu tab on a different new global layer. The problem is, I have over 25 level layouts already, and I want to add 5 new global layers. I'd rather not go and add over 100 layouts by hand, is there an easier way to do this?

    Ideally, I'd create them once, as sub-layers on an existing global layer, mark them global, select the parent layer and choose an option like "Create global sub-layers on layouts where they don't exist", or something like that.

    I'll see if there's a more automated way to do this in the mean time...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • >

    Subscribe to Construct videos now

    >

    > Latest build of Luna's Tale :)

    Not gonna lie, but I feel like the Climbing Animation could be re-worked because while climbing the ladders, it feels like Luna is flying.

    Haha, oh yeah. No climbing animation yet, it just continues whatever animation was playing.

    The forest looks nicer now

    Also the castle is coming along

  • I've "solved it" for now by creating a new Google Chrome profile specifically for Construct, and that's working perfectly :)

  • In your other thread it looked like you were out of disk space and so the browser was regularly cleaning up storage to try to save space. It could also be clearing the remembered Google Drive login, causing you to have to keep logging in.

    Thanks for the input. But this has been happening for a long time, maybe even since I started using Construct3 - and has also happened again after I made plenty of space on disk. (It also works as expected in other browsers, and in incognito mode, as explained above)

  • So with a bit of experimentation I've found something interesting. In incognito mode or Firefox, it seems to behave properly. Under my normal account, it seems to always want me to confirm the login. So I'm guessing it may be something to do with my preferences, extensions, or something to do with me being signed into the browser itself? Very confusing. Any pointers would be helpful but I'll keep investigating.

  • Free edition limits your number of events regardless of if you don't upload or publish anything or not.

  • It's strange, because it remembers my Construct3 login and everything, but it's just Google Drive that prompts me to confirm / login every 2 hours. I don't think it's opening in an incognito window. The shortcut target is:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome_proxy.exe" --profile-directory=Default --app-id=incdokckmnmglbmdgldialcgefgpcbbc

    (There is no -incognito option there)

    It's also not on-exit, because I will have Construct open for a whole day or longer, and it will prompt me to log into Google Drive again once it tries to do an autosave 2 hours after the last login.

    I'll try in a normal Chrome window, an incognito window, and in Firefox, to see if there's any difference.

  • Yup, that seems to have been it, and explains why it started happening much more frequently all of a sudden. I wish there was some way for Construct to tell me that there was a storage issue, but it looks like it didn't know (said something like 280 GB free.)

  • Subscribe to Construct videos now

    Latest build of Luna's Tale :)

  • Cool work :)

  • Does it happen in Private Browsing / Incognito mode?

  • Just to make things more confusing, the taskbar icon seems to imply that I am signed in to my Google account.

  • So it does appear to be something to do with it not knowing I'm signed in:

    Source: construct.net/en/forum/construct-3/general-discussion-7/un-sync-cloud-138865

    Construct does not hold any passwords to any of your cloud services. When you log in Google gives us a ticket which construct holds on to. Whenever construct saves a file it shows the ticket to Google. If Google decides the ticket is valid then the file is saved.

    This ticket is only valid for 1 hour, after that we have to ask for a new ticket. When you press the logout button we throw the ticket away.

    When we need to get a new ticket we will open the Google sign in page, and wait for it to give us a ticket back. We have no control over the Google sign in page. When you type in your user name and password you are giving it to Google, not to us. We never see your password.

    If your browser is already signed into your Google account the sign in page may just return the ticket to us, as you have told Google that you trust C3. Unless you are using your personal computer, with adequate password protection, I would not advise leaving your Google account signed in. Anyone using that browser will be able to view your gmail, drive files, etc. If it's a shared computer then I suggest that you use either a guest or incognito window. These will sign you out of Google once the window is closed.

    Finally, on your Google account settings you can "untrust" any applications that you have granted access to your Google account.

  • This is the login dialog that pops up, about every 2 hours now that I timed it.

    I'm using Construct3 as a separate window, if that makes a difference:

    Opening App info shows:

    And when I click Site settings it opens up in my browser, which I am signed into