The Daily Click ::. Forums ::. Klik Coding Help ::. torch light effect
 

Post Reply  Post Oekaki 
 

Posted By Message

moonbird99



Registered
  03/04/2004
Points
  910
20th November, 2005 at 10:47:28 -

I've asked this before but nobody really helped much - how do you get a torch light effect so that the background looks a paler colour wherever you move etc... - is it possible without an extension?

 
to start press any key ...... where's the ANY KEY??

Keatontech!

Possibly Insane

Registered
  10/07/2005
Points
  2720
20th November, 2005 at 10:49:49 -

You could try the alpha channel object.

 
Happily Using Mac Now

I Officially Leave-d !

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
20th November, 2005 at 12:38:28 -

The only small problem with the alpha channel object, is it goes extremly slow in MMF after you create like 2 of them, and have them moving around.

 
http://www.facebook.com/truediamondgame

Keatontech!

Possibly Insane

Registered
  10/07/2005
Points
  2720
20th November, 2005 at 12:43:13 -

Yeah but he only needs one; well, unless he has 2 torches.

 
Happily Using Mac Now

I Officially Leave-d !

moonbird99



Registered
  03/04/2004
Points
  910
20th November, 2005 at 13:25:49 -

Is it possible without alpha channel object - I keep thinking there must be a way but .....??

 
to start press any key ...... where's the ANY KEY??

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
20th November, 2005 at 14:17:31 -

Brandon Cassata: Then your computer must be pretty messed up. It shouldn't lag at all if you just don't have them like covering the whole playfield. I have about 30 of them moving around and stuff in SS racing, plus mode7 object which usually causes some lagginessfulnessity, but still no problemo for me o_O

 
n/a

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!
20th November, 2005 at 15:29:37 -

@Moonbird: the simplest way without any extensions I can think of is making a circle with fade (in an active object), and give that a transparency of about 100. But that looks much more ugly.

 
Old member (~2004-2007).

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
20th November, 2005 at 16:29:54 -

Or, you can go old school Zelda style, make a black active object as big, maybe a bit bigger than your frame size. Cut out a torch shape in the middle, and have that always over your charcter, facing the same direction.

 
Craps, I'm an old man!

moonbird99



Registered
  03/04/2004
Points
  910
20th November, 2005 at 18:06:51 -

mmm .... like that idea but I guess it will add to the size of the game significantly but it's an idea worth messing about with - thx

 
to start press any key ...... where's the ANY KEY??

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
20th November, 2005 at 22:44:32 -

Wasn't there like some kind of torch example that messed with the OR, AND, and XOR object properties?

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
21st November, 2005 at 00:06:01 -

@Aggggge: Your game must be at a lower resolution or have a really fast processor, because I could have 20 balloons floating around the screen through the alpha channel, each are around 64x64, and the game loses frame per seconds very fast.

 
http://www.facebook.com/truediamondgame

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
21st November, 2005 at 00:28:53 -

Asparagus Trevor made a really good example with XOR and stuff. Contact Trevor, because the link for it is now down. Here's something else I've found when searching on CT forums:
http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=upload&Number=267829&page=&view=&sb=&o=&vc=1
I haven't downloaded it, but the comments say it's good.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click