2.8.2 • Published 2 years ago

@ion-cloud/core v2.8.2

Weekly downloads
52
License
MIT
Repository
github
Last release
2 years ago

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';
2.8.2

2 years ago

2.8.1

4 years ago

2.8.0

4 years ago

2.7.4

4 years ago

2.7.3

4 years ago

2.7.6

4 years ago

2.7.5

4 years ago

2.7.7

4 years ago

2.7.2

4 years ago

2.7.0

4 years ago

2.7.1

4 years ago

2.6.18

4 years ago

2.6.17

4 years ago

2.6.16

4 years ago

2.6.15

4 years ago

2.6.14

4 years ago

2.6.13

4 years ago

2.6.11

4 years ago

2.6.12

4 years ago

2.6.10

4 years ago

2.6.9

4 years ago

2.6.8

4 years ago

2.6.7

4 years ago

2.6.6

4 years ago

2.6.5

4 years ago

2.6.4

4 years ago

2.6.1

4 years ago

2.6.3

4 years ago

2.6.2

4 years ago

2.6.0

4 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.2.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.12

4 years ago

2.0.11

4 years ago

2.0.10

4 years ago

2.0.9

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago