The Daily Click ::. Forums ::. Klik Coding Help ::. Day to night effect.
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
28th September, 2007 at 10:53:08 -

Hello once again.

Is there a good way of channging the background colour of a frame from for example day time to night time? Like a gradual transition sort of effect? Not just day then straight to night time. Know what I mean?

 
Image

Tell 'em Babs is 'ere...

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
28th September, 2007 at 12:05:05 -

This won't look very good most likely but you could make a big active object (what's this a theme today?) where the entire thing is a black and transparent checkerboard- ex. black pixel -> blank -> black pixel (repeat a billion times). And then have a timer make it so that it gains transparency every X amount of milliseconds or something. It wouldn't change the color of anything, just the ILLUSION.

Or maybe not. I'm sure Phizzy can poop on this method because it'll probably look like ass and rightfully so.

I think the only way to do it and have it look really good is to have different animation frames of EVERYTHING that will be affected by time changes. Take a tree- Draw one looking all green and nice for daytime, then one frame of it looking a bit darker green / blueish for twilight, and another one with dark colors for night. It won't be very smooth, but I think that way might be your best (and the most time-consuming way yet.)

You should ask the guy who made Heart Forth, Alica. His transitional colors look awesome.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
28th September, 2007 at 12:05:41 -

Transparency effects. Or you can use the palette object, but while that make it easy, I HIGHLY recommend against it due to, uh, side effects.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
28th September, 2007 at 12:08:19 -

Yeah, side effects like explosions aren't fun at all. Why does it explode? The only ones who could answer that have already been destroyed by the blasts themselves. So we have to wager a guess instead.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
30th September, 2007 at 07:03:07 -

Use my Colorizer.

 
Service Unavailable

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
30th September, 2007 at 08:00:36 -

Or, to also be able to change RGB values, have a background system box in front of everything else (like an upper layer) and change its colours gradually.

Don't forget that evenings tend to have a bit more blue in them.

 
Old member (~2004-2007).

Deleted User
30th September, 2007 at 08:46:01 -

LIJI's colorizer object does a very convincing job in the game I'm doing. Study how day dawns and goes to dusk to find the right colours.
Phizzy seems to have stayed behind.

Image Edited by the Author.

 

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
30th September, 2007 at 08:52:22 -

Phizzy can't download my extensions, Alonso, that's why.

 
Service Unavailable

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
30th September, 2007 at 09:03:02 -

Why's that?

 
Old member (~2004-2007).

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
30th September, 2007 at 09:31:18 -

Because he's very friendly

 
Service Unavailable

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
30th September, 2007 at 09:35:01 -

You can have an overlapping layer that contains a semitransparent quick backdrop. Have multiple layers, then enable/disable for varying amounts of semitransparency. It's wierd, but works.

 
n/a

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
30th September, 2007 at 09:55:36 -

But why using ugly (both meaning) workarounds instead of Colorizer which is easier and better looking? it also does REAL light effects.

 
Service Unavailable

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
30th September, 2007 at 10:23:04 -


Originally Posted by LIJI [S.o.m.e.G.o.o Limited]
Because he's very friendly


He's not friendly to you, but denying someone who paid for MMF2 some free extensions is just unfair. You have to draw the line somewhere, LIJI.

 
Old member (~2004-2007).

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
30th September, 2007 at 10:24:45 -

It doesn't matter if he bought MMF2, as I don't profit from its sales.
I don't want to give my extensions for someone as nice as Phizzy.

 
Service Unavailable

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
30th September, 2007 at 12:46:40 -

Good.

 
Service Unavailable
   

Post Reply



 



Advertisement

Worth A Click