|
|
I made the fishes move (changes their locH and locV value) and swim (changes
their cast member).
There has been a big question mark inside my head since I started playing with
director.
I made sprites to animate by changing their picture (their cast member).
for example, I put fish2.png at cast member number 5, cast member number 6 is
fish2, fish3 at cast member number 7 and so on.
I made a function to change the sprite's memberNum. That way, the image of the
sprite will change and as the result, it's animating.
I have been wondering if this is the most proper way to animate sprite in
director?
Could this be the problem that cause my fish to turn white?
|
|