Do you change the color of sprites in afternoon/night scenes
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Do you change the color of sprites in afternoon/night scenes
By change color, I mean, give them that orange-ish glow during late afternoon scenes or darken them a bit during dark/night scenes? If I wanted to minimize overall game size, wouldn't that be erm, not good because each new colored sprite would take up space (even if it's only 100kb)?
I don't have any kind words to spare to someone who already has all the reason in the world to feel good about himself.
http://roankun.wordpress.com/
http://roankun.wordpress.com/
- Alera
- Miko-Class Veteran
- Posts: 651
- Joined: Sun Mar 21, 2010 3:20 am
- Completed: Tortichki // Zayay // Hero's Spirit
- Deviantart: psyalera
- itch: psyalera
- Location: UK
- Contact:
Re: Do you change the color of sprites in afternoon/night sc
I think changing the colours is good- for better fitting in the mood and getting into the "realism" in the game.
But I guess this is up to you. If you need to reduce your files' sizes- think of what sacrifices you could make, without reducing the overall quality of the game.
But I guess this is up to you. If you need to reduce your files' sizes- think of what sacrifices you could make, without reducing the overall quality of the game.
- teacup
- Holder of Tasty Drinks
- Posts: 911
- Joined: Thu Oct 15, 2009 12:25 pm
- Completed: (P)lanets - the life of normalcy has ended
- Projects: Circum[N]avigate
- Contact:
Re: Do you change the color of sprites in afternoon/night sc
I don't. In fact, I've only seen a few games that do this...
Minor details like that are nice, but if it's too much trouble, then don't bother with it.
So yeah, it really is up to you. I doubt it's going to bother anyone if you don't change the colors though. (Personally, I tend to not even notice XD)
Minor details like that are nice, but if it's too much trouble, then don't bother with it.
So yeah, it really is up to you. I doubt it's going to bother anyone if you don't change the colors though. (Personally, I tend to not even notice XD)
- chensterrain
- Veteran
- Posts: 225
- Joined: Sun Oct 26, 2008 2:01 am
- Completed: Lucky Rabbit Reflex!, Dusk ~A Moonlight Romance~
- Projects: Edge of Elsewhere
- Organization: Super63
- Tumblr: supersixthree
- Deviantart: chensterrain
- Location: London, UK
- Contact:
Re: Do you change the color of sprites in afternoon/night sc
I'm pretty sure there's a Ren'Py function that lets you tint images (it's in the tutorial, I think?), so if you wanted the effect it wouldn't necessarily increase game size. (I don't personally bother, though.
)
- TeeGee
- Regular
- Posts: 189
- Joined: Mon Apr 04, 2011 4:20 am
- Completed: Solstice, Cinders, Co-Op, Magi, Phantasmat
- Projects: Bonfire
- Organization: MoaCube
- Tumblr: moacube
- Location: Warsaw, Poland
- Contact:
Re: Do you change the color of sprites in afternoon/night sc
We do that, and it looks really nice for a very small amount of work. We just blend the sprite with a proper color to fit the scene's lightning. We're using Game Maker for our game though, but I guess Ren'Py should have some simple blending options too.
Here's how the final effect looks:

Here's how the final effect looks:

- jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Do you change the color of sprites in afternoon/night sc
With Ren'Py, im.MatrixColor is your friend
the code above halves saturation im.matrix.saturation(0.5), tint the image blue (R,G,B) = im.matrix.tint(.75,.75,1.0) and reduces brightness by 20% - im.matrix.brightness(-0.2)
If you play with those values you can get some nice results.
Code: Select all
image i_duneN = im.MatrixColor("gfx/bg/dune.jpg",im.matrix.saturation(0.5)*im.matrix.tint(.75,.75,1.0)*im.matrix.brightness(-0.2))If you play with those values you can get some nice results.
Re: Do you change the color of sprites in afternoon/night sc
Thanks! I was actually just wondering if there was a renpy function or something for this. XD
I don't have any kind words to spare to someone who already has all the reason in the world to feel good about himself.
http://roankun.wordpress.com/
http://roankun.wordpress.com/
- OtomeWeekend
- Eileen-Class Veteran
- Posts: 1087
- Joined: Tue Apr 19, 2011 1:29 am
- Location: Somewhere seaside
- Contact:
Re: Do you change the color of sprites in afternoon/night sc
"The weak can never forgive. Forgiveness is the attribute of the strong." ---Mahatma Gandhi
I no longer use this account. Please refer to my new account, enta if you want to contact me. Thank you.
I no longer use this account. Please refer to my new account, enta if you want to contact me. Thank you.
Who is online
Users browsing this forum: Majestic-12 [Bot]


