Hi.
I test the deb package of 0.60 (of http://love2d.org/builds/) and the source love-20091031-08c8c6b44700-linux-src.tar.gz in my computer with x86_64 Ubuntu 9.04.
And...the love demo when you run without file o dir, yes it's run (I can see the hippie tank ). But any other proyect, for example the (http://love2d.org/docs/Gettingstarted.html), the love only show a black window with a title "untitiled" and don't show any error message in the terminal.
I can help if you tell for more details.
And Love is great (in spanish "Love es la repanocha" hahaha ).
0.6.0 Update
Re: 0.6.0 Update
That's the result of several problems, which all come from one bigger problem: the examples haven't been ported to 0.6.0 yet, nor has the Getting Started page. The current documentation can be found at http://love2d.org/potato/index.html - it's still incomplete, but it is up to date for 0.6.0.MD wrote:But any other proyect, for example the (http://love2d.org/docs/Gettingstarted.html), the love only show a black window with a title "untitiled" and don't show any error message in the terminal.
And, just for completeness' sake, here's a port of the Getting Started page.
Getting started with 0.6.0 wrote:Create a new directory somewhere, and create two files:
main.lua - main file containing the game code.
conf.lua - optional (but recommended) support file that contains info about your game.
Write the following into the conf.lua file:And write the following into the main.lua file:Code: Select all
function love.conf(t) t.author = "Your Name" t.title = "My Awesome Game" end
After saving, simply drag the directory you created onto the executable (Windows: love.exe), and the the game will start. You should see your message on the screen.Code: Select all
function love.load() message = "Yharrr, Why hello thaarrrr!" end function love.draw() love.graphics.print(message, 100, 100) end
Re: 0.6.0 Update
It works. Thanks, thanks. But now I have a questión. Where do I find the changes of 0.50 to 0.60? Because I think that the "love.graphics.print" is new (I am newbie.). Thanks again .
Re: 0.6.0 Update
I believe an incomplete version can be found at the following. http://love2d.org/wiki/index.php?title=Version_0.6.0MD wrote:It works. Thanks, thanks. But now I have a questión. Where do I find the changes of 0.50 to 0.60? Because I think that the "love.graphics.print" is new (I am newbie.). Thanks again .
Re: 0.6.0 Update
Found a bug on Win7: http://love2d.org/forum/tracker.php?p=1&t=98
http://love2d.org/forum/viewtopic.php?f=3&t=1016 << epic name!
Re: 0.6.0 Update
Building on OSX failed for me (I had to use terminal, since finder decided .xcodeproj is a folder to open, and refused to open in xCode as a result).
Big code stuff so I'll pastie it: http://pastie.org/678403
Big code stuff so I'll pastie it: http://pastie.org/678403
http://love2d.org/forum/viewtopic.php?f=3&t=1016 << epic name!
Re: 0.6.0 Update
That is a rather large number of errors - errors which I do not get, even running in Terminal! I do get two errors (which are really one error, because it compiles everything twice), which I fixed by updating libmodplug. (I still have to update the dylib, though. Crud.)
What makes it a little tricky is that while I can see the files that failed to compile, I can't see why - why is a lot more important here.
The problem might well be that you don't have the requisite header files available - on my machine, I have the header files for all the libraries LÖVE uses in my PATH. MacPorts makes it easy to install those - it becomes a matter of "port install XXXXX" several times, and then you're good as long as MacPorts puts the files somewhere in your path. (Fink will also work if you're into that sort of thing.) I neglected to include this part in the OS X build-from-source guide, because I'm dumb.
I am currently (as of this post!) working on making sure the Mac version has access to all the header files it needs built into the frameworks, so that building from source isn't a terrible experience. Some of the libraries already match this behavior naturally; others are going to require a #ifdef LOVE_MACOSX or several thrown into the mix, and some will require me to make frameworks out of them manually, and then throw in an #ifdef LOVE_MACOSX. It'll be fun!
Anyway, hopefully that'll make building from source on OS X easier. For now, if you feel like digging up the headers for the various libraries LÖVE uses, here's the list you need:
PhysFS
libmodplug
mpg123
OpenIL/DevIL/libIL
Lua
Good luck!
Re: 0.6.0 Update
I also get this bug on Win7, a good work around I found is to just run LOVE in app compatibility mode (I chose Win Vista SP2).Fizzadar wrote:Found a bug on Win7: http://love2d.org/forum/tracker.php?p=1&t=98
On an unrelated note what as happened to graphics.newColor? Are we no longer able to create color objects?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
I marked the bug as a duplicateCarl wrote:I also get this bug on Win7, a good work around I found is to just run LOVE in app compatibility mode (I chose Win Vista SP2).
No, just use setColor with 3 or 4 arguments.Carl wrote:On an unrelated note what as happened to graphics.newColor? Are we no longer able to create color objects?
Re: 0.6.0 Update
You can always build your own "newColor" function, but it would be useless:Carl wrote:I also get this bug on Win7, a good work around I found is to just run LOVE in app compatibility mode (I chose Win Vista SP2).Fizzadar wrote:Found a bug on Win7: http://love2d.org/forum/tracker.php?p=1&t=98
On an unrelated note what as happened to graphics.newColor? Are we no longer able to create color objects?
Code: Select all
love.graphics.newColor = function(r, g, b, a)
local color = {}
color[1] = r
color[2] = g
color[3] = b
if a then color[4] = a else color[4] = 255 end
return color
end
color = love.graphics.newColor(255, 255, 255)
love.graphics.setColor(unpack(color))
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest