Custom scene with animation.
Posted: Sun Nov 22, 2020 11:33 am
I want to make a personalized scene. But I only know how to make without animation. How do with animation?
Forums for SMBX
https://www.smbxgame.com/forums/
Code: Select all
frames=Nthere are no text files for world map scenery. also while i'm here: it's smbx2 not smbx 2.0.Fuyu wrote: ↑Sun Nov 22, 2020 3:40 pmI 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:
N is the number of frames your image has.Code: Select all
frames=N
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.Fuyu wrote: ↑Sun Nov 22, 2020 3:40 pmI 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:
N is the number of frames your image has.Code: Select all
frames=N
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.