LOVE 0.3.2

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

LOVE 0.3.2

Post by rude »

Quick bugfix release. (^-^)/
  • Added love.graphics.rectangle()
  • Added love.graphics.setLineWidth()
  • Added love.graphics.setLineStyle()
  • Added love.graphics.getLineWidth()
  • Added love.graphics.getLineStyle()
  • Added love.mouse.getPosition()
  • Added love.audio_loop
  • Added love.timer.getTime()
  • Changed love.graphics.quad() to accept CCW and CW ordering.
  • Fixed default color mode bug.
  • Fixed line width being applied unnecessarily.
  • Fixed line width bug related to fullscreen toggle.
  • Fixed music not looping
Notes:
  • love.graphics.oldQuad() is the CCW-version (for benchmarking). (Will be removed in next version).
  • Still no autoconf, but the makefile is updated and should be simple to tweak to any system now. (Hopefully)
  • The modules are now STATIC. So remove any liblove_this/that from your system if you're not using the .deb package.
User avatar
mike
Administrator
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: LOVE 0.3.2

Post by mike »

Have you updated love.graphics.triangle ?
(I was not a part of this release due to other projects, which is why I am asking)
Now posting IN STEREO (where available)
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: LOVE 0.3.2

Post by rude »

Nope. Didn't.
User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: LOVE 0.3.2

Post by Merkoth »

Aren't you supposed to be on holidays? :lol:
Thanks for the release!

On a completely unrelated note, I found this link about using the clipboard from within an SDL app. It seems to be portable, maybe you can use it.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: LOVE 0.3.2

Post by rude »

Yeah ... well ... it only took a couple of hours to fix this. ^^

Scrap seems nice, but it doesn't have Mac support, right? Still, we can perhaps omit that feature on Macs.
User avatar
mike
Administrator
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: LOVE 0.3.2

Post by mike »

Oooh, dangerous words rude... that might annoy the 2 people who are using LÖVE on Macs...
Now posting IN STEREO (where available)
User avatar
farvardin
Party member
Posts: 167
Joined: Sat Jun 28, 2008 6:46 pm

Re: LOVE 0.3.2

Post by farvardin »

you forgot to add the 1st argument (type) to the rectangle, in the docs:
http://love.sourceforge.net/docs/love_g ... angle.html
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: LOVE 0.3.2

Post by rude »

Thanks :3
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: LOVE 0.3.2

Post by appleide »

Here's a modified version of scrap for linux and macs and windows. I don't remember where I got it from, I think downloaded from a mailing list. There are credits in there and everything and you can do what ever you want to/with it.

There are three files. scrap.cpp, scrap_OSX.m, scrap.hpp. the .m and the .cpp are the scrap implementation on mac and other platforms and they share the same header files so you can use it as it is. Just compile with the .m on mac and .cpp everywhere else.

I use it and it works well but I havent tested on linux/windows.

EDIT: found said mailing list on google: http://listas.apesol.org/pipermail/sdl- ... 63486.html

love 0.3.2:
I compiled for mac by modifying the top of the makefile to:
and dropping my XCode project folder into the love directory, next to src. because SDLMain.m is needed
Of course, I got all the frameworks and libraries installed...
A quick test showed it runs too.
Nice build :)

Code: Select all

######################################################################
# "Ancient" LOVE makefile. (Works for 0.3-2)
# You may need to modify parts of this makefile for your system.
######################################################################

CC = g++
CFLAGS = -g -O2 -Wall
CFLAGS_MOD = -g0 -O3
BINDIR = bin

# Inclusion paths.
INCLUDE_SDL = -I/usr/include/SDL
INCLUDE_LUA = -I/usr/include/lua5.1
INCLUDE_LIBLOVE = -Isrc/liblove/include
INCLUDE_FREETYPE = -I/usr/include/freetype2

# Linker flags.
LD_LUA = -llua love/SDLMain.m
LD_SDL = -framework SDL
LD_PHYSFS = -lphysfs
LD_FREETYPE = -lfreetype
LD_GL = -framework OpenGL -framework Cocoa
LD_IL = -lIL -lILU
LD_SDLMIXER = -framework SDL_mixer

######################################################################
My old XCode project doesnt work on this. Theres 2 errors but XCode wont tell me what it is :cry: .

It is because of these weird things that I don't like XCode much... even though other mac developers seem to love it.

EDIT:
You guys might want to fix the forum link from the front page, it links to the old URL for forum.
Attachments
scrapfiles.zip
(8.91 KiB) Downloaded 218 times
Post Reply

Who is online

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