Animation speed help!
Posted: Sat Jun 11, 2016 6:28 pm
How would someone change the animation speed so that one frame lasts exactly 0.2 seconds? Is it even possible?
So... framespeed=0.2?
Those are just percents. The default framespeed is 123.07 or something. How would I calculate the value so it is exactly 0.2 seconds?PixelPest wrote:No. Read the section on framespeed values in the main post of that thread I linked
Actually, I think it would be framespeed=14. I'm basing this on the fact that framespeed changes frames per second, and according to this thread, there are 14 frames in 0.2 seconds.TheIronWarrior wrote:So... framespeed=0.2?
But not exactly, right?Valtteri wrote:As the framespeed is actually 64.1025 641025 641025..., framespeed=13 would be closer because 0.2 * 64.1025 641025 641025... = 12.8205 128205 128205... ≈ 13.
I think lunalua fixes this.Valtteri wrote:but decimals will cause SMBX to crash on non-English computers so I suggest you use framespeed=13 if you want a larger audience for your level.
Wait... ...What does language have to with decimals and crashing?Valtteri wrote:but decimals will cause SMBX to crash on non-English computers
Some languages use . as the decimal point, others use ,TheIronWarrior wrote:Wait... ...What does language have to with decimals and crashing?Valtteri wrote:but decimals will cause SMBX to crash on non-English computers
Oh. Will using commas prevent it crashing then? Probably not. Sorry, I am just speaking out the first thing that comes to mind.Enjl wrote:Some languages use . as the decimal point, others use ,TheIronWarrior wrote:Wait... ...What does language have to with decimals and crashing?Valtteri wrote:but decimals will cause SMBX to crash on non-English computers
If a period will cause it to crash for people who's decimal is a comma, then a comma will cause it to crash for people who's decimal is a period.TheIronWarrior wrote:Will using commas prevent it crashing then?