Skip to content
This repository

lanarts is an open source RPG that attempts to play like a real-time rogue-like

branch: master

Lua runner file

latest commit 8e77a61370
authored December 08, 2013
Octocat-spinner-32 build-scripts Add util.sh. More impl. November 26, 2013
Octocat-spinner-32 common-lib Perf tests for OO stuff December 02, 2013
Octocat-spinner-32 core Error system work December 08, 2013
Octocat-spinner-32 dependencies Error system work December 08, 2013
Octocat-spinner-32 doc Removed UDT, for now May 27, 2013
Octocat-spinner-32 draw-lib Move to new more lua-centric object model, do not use yet, broken ser… October 21, 2013
Octocat-spinner-32 dungeon-generation-lib Broken commit. do not use October 23, 2013
Octocat-spinner-32 example Continued reorg. Mass renames. November 30, 2013
Octocat-spinner-32 game More reorg. December 01, 2013
Octocat-spinner-32 luawrap-lib [Broken] towards better object model October 25, 2013
Octocat-spinner-32 net-lib Stuff August 17, 2013
Octocat-spinner-32 sound-lib Stuff August 17, 2013
Octocat-spinner-32 src Error system work December 08, 2013
Octocat-spinner-32 .gitignore New plan for async HTTP -- use coroutines June 05, 2013
Octocat-spinner-32 CMakeLists.txt Perf tests for OO stuff December 02, 2013
Octocat-spinner-32 ErrorReporting.lua Error system work December 08, 2013
Octocat-spinner-32 FlexTypes.lua Error system work December 08, 2013
Octocat-spinner-32 Globals.lua Error system work December 08, 2013
Octocat-spinner-32 README Nuke old level map format, lots of cleanup, start new teams implement… August 12, 2013
Octocat-spinner-32 Struct.lua Error system work December 08, 2013
Octocat-spinner-32 _Tests.lua Error system work December 08, 2013
Octocat-spinner-32 codegen.lua Error system work December 08, 2013
Octocat-spinner-32 flexcore.lua Error system work December 08, 2013
Octocat-spinner-32 flexparse.lua Error system work December 08, 2013
Octocat-spinner-32 lua.sh Lua runner file December 08, 2013
Octocat-spinner-32 primitives.lua Error system work December 08, 2013
Octocat-spinner-32 run.sh Rename lanarts => src December 01, 2013
Octocat-spinner-32 settings.yaml Continued reorg. Mass renames. November 30, 2013
Octocat-spinner-32 structfieldtype.lua Error system work December 08, 2013
README
CONTROLS:

Spells - yuiop for spell slots
Use Weapon - t or h
Inventory - 1 through 9 for item slots
Mouse use - click to use last weapon/spell, note mouse use is currently unwieldy and not recommended
Using stairs, picking up items - Simply stop on top of them

To change the games resolution/toggle fullscreen and other settings, check out settings.yaml.

DEVELOPMENT:

The game is actively seeking new contributors!

Discuss the game development/play at #lanarts on Freenode!
Want to script the game with lua (no recompilation needed) ? Check out http://ludamad.github.com !

The standard lua library is available for use too, see the function index at http://www.lua.org/manual/5.1/

COMPILING

For Fedora/yum dependencies check out fedora-deps.sh!

Packages for ubuntu:
libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libfreetype6-dev cmake

The project uses cmake to create plaform independent build files. 

Just run run.sh to build and run, or do the following:

To build, make a directory called lanarts_build, and do:
cmake <path to lanarts folder>

eg, from lanarts:
cd ..
mkdir lanarts_build
cd lanarts_build
cmake ../lanarts

Copy the exe from 'lanarts_build/src/lanarts/src' into the 'lanarts' folder and run it from there.

USING ECLIPSE:
Go to folder where you want eclipse project files:
cmake -G"Eclipse CDT4 - Unix Makefiles" <path to lanarts source>
Something went wrong with that request. Please try again.