Haematite's Forum Posts

  • Sure, why not! This is me:

    <img src="http://i.imgur.com/BHZ0v.png" border="0" />

  • I couldn't find an example anywhere on the forums that demonstrated how to save and load an entire Array to/from WebStorage without plugins, so figured I'd upload one.

    It's fairly well commented so hopefully it's fairly easy to understand, let me know though!

    This is probably pretty useful if you want to generate and then save a random map for example, or just saving level scores, times etc.

    HTML - Here

    CAPX - Here

    Hope somebody finds it helpful! =)

    Also, this example is only for 2D Arrays, but you could easily add another loop in for 3D if you wanted =)

  • zsangerous

    You could save that in an Array(x) as you said, but for something that's only really storing one variable there's no need to use an Array, and you can simply use a Global Variable or, in your case, just compare the current Animation Frame of your character.

    Arrays are more used for saving lots of data quickly, such as scores, whole levels etc. You can use them instead of variables, but there's often no need.

    I'd take a look at your capx, but the link isn't working.

    Regarding how long it takes, not very long at all once you get used to it =)

  • Try this plugin maybe?

    http://www.scirra.com/forum/plugin-filesaver_topic49803.html

    Never used it, but it sounds like what you want to me =)

  • I find the best way to think of Arrays is as an (Excel) spreadsheet - you have your columns and your rows, and each square (or 'Cell') contains a piece of data you want.

    So in Row 1 in Excel I might have the scores of each level, with each level being in a different 'Cell' (Level 1 in Column A, Level 2 in B etc.).

    The Array's Width basically coressponds to how many, in this case, levels that I want to save. So if I have 10 levels in my game for which I want to save the scores then I would set the Width of the Array to 10. The Height in this case I could leave as 1 as I only want to save scores.

    If I wanted to also save, for instance, the time it took for a person to do my level then I would save that in Row 2, with the same Columns (A, B etc.) for each level as before. I would have to make the Height of my Array '2' to do this though as I now have two rows of data.

    In Arrays though letters aren't used, and are also numbers. So if I want to access/store Level 2's Score, then I would want Cell B1, which in terms of the Array would be X = 2, Y = 1 (two columns across on the first row).

    I realise this analogy is slightly useless if you've never used Excel, but it's how I tend to visualise it =)

    I'm also going to upload a .capx at some point showing how to save/load Arrays to Webstorage at some point as I haven't seen a tutorial on this that doesn't used plugins.

    Hope this helps!

  • Well done to everyone who took part, there were some good games there!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I personally use a combination of Illustrator, Photoshop and GraphicsGale. I'll second what simwhi said about Gimp and Inkscape though, they're both pretty decent.

    Vector programs are good if, like me, you have the drawing talent of a snail. Photoshop's pretty decent for quickly adding shadows, lighting and detail. Gimp's the same, I just couldn't stand the interface.

  • StephenC A similar thing occurs for me every so often too, no idea what causes it, just pops up randomly. Once it occured when undoing deleting a layout, but I could never recreate it again =/

  • My vote was for online multiplayer, something that would probably greatly expand your user base as, judging from the numerous forum threads I've read, it's something a lot of people want!

    Closely followed were monetisation options (as I'm sure many people are eager to make some money!), more event sheet features, and the Shaders (although the exclusion of browers not supporting WebGL doesn't really make this a top priority for me).

    All of the options looked pretty good though really, looking forward to seeing all of these in the future!

  • Never really though about it myself, but it would be nice to be able to change the text and field size =)

  • I can't really report this properly, as I've no idea what causes it, but every so often I'll click on a tab (Or possibly just random objects sometimes) and then it locks up. I can hear loads of error messages popping up, but I can't see any or click anywhere on Contruct 2 and the only way to do anything is to end the process.

    It's a bit annoying as I often lose some progress!

    I realise this is a slightly useless bug report, but seeing as there's no messages and I'm never doing anything particurly different when it happens there's not much I can do!

    And yes, my Graphics Card drivers are up to date =P I'm running Windows 7 64-Bit, and it's a laptop with Nvidia Optimus 540m and Intel HD 3000 graphics cards if that's any help!

  • anthonykojima Thanks, glad you liked it, I'll admit the difficulty curve is probably a bit steep, it's interesting to see how different people solve the problems though =)

    Regarding being able to destroy blocks, if you drag them into the control bar at the top then they will be destroyed, I've made that fact more obvious now!

  • dre38w Third party plugins aren't compaitible with the Arcade at the moment, you can still host it everywhere else though =)

  • As far as I know it's not built in for some reason, but there is a plugin here which will do it for you =)

    Of course then you can't upload your game to the arcade, *sigh*.

  • Really nice game! =)