Nitro187's Forum Posts

  • I would like to sort the second column, in a 5x50 array... for example:

    yx 1 2 3 4 5

    1 Matt 1345 Car 56 Green

    2 Chris 2345 Truck 93 Red

    3 Laura 23255 Train 15 Blue

    4 Ashley 92234 Bike 134 Yellow

    5 Sam 7346 Plane 99 Purple

    etc etc

    I would like it to sort like this:

    yx 1 2 3 4 5

    1 Ashley 92234 Bike 134 Yellow

    2 Laura 23255 Train 15 Blue

    3 Sam 7346 Plane 99 Purple

    4 Chris 2345 Truck 93 Red

    5 Matt 1345 Car 56 Green

    etc etc

    As you can see, the second column is sorted in order largest to smallest. I've seen examples where people have zeropadded the scores, and added them into just one line, and then sorting that way... but that just seems extremely inefficient... there has to be a better way. Is that not how these array's work? Can you not move a line, for example, All of Y1 (X1, X2, X3, X4, X5) and insert before Y4, thus pushing Y2, Y3, to spot Y1, and Y2 giving what was line Y1 the spot line Y3 keeping all of it's X axis's?

    I tell you.. it's so much easier doing an online leaderboard, than a local one let me tell ya.

  • I tried a complete uninstall (even removing registry entries and remaining files) and a re-install.

    Because of the size of my project might have something to do with it, and the inability to go back in versions, I can't test in older versions anymore. All I can say is that it still does it even after all this.

    Brand new Windows 7 64bit install on a Lenovo E531 laptop

    i7 3632QM

    16GB ram pc3 12800

    Like mentioned earlier, this resource not found problem only happens when you go to preview after a number of times. You can actually see Construct2 slowing down shortly before this happens. I have a sneaking suspicion it has something to do with the Tool Tips.... but don't know for sure.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Any chance of that capx?

  • Nitro187 How about save the name in Webstorage?

    Hmmm, I haven't played with Webstorage. Maybe that's something I should be looking at.

    Thanks for the suggestion.

  • I now have this set to every 5 minutes.... mainly cause it's frustrating when I forget to save before previewing. This seems to happen every 6th or 7th time I preview my game... I'm 100% sure there is a memory leak with Construct2.

    Is there something I can do to help figure out what it is?

  • A simple solution would be to add a loading screen, on a front layer set to white and background visible, in each layout.

    In a separate event sheet, store the global sound level in a variable and then set it to -80dB to cut the sound.

    Add in this event sheet a function "EndLoading", that will restore the sound level, and hide the front white layer (or image you put in)

    Include this sheet in every principal event sheet of your layouts, and add a call to the function "EndLoading" once you handled the change of layout on Load of a savestate.

    I can't believe there's not an easier way.

  • Add a variable when saving

    On save condition add variable saved=trueat begging of each layouy if svaed=true go to a specific layout.

    That's actually what I ended up doing... but I'm still left with the initial problem of the level loading, and then skipping back to the beginning after loading that level... sometimes you hear music playing... sometimes you see stuff on the screen; I wanted to avoid that.

  • True

  • Did you try:

    Let's say there is a button called "Load Game".

    On Load Game clicked > Load Game

    Go to Layout

    Or use variables:

    Load (check if game already loaded) = 0

    On Load Game clicked > Load Game

    Load = 1

    If Load = 1 > Go to Layout

    Load = 0

    I didn't try it, but I'm going to do in a few minutes.

    I hope I could help you.

    Yup, tried that. Right after it does the "Load game" action, it goes to the other layout, and ignores the next condition. makes no sense.

  • What I do is create a condition on LoadComplete > Got To Layout

    In my case the layout I go to is the level select layout.

    I tried that; however in my experience, it never launches the condition "LoadComplete"... it just goes right to the layout that the Load State called.

  • I tried a few different ways, but my saved game keeps bringing me to the layout, where I don't want to be... is there a way to force, after the game has loaded from it's saved state, to go to a specific layout, without the one that was saved to load?

    I have a players name, that after they enter it on the character customize screen, that it saves it... but when the game starts, it loads any saved name. Problem with this is, that it goes to the character customize screen instead of the Title.

    I'm sure this is an easy one... I really have to stop staying up so late.

  • This happens way too often.... if it wasn't for the auto-save, I would have lost hundreds of hours worth of work over the last three weeks. Here is what happens with the screen: http://i.imgur.com/Z0tPSa2.png

    This happens at least once an hour... sometimes once every hour and a half... and the only way to fix it, is to close Construct, restore my auto-save, and continue working... to which it works great fora bout another 90 minutes, then it does this again. (of course it does it 17 or 18 mins into the auto-save cycle.... to which I changed my cycle to every 15 mins to combat this... and now this happens it seems every 13-14 minutes... ugh(%#)

    Is there anything I can do to resolve this? I have 16GB of ram... and I've tested it for bad memory, to which it passed with flying colors. This seems to have all started with the r160 release... but can't be 100% sure. Any ideas as to what I can do to help you diagnose?

    Ninja edit: I just changed it to every 10 mins now... blah.

  • Please note that if you login on another device/browser, it will log you out on the other device now. This is a feature of the new forum unfortunately and it's unlikely that can be changed.

    Oh for the love of.... I wish this would change. I am constantly looking at this site from 3 different computers (my test, my dev, and my work pc's) and having to re-login every time is a pain. Judging by your post, this will always be the case in the future.... what a shame. It shouldn't be hard to implement a "Only be logged into one machine at a time" option to each persons account, to which they can disable if they choose...

  • lol, no worries.

  • Been doing this for me for a while too.... same steps to reproduce.