Sunday, September 4, 2011

How to make a scene Part 1

 The scenes are all in json.

This bit of json creates a template for the enemy on the scene.  It tells when the different creatures are put onto the scene and where they go.

          "createlistturns2": {
               "classname": "gwt.client.game.CreateListTurns",
               "template": "attack",
               "turn": [
                    1,
                    7,
                    11,
                    21,
                    17,
                    31
               ],
               "xfull": 5,
               "yfull": 0,
               "livingbeing": [
                    "fire vortex",
                    "fire elemental",
                    "molten gargoyle",
                    "fire vortex",
                    "fire elemental",
                    "molten gargoyle"
               ]
          }