Showing posts with label löve. Show all posts
Showing posts with label löve. Show all posts

Wednesday, July 29, 2009

Compiling Löve2d from SVN TRUNK

Since there are no docs on howto compile love from svn directly I though I would make this post quick to help those who are struggling with it. Automake / Autoconf is not all 100% setup for löve2d yet so you need to manually kick it off like so:

You need automake to get this right to install that if you dont have it

Checkout the code base:

svn co https://love.svn.sourceforge.net/svnroot/love/trunk love

Install the basics
sudo apt-get install build-essential libboost-dev libsdl1.2-dev liblua5.1-dev libfreetype6-dev libdevil-dev libphysfs-dev libsdl-mixer1.2-dev libflac++-dev

The following will be installed by the autobuild script but this is for FYI:
ftp-upload libalut-dev libflac-dev libmodplug-dev libmpg123-0 libmpg123-dev
libopenal-dev libsdl-sound1.2-dev libspeex-dev libtiff4-dev libtiffxx0c2
liblua5.1-0-dev libsdl1.2-dev libfreetype6-dev libphysfs-dev libdevil-dev libmng-dev
libmng-dev liblcms1-dev liblcms1-dev libpng12-dev libflac-dev libmpg123-0
ibspeex-dev libtiffxx0c2

cd love
cd platform/unix
./autobuild


You will end up with:
love-r774-linux-src.tar.gz
love-r774-ubuntu-x86.deb
love-r774 - Binary on its own



FAQ

configure.in:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
you havnt run automagic yet!

Friday, March 13, 2009

Starting Game Development

Starting Game Devel
So its friday morning, I have managed to catch some kind of nordic cold which has kept me home for the day, ( and the next few also ), and I have decided to scratch around the web for 2D game engines.

There are many commercial really easy to use alternatives, but I want something free and preferably open source!

After much searching in google and comparing I have selected the LÖVE engine from http://love2d.org

It offers the following in features:
LUA Programing Language
Physics from box2d (http://box2d.org)
OpenGL
SDL
Sound and Midi goodness

Getting Started:
LÖVE on has a integrated LUA interpreter, so it runs your game code in source form, meaning there is no compiling and waiting bullshit. So its just a matter of downloading it for Mac / Linux or Windows from love2d.org. I am using a Mac!

For code editing I have selected Eddie from www.el24.com, you can also use Smultron or eclipse with LUA syntax highlighting plugin.

For now im going to play with getting the structure of the code to familiarize myself with it.