The Daily Click ::. Forums ::. Klik Coding Help ::. Effects and how to do them????
 

Post Reply  Post Oekaki 
 

Posted By Message

EonDev



Registered
  13/01/2007
Points
  219
7th December, 2007 at 19:36:08 -

Ok I need help making effects. I have an idea how to do them but I just want to be sure there isn't a better way of doing them as usually I get complaints that I could do this and that better

1) Flashlights:
I was wondering how do I create a dark room effect and make it so that when the players shines the flashlight, objects light up realistically. I was thinking of having two different animations for lit up and darkened. Is there anything better I could do using transparency or something like that?

2)a Camera Movement:
I don't want the camera to always centre on the player. But instead it'll change depending on where they are. Should I just have the camera centre on different points depending on the co-ordinates of the player? Or should I do something to do with 'zones'?

2)b Camera Style:
I want to have a kind of circular camera view that fades to black near its edges. Should I make a 'camera frame' in GIMP or sumthin and then use transparency?

 
Breathing? It's optional!

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
7th December, 2007 at 22:10:42 -

The flashlight is extremly hard to do, i couldnt help you and im guessing only a very select few would know of a decent way to do this.

As for the camara movement, is it a platformer? if so then maybe have some invisible actives that once collided with, the camera will move to the desired location.

for the circle framre your best bet would be to use an alpha channel instead of using the transparency settings, this way you will only need one frame instead of many with dif trans settings.....if that makes sense.
Sorry i couldnt be of more help.

 
n/a

EonDev



Registered
  13/01/2007
Points
  219
8th December, 2007 at 06:38:25 -

Ok thanks. I never used alpha channels so i'll test it out. I like the idea of the invisible actives, its not platformer but it would work anyway. Thanks

Now all I need is the flashlight effect...

 
Breathing? It's optional!

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
8th December, 2007 at 06:49:24 -

As for the camara movement, is it a platformer? if so then maybe have some invisible actives that once collided with, the camera will move to the desired location.

You could also always set the screen center to one active object (called "camera") w/ a ball movement. Then when you collide with an invisible active as described above, you could set the camera active's max speed to something other than zero, and have it look in the direction of the active object you just ran into. When the camera active collides with the active you just ran into, set its max speed to zero.

This will make it look as if it's going from one place to another smoothly instead of just jumping around the joint, it that's not something you'd want.

Image Edited by the Author.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!
   

Post Reply



 



Advertisement

Worth A Click