fading/disappearing stars?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
serpentine
Posts: 2
Joined: Wed Oct 01, 2008 8:35 am

fading/disappearing stars?

Post by serpentine »

I'm just starting with anime studio, I am learing about animation, but I've got a question. I've got star objects on a layer, a moon object on another layer, and a planet object on another layer.

I can move the moon around the planet by placing it in different locations at certain keyframes (not very round movement though another way possible?), and I have stars going across.

My question is, i want the stars to start fading away when it's half way across the screen, and to disappear completely a short time after. I want stars to continuously travel across the screen and disappear like that. So, what i've done is made 10 stars, I get them moving across the screen, but I want to recycle the stars and put them back at their starting position and let their movement/disappearance recycle, thus stars always come and go. What's the best way to go about this?

Thanks!
User avatar
slowtiger
Posts: 6302
Joined: Thu Feb 16, 2006 9:53 am
Location: Berlin, Germany
Contact:

Post by slowtiger »

Cycle them.
You need to choose each timeline you used for the stars, I assume it's one layer translation timeline and one opacity timeline? Copy the first key of each timeline to the last position of your first cycle. Set this keyframe to "cycle" and insert the number of frames you want to have as the duration of the cycle.

Example

Code: Select all

layer movement
o---------------------------------------------------------------o

opacity
0%                        100%       100%                       0%
o-------------------------o----------o--------------------------o

1                         50        150                        250
cycle length set to 250
serpentine
Posts: 2
Joined: Wed Oct 01, 2008 8:35 am

Post by serpentine »

looks like opacity is handled for the entire layer, not just an object in a layer... does that mean each star has to have it's own layer?
User avatar
slowtiger
Posts: 6302
Joined: Thu Feb 16, 2006 9:53 am
Location: Berlin, Germany
Contact:

Post by slowtiger »

Of course! - I am so used to put all things on their own layers that I assume the same from others ...

But you can save some work. Instead of creating new layers and creating keys on each timeline, just duplicate the existing layer with many stars after you inserted the keys for movement and opacity. Duplicate as often as you want, then go into each layer, erase all but one star, and adjust the key positions and the cycle lengths.
chucky
Posts: 4650
Joined: Sat Jan 27, 2007 7:24 pm

Post by chucky »

how about using particles?
Then you could have a never ending amount of stars all twinkling and moving.
User avatar
slowtiger
Posts: 6302
Joined: Thu Feb 16, 2006 9:53 am
Location: Berlin, Germany
Contact:

Post by slowtiger »

IMO one should first learn to do things by hand. Later one could use the aquired experience in particles.
chucky
Posts: 4650
Joined: Sat Jan 27, 2007 7:24 pm

Post by chucky »

Yeah but some of us like to run cycle, before we learn how to walk cycle. ;)
Post Reply