NetOne's Recent Forum Activity

  • Just doing my regular C3 port test and cant get my C2 game to preview with C3 in Chrome (62)

    Getting this message on load/run preview

    When I click ok, the game and browser tab freezes and becomes unresonsive

    is this me ??

    Funny thing though if I run from edge and preview in edge with C3 I get the same / similar message but when I press OK the game plays fine as normal.

    any ideas ?

  • Nice!

    I was starting to see dips to 54 fps in current build when getting above 40 enemies on screen

    this simple change has taken me back to 60fps

    thanks !

  • Changing Z order in a loop is inefficient because it changes the Z order repeatedly. The 'sort Z order' action is efficient because it does the sorting, then changes the Z order once at the end. So you should basically only use the 'sort Z order' actions for large numbers of instances. However if you just update the instance variable it uses in a loop, that's fine, because updating an instance variable doesn't itself change Z order.

    Thanks, sorry yes I missed the "Move to Top/Bottom in my example above. (will edit)

    OK then, I am processing all the enemies and environmental objects in my game (pretty much everything you see on screen) in this inefficient way, every tick!

    (And here is me still being impressed with the performance !)

    Cheers

  • FWIW, using "move to front" or "move to back" in a loop is very inefficient. This is why we made the System 'Sort Z order' action - it's much more efficient for ordering lots of instances.

    Hi Ashley

    Ive just seen this.

    I supose it is to do with z-sorting every run of a loop compared to z-sorting all at the end

    So would it be correct to assume that this recommendation is also applicable to something like

    For Each "ZObject" > in order of instance variable Z (ascending) > move to XY

    ZObject move to bottom of layer

    (as this will process in order of individual instance Z variable,

    thus the objects will appear in the correct Z order naturally)

    so would actually be better to do like

    For Each "ZObject" move to XY

    then Sort all ZObjects together according to ivarZ

    So now they are moved first in any order then Z sorted all at once after the loop

    ?

    cheers

  • Hmm yeah it's a bit of an odd case. We store a list of file ID values for the cloud project locally for the recent projects list, so until you try to actually open the file we don't contact Google Drive to see if it's there. Deleted files are exactly the same as normal files in Google Drive, except they have a label saying "trashed = true", so I guess it allows you to open the file if you still have the ID.

    Nepeo

    Ok, so if the file has a "trashed" tag when you try to open it

    then dont let C3 open it it and instead display a message

    "sorry this file is no longer available"

    or "this file has been deleted from your drive, would you like to recover it?"

    or something like that.

    This is very important as there is nothing worse than wasting hours blindly working on an out of date game file.

    Yes I have done this a few times it is not fun especially as it usualy takes a day or two to realize

    Cheers

  • Try Construct 3

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

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

    pretty much every sprite in my game, bar the bullets and hud, are in a single family. Can be 100s at a time

    I will have a look tonight.

  • Thanks Ashley (and all) for clarifying,

    apologies for being a bit of a noob.

    Im looking fwd to making the switch to C3

    cheers

  • newt yea but my thinking was that once you give C3 full drive / drop box permissions then anyone with access to your C3 account will have access to your cloud C3ps

    but Elliott, you are saying that a new device would prompt full login request and further prompts to grant permissions again for that device.

    this is reassuring.... and makes sense

    edit - i dont have another device to test but I logged into C3 using edge on the same computer and it asked for logon and permissions so it is even browser specific. so it looks like its a local thing ... cool

    .... all good I think then????

    another edit (sorry ill stop now)

    but when I look in Google Drive app permission settings it simply says that Construct 3 has access to Google Drive.

    So doesn't this apply everywhere ???

    are we sure it is machine / browser / ip specific ???

  • It's either stored in your account on Dropbox etc., or in you browsers webstorage aka locally.

    The only thing you would upload to them is an export for mobile compile.

    Yes so any Scirra employee who has access to your Scirra account has access to your Construct 3 account (its the same account) and thus has access to your Drop box / Drive (through C3)

    So has access to your source files.

  • If I work on a game and save to cloud.

    Then the delete c3p file from Drive from whatever folder

    Then open Construct 3 and select the recent project (which should be deleted) .

    Construct 3 will still open the deleted file no problems

    clearly it is finding it in the Google Drive Bin

    this is kinda not good and could cause all sorts of issues.

    the Bin should be off limits for "open recent projects" ,

    (the regular cloud open Project window does not seems to be able to look in the bin)

  • So I'm kinda ready to make the jump to C3

    I know security has been discussed and you have said you dont keep user files etc (even for cloud build / export manger?)

    but there is one thing really bugging me ...

    Some / all? Scirra/Construct employees will have full admin access to our accounts.

    That means full access to our source c3p files stored on cloud.

    Is this correct ?

  • ome6a1717

    I don't entirely understand what you are saying but

    When you load an array from local storage or whatever,

    the size is set by the json file you are loading in.

    It doesn't matter what the size of the array was before this.

NetOne's avatar

NetOne

Early Adopter

Member since 3 May, 2016

Twitter
NetOne has 4 followers

Trophy Case

  • 8-Year Club
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

11/44
How to earn trophies