LÖVE 0.6.2
Re: LÖVE 0.6.2
smartazz: It's probably because of the fix for the (epic) double-transform bug, but if you PM me that file I can confirm it.
Re: LÖVE 0.6.2
smartazz: In LevelTileset.lua:166
Change:
To:
Change:
Code: Select all
self.tileSetBatch:addq(self.tileQuads[self.map[y + math.floor(my)][x + math.floor(mx)]], x * self:getTileSize() / 2, y * self:getTileSize() / 2)
Code: Select all
self.tileSetBatch:addq(self.tileQuads[self.map[y + math.floor(my)][x + math.floor(mx)]], x * self:getTileSize(), y * self:getTileSize())
Re: LÖVE 0.6.2
Please set the issue tracker version options (in the dropdown menu) to include 0.6.2. It only has 0.6.1 and earlier in it at the moment.
Re: LÖVE 0.6.2
pekka: Done.
Re: LÖVE 0.6.2
But it isn't. As you can see, the line on the right has disappeared suddenly in 0.6.2. In 0.6.1, the whole rectangle displays correctly.bartbes wrote:Correct, there was a size issue in 0.6.1, which has been fixed in 0.6.2, thus producing different results. It should be correct now.devyn wrote:The right side is not stroked. In LÖVE 0.6.1 it is correctly stroked.
In 0.6.1, it looks like this:
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: LÖVE 0.6.2
How do I do that? i.e. what do I type in the Terminal window to get my whatever.love to open in Löve? And then what do I do inside my Löve game to print the stuff?bartbes wrote:It is not a file, stdout is the name of the standard output, which means it now has console output. On windows you're still going to have to enable the console, but on linux and OSX (as you use) you can just start it from any terminal emulator to see the output.Jasoco wrote:Is this stdout file created automatically
Re: LÖVE 0.6.2
Quickest way, assuming you have love.app in Applications:
Alternatively, if you want to save your fingers:
EDIT: this isn't actually working for me, it complains of an incorrectly packaged .love. Even when I run it with no argument. Dunno why, but you can instead try
[/b]
At which point every time you want to run something, you can just type
love works with plain folders, too, not just .love files.
Printing to Terminal works the same way it always has - just use print() (not love.graphics.print, just the built-in Lua print() function). The only difference with 0.6.2 is that errors are automatically dumped there too.
Code: Select all
/Applications/love.app/Contents/MacOS/love /path/to/my/game.love
Code: Select all
ln -s /Applications/love.app/Contents/MacOS/love /somewhere/in/your/PATH/
Code: Select all
alias love=/Applications/love.app/Contents/MacOS/love
At which point every time you want to run something, you can just type
Code: Select all
love /path/to/my/game.love
Printing to Terminal works the same way it always has - just use print() (not love.graphics.print, just the built-in Lua print() function). The only difference with 0.6.2 is that errors are automatically dumped there too.
Last edited by bmelts on Sun Mar 07, 2010 10:52 pm, edited 1 time in total.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: LÖVE 0.6.2
Yipee!
Your rectangle probably "got around this" and calculated the dimensions so it looked "good". But it was not "correct".
Can you paste the code you are using?
Devyn, I think that what Bartbes means is that on 0.6.1 the rectangle dimensions was wrong.devyn wrote: But it isn't. As you can see, the line on the right has disappeared suddenly in 0.6.2. In 0.6.1, the whole rectangle displays correctly.
Your rectangle probably "got around this" and calculated the dimensions so it looked "good". But it was not "correct".
Can you paste the code you are using?
When I write def I mean function.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: LÖVE 0.6.2
That works really well. Thanks! Sadly it doesn't seem to dump anything there when the game actually crashes like I've been encountering. (i.e. hard crash where it just quits with no warning or error screen. Seems to do it when the wrong parameters are passed to Löve functions. Like when you pass an older 0.5.0 style love.whatever instead of a 0.6.x style "constant".)
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: LÖVE 0.6.2
Hi Jasoco,
In order to hunt down where the error is, I suggest that you put some print statements:
print will output text to the console, even if LÖVE crashes. You can start debugging inwards - start printing traces of the "exterior" functions, and you will get to the troublesome line in no time.
In order to hunt down where the error is, I suggest that you put some print statements:
Code: Select all
function f(..)
print('Entering f')
print('Exiting f')
end
When I write def I mean function.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests