Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Extended Color Control, No more annoying trial and error to get colors right...
LordHeinrich
post Aug 24 2010, 01:26 AM
Post #1


Level 14
Group Icon

Group: Revolutionary
Posts: 267
Type: Artist
RM Skill: Beginner




Extended Color Control

Version : 1.00
Author : LordHeinrich
Release Date : 2010/08/23


Exclusive Script at RPG RPG Revolution

Notes
This script is meant to make scripting easier for people that make their own scripts, however even if you are not a scripter, adding this to your game will allow scripts that use the methods in this script to be compatible since all it would take is an additional line like:
self.contents.font.color = color(:red_orange) if $imported["ExtendedColorControl"]

Introduction
I made this script because it is annoying when you want to set colors in the game. I wasn't going to release it, but after working on a script for someone and seeing how annoying it was to set a color with the default method, I incorporated this script into that script... I felt that if it bugged me so much that maybe more people would like something like this. Basically, this script makes it easier to set colors in your games. Rather than using something like self.contents.font.color = text_color(12), you can use self.contents.font.color = cerulean or self.contents.font.color = color(:cyan). There are of course limitations since colors can have many variants, but the most common are covered. The first method of self.contents.font.color = color_name is more limited than the second self.contents.font.color = color(:color). The second method has multiple names for each color value, so color 12 is both :cerulean and :cyan vs. only cerulean. The second method also has a built in safety measure if an undefined color is used or a color is misspelled.

There is a color chart and explanation of the chart included in the script. Since colors are subjective, this is a must read!!

Features
- Two different methods for setting colors
- Second method includes error protection
- Second method also includes default names (:system, :crisis, :power_up, etc...)

Script
link
http://www.megaupload.com/?d=BATW0LAV


Customization
Plug and Play

Compatibility
$imported["ExtendedColorControl"]
New methods in Window_Base
Should not have conflicts with other scripts

Installation
Paste somewhere below materials and above main.

FAQ

Terms and Conditions
- free to use
Go to the top of the page
 
+Quote Post
   
Hanmac
post Aug 24 2010, 05:52 AM
Post #2


Level 8
Group Icon

Group: Revolutionary
Posts: 121
Type: Scripter
RM Skill: Skilled




the when in the case is wrong!
remove the "n = " part
Go to the top of the page
 
+Quote Post
   
leongon
post Aug 24 2010, 07:22 AM
Post #3


Leongon of the Village of Awesome
Group Icon

Group: Revolutionary
Posts: 1,006
Type: Developer
RM Skill: Skilled




I think everyone makes their own list of their colors of the Windows.png when start developing a game. They are not limitless like icons, colors are just 32.


__________________________
Leon's Basic VX Scripts of Awesome:
Step 1. Passive Skills - Create skills that add passive bonuses. (shitty)
Step
2. Learning from Everyone - Learn skills from enemies, or allies, without being the target of the skill. (nice)
Step 3. Dual Battle Landscapes - Set background and foreground image for your battles. (nice)
Step 4. State Details - Add description to states, and allow viewing them on menu, and in battle. (nice)
Step 5. Item Quality Colors - Colourize item, weapon, armor and skill's name according their quality or affinity. (very nice)
Step 6. Skill Trees - Your actors can have talent trees now, like in the MMORPGs. (extremely nice)
Step 7. Main Menu Manager - Easy, straight, and intuitive total control of commands for the main menu. (very nice)

Drawing commissions are open. Facesets... monsters... anything: click here.


---------------------------------------------------------------------------------------------------------------------------------
Second place again xD
Deadly Christmas setup. 8.04 score... this one was not so fail. Yay!
Twist of Fate. Worst game in the competition... Yay!
Tie with two more guys out of 6 participants, so fail... Yay!
Go to the top of the page
 
+Quote Post
   
LordHeinrich
post Aug 24 2010, 10:31 AM
Post #4


Level 14
Group Icon

Group: Revolutionary
Posts: 267
Type: Artist
RM Skill: Beginner




QUOTE
the when in the case is wrong!
remove the "n = " part

It really makes no difference in what it does, but I guess it is more efficient tongue.gif I updated the link

@leongon,

Perhaps you are right, but it doesn't hurt to have one available for download.
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 11:42 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker