Ubuntu 12.10

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
PedroGabriel
Prole
Posts: 4
Joined: Wed Dec 26, 2012 6:18 am

Ubuntu 12.10

Post 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!)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Ubuntu 12.10

Post 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.
PedroGabriel
Prole
Posts: 4
Joined: Wed Dec 26, 2012 6:18 am

Re: Ubuntu 12.10

Post 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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Ubuntu 12.10

Post by Robin »

So... is that code in main.lua?

Could you upload a .love?
Help us help you: attach a .love.
PedroGabriel
Prole
Posts: 4
Joined: Wed Dec 26, 2012 6:18 am

Re: Ubuntu 12.10

Post by PedroGabriel »

it's just a main.lua file inside of a folder with this draw code...
But here is it~
Attachments
test.love
(383 Bytes) Downloaded 89 times
User avatar
Qcode
Party member
Posts: 170
Joined: Tue Jan 10, 2012 1:35 am

Re: Ubuntu 12.10

Post 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.
PedroGabriel
Prole
Posts: 4
Joined: Wed Dec 26, 2012 6:18 am

Re: Ubuntu 12.10

Post 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.
Attachments
test.love
(235 Bytes) Downloaded 84 times
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests