Giter VIP home page Giter VIP logo

golly's Introduction

GOLLY

Game Oriented Lua Lisp.

Golly is a pure Lua /gameplay/ programming library written in Fennel that can be dropped into any engine. Out of the box Golly gives you:

  • A fully featured ECS framework (on top of tiny-ecs)
  • A game logic focused OOP framework. Strong mixin support, zero support for inheritence (composition only!). Methods support metadata informing the engine /when/ to call the method (events such as update, draw, redux state change, or user defined events)
  • Redux style state management
  • A timeline tool which leverages lua's coroutines for succinctly writing gameplay code.

There are many small tools and library functions as well. The API is still experimental and undocumented. Anticipating a v0.1 alpha release soon

Example

Right now, there is a minimal Love2D example showcasing a basic class and the timeline concept located at ./love-example.fnl To play with it, clone the repo and just run love ./

A REPL will open up over stdio. There is a global variable called scene you can play with. Try (scene:add-entity (foo))

golly's People

Contributors

mattroelle avatar

Stargazers

 avatar  avatar

Watchers

 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.