Code Monkey home page Code Monkey logo

uretroengine's Introduction

uRetroEngine

Unity retro game framework with lua support

FEATURES:

  • user defined screen size (limitation is only performance)
  • defined screen origin (top-left / bottom-left)
  • load color palette from image (default 16)
  • load sprite sheet from image (limitation is only memory)
  • load font from image (limitation is only memory)
  • create tilemap
  • for scripting is used NLua for unity
  • you can import module/dll in main.lua code (UnityEngine included)
  • command line argents
  • build-in console with commands to manage cartridge
  • build-in code profiler (user defined start/end places, more in wiki)
  • you can create retro game and build to PC/MAC/Linux/Androis or Mac using uRetro classes
  • or create universal player and via lua script create game outside of unity

BUILD:

  1. Open scene Assets\uRe-Runner-LUA\Scenes\Test-uRetroEngine-LUA.unity
  2. Select scene object uRetroEngineCanvas-LUA
  3. Press button [Build RetroeEngine] from inspector on uRetroEngine_Runner_LUA component
  4. Optional: Press button [Move cartridges] from inspector when you made any changes from editor

EXECUTE:

Start game from expanded cartridge (from folder):

uRetroEngine.exe -game LuaGame -resolution 1280 800 false

*- load folder LuaGame and set resulution*

> Start game from cartridge only:

uRetroEngine.exe -cartridge LuaGame -resolution 1280 800 false

*- load cartridge and run game in defined resolution*

Start engine without game

uRetroEngine.exe

*- press F1*
*- press enter and write to console cmd help*

Create new cartridge folder tmeplate:

uRetroEngine.exe -create LuaGame

*- create cartridge folder template*

License:

Licensed under the Microsoft Public License (MS-PL) License. See LICENSE file in the project root for full license information. The code supplied is totally free for either personal or commercial use, with no warranties.

uRetroEngine is Copyright (c) 2017 Ondrej Kollar. All rights reserved.

uretroengine's People

Contributors

andygfx avatar

Watchers

James Cloos 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.