Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
L÷VE for Lua Game Programming

You're reading from   L÷VE for Lua Game Programming If you want to create 2D games for Windows, Linux, and OS X, this guide to the L?ñVE framework is a must. Written for hobbyists and professionals, it will help you leverage Lua for fast and easy game development.

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781782161608
Length 106 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
AKINLAJA DAMILARE JOSHUA AKINLAJA DAMILARE JOSHUA
Author Profile Icon AKINLAJA DAMILARE JOSHUA
AKINLAJA DAMILARE JOSHUA
Arrow right icon
View More author details
Toc

Windows executable


The process of creating an executable format of our game is very easy by following the given steps:

  1. Download the source folder of LÖVE by visiting love2d.org and click on Zipped 32-bit.

  2. Extract the folder, copy the love.exe file in there together with our game's .love file, and put both of them in another folder (for example, My game )

  3. Press Window key + R. In the panel displayed, type cmd and click on Run, a console will display on the screen.

  4. Now enter the following command: cd [directory to our game]. For example, on my computer, the My game folder is stored in My Documents folder. My command line will look like the following command:

    cd c:/users/DarmieAkinlaja/My Documents/My game
  5. Then you can now append your game .love file with the love.exe file, and create your desired executable file by entering the following command line:

    copy /b love.exe+mygame.love mygame.exe
  6. Immediately after you press the Enter button, an .exe version of your game will be created in the same folder...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime