1
SFML projects / Re:creation - a top down action adventure about undeads
« on: September 04, 2016, 03:21:15 am »
i will wait!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
You need to have a header in your file e.g.No i... i... i don't D:
YourFile.txt:
tileset1.png tileset2.png
Algorithm:
Extract a line and extract from this line tile set paths. Then you know what to do .
Thank you! And I'm very glad to hear that I inspire people.I mean, when you save a level, with two different tilesets in it, how do you save it? I never worked with levels like it, i'm very curious.
Level consists of stuff stored in txt (mostly tile info) and some additional Lua scripts which contain some data like music path, ambient path, area info, etc. and functions which are executed when you enter different areas on the level.
And what do you mean by level saving? Do you mean in-game saving or saving level after it has been edited in level editor?
Different tilesets are handled with multiple vertex arrays.