Open theonetruefunnismile opened 4 weeks ago
Due to title, Add a animation to the bg?
Due to title, Add a animation to the bg?
How do i do that lol
Due to title, Add a animation to the bg?
How do i do that lol
Add
var renamethis:FlxSprite = new FlxSprite(-80);
renamethis.frames = Paths.getSparrowAtlas('imageName', 'shared'); // shared is the folder (assets/shared/images/) remove it if it's on preload folder.
renamethis.antialiasing = ClientPrefs.data.antialiasing;
renamethis.animation.addByPrefix('wanim', 'anim name on xml', 24);
renamethis.animation.play('wanim', true);
renamethis.updateHitbox();
add(renamethis);
to titleState.hx on "override function create()"
Oh damn i fargot it's lua, idk if it's possible to edit mainmenu with lua
Describe your problem here.
I want to make an animated menu (where the story, freeplay, credits, etc etc), but I kind of suck at coding. It's like a scrolling image.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response