Skip to content

jessehorne/loveos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loveos

ScreenShot

What is LoveOS?

LoveOS is a Simulated Terminal created by Jesse Horne with LÖVE. The goal was to create something, that anyone could add to their own LÖVE program, to give them something to interact with their game, or just for fun, that simulated a terminal. If you are familiar with computercraft, then this should be pretty easy to understand.

How do I put this in my game?

First you will need to install Love. This has only been tested with version 0.8.0 Then, put the loveos folder that is inside this repo, into your games directory. In your main.lua, you will need to require "loveos" then put the loveos:load(), loveos:update(dt), loveos:draw(), and loveos:keypressed(key) functions into the proper callbacks.


For example...

require("loveos")
function love.load()
  loveos:load()
end
function love.update(dt)
  loveos:update(dt)
end
function love.draw()
  loveos:draw()
end
function love.keypressed(key)
  loveos:keypressed(key)
end

License

Copyright (c) 2013 Jesse Horne

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell(as long as you donate 5%+ earnings to Jesse Horne himself) copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A terminal for LÖVE games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published