Page 1 of 1

Custom scene with animation.

Posted: Sun Nov 22, 2020 11:33 am
by Enzo Ferracini
I want to make a personalized scene. But I only know how to make without animation. How do with animation?

Re: Custom scenery with animation.

Posted: Sun Nov 22, 2020 2:47 pm
by Fuyu
Which version of SMBX do you use?

Re: Custom scenery with animation.

Posted: Sun Nov 22, 2020 3:08 pm
by Enzo Ferracini
Fuyu wrote:
Sun Nov 22, 2020 2:47 pm
Which version of SMBX do you use?
SMBX 2.0 Beta 4

Re: Custom scenery with animation.

Posted: Sun Nov 22, 2020 3:40 pm
by Fuyu
I assume you mean for the overworld. SMBX 2.0 works like this; anything seen from PGE, which is the editing side of the engine, loads INI files telling it how to show its graphics in it. When playtesting, or regular playing, the engine turns to TXT files telling it how to show the graphics ingame.

If you intend to add frames of animation to your scenes you need to make a TXT file with the following line:

Code: Select all

frames=N
N is the number of frames your image has.

Making an INI file also helps as it allows you to test how the image would animate without having to launch the game to see it in action.

Re: Custom scenery with animation.

Posted: Sun Nov 22, 2020 3:45 pm
by Enjl
Fuyu wrote:
Sun Nov 22, 2020 3:40 pm
I assume you mean for the overworld. SMBX 2.0 works like this; anything seen from PGE, which is the editing side of the engine, loads INI files telling it how to show its graphics in it. When playtesting, or regular playing, the engine turns to TXT files telling it how to show the graphics ingame.

If you intend to add frames of animation to your scenes you need to make a TXT file with the following line:

Code: Select all

frames=N
N is the number of frames your image has.

Making an INI file also helps as it allows you to test how the image would animate without having to launch the game to see it in action.
there are no text files for world map scenery. also while i'm here: it's smbx2 not smbx 2.0.

Re: Custom scenery with animation.

Posted: Sun Nov 22, 2020 3:58 pm
by Fuyu
My bad, I didn't know you needed Core's library for it to work.

Re: Custom scenery with animation.

Posted: Sun Nov 22, 2020 4:22 pm
by Enzo Ferracini
Fuyu wrote:
Sun Nov 22, 2020 3:40 pm
I assume you mean for the overworld. SMBX 2.0 works like this; anything seen from PGE, which is the editing side of the engine, loads INI files telling it how to show its graphics in it. When playtesting, or regular playing, the engine turns to TXT files telling it how to show the graphics ingame.

If you intend to add frames of animation to your scenes you need to make a TXT file with the following line:

Code: Select all

frames=N
N is the number of frames your image has.

Making an INI file also helps as it allows you to test how the image would animate without having to launch the game to see it in action.
It worked. Thanks.

Re: Custom scenery with animation.

Posted: Mon Nov 23, 2020 1:07 am
by Enjl
oh so background objects were probably meant, not sceneries.