AnAL Love2D Help

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
SpooneyH20
Prole
Posts: 2
Joined: Sat Apr 30, 2016 10:51 pm

AnAL Love2D Help

Post by SpooneyH20 »

When running the AnAL example listed at http://leafo.net/love/wiki/anal.html I cant seem to get past this error.

Code: Select all

AnAL.lua:100: attempt to call field 'drawq' (a nil value)
Can anyone help fix this? Im on the latest version of Love
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: AnAL Love2D Help

Post by s-ol »

AnAL is an old outdated library that doesn't work with new LÖVE versions anymore (unless someone patched it, but I don't think anyone did). bartbes even took it off the github that is linked in that wiki page.

You might want to consider using anim8 instead.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: AnAL Love2D Help

Post by bartbes »

Let me fix that, AnAL is an old unmaintained library that does still work, but I suggest you don't use it. It was originally created to allow easier porting from 0.5.0 to 0.6.0. As for your error, you must be using a really old version, since that was fixed after the release of love 0.9.0, in December of 2013!
User avatar
slime
Solid Snayke
Posts: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: AnAL Love2D Help

Post by slime »

You should use the actual LÖVE wiki, instead of 3+ year old mirror.

https://love2d.org/wiki/Main_Page
SpooneyH20
Prole
Posts: 2
Joined: Sat Apr 30, 2016 10:51 pm

Re: AnAL Love2D Help

Post by SpooneyH20 »

s-ol wrote:AnAL is an old outdated library that doesn't work with new LÖVE versions anymore (unless someone patched it, but I don't think anyone did). bartbes even took it off the github that is linked in that wiki page.

You might want to consider using anim8 instead.
Just set up anim8, and was trying to run it with my spritesheet. I get this error every time:

Code: Select all

anim8.lua:59: There is no frame for x=3, y=1
I think it may be something wrong with my spritesheet?
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: AnAL Love2D Help

Post by s-ol »

SpooneyH20 wrote:
s-ol wrote:AnAL is an old outdated library that doesn't work with new LÖVE versions anymore (unless someone patched it, but I don't think anyone did). bartbes even took it off the github that is linked in that wiki page.

You might want to consider using anim8 instead.
Just set up anim8, and was trying to run it with my spritesheet. I get this error every time:

Code: Select all

anim8.lua:59: There is no frame for x=3, y=1
I think it may be something wrong with my spritesheet?
This just means that your numbers are wrong or maybe the spritesheet is a pixel too short etc. Basically anim8 can't find the frame at 3,1 in the image. Check that your grid sizes match up with the image size.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
Post Reply

Who is online

Users browsing this forum: No registered users and 239 guests