Screen fading out as character is walking?

Started by xenogia, Tue 28/04/2009 05:39:45

Previous topic - Next topic

xenogia

I was wondering is there a way to slowly fade out a scene while a character is walking.

The only option I know is to use the FadeOut(#) command but that is blocking.  Is there a way around this?

Gilbert

Yes. It'd be pretty easy to do in 8-bit mode, but for 16/32 bit modes you can either:
1. Use TintScreen() to tint the screen with a gray colour about (1,1,1) to (50,50,50), but it seems that it won't go very dark even at the darkest gray.
2. Use an overlay/object/character/whatever which is a large black rectangle covering the whole screen and adjust its transparency in game.

Trent R

#2
I'd go gui, since it takes 4.8 seconds to make one. And you could always check out the FadingThingsNonBlocking module (or whatever its called, can't remember off the top of my head)

[Edit]: Indeed, that is the name, and you can find it here. Seems it has some trouble with 3.1.2, but shouldn't be too hard to get working.

~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

SMF spam blocked by CleanTalk