Tweaking Weather Effects

Status
Not open for further replies.

ShinySlowqueen

Veteran
Veteran
Joined
Dec 22, 2015
Messages
49
Reaction score
3
First Language
English
Primarily Uses
RMVXA
It's a minor thing, but I'd like the screen to not get QUITE so dark when it's snowing.  


I found this snippet within Spriteset_Weather:


#--------------------------------------------------------------------------
# * Get Dimness
#--------------------------------------------------------------------------
def dimness
(@power * 6).to_i
end


But this seems like it would affect ALL weather types, and not just snow.
 

ShinySlowqueen

Veteran
Veteran
Joined
Dec 22, 2015
Messages
49
Reaction score
3
First Language
English
Primarily Uses
RMVXA
Think I mighta fixed it.


Changed that snippet to:


#--------------------------------------------------------------------------
# * Get Dimness
#--------------------------------------------------------------------------
def dimness
if @weather_type = :snow
(@power * 2).to_i
else
(@power * 6).to_i
end
end


And I think it's working.  Anything I might not realize I have totally screwed up by doing this?
 

Lord Vectra

Master Eventer
Veteran
Joined
Dec 6, 2015
Messages
211
Reaction score
336
First Language
English
Primarily Uses
RMVXA
I don't think so
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
[necro]King Vectra[/necro]

That question was asked over 6 months ago. I think we can assume it was okay.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

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,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top