Git Product home page Git Product logo

ninage-engine's Introduction

NINAGE ENGINE

Ninage Is Not A Game Engine

(But it can be used as a game engine)

It's purpose is to be an interactive media engine, games just happen to fall into that category.

Quickstart

The minimal code you need to run a NINAGE application

#include <ninage/Ninage.h>
#include "MainScene.h" // your scene


Ninage *app;
const Uint8 *state = SDL_GetKeyboardState(NULL);

void Ninage::main() {
    MainScene* scene = new MainScene();
    this->addScene(scene);
}

int main(int argc, char* args[]) {
    app = new Ninage();
    return app->run();
}

Documentation

Documentation
Full Documentation

Getting Started

Run the following commands:

    git submodule init
    git submodule update
    git submodule sync

This will setup the project and make sure you have everything.

Development

To make it easier to work on the core engine / lib, you can run the develop.sh script.

    ./develop.sh <directory-name-in-`NINAGE-examples`>

The develop.sh script will do the following:

  • Compile and install the core engine
  • Compile and launch a specified example.

Manual Development

Compiling and installing the engine:

    cd libninage
    sudo make install

This will install the engine into your system / computer.

Compiling an example

To compile an example, make sure you have installed the engine first, following the steps above.

Run these commands to compile and start the testgame:

    cd NINAGE-examples/<example-dir>
    make
    ./app.out

The app should be up and running.

Having problems with libjpeg?

    wget -c http://www.ijg.org/files/jpegsrc.v8d.tar.gz
    tar xzf jpegsrc.v8d.tar.gz
    cd jpeg-8d
    ./configure
    make
    cp ./.libs/libjpeg.8.dylib /usr/local/opt/jpeg/lib

License

GNU General Public License

ninage-engine's People

Contributors

ianertson avatar quentindrgt avatar sebbekarlsson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ninage-engine's Issues

Implement sound

There is currently no builtin methods for playing sounds in the engine.

games crashes randomly

Sometimes when running the "testgame" included in this project, it crashes randomly. (Not all the times, sometimes it is really stable)

Create framework for creating app servers

It would be nice with some sort if integrated framework inside the engine for talking to app servers. "client framework?".

It would also be nice with a framework for creating app servers. "app server framework?".

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.