[SOLVED] Title Screen that continuously changes hue in a loop

Status
Not open for further replies.

TheDrifter

Veteran
Veteran
Joined
Apr 18, 2012
Messages
121
Reaction score
7
First Language
English
Primarily Uses
Greetings,

I'd like to have my title screen change color (hue) continuously.

Each 5 frames it would gain +5 in Hue, then once it's up to the max it would start over from the minimum hue, like this over and over.

And... That's about it.

I don't mind if the screen stops changing color while the Load Screen is up.

If it's easier for you that way, you may just make the title change to another image every 5 frames in a predetermined order.

I could just import the same title screen multiple times with different hue and make them cycle through each of them or something.

Thank you very much for your help. It is very much appreciated.
 
Last edited by a moderator:

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
I'd like to have my title screen change color (hue) continuously.

Each 5 frames it would gain +5 in Hue, then once it's up to the max it would start over from the minimum hue, like this over and over.

And... That's about it.
Challenge Accepted. ;)

Wrote a very short & simple script I wrote for ya real quick. See below.

Script (v0.01):

#==============================================================================# ** Hue Changing Title by CT_Bolt (v0.01)#==============================================================================class Scene_Title < Scene_Base attr_reader :frame_index attr_reader :frame_step attr_reader :change_sprite1 attr_reader :change_sprite2 alias :my_start :start def start my_start @frame_index = 0 @frame_step = 5 @change_sprite1 = true @change_sprite2 = true end alias :my_update :update def update @frame_index += 1 if @frame_index == @frame_step @frame_index = 0 if @change_sprite1 @sprite1.bitmap.hue_change(5) unless !@sprite1 end if @change_sprite2 @sprite2.bitmap.hue_change(5) unless !@sprite2 end end my_update endend
Demo:

Hue Changing Title - Demo: Click Here to Download

Thank you very much for your help. It is very much appreciated.
No problem, hope you enjoy the script. :) Please let me know how it works for ya. :p

PS. I will be making a major update to this script when I get time (hopefully soon) ;) . I'll PM you once I release it to the public. :)
 
Last edited by a moderator:

TheDrifter

Veteran
Veteran
Joined
Apr 18, 2012
Messages
121
Reaction score
7
First Language
English
Primarily Uses
Oh God, the power... I feel it. You are truly amazing.
Thank you so very much for this. *bows to you*

I noticed the screen turned back immediately to its original hue when you return from the load screen (as the title image gets refreshed).
But seriously, it doesn't even matter one bit to me, just thought I should point it out.

Thanks again, this is wonderful.

This topic is now [sOLVED].
 
Last edited by a moderator:

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
Oh God, the power... I feel it. You are truly amazing.

Thank you so very much for this. *bows to you*
:blush: Aww shucks, thanks... I do my best to please. :guffaw:

I noticed the screen turned back immediately to its original hue when you return from the load screen (as the title image gets refreshed).

But seriously, it doesn't even matter one bit to me, just thought I should point it out.
Ah good observation, I hadn't really tested that. I will have that working properly when I release my full Title Add-On Script. ;)

Thanks again, this is wonderful.

This topic is now [sOLVED].
Most Excellent! :rock-left: BD :rock-right:

I am currently working on a way to prevent color-loss (repeated hue changes may result in color loss), if you want you can follow the discussion here.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Last edited by a moderator:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top