Place below materials and above main
The script comes with a large amount of instructions to help you along, and as of the 2.0, the demo comes with a README file explaining exactly how things work. Basically, you must do a little setup before you go using in game.
Number one, you must use your Iconset to create some small monster tokens. (These can be any icons, they don't have to monsters
) You'll need to add the IDS of the icons you use into the array called RANDOM_MONSTERS[:icon_pool]. Secondly, you must create the reference to the events which will be used
in your game as those who will challenge the player. Both of these sections come with a ton of instructions. And if you use the demo, you can just take the Iconset from there if you want to move the script into a different project, as the Iconset in the demo is set up in the RANDOM MONSTERS pool already.
If you plan on using the Shops, you'll need to set up the TOKEN_SHOPS part of the settings as well.
Then, all you have to do is use the following script calls to take part in the scenes:
$scene = GridWars.new(event_id)
That will call the game, against the event from the CURRENT MAP with the id found in place of the 'event_id' argument
$scene = GridShop.new(shop_id)
That will call forth the shop you've created in the settings. Use the shop's id for 'shop_id' argument
$scene = TokenManager.new
That will call up the Token manager scene and allow you to edit and set up your tokens.