Game Development Community

Is it possible to implement day-night effect?

by NEOK · in Torque Game Builder · 11/14/2005 (5:44 am) · 4 replies

I just bought T2D but haven't seen it much. But my boss just wanted to know something quickly.
Is it possible to do the full-screen effect that make a screen to darken or brighten? We just want to implement day and night without further background images.
We won't use tile-map, but the large background image and all object should be darkend or brightend.
I think I saw this feature in TGE, but I don't have clear idea whether it is also applicable to T2D.
Thanks for your help in advance.

#1
11/14/2005 (6:37 am)
Quick and dirty way would be to put up a full screen black image, and then set its alpha blending to "darken".... that will effect everything drawn "under" it.
#2
11/14/2005 (6:39 am)
Between the T2D blending and particle effects I'm sure there are many ways to implement a day/night scenario. If you check out the fish demo, there are some lighting and fading effects that may be what you're after. I haven't done much with T2D yet, so I can't offer any programmatic advice on this.
#3
11/21/2005 (3:17 pm)
Changing out the whole background tile set...

I would like to see a lvl system so that you could scrool.. shoot etc. .then LVL 2 .. could be night.. etc.
#4
12/06/2005 (1:16 pm)
I got a fairly nice result with an obscuring Black image with alpha setting.
Thank you for the advices.