jobel's Forum Posts

  • I have a separate FunctionES just for functions and I organize them into groups. Much easier to find stuff that way.

    I also use name conventions like: UpdateXYZ(), CalcXYZ(), DisplayXYZ(), HideXYZ()

  • matpow2 so does the dev that works in C2/C3 keep making modifications/fixes and updates in Construct?

  • I assumed it was fixed since it is no longer happening. It was painfully obvious in my game when it was happening.

  • what size tilemap is it and what is the size of the tilemap object you are making in the editor?

    I have seen a few laggy things in the editor because I also have a fairly large project. One thing that helped me was to off-load all my function, variables other "global code" into #include sheets, this really helped my performance.

    Also in setting I turn off things like, Animated UI etc..

    EDIT: I just saw your GIF - that size looks like it should be fine.. although I can't tell the size of your actual tiles. I have a 3000x480 tile object (tiles are 32x32) and it runs totally fine (editing in the editor).

  • Another note is that when it fails it will fail forever even if you change the layout and come back it will still fail every time, so it will reset only if you hit preview again.

    I have observed this as well. Once it fails, it fails consistently while the program is running. It will never load those audio files from layout to layout.

  • not sure its related to this thread but music is still randomly not being loaded - happens as of today (stable r234.4) during Preview and happens often. Have not noticed it on NWjs (but I do those less).

    experimental features are turned off.

    what makes matters worse is I CANNOT AT ALL reproduce this in a small project. It only happens in something like the size of the game I am working on. I will say it was NEVER happened before r234.

  • yup this is still happening. Does anyone know if this bug has been reported? I know its a tough one to report since its so intermittent.

    I cannot reproduce this in a small project. It only happens in something like the size of the game I am working on. but I know for sure it NEVER happened before r234.

  • no problem.

    I do have a Store Page but its not live... won't be for at least another couple months.

    will let you know thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • any chance for games in development? I'm still about 6-12 months away from launch

  • congrats! do you know if the Steam version is NWjs or did you do some sort of custom deploy on that as well?

  • TheRealDannyyy I am only guessing and I don't know for sure, but worker mode (at least the way Construct Team explains it) to me seems more related to a Construct preview mode or an HTML5 export. Since the only time you are competing with other Chrome processes is when other tabs are open. NWjs is essentially its own version of Chrome, running by itself, so why would it need worker mode? I assume this is the wrong line of thinking since I'm seeing worker mode have impact on my NWjs.

    EDIT: just saw they fixed this in the next beta version!

  • newt that's a good point... I probably need to replace my all my Trigger Once with bools

    I have one scenario where pirate ships spawn in on a random timer, predetermined outside the layout. Once the layout start it knows pirates are coming, the timer starts. It's all kicked off by a Trigger Once The player can save at any point:

    • before pirates are spawned (timer is running)
    • while pirates are here and attacking player
    • after pirates spawned and player destroyed them already

    but I should be able to figure something out... this will teach me to not put off my save-game logic for so long!

  • newt ah, so the layout is started then the load happens? in that order?

    I have the On Load Complete Trigger in an #include in the event sheet. Is it wise to set a flag On Load Complete Trigger, that says we came from a load and not a natural layout start? Will the flag be overwritten by the Load or the Start of Layout?

    I need to turn the flag off in the Start of Layout in order to make my Trigger Once to run (once). but if I came from a Load I don't want it to run once if it already ran once...but what if they save before the Trigger Once? oh man.. how do I do this?

  • okay it seems like if I make a boolean GameLoaded = false

    Start of Layout -> GameLoaded = false

    On Load Complete -> GameLoaded = true

    Trigger Once While True AND !GameLoaded

    do whatever

    seems like this works... so I assume Start of Layout is not rerun??? so if I have pins or destroys will that be a problem??