GithubHelp home page GithubHelp logo

linecode / lovedos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rxi/lovedos

0.0 2.0 0.0 510 KB

A framework for making 2D DOS games in Lua

License: MIT License

Python 0.20% C 97.43% Lua 0.41% Makefile 0.60% C++ 1.36%

lovedos's Introduction

LoveDOS

A framework for making 2D DOS games in Lua. LoveDOS provides an API based on a subset of the LÖVE API.

screenshot

Getting started

You can download LoveDOS from the releases page. If you're not using DOS as your operating system then DOSbox can be used to emulate a DOS computer.

When you run love.exe it will expect its first argument to be your game's directory. The file main.lua will then be searched for and executed. If, for example, your project was in a directory named mygame you would run the following:

love mygame

A small example program which displays white text on a black background and exits when the escape key is pressed is as follows:

function love.draw()
  love.graphics.print('Hello World!', 20, 20)
end

function love.keypressed(key)
  if key == "escape" then
    love.event.quit()
  end
end

The doc/api.md file provides a reference and overview of all of the built-in LoveDOS modules, functions and callbacks.

The doc/packaging.md file provides instructions for packaging your game for distribution.

Building

Instructions for building the project from source can be found in the doc/building.md file.

License

This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.

LoveDOS includes Lua (MIT license). The full license for Lua can be found at the bottom of the src/lib/lua/lua.h file.

lovedos's People

Contributors

rxi avatar wenright avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.