Main Menu
  • Welcome to The RPG Maker Resource Kit.

Red Green Blue Brightness System

Started by Punk, November 17, 2006, 03:16:56 AM

0 Members and 1 Guest are viewing this topic.

Punk

RED GREEN BLUE BRIGHTNESS SYSTEM[/font]

Requires[/font]
1 Switch
4 Variables
5 Common Events (1 maybe if you merged them all)
4 picture slots

What you will need to download for this system.
[/font]
Quote




Functions: It adjusts the colors and brightness to your screen.[/font]

RED[/font]
Common Event: Red
Trigger: Parallel
Condition Switch: RGB & Brightness

@>Conditional Branch: Variable [Red] == 0
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 0 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 1
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 17 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 2
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 34 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 3
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 51 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 4
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 68 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 5
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 85 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 6
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 102 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 7
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 119 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 8
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 136 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 9
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 153 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Red] == 10
@>>Show Picture: 47, 'red', Upper Left, (0,0) Opacity: 170 Blending: Add
@>>Branch End


GREEN[/font]
Common Event: Green
Trigger: Parallel
Condition Switch: RGB & Brightness

@>Conditional Branch: Variable [Green] == 0
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 0 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 1
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 17 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 2
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 34 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 3
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 51 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 4
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 68 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 5
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 85 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 6
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 102 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 7
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 119 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 8
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 136 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 9
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 153 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Green] == 10
@>>Show Picture: 48, 'Green', Upper Left, (0,0) Opacity: 170 Blending: Add
@>>Branch End


BLUE[/font]
Common Event: Blue
Trigger: Parallel
Condition Switch: RGB & Brightness

@>Conditional Branch: Variable [Blue] == 0
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 0 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 1
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 17 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 2
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 34 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 3
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 51 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 4
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 68 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 5
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 85 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 6
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 102 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 7
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 119 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 8
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 136 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 9
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 153 Blending: Add
@>>Branch End
@>Conditional Branch: Variable [Blue] == 10
@>>Show Picture: 49, 'Blue', Upper Left, (0,0) Opacity: 170 Blending: Add
@>>Branch End


BRIGHTNESS[/font]
Common Event: Brightness
Trigger: Parallel
Condition Switch: RGB & Brightness

@>Conditional Branch: Variable [Brightness] == 10
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 0 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 9
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 17 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 8
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 34 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 7
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 51 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 6
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 68 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 5
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 85 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 4
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 102 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 3
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 119 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 2
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 136 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 1
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 153 Blending: Normal
@>>Branch End
@>Conditional Branch: Variable [Brightness] == 0
@>>Show Picture: 50, 'Black', Upper Left, (0,0) Opacity: 170 Blending: Normal
@>>Branch End


BOUNDARIES[/font]
Common Event: Boundaries
Trigger: Parallel
Condition Switch: RGB & Brightness

@>Conditional Branch: Variable [Red] Less or equal to -1
@>>Control Variables: [Red] = 0
@>>Branch End
@>Conditional Branch: Variable [Red] Great or equal to 11
@>>Control Variables: [Red] = 10
@>>Branch End
@>Conditional Branch: Variable [Green] Less or equal to -1
@>>Control Variables: [Green] = 0
@>>Branch End
@>Conditional Branch: Variable [Green] Great or equal to 11
@>>Control Variables: [Green] = 10
@>>Branch End
@>Conditional Branch: Variable [Blue] Less or equal to -1
@>>Control Variables: [Blue] = 0
@>>Branch End
@>Conditional Branch: Variable [Blue] Great or equal to 11
@>>Control Variables: [Blue] = 10
@>>Branch End
@>Conditional Branch: Variable [Brightness] Less or equal to -1
@>>Control Variables: [Brightness] = 0
@>>Branch End
@>Conditional Branch: Variable [Brightness] Great or equal to 11
@>>Control Variables: [Brightness] = 10
@>>Branch End

Blizzard

Are you being serious? There is a "Tint screen" event command that does exactly the same. You can even adjust the saturation and the transition time.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Winged

Bliz is right, but...some people like long events  :lol:?

~Winged



Blizzard

Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Winged

Don't be too harsh now, he did spend sometime making this, lets give him some good comments on it....great find, its a great start to eventing!

~Winged



Blizzard

#5
Lol, I think it is uneccesary, because these images take HDD space, so they make the game bigger. Also, showing 4 images aka "pictures" with a size of 640x480 will increase the lag dramatically.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Winged

Well it would of taken me time to figure this out, some encouragement would be nice to a new member  ;D

~Winged



&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

Punk

It was meant to be used as a way of adjusting the colors without getting in the way of the tint screen command and/or event based systems and scripts that utilize the tint screen command.

The user was supposed to create some sort of an event based option menu that allows players to adjust amount of red, green, blue and brightness. If the player gets out of the option menu, that is when the RGBB system switch isn't needed.

Pretty much the user has to create the RGBB option menu. In that RGBB option menu, the creator has to turn the RGB & Brightness switch on. Then when the player leaves the option menu, you can turn off the switch.

(You can find these kinds of RGB & Brightness like systems in video games like the Tony Hawk video games or Mortal Kombat.)

Blizzard

Ah, I see. Yes, that would make some sense. Nice work. :)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Winged

I only about half get it, but it seems like there was a pupose of this, sorry for the mistake, I'm not really a event person  :-[

~Winged



Punk