Animation speed help!

Need help with any SMBX game-related issues? Ask your questions here.
TheIronWarrior
Fighter Fly
Fighter Fly
Posts: 60
Joined: Wed Dec 24, 2014 1:55 am

Animation speed help!

Postby TheIronWarrior » 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?

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: Animation speed help!

Postby PixelPest » Sat Jun 11, 2016 6:36 pm


TheIronWarrior
Fighter Fly
Fighter Fly
Posts: 60
Joined: Wed Dec 24, 2014 1:55 am

Re: Animation speed help!

Postby TheIronWarrior » Sat Jun 11, 2016 6:42 pm

So... framespeed=0.2?

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: Animation speed help!

Postby PixelPest » Sat Jun 11, 2016 6:43 pm

No. Read the section on framespeed values in the main post of that thread I linked

TheIronWarrior
Fighter Fly
Fighter Fly
Posts: 60
Joined: Wed Dec 24, 2014 1:55 am

Re: Animation speed help!

Postby TheIronWarrior » Sat Jun 11, 2016 7:40 pm

PixelPest wrote:No. Read the section on framespeed values in the main post of that thread I linked
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?

User avatar
Imaynotbehere4long
Kamikaze Koopa
Kamikaze Koopa
Posts: 1389
Joined: Thu Jan 23, 2014 3:00 pm
Current Project: Chaotic Culmination: Universe Rescuer

Re: Animation speed help!

Postby Imaynotbehere4long » Sat Jun 11, 2016 7:50 pm

TheIronWarrior wrote:So... framespeed=0.2?
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.
I've decided to cancel SMBXville Under Seige. After my 1st Senior year of college, I realized I wouldn't have enough time to devote to finishing my four-level episode. Apologies to those who cared.
My favorite quote on the entire forum:
Spoiler: show
mechamind wrote:
AeroMatter wrote:People who think "autistic" is an adjective and not a verb.
You autistic some people so much with that statement.
My SMBX portfolio:
Spoiler: show
Image
(includes a Sonic 3D Blast styled level.)
SOMEONE ANSWER MY CRY FOR HELP: http://www.supermariobrosx.org/forums/v ... =69&t=2026

User avatar
Valtteri
Larry Koopa
Larry Koopa
Posts: 2153
Joined: Sun Dec 01, 2013 1:16 pm

Re: Animation speed help!

Postby Valtteri » Sun Jun 12, 2016 9:04 am

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.
Image

TheIronWarrior
Fighter Fly
Fighter Fly
Posts: 60
Joined: Wed Dec 24, 2014 1:55 am

Re: Animation speed help!

Postby TheIronWarrior » Sun Jun 12, 2016 2:36 pm

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.
But not exactly, right?

User avatar
Valtteri
Larry Koopa
Larry Koopa
Posts: 2153
Joined: Sun Dec 01, 2013 1:16 pm

Re: Animation speed help!

Postby Valtteri » Sun Jun 12, 2016 3:39 pm

13 is not exactly 5 frames per second but it's close. It's the closest you can get without decimals. SMBX will also accept framespeed=12.8205128 which is more accurate, 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.
Image

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8734
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Animation speed help!

Postby Enjl » Sun Jun 12, 2016 3:49 pm

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.
I think lunalua fixes this.
Ideas are useless if you can't make them real.
Image

TheIronWarrior
Fighter Fly
Fighter Fly
Posts: 60
Joined: Wed Dec 24, 2014 1:55 am

Re: Animation speed help!

Postby TheIronWarrior » Mon Jun 13, 2016 3:55 pm

Valtteri wrote:but decimals will cause SMBX to crash on non-English computers
Wait... ...What does language have to with decimals and crashing?

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8734
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Animation speed help!

Postby Enjl » Mon Jun 13, 2016 3:58 pm

TheIronWarrior wrote:
Valtteri wrote:but decimals will cause SMBX to crash on non-English computers
Wait... ...What does language have to with decimals and crashing?
Some languages use . as the decimal point, others use ,
Ideas are useless if you can't make them real.
Image

TheIronWarrior
Fighter Fly
Fighter Fly
Posts: 60
Joined: Wed Dec 24, 2014 1:55 am

Re: Animation speed help!

Postby TheIronWarrior » Mon Jun 13, 2016 4:50 pm

Enjl wrote:
TheIronWarrior wrote:
Valtteri wrote:but decimals will cause SMBX to crash on non-English computers
Wait... ...What does language have to with decimals and crashing?
Some languages use . as the decimal point, others use ,
Oh. Will using commas prevent it crashing then? Probably not. Sorry, I am just speaking out the first thing that comes to mind.

User avatar
Imaynotbehere4long
Kamikaze Koopa
Kamikaze Koopa
Posts: 1389
Joined: Thu Jan 23, 2014 3:00 pm
Current Project: Chaotic Culmination: Universe Rescuer

Re: Animation speed help!

Postby Imaynotbehere4long » Mon Jun 13, 2016 4:53 pm

TheIronWarrior wrote:Will using commas prevent it crashing then?
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.
I've decided to cancel SMBXville Under Seige. After my 1st Senior year of college, I realized I wouldn't have enough time to devote to finishing my four-level episode. Apologies to those who cared.
My favorite quote on the entire forum:
Spoiler: show
mechamind wrote:
AeroMatter wrote:People who think "autistic" is an adjective and not a verb.
You autistic some people so much with that statement.
My SMBX portfolio:
Spoiler: show
Image
(includes a Sonic 3D Blast styled level.)
SOMEONE ANSWER MY CRY FOR HELP: http://www.supermariobrosx.org/forums/v ... =69&t=2026


Return to “Help and Support”

Who is online

Users browsing this forum: SemrushBot [Bot] and 6 guests