Post

 Resources 

Console


Re: saving/loading maps to a file via binary Jack Hoxley (0 replies, 0 views) (2001-Mar-8)
-
try my fruitworld example, www.vbexplorer.com/directx4vb/ -> games, I do believe the editor was included in that... and the loading code will be in the game (it doesn't use binary though)... I take it you have the master array of tiles: LandMap(99,99) as Tile (or similiar)... open Filename for binary access write as #12 'may need to check that line put #12,1,LandMap close #12 and then open filename for binary access read as #12 get #12,1,landmap close #12 and that'll save your array/load your array in binary format... Jack;


-
Up One Level | Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 25 visitors within the last 20 minutes
RSS News Feed