Main Menu

Play Mapper Loader

Started by kevin, June 28, 2008, 05:32:04 PM

Previous topic - Next topic

kevin

 Play Mapper Loader V0.01

  This example includes a version of the PlayMapper loader library.   The library is called "PlayMapper.pba"  (of course :) ).  To use it, simply copy the file to your own project file and Include it within your project.  Either via the IDE's project manager, or using the #Include directive.  Same result.



Function List

 
       LoadPlayMapper(filename$)

 



    This version only includes one main user function.  There's some other functions in the library for reading the various hunk types found in the Play Mapper files, but you'll probably not ever need to use them directly.    But they are there!






Download PlayMapper


  Get the latest work in progress versions from PlayMapper WIP Thread  

  Get the current official release versions from  PlayMapper  (from Tools Board)

  Note:  PlayMapper is updated intermittently, therefore it's always a good idea to check for the WIP thread for any new information and/or beta downloads.   Once an update phase is completed however, the last WIP version becomes the officially supported version posted in the tools board.    



 


Download Loader Library


    Play Mapper Loader V0.01 (login required)




Related LInks


     Loading Exported Play Mapper Mini Levels




PlayBasic FX compatibility


    If you intent to use this library with current edition of PlayBasicFX (1.7x versions at the time of writing), then you'll need to include the following helper function.   This i required as this helper function has not yet been added to PBFX.  



Function ReadNewFile(filename$)
if Fileexist(filename$)
FileIndex=getFreeFile()
ReadFile Filename$,fileindex
endif
endfunction Fileindex




thaaks

Hey, that's great! Will test it tonight!

Maybe you should make this part of the Play Mapper Mini zip. So the users would always have the appropriate lib and a working example how to load their maps back into a game.

Great stuff!

Thanks,
Tommy

kevin


Quote
Maybe you should make this part of the Play Mapper Mini zip. So the users would always have the appropriate lib and a working example how to load their maps back into a game.

   The Map loader will be a standard library.  Just like it's older brother is.   Anything based upon that will be either a companion library or an 'optional extra'