Nitro187's Recent Forum Activity

  • The only problem with all of that, is the fact that you have to close C2 completely before replacing said audio files, as C2 holds them in memory and doesn't know you changed them, unless you re-load the project.

    Regardless, it doesn't matter... I spent a couple of hours and went through my project and changed everything to "Play (name of object)" rather than Play Object. Much easier now.

  • I have no problems either... perhaps upload a capx as required by any bug submission?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I spent the last hour narrowing down this bug... extremely annoying.

    Problem Description

    Audio files over 3 minutes in size delay the sound effects from playing

    Attach a Capx

    http://mail.acibrands.com/1.capx

    Description of Capx

    I've made the CAPX pretty self explanitory.... essentially you run it, and it'll tell you exactly how to re-produce.

    Steps to Reproduce Bug

    • On startup, play an audio file that's over 3 minutes in length in a loop.
    • While playing, attempt to play a sound effect... the sound effects won't play* *- They eventually play, once you wait the delay period. The delay period varies depending on how far past 3:00 you go. if the length is 3:05, you'll wait 5 seconds... etc. In my demo, I have a 3:30 length music file... so it'll delay for 30 seconds.

    Observed Result

    No sound effects play.

    Expected Result

    Sound effects should play.

    Construct 2 Version ID

    r163

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

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

Nitro187's avatar

Nitro187

Member since 26 Jan, 2014

None one is following Nitro187 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies