I developed a SC method, and accidentally put it in another post. I only realized just now, so here's the SC along with the GM method explained differently
This can definitely be used for GameMaker, and SilverCreator
I'll be making a tutorial on it also
If you base grid nav on arrays that take up 60-100 lines of code like me, than this i'll save you.
  IF stage = 1 THEN
   REPEAT vertical_positioning
    FILEIO INPUT 1 stage1
    FILEIO READ 1 array$
   END REPEAT
   FILEIO CLOSE 1
  END IF
first set up the file (ie. stage1) in the first card like so
FILEIO OUTPUT 1 stage1
FILEIO WRITE 1 11111000000000000000000000
FILEIO WRITE 1 11111000000000000000000000
FILEIO WRITE 1 01111000000000000000000000
FILEIO WRITE 1 01111100000000000000000000
FILEIO WRITE 1 01111110000000000000000000
FILEIO WRITE 1 00111110000000000000000000
FILEIO WRITE 1 00111111000000000000000000
FILEIO WRITE 1 00111111000000000000000000
FILEIO WRITE 1 01111110000000000000000000
FILEIO WRITE 1 11111110000000000000000000
FILEIO WRITE 1 11111110000000000000000000
FILEIO WRITE 1 01111110000000000000000000
FILEIO WRITE 1 01111111111111111111100000
FILEIO WRITE 1 01111111111111111111110000
FILEIO WRITE 1 01111111111111111111111000
FILEIO WRITE 1 00111111111111111111111000
FILEIO WRITE 1 00011111111111111111110000
FILEIO WRITE 1 00000011111111111111100000
FILEIO WRITE 1 00000000110000001110000000
FILEIO WRITE 1 00000000010000000100000000
FILEIO WRITE 1 00000000000000000000000000
FILEIO WRITE 1 00000000000000000000000000
FILEIO WRITE 1 00000000000000000000000000
FILEIO WRITE 1 00000000000000000000000000
FILEIO WRITE 1 00000000000000000000000000
FILEIO WRITE 1 00000000000000000000000000
FILEIO CLOSE 1
you can see the stage. neat huh!
physically writhing the array out (even on separate lines) doesn't work.
and you don't even have to make the file,
but if you want to (such as when cheating) open a new doc in Text Edit, and click Format>Make Plain Text then save it w/ text encoding: 'Western (Mac OS Roman)' The numbers and such still have to be put in through GM though.
^---I spent so much time on the explanation above, because you can use it to cheat at GM games that utilize the FILEIO command. Albeit this only works if you own GM, and know how the developer encoded his document. A hard task especially if they decide to hide them!---^
7-5 lines of code compared to 60-100 lines, not to shabby don't you think?
I developed this with my new (short) RPG 'Fathers'
and since it'll be open source you can see more examples in that.
SC is the same basis. (any differences you may notice is that there are also built in SPRITE commands)
set up in the 'open card'
CREATESPRITE 1, "redsnake.png"
MOVESPRITE 1, 0, 0
OPENOUTFILE 1, "stage1"
FILEWRITELINE 1, "110110111"
FILEWRITELINE 1, "101011101"
FILEWRITELINE 1, "111111111"
FILEWRITELINE 1, "111100110"
FILEWRITELINE 1, "101100111"
FILEWRITELINE 1, "111111101"
FILEWRITELINE 1, "011111111"
CLOSEOUTFILE 1
then in keydown is the bulk
 LET yco = newy / 48
 LET yco = yco + 1
 LET xco = newx / 33
 LET xco = xco + 1
 OPENINFILE 1, "stage1"
Â
 FOR repeat = 1 to yco
   LET quadrant$=FILEREADLINE$(1)
 NEXT
Â
 LET space$ = MID$(quadrant$, xco, 1)
directions are almost identical to the Gm version
To develop the SC port I had too make my own application. My first SC application
http://www.mediafire.com/?qfd287g17gfyk4a