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

[!!!!!!] I have new way of making map.....

1450359744
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
....but I don't have any friends that are good at javascript.
1450361065
The Aaron
Pro
API Scripter
Hahahaha 
1450409908
vÍnce
Pro
Sheet Author
Sounds like a challenge...
But soft, what light through yonder window breaks? It is the east, and this is the bait.
1450531037
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Its Aaron's fault.... he taught me a new word and I am a fickle zealot without any core conviction; I stumble onto anything "new" and I am all about "it" (whatever "it" is) until I find something "newer." And what exactly is Vince's point? That it will be challenge for me to find friends or a challenge for me to learn javascript? I hope to have a demo of the idea up this weekend.
1450535679
The Aaron
Pro
API Scripter
Stephen S. said: And what exactly is Vince's point? That it will be challenge for me to find friends or a challenge for me to learn javascript? I don't think you should exclude the possibility that it's both. =D  Vince and Viper both start with a V, I'm just pointing that out....  =D
1450580864

Edited 1450580953
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
The basic idea.
1450581148
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
These areas will flood with floor tiles (when valid) and walls will automatically wrap and provide dynamic lighting. Edit mode will be toggled "on/off."  So far looks promising (when Aaron is not trying to break it.) So, yet another approach to map making... "Dungeon Accretor"
Your 'basic idea' is amazing.  I can't wait to see it fully fleshed out.
1450633379
vÍnce
Pro
Sheet Author
What, no radius?  ;-P
1450640682
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Vince said: What, no radius?  ;-P Ah no!.... but maybe. Aaron suggested an approach to that. Little further.... so this should be workable. Seems easy to use as well.
1450647472
vÍnce
Pro
Sheet Author
This looks cool Stephen.  I would like editing the map(or automating) like your example while a party tries to navigate it...  "This dungeon has a mind of it's own."
1450661050
Lithl
Pro
Sheet Author
API Scripter
Vince said: This looks cool Stephen.  I would like editing the map(or automating) like your example while a party tries to navigate it...  "This dungeon has a mind of it's own." On that note, stick the paths and handles on the GM layer (or have a flag to switch the layer they appear on). You could have a labyrinth that changes outside of the players' LOS without cluing them in with green borders and arrows.
1450662818
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Brian said: Vince said: This looks cool Stephen.  I would like editing the map(or automating) like your example while a party tries to navigate it...  "This dungeon has a mind of it's own." On that note, stick the paths and handles on the GM layer (or have a flag to switch the layer they appear on). You could have a labyrinth that changes outside of the players' LOS without cluing them in with green borders and arrows. That idea sounds so much better when Brian talks about it, wonder why that is.... Anyhow... the GM layer works great for this.. I would only add you will likely need to be about to finalize areas of the map (or at least "lock" areas) so you don't open yourself up to a mistaken edit where the players are already in play.  I have played around with several approaches to making maps with API, so far this one seems very easy and fast.... have to see how practical I can make the auto-wall placement (door placement is also normally a pain.)
1450703251
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
"On"..... "Off"...... "On"....."Off"
This is pretty neat!
1450746118
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Sample of the door placement tool.
1451613531
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
We have walls....... Need work in the door placement with the walls... add dyanmic lighting... and door swing. Close... very close... hard part should be done.
1451618647
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
GIF Link
1451653541
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Dynamic Lighting is about complete.... Doors next (augh, hate doors...)
1451657482
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Only doors left!!!!! This looks like it will be a fairly good way of making maps.
I love it!
1451679543
vÍnce
Pro
Sheet Author
Shoot, that's looking pretty convenient.  I might start drawing maps inside roll20.  ;-) Will we be able to swap textures(roll-able table input I assume)?
1451747144
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Vince said: Shoot, that's looking pretty convenient.  I might start drawing maps inside roll20.  ;-) Will we be able to swap textures(roll-able table input I assume)? Yes..or directly enter them into an API array. Also worked out a way to easily hide the "grid" like look of the overall map look...most of the API script for map making I made use 70px by 70px tiles.... it makes for flexible mapping but you see the pattern of the "grid" very easily. So a wood floor is hard to do because you need a repeating 70px by 70px tile design that can rotate and flip on each axis.But I found a simple way to solve that and introduce random variation into the tiles without exposing the seam between the tiles. So for those one-off or "on-the-fly" maps....... this might make it easy for the GM to generate a map, at the table top, not delay play that much, and really have a somewhat polished look. It's also light on code.... the map making part of the code is under 800 lines (and I haven't even subjected that to the withering process of Aaron, its only been JSlinted at this point.) For working on the canvas..... "object.remove()" was the best thing ever. For making an interface to work with coding for the canvas... playerIsGM(playerid) helped. But we need four things to really make stuff like this amazing.... likely in this order. 1) What page the GM is looking at (any UI is too clunky without this.. this is value enabling.) 2) Foreground layer (value add) 3) API access to market images (value enabling.) 4) Directional Dynamic Lighting (this could be of a higher priority but we can "fake" some of this with a foreground layer but this would be really value addling on its own.)
Wow S! Every idea just gets better than the last. This is fantastic. Looks like this will be even faster than the last iterations. About the only thing I hope is that you'll include either a: the inclusion of your other, compatible, packs so they can be used in this somehow, or b: that you recreate the "old-school" images for purchase (my personal fave.) Either way, I'm glad you are enjoying what you're doing. Once you release more packs, I'm in.
1451803508
vÍnce
Pro
Sheet Author
Stephen S. said: But we need four things to really make stuff like this amazing.... likely in this order. 1) What page the GM is looking at (any UI is too clunky without this.. this is value enabling.) 2) Foreground layer (value add) 3) API access to market images (value enabling.) 4) Directional Dynamic Lighting (this could be of a higher priority but we can "fake" some of this with a foreground layer but this would be really value addling on its own.) I get most of that Stephen(and my votes), except for #1.  Can you elaborate a little for us common folk?
1451803684
The Aaron
Pro
API Scripter
I'll hit that for you.  There is no way in the API to actually know which page the GM is on.  The players are all either on the main red ribbon page, or they are on a different page (splitting the party).  The GM can go to any page and there is no indication to the API. This is a problem if you have an API command that creates something on the page because you either have to assume the GM is on the red ribbon page, or check if he is in the split party, neither of which is ideal.
1451822316

Edited 1451822377
Does this style of drawing create "solid" wall lines or is every 5 feet of wall an individual dynamic lighting segment?  The reason I ask is that I picked up your second to last set (Dungeon Draw if I remember correctly) and after building a reasonably large complex, the dynamic lighting (hundreds of 5ft. segments) made the map unplayable.  I ended up disabling dynamic lighting for this map and using fog of war.  I also agree that support for those of us who purchased previous packages would be desirable.
The Aaron said: I'll hit that for you.  There is no way in the API to actually know which page the GM is on.  The players are all either on the main red ribbon page, or they are on a different page (splitting the party).  The GM can go to any page and there is no indication to the API. This is a problem if you have an API command that creates something on the page because you either have to assume the GM is on the red ribbon page, or check if he is in the split party, neither of which is ideal. This can be annoying.  Several times now, while working on a script, I moved to a different map than what I had the player ribbon on.  Then when I tried to run the script it 'didn't work'.  Being the poor programmer I am, I assumed it's something I did wrong rather than something as simple as being on the wrong page to see the results.  And meanwhile my script is generating tokens, text, or whatever on another map. The first time I spent almost an hour 'debugging' a script that actually worked because of this.  :(
1451872576
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
I will make sure the earlier packs are supported.(Kimli) The DL issues isn't one I have noticed (5' issue mention by Kevin) but I don't doubt that its an issue and I should simplify the lines. And GM page issue.. I wil likely force the GM to do a party split for themself. It is clunky but its definitive.
What Kevin said is something that will happen on users with low performance PCs. Since the map is redrawing dynamic lighting for every movement, some of those PCs will not able to keep up and stutter. This causes people to not feel comfortable or even crash their chrome/firefox. I do not know the actual correlation but single big background map images with dynamic lighting will cause less performance drops than multiple 5' of blocks places around with dynamic lighting.
1451908244
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
First I have a "Vince" relpy in my thread and now I am getting pushed dangerously close to the dreaded part of any conversation that allows Aaron to say some variation of "I told you so." This constructive feedback needs to stop. 2016 was suppose to be a good year and you folks are already ruining it. ;)
1451909829
Ziechael
Forum Champion
Sheet Author
API Scripter
But the good news is that I can use this for my Minotaur's ever changing labyrinth without having to keep pestering you about your other, tile based, script's DL update on graphic changes =D HAPPY NEW YEAR! ps. really looking forward to the polished version of this, can't wait to use it to mess with my players heads.
1451934749
vÍnce
Pro
Sheet Author
Stephen S. said: First I have a "Vince" relpy in my thread and now I am getting pushed dangerously close to the dreaded part of any conversation that allows Aaron to say some variation of "I told you so." This constructive feedback needs to stop. 2016 was suppose to be a good year and you folks are already ruining it. ;) We're not criticizing at you... we're criticizing with you. It's all good.  Somebody has to push the envelope Stephen.  Keep pushing.
1451951567
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Vince said: We're not criticizing at you... we're criticizing with you. I like throwing these things out half-baked... get good feedback/ideas and learn some things like: Never let Vince play a thief in your party... I can hear it now: "I am not stealing from the party.... I am stealing with the party." So I think I have a lot to work with now.
1452000716
PadRpg
Sheet Author
API Scripter
Looks amazing !! Can't wait to be available :) Great job !!!
1452476865
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
major breakthough 
1452480401
Pat S.
Forum Champion
Sheet Author
Has anyone done a youtube tutorial on how to setup and use the script?
1452483337
vÍnce
Pro
Sheet Author
I believe Stephen is still working this one out.  Then... when can help break test it.
1452511958
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Vince said: I believe Stephen is still working this one out.  Then... when can help break test it. Vince is right.... I got all the pieces working. Just working out the interface and options to work into the script overal. But, might have stumbled on to a breakthrough with the canvas interface! Soon! Should have this realy soon.
1452953355
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Changed the controls..... Found a way to "box bound" paths... now its easy to support flip and spin... and to keep the aspect ratio for things like triangles (so we stay at 45 degrees) and also provide snapping after rotation (so a map "area" is always on the "grid'.) This will also allow the easy placement/resizing of shapes like an octagon (almost "round" shape for Vince), a trapezoid, or a parallelogram.
Oh man, this is pretty awesome. Will definitely follow this through development.