animx crashes when loading .xml files (specifically ones from FNF)

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Lsupergame
Prole
Posts: 1
Joined: Mon Feb 24, 2025 3:21 pm

animx crashes when loading .xml files (specifically ones from FNF)

Post by Lsupergame »

Hello. First time posting here :D Ive been learning love2D for about 3 months, so a couple of days ago tought of trying to recreate Friday Night Funkin' in Love2D.
I've gotten some of the basics down, but i cant seem to get the sprites to play.
I've tried both anim8 and animx, but both dont work; anim8 cant play the sprites correctly, and animx just straight up crashes.
Idk how to go about this, does anyone have a solution, or an explanation of why the .xml don't work with animx?
Also any comments about how i can just generally make the game better are appreciated.


Love 2D error with animx:
Error

libraries/animx/init.lua:359: attempt to index local 'frameNo' (a nil value)


Traceback

[love "callbacks.lua"]:228: in function 'handler'
libraries/animx/init.lua:359: in function 'newActorXML'
libraries/animx/init.lua:268: in function 'newActor'
main.lua:49: in main chunk
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
Attachments
FNF Lua.love
The .love with everything
(19.11 MiB) Downloaded 161 times
User avatar
togFox
Party member
Posts: 841
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: animx crashes when loading .xml files (specifically ones from FNF)

Post by togFox »

It looks like something is wrong with your png or xml file. It's looking for a frame that doesn't exist or not described.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
pen and paper gridiron. Build a team then watch simulated matches: https://togfox.itch.io/pad-and-pencil-gridiron
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 4 guests