Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Question] Patrol using waypoint API to move background ?

Hi guys, Since .gif are not playable on roll20, i am searching a way to move the map as if the players were moving. For example, the players are in a boat and drive on the sea, the background would be blue with  passing clouds. My idea would be to make the clouds into a token and let it move every seconds with the Patrol using waypoint API.  Would that works and what are your thoughts on that?
1474457394
The Aaron
Pro
API Scripter
That would work. Some thoughts in no particular order:  Set it up so it is only active when a player is on the page (look at SpinTokens or BounceTokens for examples).  If one of your clouds is whole off the page, you can move it to the opposite side and let it come back on.  Have a start/stop command so you can easily reposition tokens.  I'd probably have it operate on tokens on the map layer that have a specific status marker (You can set them without them showing up).  If you can tie the movement to time, it will be more uniform.  You may need to move tokens to the GM layer when putting them on the opposite side to move them back on, it might need to be a three step process (to GM layer one "frame", to other side of map the next, back to map layer on the third). 
1474482788
Gold
Forum Champion
An API script as described: already exists, is written and works, Waypoint Patrol API <a href="https://app.roll20.net/forum/post/2991336/script-p" rel="nofollow">https://app.roll20.net/forum/post/2991336/script-p</a>... I haven't seen this used for moving the map / background while keeping the Characters centered. Not sure how you would modify or configure for that appearance. But it is easily used for moving objects/tokens, so you could use this to move Clouds past the boat continually, giving the appearance of travel. You could probably move little ocean waves or whitecaps on the ocean, or fish.
If it operate on objects then it would be easier to manage. I didn't know all the API that could be good for that purpose so i just picked one ^^. Will test some things around and tell how it worked out next weeks, thks guys!