GoldMatenes's Recent Forum Activity

  • So, I'm back.

    I decided after much fiddling that building a Construct app that can easily write and read arrays would ultimately be useful not only to me, but maybe to other people. Besides, that just means only people who bothered to read this thread can tool with arrays.

    However, I need a bit of help. The writing arrays I think I have down, thanks to PixelRebirth's example, but I think I am not fully understanding how Construct does FOR loops, as my for loop seems to refuse to repeat more than once. I think I may be using the wrong identifiers with the array calls as well...

    Anyway, any input would be appreciated. Sorry about the .ymt addition for the filenames, it was originally designed for making levels for my game. It can easily be chopped out of the code, and will be if I actually get this thingy done.

    http://www.megaupload.com/?d=77WMEPKZ

  • Holy crap, ROJO, you got me again.

    That is exactly what I needed.

    I was confused, I had thought that 'move vertically' and 'move horizontally' altered how FAR they move in pixels or tiles (so an isometric/scaled grid system could be used.) But I totally overlooked it.

    Cheers!

  • I attempted to do that, and that would be an ideal solution, except once again it ignores solidity of objects and so there is no easy way to create a boundary to stop the movement.

    I'm going to see if I can kludge together something with Overlap at Offset... but it seems odd that I have to... individual step isn't a terribly complex option. Just ignore repeated keypresses for gridmovement.

  • That's basically what I wanted to do:

    Extract a bunch of information from either a text file or some other means, into an array.

    I just didn't know whether there was a simpler way to do it than manually telling Construct to set each array value.

  • ...that's not quite the problem.

    I need to easily and smoothly construct 16 arrays with 100 characters in each one, in a way that is faster than manually telling Construct to put the values into the array using events.

    As in just inputting them into a Construct app or simpler text file than an INI and have Construct read the characters into an array.

    Load from file doesn't seem to act as I expect it to unless the array already exists, and so I'm not sure how to use it properly.

  • Has anyone at any point created a Construct app for building arrays more easily, or extracting arrays from text files?

    I've got to build 16+ 10x10 arrays (or possibly a 10x10x16 array, whichever is easier) made up of nothing but A04AB2A1A3B0D1CAC2 and so on (tiled level data). I could make an INI instead but it would be freely editable and take forever to fill in the data. In essence, I could brute force write it but it would take days.

    Or is there already a more straightforward way to do this in Construct that I am missing?

    NB: I did attempt to search for this but the forum search yielded little results and another search caused the search engine to fold its arms and glare at me until I went away.

  • That changes the speed of the movement, but the movement doesn't actually work because there are no direct movement commands. Except for the move X at Y angle, which is an instant movement.

  • Now I got it... Still wish I could make it actual movement instead of skipping along.

  • Just check for Solid with an Overlap at Offset before you issue the move action.

    Could you clarify on that? Every time I tried to check for overlapping Solid my cursor would just skip the solid objects or get stuck in them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ...possibly? I've been at it for a fair while because it's been a low-priority side project for me.

    I wandered in a few times to ask for help on specific issues, so more than likely.

    Also my name has changed a lot lately, now that I actually have a site now.

  • No, I appreciate the input, and it's basically what I was looking for... I'll keep working on a solution.

  • Thanks for the input!

    I'm still working on that, as I said in the other thread, but my next big thing is to add sounds.

    SFXR is soooo useful it's not funny.

GoldMatenes's avatar

GoldMatenes

Member since 1 Dec, 2009

None one is following GoldMatenes yet!

Trophy Case

  • 14-Year Club

Progress

14/44
How to earn trophies