Coder Social home page Coder Social logo

kaleo's Introduction

Kaleo

Project setup

  1. npm install
  2. npm start

Thats it!

to run in debug mode: npm run debug

to build the executables: npm run build

Project structure

Platform | |-- Gui (files related to the window and gui functionality) | |-- Engine (files related to 3d rendering of the scene) | |-- Game (game related assets, models, and scripts)

Scripts

  • start (Builds the project to /Build and runs nwjs fromt hat folder)
  • debug (Starts a Vue server and runs nwjs against localhost url)
  • build (Builds the project to /Build and then uses nwjs to package it into an exe in /Distribution)
  • setup (Copies necessary directx files for windows to the nw folder)
  • kill (Kills all processes related to the application)

Distribution

The app will be built into a final runnable executable in the /Distribution folder.

The current builds are: win32, win64, and osx64

Extra Information

This app takes advantage of the nwjs contexts by splitting the gui and engine code.

  • The gui lives on the frontend context
  • The engine lives on the backend context
  • They both share data through memory shared globals

Read more: http://docs.nwjs.io/en/latest/For%20Users/Advanced/JavaScript%20Contexts%20in%20NW.js/

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.