dcrew's Forum Posts

  • What was the problem? It's good to write it down so anyone searching for a similar problem and finding this thread can find the solution as well.

    FYI I think how the updating works is described in Offline games in Construct 2

    (Trying my best to be formal <img src="smileys/smiley4.gif" border="0" align="middle">)

    You see Ashley...

    this..

    f everything is set up right, the browser will save your entire game to disk after loading it for the first time. After that, if you load the game again, it loads from disk. Nothing is downloaded at all! Usually that means the game loads instantly as well. This means even if you're offline, you can still load the game and play.

    Is a big problem, Because now when I update my game I can't just replace the c2runtime.js I have to name the other new one to c2runtime-0.1.75.js or whatever the version is, and then update my play.php page, Now even though that's no problem.. storing the c2runtime.js to load every time can be a really bad thing.

    1) It will waste server bandwidth

    2) It makes it annoying to update a game

    3) Some people may have trouble like I did, And for people who don't know the answer, well... Goodluck!

    This is fine, but the cache should delete itself if the browser get's closed and re-opened, or if you press Ctrl+F5 too!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 0.1.75 Released!

    Click Here to Play!

    Read first post change-log to see changes.

  • Nevermind, found the problem.

  • Actually, the problem still remains! As I have changed existing sprites in the game but they haven't updated on the browser upload. it's as-if it's loading previous caches.... which is extremely annoying, and makes it hard for me to update my game.

  • I have found an alternate way. but I still don't get why that should happen.

  • I've tried Ctrl+F5 (which is supposed to clear all cookies/cache of that page)

    I've tried closing the browser and re-opening it.

    One time I literally had to go-to chrome options and delete the week's browsing cookies and cache just for the game to update.

    And yes I have the latest chrome.

    Any suggestions?

  • 0.1.65 Released!

    Click Here to Play!

    Read first post change-log to see changes.

  • Right, and then it goes to the next one.

    It's not a big deal, if you don't want it triggered more than once you can just add the trigger once while true as a sub event.

    I know, As much as I'd love to explain my 2D rendering system I made, I'm not going to. Because it renders the world and every time it renders that event will run.. and so on.

  • > Did you do anything like rename or delete to the files of your project before you opened your project in C2?

    No. This problem appeared after I added a couple of events and launched a preview.

    I've already solved this issue, but let it be for your information :)

    This is a major bug for Ashley, and my only wish is to help him iron-out this bug! <img src="smileys/smiley17.gif" border="0" align="middle" />

    Did you add any new animations or re-name or delete any? before debugging.

  • UPDATE!

    This bug:

    1. Open project in C2 (it's a single-file project)

    2. Open sprite "block"

    3. Re-name animation "block7" to "sand"

    4. Save project

    5. Re-open the sprite and look at that animation

    6. There is no visual image

    Then

    7. Save project

    8. Open sprite "block" again

    9. Re-name animation "sand" to "block7"

    10. Debug without saving

    11. Error!

  • UPDATE!

    1. Open project in C2 (it's a single-file project)

    2. Open sprite "block"

    3. Re-name animation "block7" to "sand"

    4. Save project

    5. Re-open the sprite and look at that animation

    6. There is no visual image

  • Also can't reproduce in Space Blaster... do you mean renaming an animation? Animation frames can't be renamed.

    Yeah sorry that's what I meant.

  • I can't reproduce:

    1. Open Space Blaster

    2. Edit Player

    3. Rename 'Default' animation to 'Foobar'

    4. Preview

    Seems to work fine. Including your exact repro steps is helpful.

    Sorry.

    1. Open my game in C2 (it's a single-file proj, so it may only happen to those)

    2. Open my sprite

    3. Go-to my "block7" animation and re-name it to "sand"

    4. Debug

    5. Error!

  • <img src="http://screensnapr.com/e/O8j1Y0.png" border="0" />

    This happens after I re-name the animation frame, close the sprite-editor, then re-open the sprite-editor and click on the animation. It doesn't affect in-game, but it's just a sprite-editor bug.

    -1 Less bug <img src="smileys/smiley4.gif" border="0" align="middle" />

  • <img src="http://screensnapr.com/e/idJz8f.png" border="0" />

    Happens when I re-name an animation and debug the project without saving, Because the Temp dir files don't update unless you save.

    -1 Less bug <img src="smileys/smiley4.gif" border="0" align="middle" />