RandallDavis / roll20-areaMapper

Script using Roll20's API to draw and manage area maps.
3 stars 0 forks source link

Tiled walls #176

Open RandallDavis opened 9 years ago

RandallDavis commented 9 years ago

Ken's idea:

Basic premise is that you can have several size categories for an asset theme depending on the length of the wall to prevent stretching. For unclean divisions it'll find a smaller sized asset if one exists and fit it, or at least the next smallest. The end result being that we're minimizing fidelity loss for long walls and attempting to preserve aesthetics.

|========]|========]|========][++++]

Off the top of my head I'm guessing there would need to be a hierarchy for assets. Wood->wood 2x->wood 4x->wood 8x Stone->stone 2x->stone-4x->wood 8x

Known lengths of the images, and other specific information as some assets might not allow variable size.

RandallDavis commented 9 years ago

My suggestion on implementing this is that we change the way that all global assets are structured so that asset drawing remains agnostic to the type of asset.... feel free to modify / expand on this, but here are my thoughts:

RandallDavis commented 9 years ago

Discussion point:

It'll probably be pretty daunting to incorporate this into the asset management user interface... what are your thoughts on that? Should it just be that only assets with no segmentLength surface up into the UI (since exactly one is required for every asset list anyway), and any user-created assets are simple cases like we have no with no segmentLength? Should we instead incorporate all of this and let users declare which asset is stretched and have a sub-cycling mechanism for editing assets within an asset list?

RPGKenL commented 9 years ago

I haven't done a deep dive on much of the logic as it being the 4th flew over my head, and Sunday I have appointments I need to keep. From a brief skim as well as the points you've outlined here:

On the discussion point:

I really like how you have a simple select+add graphic for simplicity of operation, but for tiled walls (and perhaps down the road tiled floor assets) there will need to be more input suggestions. Off the top of my head I'd stick in the link a command that prompts the user for dimensions with the default measurements being 0, where 0xN Nx0 are invalid inputs, and 0x0 is free-form scalable.

RandallDavis commented 9 years ago

Everything sounds great so far. :)