How Do I Compile Games For All Systems.

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.
User avatar
TheP3
Citizen
Posts: 62
Joined: Tue Dec 20, 2011 9:20 pm

How Do I Compile Games For All Systems.

Post by TheP3 »

I only have a Windows 7 OS. I was wondering if I could make it executable for all OS's? I don't want to VM any other OS. Is it possible to make an executable for all OS's?
I write rules for my computer... I'm not the ruler of the world(yet)... Also, I livestream stuff http://NateAGeek.com/Live
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: How Do I Compile Games For All Systems.

Post by Robin »

Yes.

You can follow the instructions for Mac OS X if you treat love.app as a .zip file. For linux thnigs are a bit more complicated, you'll probably just want to distribute your .love and include instructions on where to get LÖVE.
Help us help you: attach a .love.
Lüv
Prole
Posts: 29
Joined: Fri Oct 19, 2012 11:24 pm
Location: Greenville, South Carolina

Re: How Do I Compile Games For All Systems.

Post by Lüv »

Robin wrote: you'll probably just want to distribute your .love and include instructions on where to get LÖVE.

The bad thing about that is if he/she were to change the .love to .zip they can get your source code by unzipping it. Which would be BAD if it was a commercial game.
Last edited by Lüv on Sun Oct 21, 2012 12:49 am, edited 1 time in total.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: How Do I Compile Games For All Systems.

Post by Robin »

Lüv wrote:The bad thing about that is if he/she were to change the .love to .zip they can get your source code by unzipping it.
If you think that is a bad thing, you shouldn't use LÖVE to write games you want to distribute, since that's pretty trivial to do no matter what distribution method you use.
Help us help you: attach a .love.
Lüv
Prole
Posts: 29
Joined: Fri Oct 19, 2012 11:24 pm
Location: Greenville, South Carolina

Re: How Do I Compile Games For All Systems.

Post by Lüv »

Robin wrote:
Lüv wrote:The bad thing about that is if he/she were to change the .love to .zip they can get your source code by unzipping it.
If you think that is a bad thing, you shouldn't use LÖVE to write games you want to distribute, since that's pretty trivial to do no matter what distribution method you use.
All I'm saying is if you were to make a commercial game and sell them the .love file instead of the .exe, all they would have to do is change the name of the Whatever.love to Whatever.zip and unzip and take the source code to distibute of their own! :x
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: How Do I Compile Games For All Systems.

Post by BlackBulletIV »

Lüv wrote:All I'm saying is if you were to make a commercial game and sell them the .love file instead of the .exe, all they would have to do is change the name of the Whatever.love to Whatever.zip and unzip and take the source code to distibute of their own! :x
You can use some sort of license to hinder them from distributing it as their own.
Lüv
Prole
Posts: 29
Joined: Fri Oct 19, 2012 11:24 pm
Location: Greenville, South Carolina

Re: How Do I Compile Games For All Systems.

Post by Lüv »

BlackBulletIV wrote:You can use some sort of license to hinder them from distributing it as their own.
Yea, but this world isn't perfect... :cry:
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: How Do I Compile Games For All Systems.

Post by Robin »

Lüv wrote:All I'm saying is if you were to make a commercial game and sell them the .love file instead of the .exe, all they would have to do is change the name of the Whatever.love to Whatever.zip and unzip and take the source code to distibute of their own! :x
You can still do that with a .exe.
Lüv wrote:
BlackBulletIV wrote:You can use some sort of license to hinder them from distributing it as their own.
Yea, but this world isn't perfect... :cry:
Please don't try to force a technical solution to a social problem, that never works.
Help us help you: attach a .love.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: How Do I Compile Games For All Systems.

Post by T-Bone »

If you don't want people to be able to read your source code, don't use LÖVE. That said, I can't think of many reasons where it would be a problem that people can read your source code.
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: How Do I Compile Games For All Systems.

Post by qaisjp »

T-Bone wrote:If you don't want people to be able to read your source code, don't use LÖVE. That said, I can't think of many reasons where it would be a problem that people can read your source code.
1. compile the .lua with luac.exe
2. pop the game code inside the Love project
3. modify boot.lua to load your game
4. compile the project
5. ???
6. profit!
Lua is not an acronym.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 11 guests