-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON Data for Objects - Terrain #473
Comments
I would like to separate the issue. this issue should only introduce the loading mechanism only. :) |
Okay, so in other words, we are aiming for functionality rather than data storage. |
both, but if we add data now, then we have to support it. e.g. we have to change all data when we change the data structure. cause of this I would suggest to add only the functionality plus one or two test tiles/units only. :) |
Yeah, a small subset will be great. I only want us to start thinking about the structure, because it'll get messy if we don't start early. |
yeah it's probably a good time to add data structures, since we have a map now |
Custom Wars Design Document - [2.0] Terrain
https://github.com/ctomni231/cwtactics/wiki/Custom-Wars-Tactics---Core-Document#20-terrain
We need a data driven way to represent terrain tiles within the system. We've pretty much already accomplished this before in CWT Alpha 0.35. You can see this here:
https://github.com/ctomni231/cwtactics/blob/gh-pages/0_3_5/mod/cwt/tiles.json
A similar structure for the updated version will be helpful. We can either choose to store this in code, traits, or as separated JSON files.
The text was updated successfully, but these errors were encountered: