This is one way to do it.
Create Multiple Movements according to objects. Those are all path movements.
Pretty easy and easyer to acomplish then adding animations for like 50 objects![]()
This is one way to do it.
Create Multiple Movements according to objects. Those are all path movements.
Pretty easy and easyer to acomplish then adding animations for like 50 objects![]()
My problem isnt the pathmoving of my object. That part i have solved allready.
If you ment movement of the sparkle-effect around my objects i dont think that metod will work for my project. Its a nice effect, but not what i am looking for.
I want an effect that are present around the hole object at once, and that the effect move with my object, on the objects path until its destroyed.
Maybe i just have to it the hard way, and make 1 animatation-series each 50+ objects, to get what i want (yikes).
Wish my luck!
hehe
But thanks alot for the example. I am greatfull that you took the time making it.
on each path node create a spark object, so if you make the movement fast enough it will create a glowing sparkle effekt around the object in under 1 second.
I tryed to make it go faster, but seems max was 100 (twice as fast as your 50).
Atleast it wouldnt go faster then 100 on my comp.
Here is what I thought about. See attached.
The movement is sligntly off, I would need to rerecord the movement and make sure it position is right to prevent it from sliding off the object.
Now with some neat sparkle animation it would look nice.
Yeah thats what i notised also when i tryed it earlyer today. That for each loop it changed posision more and more.
Maybe i am able to use it still, if i just let the sparkle effect show when object is clicked.
Object dont really HAVE to move, i just wanted to add that to make more happening on the screen. But the sparkle, yes that i MUST have.. hehe
Thanks maVado. I will try agein with your new example and try make some neat sparkle animation.![]()
It moves because the start and end point are not the same, Just record again and make sure both match.
Another Solution:
Lets imagine you define all your objects on a coordinate system, e.g. like below the banana:
You could Save all those XY coords of each spot to an INI File:
e.g. objects.ini -->
[Banana]
Maxloops=12
1x=34
1y=45
2x=12
2y=45
...
Now when you click on the object Banana, start a loops for Maxloop value of the object from your ini. This allows you to be flexible with sparkle objects. Easy structured objects need less sparkles then complex objects.
Now on each of the loop step you move a dummy object to that XY coordinate but related to the object (xDummy = xBanana + ValueGroupItem("Banana","x" + [current loopstep]) ... same for Y ) and create a sparke animation.
If you use fastloops you should have 12 sparkle instant on the screen, and will propably look better.
I make you an Example
See attached
create a text file and save it as "objects.ini" with the following content in the same folder as the MFA File.
Code:[obj1] MAXLoops=6 x0=2 x1=16 x2=24 x3=34 x4=12 x5=20 x6=57 y0=6 y1=16 y2=2 y3=24 y4=34 y5=60 y6=41
Thanks agein maVado![]()
maVado, sorry to butt in, but the above sample that you used in your example is from a game I just finished playing, did you create that game?