Dynamic or User Created Tilemaps
by xjstratedgebx · in Torque Game Builder · 07/12/2009 (4:24 pm) · 1 replies
Hello,
I'm not much of a C++ coder, I'm typically a web developer (with php/mysql mostly), but I've been fleshing out a game that is a simulator for fire and police departments, and one of the key aspects of the game or sim is that users can create their own maps, so that they can tailor incidents to their liking - rural departments can't really use urban maps, for example.
That being said, I guess my question is, can I create a tilemap dynamically in my game, so that a text file is loaded, for instance, and a tilemap can be put together from the textfile. I realize this requires me to write an additional program or game that a user can use to generate the map, but if a map can't be created dynamically, it's not worth it to start.
Any suggested starting points would be greatly appreciated!
I'm not much of a C++ coder, I'm typically a web developer (with php/mysql mostly), but I've been fleshing out a game that is a simulator for fire and police departments, and one of the key aspects of the game or sim is that users can create their own maps, so that they can tailor incidents to their liking - rural departments can't really use urban maps, for example.
That being said, I guess my question is, can I create a tilemap dynamically in my game, so that a text file is loaded, for instance, and a tilemap can be put together from the textfile. I realize this requires me to write an additional program or game that a user can use to generate the map, but if a map can't be created dynamically, it's not worth it to start.
Any suggested starting points would be greatly appreciated!
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
store the "tilemap" (-> layer) and just don't use it in the level then you can load the layer at runtime.
thats nothing else than loading it at runtime :)
tilemaps aren't stored as whole anyway, its layer by layer