Page 1 of 1

Ubuntu 12.10

Posted: Wed Dec 26, 2012 6:34 am
by PedroGabriel
Hello, I'm new in here.
My name is Pedro and I'm from Brazil, I registered in here because I wanted to know if Love 2D is going to be release for Ubuntu Quantal/Quetzal (12.10)
I where checking Love 2D wiki and seems to be really easy to use and has support on multiple platforms, if someone know if it is going to be release I would like to hear your good news (or bad news eg: NEVER!)

Re: Ubuntu 12.10

Posted: Wed Dec 26, 2012 11:02 am
by bartbes
It has been released on 12.10, it's not in the ppa because 0.8.0 is in the main ubuntu repositories.

Re: Ubuntu 12.10

Posted: Sun Dec 30, 2012 9:05 am
by PedroGabriel
Thanks for your fast response and sorry for my slow one...
I downloaded it today and everything seems to be incompatible, when I noticed it I downloaded some .love games and only the puddim one worked
Even if you try
function love.draw()
love.graphics.print("Hello World", 400, 300)
end
Is going to be an error:

Error

boot.lua:335: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level if zip

Traceback

[C]: in function 'error'
[C]: in function 'xpcall'


Using ubuntu 12.10 (gnome-remix 3.6)
Someone in here know why? Thanks for reading :)

PS: Rubber Piggy works fine and it's so beauty.

Re: Ubuntu 12.10

Posted: Sun Dec 30, 2012 6:33 pm
by Robin
So... is that code in main.lua?

Could you upload a .love?

Re: Ubuntu 12.10

Posted: Sun Dec 30, 2012 6:54 pm
by PedroGabriel
it's just a main.lua file inside of a folder with this draw code...
But here is it~

Re: Ubuntu 12.10

Posted: Sun Dec 30, 2012 7:04 pm
by Qcode
You just did a common mistake. When making a .love file you should always zip the contents of the folder, not the folder itself. So in your case you would just zip that main.lua file you had. If you need more help see Game Distribution on the wiki.

Re: Ubuntu 12.10

Posted: Sun Dec 30, 2012 7:10 pm
by PedroGabriel
Actually I made it by mistake >: I knew it but I don't know why made it...
But won't work too, it's just this code:
function love.draw()
love.graphics.print('Hello World!', 400, 300)
end
inside a main.lua
When tried to run it in here I made love folder_name and done, error
Actually when inside of zip/.love it just works...

Why when am I using direct folder acess I got error?

Thanks for answer! and here is the working one~

PS:Also, almost all games from wiki section "Games" does not work in here, only the puddin one... That's a bit weird.