-
Book Overview & Buying
-
Table Of Contents
L÷VE for Lua Game Programming
By :
Once you have your game prepared as .love file, you can make your game available for Mac OS X users by using the official LÖVE Zipped Universal Build from love2d.org. This is a straightforward approach just as with the windows executable. Follow the given steps:
Unzip the Zipped Universal Build.
Rename the love.app as mygame.app.
Copy the .love file of your packed game (mygame.love) into mygame.app/Contents/Resources.
Modify mygame.app/Contents/info.plist by changing org.love2d.love to com.mycompany.mygame under CFBundleIdentifier, and change Löve to mygame under CFBundleName. Then remove the following section:
<key>UTExportedTypeDeclarations</key> <array> ... </array>
Now zip your mygame.app folder (for example, mygame.osx.zip), and distribute it.
You are good to go!
mygame should be replaced with whatever name you give your game, and should be written without spaces. And mycompany should be replaced with whatever name you choose for your company, to be...
Change the font size
Change margin width
Change background colour