Does anyone ever get a problem that when they destroy an object, they get stuck "on" the screen, but physically arn't there, you just get the image of the last frame they were on before they were destroyed stuck on the screen? The image which gets stuck scrolls around with the frame.
Here's the right way to do it (It amazes me that ppl don't know this)
Number of (Effect) > 0 - Add 1 ValueA.(Effect)
Valuea.(Effect) >= 15 - Destroy
Obviously, it doesn't have to be 15, but I find that 15 is a good number for small effects (Like flame spit out of a gun barrel)
Oh and make ABSOLUTELY SURE that you have it as >= (greater than or equal to) not just = (equal to) because as much as CT likes to deny it, sometimes click products miss events in loops. (In this case the destroy event, I've had it skip on right by that part when I was using =15, and that leads to stray effects.)
Didn't we just have a discussion on why that DOESN'T work right? Plus the fact that the "Frame of animation" thing is buggy and doesn't fire all the time, and when it doesn't, the object is left on the field as the "= frame of animation" only fires once in a non looping animation (because there's no >= for animation frames). Just cause it looks like it should work right doesn't mean anything in CT products sometimes; you've got to cover your own ass. Trust me, this is the best (most bug free) way to do it.
You don't need to spend ages, here's a handle little chart.
1 sec of gametime = 47~49 loops (Rounding to 50 works)
So when value a = 100 - two seconds have passed.
It's actually really easy to figure out when to destroy them.
Yah i know all that (although i didn't realise the frame of animation thing was THAT buggy), ill just stick with leaving the last frame blank its the easiest/fastest way. But one thing i don't understand is how to understand the animation speed values in the animation editor, what would 0 mean and what would 100 mean?
Also, why is there minimum and maximum values? There is no option to choose between these in the event editor? I always just use "change animation speed" and set it to an alterable value.
errr...change animation speed doesn't typically work in any CT product. It's a common bug. But if it works for you, all the more power to you.
As for why there's a threshold between 0-100 in custom animations is this. When using the normal CT movement (with the Speed command) click products like to be "smart" and synch up the speed of the animation with the speed of the object. The Maximum and Minimum values are the the base "slowest" and "fastest" the given animation can run at, and TGF/MMF factors this into determining how fast to display your animation at any given object speed.
As for what it ACTUALLY runs at (FPS-wise); I don't know. I would assume it's something like this:
25 - Minimum Animation Speed
75 - Maximum Animation Speed
Ah ok, with the set animation speed thing, i just assumed I'd used it before and assumed it worked, so it might not work at all. And thanks for explaining the max and min speeds, I've always been a bit confused by them (havn't used built in movements for years). Thanks!