All Projects → experdot → general-engine

experdot / general-engine

Licence: MIT license
🚀 Build creative scenarios by general system

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to general-engine

defender-game
A super basic 2D game written in Rust
Stars: ✭ 22 (-18.52%)
Mutual labels:  game-2d
AsLib
🎨: RPG map maker (paint tool)
Stars: ✭ 82 (+203.7%)
Mutual labels:  game-2d
gdx2d
A simple to use Java library for games and graphics, for desktop (PC, Linux and Mac) and Android.
Stars: ✭ 27 (+0%)
Mutual labels:  game-2d
Zilon Roguelike
Survival roguelike game with huge world generation.
Stars: ✭ 18 (-33.33%)
Mutual labels:  game-2d
go-four-in-a-row
A simple command-line implementation of the game `four in the row`
Stars: ✭ 12 (-55.56%)
Mutual labels:  game-2d
egret-farm
🎮 基于egret引擎开发的 h5农场游戏
Stars: ✭ 30 (+11.11%)
Mutual labels:  game-2d
coloniae
Economic strategy game in web broswer
Stars: ✭ 34 (+25.93%)
Mutual labels:  game-2d
ardynia
An adventure game in the style of Zelda, for the Arduboy
Stars: ✭ 42 (+55.56%)
Mutual labels:  game-2d
uncharted-waters-2
Browser-based remake of Uncharted Waters: New Horizons (大航海時代II)
Stars: ✭ 56 (+107.41%)
Mutual labels:  game-2d
Finite-State-Machines
Implementation of the algorithm in the C#. https://tproger.ru/translations/finite-state-machines-theory-and-implementation/
Stars: ✭ 13 (-51.85%)
Mutual labels:  game-2d
Halma
Halma Game Built With The Awesome libGDX framework
Stars: ✭ 20 (-25.93%)
Mutual labels:  game-2d
snake-game-2D
The famous 2D snake game in which your goal is to eat until you get huge and accumulate many points.
Stars: ✭ 18 (-33.33%)
Mutual labels:  game-2d
StrawberryBF
A tiny 2D game engine focused on usability and simplicity.
Stars: ✭ 80 (+196.3%)
Mutual labels:  game-2d
Squid
C# Realtime GUI System
Stars: ✭ 80 (+196.3%)
Mutual labels:  game-2d
LOST--Java-2D-Game
2D side-scrolling game made in JAVA with sprite sheet animations
Stars: ✭ 2 (-92.59%)
Mutual labels:  game-2d
badassquest
RPG / GTA-style game engine built on top of Google Maps Javascript APIs
Stars: ✭ 26 (-3.7%)
Mutual labels:  game-2d
Game-Assets-And-Resources
Free and paid game assets and game resources for 2D games, 3D games, mobile games, Steam games, Unity games, and other games.
Stars: ✭ 164 (+507.41%)
Mutual labels:  game-2d
ShapeOfThingsThatWere
strategy game based on hex map and discoveries
Stars: ✭ 23 (-14.81%)
Mutual labels:  game-2d
goldensun html5
An online Golden Sun Engine entirely built in HTML5 with Phaser 2. Check https://gshtml5.org/
Stars: ✭ 117 (+333.33%)
Mutual labels:  game-2d
ao-cliente
Client for Argentum Online
Stars: ✭ 61 (+125.93%)
Mutual labels:  game-2d

general-engine

npm Build Status codebeat badge

General Engine is a framework to build creative scenarios.

Gallery

To check out live examples created with general-engine, please visit gallery website.

🌳 Tree

🕊 Flyer

💥 Walker

🌀 Endless Abyss

Game of life

🌿 L-System Tree

🎵 Audio Visualizer

Install

Download a stable release and include the script in your web page:

<script src="general-engine.core.js" type="text/javascript"></script>

You can also install using the package manager NPM.

$ npm install general-engine

Hello World

The following is a simple hello-world example.

import { GeneralInterface, GeneralObject } from "../src/Core/GeneralObject";

class IPrintInterface extends GeneralInterface {
    print = [];
}

class PrintBase extends GeneralObject<IPrintInterface>{
    constructor() {
        super();
        this.implements(new IPrintInterface());
    }
}

class PrintA extends PrintBase {
    print() {
        console.log("Hello World");
    }
}

class PrintB extends PrintBase {
    print() {
        console.log("Hello General-Engine");
    }
}

new PrintA().joint(new PrintB()).processes.print.process();

// Output:
// Hello World
// Hello General-Engine

Building

To build you must first install node.js and gulp, then run

$ npm install

This will install the required build dependencies, then run

$ gulp watch

to spawn a development server.

License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].