Stupid question
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 2
- Joined: Wed Nov 13, 2013 3:06 pm
Stupid question
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.
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: Stupid question
+0.8.0
-0.9.0Available since LÖVE 0.8.0
This ... is not supported in earlier versions.
Pretty much explicit.Removed in LÖVE 0.9.0
This ... is not supported in that and later versions.
-
- Prole
- Posts: 2
- Joined: Wed Nov 13, 2013 3:06 pm
Re: Stupid question
Just double checking, I wasn't sure so I didn't want to assume. Thanks!
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Stupid question
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.
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Stupid question
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.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 6 guests