Difference between revisions of "Stephen S."
From Roll20 Wiki
Stephen S. (Talk | contribs) (→Random Dungeon Generator) |
Stephen S. (Talk | contribs) (→Random Dungeon Generator) |
||
Line 6: | Line 6: | ||
# Add the code below (can also be found on Gist [https://gist.github.com/BaldarSilveraxe/8725741 Geomorphic]) to your API process modifying the code as needed to integrate into any API code you have. Aside from some global variables, you just need any command you choise to trigger the "geomorph()" function.<br /><br /> | # Add the code below (can also be found on Gist [https://gist.github.com/BaldarSilveraxe/8725741 Geomorphic]) to your API process modifying the code as needed to integrate into any API code you have. Aside from some global variables, you just need any command you choise to trigger the "geomorph()" function.<br /><br /> | ||
# Because this code uses images, the code must be modified to be related to your geomorphic tiles in your Roll20 library. Steps on determining your image source URL can be found here: [[API:Objects#imgsrc_and_avatar_property_restrictions|API:Objects/Path]] | # Because this code uses images, the code must be modified to be related to your geomorphic tiles in your Roll20 library. Steps on determining your image source URL can be found here: [[API:Objects#imgsrc_and_avatar_property_restrictions|API:Objects/Path]] | ||
+ | |||
+ | <code> | ||
+ | Test | ||
+ | </code> |
Revision as of 16:29, 8 February 2014
Random Dungeon Generator
Steps to implementing
- Purchase, find or create geomorphic tiles. Geomorphic map tiles are a design technique that defines and locates set features on edge of the tile so any tile can connect to any other tile without concern for orientation. A set can be located on the Roll20 Market place:
Old School Geomorphic
- Add new a map to a campaign and the page size for the map should be 72 units by 72 units (for more information on how to do this see Page Toolbar
- Add the code below (can also be found on Gist Geomorphic) to your API process modifying the code as needed to integrate into any API code you have. Aside from some global variables, you just need any command you choise to trigger the "geomorph()" function.
- Because this code uses images, the code must be modified to be related to your geomorphic tiles in your Roll20 library. Steps on determining your image source URL can be found here: API:Objects/Path
Test