SiegeEngineers / Border

A small app for showing BuildOrders on top of a game.
MIT License
6 stars 6 forks source link

Variants #4

Closed abductedPlatypus closed 6 years ago

abductedPlatypus commented 6 years ago

Adding variants, so it is possible to update the build order after finishing the initial steps. (e.g. after a Drush go either FC, archers, M@A, etc.)

abductedPlatypus commented 6 years ago

Model implemented.

        {
          "time": 575,
          "description": "Time to go up.",
          "title": "Fedual Age"
        },
        {
          "time": 550,
          "title": "Decide what to do next.",
          "description": "Press Alt + Arrow left/right for selecting your follow-up Build Order",
          "variants": [
            {
              "title": "Archers",
              "queue": [
                {
                  "time": 550,
                  "description": "Build Two Archery Ranges",
                  "title": "2 Archery Ranges"
                }
              ],
              "description": "Archers are good versus Infantry"
            },
            {
              "title": "Scouts",
              "queue": [
                {
                  "time": 550,
                  "description": "Build a Stable",
                  "title": "Stable"
                }
              ],
              "description": "Scouts are good versus Infantry and Monks"
            }
          ] 
        }
abductedPlatypus commented 6 years ago

ViewModel done, View needs some more tweaking.

And then there is updating the build orders.

Will be added to next release, hopefully by Friday since I will be doing Ludum Dare this weekend.

abductedPlatypus commented 6 years ago

added in next version