Or you can do it using for each loop with already created trail in the frame....I think it's better performance instead of aways create a object...
Trails.mfa






Or you can do it using for each loop with already created trail in the frame....I think it's better performance instead of aways create a object...
Trails.mfa
Very nice example paobrasil! A member and I are still trying to get the trails right. In my game I would like the same type trails that Angry Birds has. The trails are smaller and every 5 or so trails there is a bigger object. After the first set of trails are on the screen, they stay there until the next set is created. Please check out this video. This is perfect IMO!!
https://www.youtube.com/watch?v=3SN_xZkF_Qw












that is a pretty cool example paobrasil, though I don't think creating a couple of objects for the trail is going to have any real impact on performance, especially for an angry birds style game... I create and destroy thousands of particles (not all at once, obviously) in my projects and have not run into any problems. Just as long as you destroy them as you go, of course, attached updated version.. it's simple to see the concept anyway.
Trail 2.mfa






Hello again KLiK-iT,
Yeah, about size of the bigger object...I think you just need to spread the value of the trail to get a id of every object, then create a event to detect this id is equal 5, 10, 15...and so on...and change the scale..or change to a animation direction that have a bigger image?.....maybe this can work...






Hello again DaveC,
Nice example! Maybe you are right....I just shared this example because in my project, this method really otimized my game a lot instead of creating a particle....I dont know why....maybe because I'm developing in 1080p? or because there's others objects creating in same time..I don't know......but this loop method really otimized my game...![]()
If you don't mind, because I never used "spread value" before. If it's possible can you make an example if it's not to much trouble. It would be appreciated. Can you do an example of how they do it in Angry Birds please. My game is not a copy of Angry Birds at all and is original. I just like the way they did their trails. It really looks great, but then again I like everything they did with those games. Very professional.
Thanks Guys, the click community are the best. Thanks especially to Pixel Pulse, Poabrasil and Klick-It. The product is only as good as the support, thanks for your time and effort. I'm sure this will benefit many others too.![]()






I took DaveC example and modified...Trail (1).mfa
Thank you Paobrasil. I'll check it out as soon as I get on my PC..!
Edit: Very nice! Thanks again for the help.
Im using mmf2 and i can't can open the file. Can do another download link?