Make night and time pass

Started by Mehrdad, Mon 03/08/2009 15:27:45

Previous topic - Next topic

Mehrdad

Hi
1)I want make night(step by step and slowly with time pass).is it possible adjust  brightness and contrast?(All scene(BGR.FGR.OBJ.PLAYER...)
2)how do i get time pass.like Darkseed game?

I use 640*480*16bit
My official site: http://www.pershaland.com/

Mazoliin

A simpel way is to make a gui and slowly decrease the transparacy for it, don't know how good it would look.

Ghost

Another easy way would be to actually DRAW each location in either two (day/night) or three, maybe four "time frames", and then use ChangeBackground. That gives you a lot more control about how a location looks, though Maz has a point with his idea too- it's much faster to implement and can look good too.

To make time pass, well, you can also chose from a wide range of options, and using a TIMER (as described in the manual) would be among them. Alternatively, you can also use certain events in the game to set the time yourself (which would ruin a realistic day/night circle).

NsMn

If I'm not very much mistaken, there's a calender module by Rocco, which can do such time-effects.

Mehrdad

Quote from: Mazoliin on Mon 03/08/2009 16:33:11
A simpel way is to make a gui and slowly decrease the transparacy for it, don't know how good it would look.

sorry i dont understand ....i think this answer is not for my question.please explain more for me.thank you.

Quote from: Ghost on Mon 03/08/2009 17:21:04
Another easy way would be to actually DRAW each location in either two (day/night) or three, maybe four "time frames", and then use ChangeBackground. That gives you a lot more control about how a location looks, though Maz has a point with his idea too- it's much faster to implement and can look good too.

To make time pass, well, you can also chose from a wide range of options, and using a TIMER (as described in the manual) would be among them. Alternatively, you can also use certain events in the game to set the time yourself (which would ruin a realistic day/night circle).

thanks.i think it before.but i must draw many background...is any suggestion?
thank you very much for time pass
Quote from: NsMn on Mon 03/08/2009 17:32:25
If I'm not very much mistaken, there's a calender module by Rocco, which can do such time-effects.

I must search.......thanks
My official site: http://www.pershaland.com/

Matti

Quote from: MEHRDAD on Tue 04/08/2009 15:18:22
Quote from: Mazoliin on Mon 03/08/2009 16:33:11
A simpel way is to make a gui and slowly decrease the transparacy for it, don't know how good it would look.

sorry i dont understand ....i think this answer is not for my question.please explain more for me.thank you.

It was an answer to your question. You can make a (black) GUI covering the whole screen and change its transparency according to the daytime.

Mehrdad

Quote from: Mr Matti on Tue 04/08/2009 15:24:59
Quote from: MEHRDAD on Tue 04/08/2009 15:18:22
Quote from: Mazoliin on Mon 03/08/2009 16:33:11
A simpel way is to make a gui and slowly decrease the transparacy for it, don't know how good it would look.

sorry i dont understand ....i think this answer is not for my question.please explain more for me.thank you.

It was an answer to your question. You can make a (black) GUI covering the whole screen and change its transparency according to the daytime.

Oh yes....I just do understand now.Thanks a lot 'Mazoliin' and '  Mr Matti '...I try it.
My official site: http://www.pershaland.com/

Ghost

Quote from: MEHRDAD on Tue 04/08/2009 15:18:22
thanks.i think it before.but i must draw many background...is any suggestion?

Depending on your graphics, a location really doesn't need to look very different- maybe you can simply change the sky, replace the sun with a moon, and make the landscape a bit darker. So you will really just draw a background once, make some changes, and save it again. Not too complicated.
I don't know what paint program you're using, but several of them allow you to adjust the brightness and the tint of an image. Make a background darker and add a slight blue tint, and use that as a working base.

Lt. Smash

the best would be if you make 3 or more backgrounds (light to dark) and then fade between them (using transparency settings).

.M.M.

Quote
Another easy way would be to actually DRAW each location in either two (day/night) or three, maybe four "time frames", and then use ChangeBackground.
But this won´t affect object and characters.

Mehrdad

Ghost:it is good way for make Night/day. but its dont affect on main player.
since i am in mode 16bit.but i use 256 color for my game.I use Dpaint 4 ( with Winuae amiga emulator) for sprites and objects and Backgrounds.this software is free.
My official site: http://www.pershaland.com/

Cpt Ezz

i could just be talking crap here but i thought there was a function in the room proprties that darkens it
i think it is room lighting

SMF spam blocked by CleanTalk