crowtongue's Forum Posts

  • Ok so this one seems to work now.

    If my screenshot didn't work for you it's probably because you forgot to move "For Each Element" on top of the condition that cycles through the array.

    The only other change I made other than the screenshot is that instead of just spawning objects at CurrentX * 32 and CurrentY*32 I made it CurrentX * 32 + 16 and CurrentY * 32 + 16.

    I believe this to be necessary because the sprites are recreated from their center. If you leave the + 16 out then on loading they will appear in a slightly different spot then when you saved them.

    I've saved the working cap to my dropbox... Hope this helps:

    dl.dropbox.com/u/69407974/Saving%20and%20Loading.cap

  • My example worked fine for me, it just seemed to save the arrays slightly off. Let me take a look at it later and see if I can fix the rest.

  • On second look it seems to be loading the array fine, but that doesn't necessarily match up with what was on the screen.

    I think this may be due to your event that sets the array based on the mouse?

  • <img src="https://dl.dropbox.com/u/69407974/example.jpg" border="0" />

    Change your load event to this. seemed to work for me.

  • upvoted!

  • Oh my! Sorry about that Tulamide. But thanks for the explanation anyways. That actually seems to be the best explanation I could find for this after searching through the forums. And it's always good to know!

  • Thanks for your reply. I guess I wasn't finding what I was looking for because I wasn't searching for "Image List." Since I can only use one file for this object, and I'm trying to create a system where you can add or remove tiles at will, seems like this won't work.

    Is there anything similar or a well-known workaround for this kind of thing?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There's a whole bunch of good examples in this thread here:

    scirra.com/forum/help-saving-level-data-in-an-array_topic41705.html

    Basically there is a command to "save array to file" and "load array from file." It's all a matter of how you want to do it UI wise and any differences in how you've made it. For example, before I load my array I have some map properties stored in a hashtable that I load, and I resize the map first too.

    Those examples should get you started.

  • Aw man, I can't believe I missed that!

    Still might pick this up soon. Wasn't aware that anyone had written something this extensive on Construct. Good job!

  • I wasn't sure if you were looking for feedback on ways to improve this, I think you're probably done with it if it was just for a competition.

    I will say congratulations on finishing your project. I like the graphics and it controls decently. Good job!

  • I feel embarassed to even ask this, but I can't find an easy answer anywhere.

    I want to use the list object to list all of the tiles for my map editor. I was manually inserting an image to see how it looks and realized I don't know for sure how to do that.

    for an image in your main folder is it just AppPath & "image.png"   ?

    That didn't seem to work for me, does this object support different image types? Which ones?

  • I played Binding of Isaac a lot before I finally beat it. I think that one requires a lot more skill, this just requires a lot more luck.

    I haven't beaten FTL but apparently the final boss is a labyrinth and you have to be able to teleport onto his ship and all this other stuff. Sounds really hard. There are also multiple difficulty modes, I've only tried easy and normal.

    You're probably right, this one will end up in a bundle sooner or later.

  • Considering how quickly you did that and how he was willing to pay for it, that is amazing of you!

  • I actually wish the Fundry site was still active, that way you could pay someone to finish up that plugin for you.

    I'm sorry to hear this

    Your 4 years of Construct Classic experience is much more than mine and not in Construct, but I can understand the pain of losing something you've worked so hard on.

    I know you've said you have tried everything, I'm just trying to make sure there isn't something useful hiding out there that can help you... Does the Tiled Background method of using spritesheets not work for you? Similar to this?

    scirra.com/forum/animating-a-character-from-a-spritesheet_topic55313.html

  • This is Construct Classic so if you're using the free edition you are using Construct 2.