NOGDUS $1670.00 has been donated to NOGDUS!
September 21, 2017, 03:49:04 AM *
Welcome, Guest. Please login or register.

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

Respect: 3425
« 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 http://www.love2d.org/ 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 http://www.geany.org/ 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!
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
.: Theme by Richard Marks :.
Valid XHTML 1.0! Valid CSS!