jobel's Recent Forum Activity

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

  • Try Construct 3

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

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

  • okay not sure what did it, but I changed the name of the save slot and then gave a bunch of background objects NoSave behav and now its working like a charm!

    only probably now is... all my Trigger Once events retrigger!

  • also I'm not using the No Save behavior on anything... mostly because I don't really understand where I would apply that... the doc says to background objects and HUD, but don't you need those recreated when you load the savegame?

    Is a layout loaded with everything it starts with? I don't really understand the process and the doc is somewhat lacking on how it applies to an actual layout.

  • newt interesting stuff about the json... I will try that

    but if its too big would the save work and not the load? seems like the save would fail.

  • Why would a System>Load savegame fail?

    I have a button for running the System>Save and that completes, but when I go to the Load it keeps triggering On Load Fail. What exactly causes that? How would I test the actual save game is there? where does it save it? would I see a savefile in the runtime directory?

    I tried a small example project and it works for me in the small example. However my game is somewhat large and I wonder maybe that has something to do with it? Are there any limits?

    Also will Loading save-games automatically switch layouts? I'm loading from a different layout.

    EDIT: testing this on NWjs export

  • so far in my last 2 test builds (NWjs) I set Worker Mode to OFF and I haven't had an issue. It doesn't make sense that worker mode would have anything to do with an NWjs export... but that's the only thing I can think of.

    I will keep you posted.

  • also yes the buttons were intermittent and the analog sticks were fine!

    UPDATE: yes it happened again...D-pad is just unresponsive...sometimes it works, sometimes not, sometimes it does double inputs (most likely lag)... this is crazy!

  • YES! it happened to one of my playtesters (testing my NWjs) and I just assumed it was his controller... then today it happened to me (NWjs)... but then since that one time, it no longer happens, I even started the same build and it didn't happen.... still testing though...

    uuughhhh I HATE problems like these!

    I know worker-mode in the past has given me issues with gamepad response being delayed... could this be the culprit? was a change made recently? TheRealDannyyy

  • thanks Ashley I think I found it - in Chrome Settings, Adv - somehow it got reset? maybe a Chrome update like you said.

  • you used to be able to right click the zip file and Save As... it only lets you left-click now and it automatically goes into my Downloads folder...and then it does this auto-open thing in Windows explorer where it opens 2 explorer windows and puts me inside the zip folder, where I can't do anything since its in the actual zipped folder - I need to be outside the zip folder to unzip it!

    did something change? How do I get it not to do this? I want to pick where it gets downloaded and just be able to unzip it. It so much slower to download that way with all those auto-opens.. its really annoying

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies