Giter Site home page Giter Site logo

dice's Introduction

ion-cloud

JavaScript game engine by Nathaniel Inman.

Example

Description

Ion Cloud is a JavaScript game engine available on npm at @ion-cloud/core. Alternatively you can individually choose and load just the components you need:

  • Easel : sets up a canvas that can fill a screen and automatically resize
  • Ion : tweaning and basic animation instance
  • Cloud : animation collections and scene management
  • Ink : A tiny color manipulation and translation library with robust validation and error handling that shines in places where you can't trust the input color or random generation and games
    • here is the documentation @ion-cloud/ink
    • translate between color spaces: hex, cmyk, rgb, rgba, hsl, hsla, hsva, hsv, hsba or hsb
    • apply weights to r(ed),g(green),b(lue),l(ightness) or s(aturation)
    • apply a minimum or maximum lightness threshold on a color
    • coerce a color to a certain lightness percent
    • apply a minimum or maximum saturation threshold on a color
    • coerce a color to a certain saturation percent
    • apply an alpha value
    • output to javascript object {r,g,b,a}
  • Phaser : gradient animation and initialization helper
  • Dice: take a complex dice string and compute results based on it.
    • here is the documentation @ion-cloud/dice
    • 3d8+23-2d4 would roll 3 8-sided dice, add 23 then subtract the results of 2 rolled 4-sided dice
  • Compass: JavaScript mapping classes and random generation algorithms.

If you need help setting up a project using @ion-cloud/core you can use a scaffolding engine like slush. For more information see this project.

Setup

You can install the entire JavaScript ion-cloud engine simply by

npm i @ion-cloud/core

and then importing only what you need into your project with

import {Easel,Ion} from '@ion-cloud/core';

Alternatively you can install only the components you need such as

npm i -g @ion-cloud/dice

And then using just those in your project

import {Dice} from '@ion-cloud/dice';

dice's People

Contributors

nathanielinman avatar

Watchers

 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.