January 22, 2019, 03:30:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Blogs Help Search Tags Login Register  
Pages: [1]   Go Down
Author Topic: Setting up Geany as your LÍVE IDE (Linux)  (Read 3275 times)
0 Members and 1 Guest are viewing this topic.
Richard Marks

Respect: 3425
Offline Offline

Posts: 1027


« on: January 30, 2014, 03:51:27 PM »

LÍVE is an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X and Linux. See for more info.

Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has some nice features. See for more info.

1. Install Geany and LÍVE as per their installation instructions.

2. In Geany, create and save a main.lua file somewhere.

3. Click on the Build menu, and click on Set Build Commands.

4. Add the following command in the Lua commands section:

Label: Run with love
Command: love `pwd`

This will allow you to press F8 to run your game with love.

5. Add the following command in the Lua commands section:

Label: Build .love Distributable
Command: ts=$(date +%s);zip -r ../${PWD##*/}_${ts}.love *
Working Directory: %p

This will let you create a .love distributable file in your project's parent folder by choosing Build .love Distributable from the Build menu.
.love files will have the name of your project folder and a time stamp number, so that you can create many distributable files and not overwrite previous files.

Gotta LÍVE Linux Game Development!

Pages: [1]   Go Up
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!