Osinia Devlog #2: The Tool Shed
Well, the last few days was working on tools and creating a resource manager. You know how useful a resource manager can be? Loading textures, fonts, music, etc on demand, keeping track of references, all that fun stuff. Very useful when the manager is shared among different projects like the client and tools.
Speaking of tools..
I had to build a fricken converter to convert all the graphics into a slightly custom file format in order to store the width and height of sprites and tiles with-in that file. I couldn’t use an image’s property to add custom properties… would have saved a lot of headaches.
The good part is that it’s an easy 3 line change in the resource manager to load such a change and the rest of the projects don’t need any changes.. yay?
I am currently working on the map editor. I could have easily used Tiled, and was seriously evaluating it. However, just like my evaluation of existing game engines, it is way more than what I need, then I would have to create a translator between it’s tmx/json file format to one that is more friendly and much quicker to load for my engine.
It did give me a few ideas, however…
Eventually, I will need to post screenshots.