chrisbrobs's Recent Forum Activity

  • Is this any good?

    <img src="https://dl.dropbox.com/u/22173473/FOGGY.png" border="0">

    Capx

  • <img src="https://dl.dropbox.com/u/22173473/locstorage.png" border="0" />

    Can't see it? <img src="smileys/smiley9.gif" border="0" align="middle" />

  • You can edit the local storage directly in Chrome with the Developer Tools. CTRL-SHIFT-I then click on Resources.

    After opening the developer tools/console, were do I locate the file i need to edit-

    'http_localhost_50000.localstorage' ?

  • vtrix...thanks for helping me with this project...

    I have a couple more questions regarding local storage?

    Your 'hashtoweb storage' saves the sprite details in the folder-

    C:\Users\Administrator\Local Settings\Application Data\Google\Chrome\User Data\Profile 7\Local Storage

    The file is named-

    http_localhost_50000.localstorage (on my system anyway)

    My question is...can this file be opened/edited in any text editor?

    I have tried using word, notepad, ultraedit and others?

  • Check 'how-do-i' and 'frequently-asked-questions'-

    Scrolling/Camera section.

    Link

  • Glad you solved it...here's a couple of things you could have tried..i'm only posting this because it took me ages to compose!

    You could try a couple of things depending on what modifications you have made after the crash?

    Change the extension of the corrupt capx to '.rar' and open it with Winrar.

    1, Create a texture with whatever graphics software you have installed, and save it into the relevent project texture folder, naming it 'gatewayexplosion.png'....then try to run it?

    or

    2, Check the folder "C:\WINDOWS\Temp" you might find the project in this folder under a different name....or a copy of the missing texture(renamed).

    If you can find a copy of the texture in the temp folder(probably renamed)...drag it out out, rename it to 'gatewayexplosion.png'and drop it in the relevent folder in the 'caproj' texture folder.

    Hope this helps(and makes sense)

  • yes it works,

    example

    so now when added a couple of "states" when pressing savetowebstorage

    it will safe the hashtable with all states to webstorage

    when page refresh it reloads the hashtable from webstorage

    Just tested your example....brilliant.

    I will update post tomorrow(?) after trying to implement into the project.

    Thanks for your help.

    <img src="smileys/smiley4.gif" border="0" align="middle">

  • chrisbrobs

    this is example spritebank + dictionary, you can save and load the sprites by "key" entered into textbox

    example spritebank

    Your example is great...couple of questions ?

    When I enter a 'name', and save/ load everything works.

    After exiting/ restarting the Capx, can I enter a previously saved ref and open it again?

    <img src="smileys/smiley9.gif" border="0" align="middle">

  • Thanks vtrix <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Dictionary was introduced in r91, so not a lot of documentation out yet. There are some details in the release notes.

    Thanks for the info Nimtrix...

    I will have to experiment and wait for a tutorial! <img src="smileys/smiley9.gif" border="0" align="middle">

  • Davioware@

    Hash table in C1 (It's called Dictonary in C2, I guess since it does away with the underlying hash)

    Can't seem to find anything re "Dictionary" in manual or tutorials.

    Will search.

    ---------------------------------------------

    vtrix@

    spritebank could be used, and combining the json data from spritebank with an array or hash, you can load multiple poses.

    I will check the spritebank plugin..see if i can make sense?

    Do you know of any example's that have been posted?

    <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Could somebody please tell me the best method for saving (and loading)

    sprite names, co-ordinates and angles....(similar to 'INI' files in C1)

    I need a way to record and load 2 sets of info..

    1, Start position and angle for multiple sprites.

    2, End position and angle for multiple sprites.

    An example of the app can be tested below-

    Thanks in advance

    <img src="https://dl.dropbox.com/u/22173473/animatesplash.png" border="0">

    Test

chrisbrobs's avatar

chrisbrobs

Member since 10 Aug, 2010

Twitter
chrisbrobs has 1 followers

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies