Sign in to follow this  
SonicD007

Tile Studio output file

Recommended Posts

I need to know how to read a binary file that is generated from Tilestudio, and load the map file so my program displays the infomation in the map file on the screen. How do i do this?

Share this post


Link to post
Share on other sites
Scet had published, in his journal, a Tile Studio reader for Managed DirectX. The code generation outputs a binary file that then read in byte by byte into the program. Because .NET has such an amazing tool set, doing this is actually quite simple. What kind of libraries do you have available and what langauge are you planning on using?

I've been using the code generation feature of Tile Studio to output a script file that is then read in and interpreted by the application. Both ways works, it's completely depends on what you find easiest.

Share this post


Link to post
Share on other sites
Im using windows api c++ language. I'm trying to keep it to the basic windows files and no directx or anyting, but if i must use it to use tile studio maps, then i can change and try to do it lol. I would much rather have it as a script than binary, how do i do it?

O and I'm using Dev-C++ as my tool. Dont have visual.

Share this post


Link to post
Share on other sites
Quote:
Original post by SonicD007
I need to know how to read a binary file that is generated from Tilestudio, and load the map file so my program displays the infomation in the map file on the screen.


No, you don't. Use the code generation to output something that is more easily readable and contains just the information you're interested in.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this