The Daily Click ::. Forums ::. Klik Coding Help ::. Color changes as a LighTing Effect
 

Post Reply  Post Oekaki 
 

Posted By Message

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
13th January, 2009 at 03:10:41 -

I read this old post, http://create-games.com/forum_post.asp?id=45420 ... and it got me thinking ..

Is there any way in ANY of the ClickTeam Products (preferably TGF 1), to change the Colors of Actives, Backdrops, or external pictures during runtime ?

I'd really like to make a lighting effect where a ball of light gets closer and as it does, the colors of the character change to a lighter shade.


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
13th January, 2009 at 03:17:25 -

MMF2 has a function like that for Active objects. It's in Animation->Set Color. It asks what color you started with (the color you want replaced) and the color you'll end with (the color you're replacing it with). It then replaces all instances of that color with the new color.

Don't know about TGF, it would have to be an extension, but I never needed such an extension so I wouldn't have it. I do have both TGF1 and MMF2, though.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  374

VIP MemberCardboard BoxThe Cake is a Lie
13th January, 2009 at 03:20:28 -

As much as I know, I think the only way would be to add animations to the objects, characters, backgrounds, etc. by adding lighter shades to them. In different animations. If you don't want to do that, it'd be a huge pain to do otherwise. But what do I know? I'm a novice Klikker. Sorry If I'm not much help. I don't really know much on how to do these things.

Edit: Dangit, Jon! You're always beating me to things. Lol

Edited by W3R3W00F

 
An old and washed up once-kid

[DELETED]

Likes to put dots on paper

Registered
  08/12/2008
Points
  118

MushroomVIP MemberARGH Sign
13th January, 2009 at 04:09:41 -

Perhaps some use of the alpha channel object.

 
n/a

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  374

VIP MemberCardboard BoxThe Cake is a Lie
13th January, 2009 at 05:44:50 -

Though I wouldn't know squat (and DON'T know squat) about this lighting stuff, I was thinkin the same thing.

 
An old and washed up once-kid

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
13th January, 2009 at 06:37:57 -

Hmm .. sounds good .. Does TGF2 have that feature as well or just MMF2 ?


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
13th January, 2009 at 14:22:09 -

I think the Colorizer object lets you do it. I haven't figured out how, but I'm pretty sure it could.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

columbo borgi :C



Registered
  07/12/2003
Points
  296

VIP Member
13th January, 2009 at 16:49:06 -


Originally Posted by Muz
I think the Colorizer object lets you do it. I haven't figured out how, but I'm pretty sure it could.


there is an example in your mmf/examples directory, thats jsut explains how it works :C

 
:C

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
13th January, 2009 at 21:32:59 -

Make a white ball or light blue.
Always set its position to 0,0 from the ball of light.
Set its ink effect to add.

Now when the ball of light gets closer to the player, his/her colors should change.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
13th January, 2009 at 21:49:17 -

As far as stopped the shadows because of backdrops:
http://www.create-games.com/download.asp?id=6557
(I have a much improved version that runs at 50 FPS with prettier effects, if you *really* are interested, just ask)

But as far as coloring the objects, I don't know. One interesting effect that Fifth used I saw in an old thread, was to put a text blitter object over everything, and using the callback feature, create a different colored square with variable transparency at each location; it looked lik this:

http://www.l-ames.com/nothing/no-3.gif


 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
13th January, 2009 at 22:09:45 -

The add effect thing, I thought, would work in seperate layers. But apparently, it doesnt. Meaning the effect will add to any object in the background regardless of what layer is it in. I wonder if it can be made layer specific.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
13th January, 2009 at 22:25:17 -

If you use layers, it will be slooooooooow. Overlays or Text blitters are faster, and overlays are the faster of the two

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
15th January, 2009 at 07:01:25 -

Wow ... nice responses ... thank you guys ... I'm gonna check out some of the stuff ya got linked.


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
15th January, 2009 at 07:54:07 -

It says File Not Found for your ShadowCaster Engine PixelThief

 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
15th January, 2009 at 08:42:18 -

egads. I'll host you my newer, better one!
http://claniraq.googlepages.com/ChainSaw4.zip


 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456
   

Post Reply



 



Advertisement

Worth A Click