- Notifications
You must be signed in to change notification settings - Fork47
A framework for making 2D DOS games in Lua
License
rxi/lovedos
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A framework for making 2D DOS games in Lua. LoveDOS provides an API based on asubset of theLÖVE API.
You can download LoveDOS from thereleases page. If you're notusing DOS as your operating system thenDOSbox can beused to emulate a DOS computer.
When you runlove.exe
it will expect its first argument to be your game'sdirectory. The filemain.lua
will then be searched for and executed. If, forexample, your project was in a directory namedmygame
you would run thefollowing:
love mygame
A small example program which displays white text on a black background andexits when theescape
key is pressed is as follows:
functionlove.draw()love.graphics.print('Hello World!',20,20)endfunctionlove.keypressed(key)ifkey=="escape"thenlove.event.quit()endend
Thedoc/api.md file provides a reference and overview of all ofthe built-in LoveDOS modules, functions and callbacks.
Thedoc/packaging.md file provides instructions forpackaging your game for distribution.
Instructions for building the project from source can be found in thedoc/building.md file.
This library is free software; you can redistribute it and/or modify it underthe terms of the MIT license. SeeLICENSE for details.
LoveDOS includes Lua (MIT license). The full license for Lua can be found atthe bottom of thesrc/lib/lua/lua.h file.
About
A framework for making 2D DOS games in Lua