LÖVE 0.7.0 Game Slave released

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

LÖVE 0.7.0 Game Slave released

Post by bartbes »

Generations have come and gone. Empires have risen and fallen. Mountains have been ground to dust by the unstoppable passage of time. But finally, through great perseverance (and a last minute save by TechnoCat), we have:

LÖVE 0.7.0 - Game Slave
Get it at the bottom of this post! NOW!

0.7.0 brings lots of exciting new features. Framebuffers, for rendering to places other than the screen. Threads, for true multithreaded programming. New callbacks, like love.quit and love.focus. A text-origin change from lower- to upper-left. And about a million different bugs have been squashed! You can see everything we've done in the changelog, as seen below.

We hope you enjoy it! Go out and make beautiful LÖVE!

Changelog:

Code: Select all

LOVE 0.7.0 [Game Slave]
-----------------------

  * Added love.thread.
  * Added love.font.
  * Added love.graphics.Framebuffer.
  * Added Source:play, Source:pause, etc.
  * Added Source:isStatic().
  * Added get/setPosition, get/setVelocity, and get/setDirection to Source.
  * Added get/setGroupIndex to CircleShape and PolygonShape.
  * Added Font:getWrap.
  * Added identity field to love.conf.
  * Added love.quit callback.
  * Added love.focus callback.
  * Added extra meter parameter to love.physics.newWorld.
  * Added love.graphics.setIcon.
  * Added way to make the window desktop resolution.
  * Added subtractive and multiplicative blend modes.
  * Added body:getAllowSleeping.
  * Added shape:getBody.
  * Added love.filesystem.FileData for public usage.
  * Added base64 support for love.filesystem.FileData.
  * Added table support for love.graphics.setColor and love.graphics.setBackgroundColor.
  * Added love.graphics.hasFocus().
  * Added ?/init.lua to the loader.

  * Fixed the debug module not being an upvalue of the error handlers. (you can now override debug)
  * Fixed some cases when love.audio.pause and friends, were acting on everything, not just the passed Source.
  * Fixed setFixedRotation enabling other flags.
  * Fixed a bug in the loader (for require).
  * Fixed ParticleSystem::setSprite not retaining the new image.
  * Fixed setMode removing images settings (wrapping, filters).
  * Fixed shape:getBody, it's now exposed for LÖVE usage.
  * Fixed DistanceJoint:getType() returning "circle" - it now returns "distance".
  * Fixed SpriteBatches being unaffected by setColor
  * Fixed the audio bug.
  * Fixed invalid FSAA values crashing LÖVE.
  * Fixed a bunch of compiler warnings.
  * Fixed OS X not properly using UTIs for .love files.
  * Fixed the modplug decoder not properly handeling files that fail to load.
  * Fixed a memory leak in setFont.
  * Fixed bug where errors in threads wouldn't get picked up by demand.
  * Fixed part of the bug with newlines when scaling text (rotating still messes up the lines).
  * Fixed the bug where newImageFont would try to created ImageData out of ImageData.
  * Fixed error handler not resetting the blend mode.

  * Changed fonts, they're now po2 safe.
  * Changed the traceback in the error screen.
  * Changed font origin to top-left.
  * Changed linux save dir location to obey to Freedesktop.org's XDG specs. (~/.local/share/love by default.)

  * Removed font functions from love.graphics.
  * Removed love.physics.newWorld(w, h). Use love.physics.newWorld(x1, y1, x2, y2) instead.
Download links: (also available on front page)
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: LÖVE 0.7.0 Game Slave released

Post by thelinx »

* furiously humps everything in sight *
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: LÖVE 0.7.0 Game Slave released

Post by kikito »

Awesome!
When I write def I mean function.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: LÖVE 0.7.0 Game Slave released

Post by qubodup »

Yaaaaaaaaaaaay!

I noticed a fun bug: if there is a dir called 'love' in the dir where I run 'love', I get an error:

Code: Select all

$ cd 
$ mkdir love
$ love
Error: [string "boot.lua"]:292: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
stack traceback:
	[C]: in function 'error'
	[string "boot.lua"]:292: in function <[string "boot.lua"]:217>
	[C]: in function 'xpcall'
(Arch Linux 32bit)
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LÖVE 0.7.0 Game Slave released

Post by Robin »

For those not aware yet: RichText is a library that makes it easy to have formatted text with images in them. I would like your help to make it even better, especially with the 'experimental' branch.

For those who love security, there's a fork that is kept up-to-date with the main branch, called Security Enhanced LÖVE, or SELÖVE. It needs binaries, I'm planning to put a PPA for Ubuntu up at Launchpad, and Linux binaries on BitBucket, but that still leaves Mac and Windows users out in the cold. (And arguably, Windows users need SELÖVE the most.)
Help us help you: attach a .love.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LÖVE 0.7.0 Game Slave released

Post by bartbes »

qubodup wrote:I noticed a fun bug: if there is a dir called 'love' in the dir where I run 'love'
:O
So now I know where that came from, thanks for reporting, shouldn't be too hard to fix.
User avatar
pygy
Citizen
Posts: 98
Joined: Mon Jan 25, 2010 4:06 pm

Re: LÖVE 0.7.0 Game Slave released

Post by pygy »

I get an immediate crash at startup, apparently, the 32bit version of freetype is problematic (OS X 10.6, Core Duo)

Code: Select all

Code Type:       X86 (Native)
OS Version:      Mac OS X 10.6.5 (10H574)
Dyld Error Message:
  Library not loaded: @rpath/FreeType.framework/Versions/A/FreeType
  Referenced from: /Users/Pygy/Downloads/love.app/Contents/MacOS/love
  Reason: image not found
Hermaphroditism is not a crime. -- LSB Superstar

All code published with this account is licensed under the Romantic WTF public license unless otherwise stated.
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: LÖVE 0.7.0 Game Slave released

Post by bmelts »

Try redownloading the .zip. It should be fixed now.
User avatar
pygy
Citizen
Posts: 98
Joined: Mon Jan 25, 2010 4:06 pm

Re: LÖVE 0.7.0 Game Slave released

Post by pygy »

The file linked from the home page is still the old one. I cleaned the cache, but no dice.

http://bitbucket.org/rude/love/download ... osx-ub.zip
Hermaphroditism is not a crime. -- LSB Superstar

All code published with this account is licensed under the Romantic WTF public license unless otherwise stated.
User avatar
com_1
Prole
Posts: 44
Joined: Fri Oct 22, 2010 11:54 pm
Location: No Comment

Re: LÖVE 0.7.0 Game Slave released

Post by com_1 »

Downloaded and Installed - "love-0.7.0-win-x86"
Try to run but fails. (pops up an error)

I'm the only one, or at someone too so the same problem ?
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests