LÖVE 0.5.0
Posted: Sat Sep 20, 2008 5:02 pm
Changes:
Mike added joystick support. *Hail*.
LuaSocket
LuaSocket is now included and should work exactly like specified in its documentation.
.love fusion
You can now append the .love file to the love.exe, rename it, and it will read "itself" instead of the game passed as a parameter. Examples with the game "no.love":
Oh, and I admit I haven't really tested this in Linux, feedback plz.
Filesystem Improvements
Automagic
Almost forgot: new makefiles. You should now be able to install using:
Enjoy. ^-^)/
- Added love.joystick.
- Added network support via LuaSocket.
- Added support for loading of appended .love-file.
- Added love.filesystem.lines().
- Added a loader function to enable use of normal require().
- Added love.filesystem.load().
- Added love.filesystem.getSaveDirectory()
- Added love.filesystem.getWorkingDirectory()
- Added optional explicit destruction of Box2D objects.
- Added shape:testSegment().
- Added love.graphics.screenshot() (.bmp only).
- Added default size (12) to font-related functions.
- Added love.graphics.setFont( filename, size )
- Added love.graphics.setLineStippe and related functions.
- Added love.graphics.setPointSize and related functions.
- Changed love.filesystem.read() to accept file name.
- Changed love.filesystem.write() to accept file name.
- Changed love.graphics.triangle() to accept CCW and CW ordering.
- Fixed love.graphics.read adding bogus characters at the end of string.
- Fixed epic swigfusion bug.
- Fixed love.graphics.getFont so it returns nil if no font is present.
- Fixed bug where love.graphics.getBlendMode() always returns blend_normal.
- Fixed bug which caused error screen to be scissored (when enabled).
- Fixed Body:setAngle to accept degrees like everything else.
- Cleaned up love::File and love_physfs.
- Cleaned up love::Reference so it stores its reference in _G.
Mike added joystick support. *Hail*.
LuaSocket
LuaSocket is now included and should work exactly like specified in its documentation.
.love fusion
You can now append the .love file to the love.exe, rename it, and it will read "itself" instead of the game passed as a parameter. Examples with the game "no.love":
Code: Select all
(Windows)
copy /b love.exe+no.love no.exe
(Linux)
cat love no.love > no
Filesystem Improvements
Code: Select all
-- New and improved read:
local contents = love.filesystem.read("file.txt")
-- New and improved write:
love.filesystem.write("out.txt", "this will be written to the file")
-- And line iterator:
for line in love.filesystem.lines("data.txt" do
...
end
Almost forgot: new makefiles. You should now be able to install using:
Code: Select all
./configure
make
sudo make install