|
-
Apr 7th, 2002, 12:18 PM
#1
Thread Starter
Member
Saving arrays
k, I've been messing with game creation for quite some time, kinda new to it in VB but I get the basics, I understand BitBlt and I've started to get the hang of things. I'm making a simple 2-d map editor, based on 16x16 square tiles. When you place a tile on the picture, it snaps to the closest grid spot, places the tile, then changes the according array spot to 0, 1, whatever, depending on the tile you placed. What I want to know, since I usually mess around with game engines, not with level editors, is what is the best method to save an array's data to a file and retrieve it later? It's a 2d array, the one I'm using is TileArray(20,16), but for the final version I want to have the option of resizing the map. For now, forget the resizing problem, I would just like to know how to save and load an array efficiently. Thnx! (BTW-- current version at time of this post is at www.angelfire.com/rpg/quadamage/computer2.html .)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|