FxAnimatedSprite2D bug
by Chris Newman · in Torque Game Builder · 10/30/2005 (6:42 pm) · 5 replies
This if for non-looping animations.
When the animation ends, instead of stopping on the last frame, it will show the previous frame instead.
This does not happen all the time.
this will cause the error
but changing the time to 3, will work correct
this is a table of the number of frames and time in seconds.
Error means that it showed the frame from last, while correct menas it showed the last fram when it stopped
When the animation ends, instead of stopping on the last frame, it will show the previous frame instead.
This does not happen all the time.
this will cause the error
datablock fxAnimationDatablock2D(previewImage)
{
imageMap = playersideImageMap
animationFrames = "0 1 2";
animationTime = 2;
animationCycle = 0;
randomStart = 0;
};but changing the time to 3, will work correct
datablock fxAnimationDatablock2D(previewImage)
{
imageMap = playersideImageMap;
animationFrames = "0 1 2";
animationTime = 3;
animationCycle = 0;
randomStart = 0;
};this is a table of the number of frames and time in seconds.
Error means that it showed the frame from last, while correct menas it showed the last fram when it stopped
Frames 2 sec 3 sec 4 sec 5 sec 1 correct correct correct correct 2 correct correct correct correct 3 error correct error correct 4 correct correct correct correct 5 correct correct correct correct 6 error correct error error 7 error error error error 8 correct correct correct correct 9 correct correct correct correct 10 error error error error 11 error error error error 12 error correct error correct 13 error correct error error 14 error correct error error 15 error error error error 16 correct correct correct correct
#2
10/31/2005 (4:59 am)
Well if its fixed in the new version, GREAT!!! :)
#3
"0 1 2 2" for example instead of "0 1 2" it worked.
@Chris: thankyou for the table:
I wonder why nobody have reported this before.
10/31/2005 (12:19 pm)
Ok this is a bug I found before, but as long as I used"0 1 2 2" for example instead of "0 1 2" it worked.
@Chris: thankyou for the table:
I wonder why nobody have reported this before.
#4
10/31/2005 (12:28 pm)
I found it in when i was testing my Animation Datablock Editor.
#5
- Melv.
10/31/2005 (11:39 pm)
I'll definately give this a whirl in v1.0.2 soon. Don't want this one hanging over me. :)- Melv.
Associate Melv May
There was a previous problem where the animation was ending and finishing on the first frame but never the next to last one.
Thanks for reporting it.
- Melv.