Library for loading Mugen assets

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
leonkasovan
Prole
Posts: 1
Joined: Sat Mar 01, 2025 4:01 am

Library for loading Mugen assets

Post by leonkasovan »

Is there any library for love2d that can load mugen assets like SFF file and animate it?
in Mugen (Fighting Game Engine) can define animation like this:

Code: Select all

[Files]
sprite  = kfmZ.sff           ;Sprite
anim    = kfm.air           ;Animation
sound   = kfm.snd           ;Sound

; Walking Forward
[Begin Action 20]
20,0, 0,0, 3
20,1, 0,0, 3
20,2, 0,0, 3
20,3, 0,0, 3
20,4, 0,0, 3
1st number is the sprite's group number. 2nd number is the sprite's image number.
The 3rd and 4th numbers of the element represent the X and Y offsets to the sprite's position.
5th number is the length of time to display the element before moving onto the next, measured in game-ticks.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Semrush [Bot] and 1 guest