RPTools.net

Discussion and Support

Skip to content

It is currently Sun Nov 19, 2017 9:06 pm 






Reply to topic  [ 2 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Dragon
 
Joined: Fri Dec 18, 2009 2:33 am
Posts: 382
Location: San Diego
 Post subject: Color Manager for HTML-based User Interfaces
PostPosted: Sat May 01, 2010 3:48 am 
I love the flexibility of HTML-based framework interfaces, like RPTroll's Savage Worlds interface. When I create frameworks, I intend to use this style.

A big part of making such frameworks intuitive and aesthetically pleasing is the CSS formatting that goes into them. While I'm no expert with CSS, I know enough to realize that it's a pain to change it around when you want it to do something new.

In spite of that, I had the thought that it would be awesome, in a framework-based game with HTML UI, if the DM could click a macro to change the CSS files the campaign was using on the spot. This Token is an attempted fulfillment of that idea.

This token allows you to pull up a Color Manager frame, which lets you create, define, edit, and delete "Color Schemes," which are data sets stored on the Library Token. When you tell it to Apply a Color Scheme, it dynamically modifies the CSS file it's using to include the new Color Scheme's colors. You can immediately see the new Scheme in effect as the Color Manager frame refreshes using the new CSS.

You can also define a Color Scheme to go with each Map of the campaign. Using this technique, the DM can use Color Schemes as a sort of "tileset" to enhance the feel of his maps by quickly switching to a Color Scheme that matches thematically. For example, the token comes with the black/gray/orange/red-heavy "Hell" color scheme, which would be very flavorful to use on a map that represents the Lower Planes.


ColorManager v1.0.rptok [42.43 KiB]
Downloaded 107 times

_________________
"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed."
- G. K. Chesterton

Wonderful HTML/CSS reference * Color Manager * Token Manager 2.0
Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Fri Dec 18, 2009 2:33 am
Posts: 382
Location: San Diego
 Post subject: Re: Color Manager for HTML-based User Interfaces
PostPosted: Sat May 01, 2010 3:53 am 
Version 1.0 of the Color Manager is, naturally, a Work In Progress. But I'm posting it early so that I can get help developing it further -- figuring out the best ways to program tricky things, finding and fixing bugs, and getting feedback about other features to add.

Here are some features I already plan on adding, though, in approximate priority order:
  1. The ability to set a list of other Frames and Dialogs that should get refreshed when a color scheme is Applied
  2. Making frames and dialogs refresh for players, as well as the GM, when a scheme is Applied
  3. Little colored boxes on the main frame that give a sample of each color scheme
  4. A second Sample page to view color schemes with

Eh, I'm sure I've had a lot more in mind, but I'm tired and can't remember them right now.

_________________
"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed."
- G. K. Chesterton

Wonderful HTML/CSS reference * Color Manager * Token Manager 2.0


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 2 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman