Omnidon Omnidon
John Lammers;545 wrote:
[In reference to important map-related features.]

4. Easy-to-use layer/tile support.
I'd like to hear more about this one. I have some stuff in the planning stages.

That depends how ambitious you get with the mapping features, though as I said before I'm an advocate of going as far as possible.

The minimum is to have an effective way to import the large map pieces, move them into position, and lock them down so you don't accidentally move them or select them.
One thing to keep in mind is that it's often difficult to maneuver large objects into position if it takes up much of the screen. The ability to zoom out as well as to slow or disable autoscrolling can help in this area, as well as snap-to-grid in some cases.
You also need to make sure the map pieces don't clutter up any object managers or turn sequencers, but are still editable if needed.

You can take tile features a lot further than mere one-use map pieces though. There are of course the large room-sized map pieces included in a lot of art packs used to create generic dungeons. Arranging those sorts of tiles can be cumbersome but is usually manageable given basic object-locking features.

However, I personally love the smaller (generally 32x32) multipurpose textures used in creating truly unique tile maps. Those require more dedicated tile-mapping features to use, but the virtue of tiles is that they're fast, easy, and can save a lot of memory since the same graphic is used repeatedly.

As I mentioned before, I'm currently developing a tile-based mapping application that will take full advantage of such features; something which hasn't really been done in other mapping apps.
Here are a few of the best examples I've seen of how such tiles can be used to quickly and easily create huge highly detailed maps:
Inquisitor's Interior Tileset Sample
Inquisitor's Exterior Tileset Sample
Inquisitor's World Map Tileset Sample (click to zoom)

Those tilesets are available at rpg-palace.com and were designed for use with RPG Maker XP. I recommend checking out the demo of RPG Maker XP if you want an idea of how tile-based mapping works. It's the program that inspired my current project, though it's not really a mapping app as all it's mapping features are geared towards developing computer games and it can't even export maps as images.

As for layers, I'm surprised more VTs aren't using them. We all know from mapping tools and graphic editing apps that it's handy to be able to sort your images/objects by layer.
The ability to lock/unlock entire layers would be very convenient during set up. The ability to hide/unhide layers could be used to remove distractions while editing an encounter, as well as to change scenery and reveal secrets during a game. The ability to select all units on a particular layer could be a fast way to move all the PCs to a new map, and so forth.

There are tons of even more advanced features related to layers & tiles of course, such as the ability to have a different grid (with different cell sizes) for every layer (not really a problem with dynamically-drawn vector-based grids).
Layers don't have to apply only to objects either. Having several layers for drawings, LoS walls, and other related features could also be very handy for keeping complex games in order.
You could take it even further and have "planes", each of which contains its own layers. It would allow a single encounter to include multiple floors of a building, or in simpler contexts, would allow users to much more easily manage their layers.

In my opinion, the easiest way to switch between planes and/or layers is a tabbar, just like you'd use to switch between multiple maps, but there are many ways of handling it. Graphics apps tend to treat layers like folders and display them in the object manager as such.

I'd be happy to elaborate more on tile or layer features if you're interested. For obvious reasons it's a favorite topic of mine. ;-)
John Lammers John Lammers
I think that a tile-based approach has some real potential, and I've been thinking about map tiles in a virtual tabletop for awhile now (ever since I wrote this post on RPG map tiles last year). It's not something I'll get to in EpicTable 1.0, but I'd be really interested in exploring it thereafter. We should talk about whether there are some simple things I can do in the meantime to avoid incompatibility between EpicTable and your mapping app.
Reply 0 0
Omnidon Omnidon
Quote:
John Lammers;550 wrote: We should talk about whether there are some simple things I can do in the meantime to avoid incompatibility between EpicTable and your mapping app.

Well, since I don't know the process of importing Flash into C# applications, I can't give suggestions specific to that yet.

However, in general, it's good to keep your core features independent from each other and your functions as "black box" as possible. This will make it easier for you to later write an API that the extensions can use to access your existing features.

With an interface-oriented language like Flash, there are actually two levels of integration.

If importing Flash turns out to be easy, like it is with Adobe Director, then you would ideally want to allow all types of objects (or even common interface elements) to be replaced with Flash objects. The ability to import SWF files instead of JPGs and GIFs for your character art, objects, maps, visual aids, etc and to exploit all the features of Flash in those roles would be a major boost to the potential power of any VT. If you want to code with this method of importing Flash in mind, then the thing to remember is not to hard-code in too much post-processing for imported files. Things like programmatic resizing, cropping, centering, etc may be useful sometimes for ordinary graphics and filetypes but are often incompatible with Flash. If you haven't yet, take a look at my suggestions for BRPG's Flash API. Although ET's API would necessarily be somewhat different due to the differences in features, that might give you some ideas.

If importing Flash into C# on such a widespread scale turns out to be infeasible, then you could settle for only using the more common solution for extensibility: Plugins.
Plugins are standalone, more complicated apps that are less dependent on the manner in which they are imported. Rather than merely enhancing existing features, they would be aimed more at adding to or replacing core features.
Plugins could include things like character sheets that communicate with ET's turn sequencer & object manager, media players, and, of course, mapping tools that dynamically update the map.
Using plugins would require some sort of Extension Manager as a core feature to allow users to import and enable/disable the plugins, unless you just had a folder for them to drop the file into.

Of course, if you only wanted to support a limited number of extensions, you could add compatibility on a case-by-case basis. For instance, you could hard-code the map to use data sent from my mapping tool with very little else in the way of integration. This method is not recommended but better than nothing.
Reply 0 0
Reply