The Daily Click ::. Forums ::. Klik Coding Help ::. Fading Screen in TGF???
 

Post Reply  Post Oekaki 
 

Posted By Message

guri-n ha



Registered
  16/04/2005
Points
  245
7th May, 2005 at 11:52:48 -

Is it possible to do a fading screen in TGF?

If not, can someone make me a black to transparent fading screen in "300x190" pixels?

Thanks.

 
n/a

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
7th May, 2005 at 12:42:50 -

http://members.lycos.nl/zhouman/TransparentFade.gam
There you go. I made that a few years ago, never used anymore after I got MMF. Instructions are inside. It's in a 640x480 resolution. If you want to change it, then change the size of all objects.

 
This space is for rent

guri-n ha



Registered
  16/04/2005
Points
  245
7th May, 2005 at 14:21:57 -

thanks man,

 
n/a

guri-n ha



Registered
  16/04/2005
Points
  245
7th May, 2005 at 14:39:18 -

Is there anyway to lower the speed of the fade?
Also i didn't understand the part you said about:
"Copy these objects to another frame, and copy the event groups. Delete these objects after that!"

How do i do that?

 
n/a

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
7th May, 2005 at 14:51:44 -

It's been a while since I coded that thing. See all the "Alterable Value A=1"? Try changing all of them into a higher number. And "Alterable Value A=-1" into a lower number. I think that will slow down the fading.

If you want to move the fade into your game, first copy the objects into your game (plain old ctrl+c and ctrl+v). Same with the events. With 'Delete these objects after that' I mean there's no harm in deleting the fade objects. Normally when you delete an active object, you will see a little bomb replacing the object in the event editor, but that won't happen. (It's because all objects are under a 'create object' action) That's a good thing, since TGF has a max number of active object. So by deleting the objects in the frame, you can lower the number of objects you have in runtime.

 
This space is for rent

Zi-Xiao



Registered
  29/07/2002
Points
  537

VIP Member
7th May, 2005 at 15:42:14 -

Theres also a gheto way of doing screen fades.
Have a square object the size of your screen. Set its stopped or appearing animation as changing its color from white to black. Set its ink effect to AND.
Now when you want the screen to fade, simply create the object over your screen, and when its animation is finished, go to the next level or destory it or whatever.
Real poor way, but it works

 
n/a

guri-n ha



Registered
  16/04/2005
Points
  245
7th May, 2005 at 16:32:44 -

thanks, it worked out great...

Image Edited by the Author.

 
n/a

en kerro



Registered
  21/10/2004
Points
  578
8th May, 2005 at 04:00:57 -

Works in cutscenes: Take screen capture from the game in (nearly) the end of the frame and create new animation. Put that screen capture to first frame, and second frame same size, but definetly black. Use morphing editor, and ta-da!

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%
   

Post Reply



 



Advertisement

Worth A Click