Stupid question

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
gnarlyhogie
Prole
Posts: 2
Joined: Wed Nov 13, 2013 3:06 pm

Stupid question

Post by gnarlyhogie »

I was looking at the love2d documentation since I've never used it before, and I noticed that some of the methods have a +8.0 and a -9.0 for example. Does that mean it was introduced in 8.0, but it will be deprecated in 9.0? Just curious, because I'm not a fan of using deprecated methods, and much rather plan ahead for my projects.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Stupid question

Post by Roland_Yonaba »

+0.8.0
Available since LÖVE 0.8.0
This ... is not supported in earlier versions.
-0.9.0
Removed in LÖVE 0.9.0
This ... is not supported in that and later versions.
Pretty much explicit. :ultraglee:
gnarlyhogie
Prole
Posts: 2
Joined: Wed Nov 13, 2013 3:06 pm

Re: Stupid question

Post by gnarlyhogie »

Just double checking, I wasn't sure so I didn't want to assume. Thanks!
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Stupid question

Post by bartbes »

Do note that a lot of 0.9.0 changes are renames, so the function itself isn't necessarily deprecated, but its name is, if that makes sense.
User avatar
slime
Solid Snayke
Posts: 3163
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Stupid question

Post by slime »

In those cases I've tried to make the text in the 'removed' notice reflect the fact that it's been renamed (i.e. "It has been renamed to love.filesystem.createDirectory." instead of "This function is not supported in that and later versions."), but I might have missed a few.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 5 guests