Skip to content

Commit

Permalink
Slack link in README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
rezoner committed Mar 10, 2017
1 parent ee2707e commit 381b9bc
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@

Out-of-box access to essentials like mouse, keyboard, sound and well designed architecture that you can expand to your needs.

Need instant help? [Join our official slack](https://playgroundjs.slack.com/messages/general/)
Need instant help? [Join our official slack](https://playgroundjs.signup.team/)

## Core feature

Expand Down
8 changes: 8 additions & 0 deletions build/commonjs/playground-base.js
Expand Up @@ -1954,9 +1954,16 @@ PLAYGROUND.GameLoop = function(app) {
app.lifetime += dt;
app.elapsed = dt;

// app.emitLocalEvent("framestart", dt);

step(dt);

// app.emitLocalEvent("framemid", dt);

render(dt);

// app.emitLocalEvent("frameend", dt);

app.opcost = delta / 1000;
app.ops = 1000 / app.opcost;

Expand Down Expand Up @@ -2509,6 +2516,7 @@ PLAYGROUND.Keyboard.prototype = {

PLAYGROUND.Utils.extend(PLAYGROUND.Keyboard.prototype, PLAYGROUND.Events.prototype);


/* file: src/Pointer.js */

/** Abstracts away differences between mouse and touches.
Expand Down
9 changes: 9 additions & 0 deletions build/commonjs/playground.js
Expand Up @@ -1954,9 +1954,16 @@ PLAYGROUND.GameLoop = function(app) {
app.lifetime += dt;
app.elapsed = dt;

// app.emitLocalEvent("framestart", dt);

step(dt);

// app.emitLocalEvent("framemid", dt);

render(dt);

// app.emitLocalEvent("frameend", dt);

app.opcost = delta / 1000;
app.ops = 1000 / app.opcost;

Expand Down Expand Up @@ -2509,6 +2516,7 @@ PLAYGROUND.Keyboard.prototype = {

PLAYGROUND.Utils.extend(PLAYGROUND.Keyboard.prototype, PLAYGROUND.Events.prototype);


/* file: src/Pointer.js */

/** Abstracts away differences between mouse and touches.
Expand Down Expand Up @@ -8078,6 +8086,7 @@ PLAYGROUND.Canvas.prototype = {

};


/* file: src/layer/Transitions.js */

/** Animation played when changing state with canvas render.
Expand Down
8 changes: 8 additions & 0 deletions build/playground-base.js
Expand Up @@ -1953,9 +1953,16 @@ PLAYGROUND.GameLoop = function(app) {
app.lifetime += dt;
app.elapsed = dt;

// app.emitLocalEvent("framestart", dt);

step(dt);

// app.emitLocalEvent("framemid", dt);

render(dt);

// app.emitLocalEvent("frameend", dt);

app.opcost = delta / 1000;
app.ops = 1000 / app.opcost;

Expand Down Expand Up @@ -2508,6 +2515,7 @@ PLAYGROUND.Keyboard.prototype = {

PLAYGROUND.Utils.extend(PLAYGROUND.Keyboard.prototype, PLAYGROUND.Events.prototype);


/* file: src/Pointer.js */

/** Abstracts away differences between mouse and touches.
Expand Down
9 changes: 9 additions & 0 deletions build/playground.js
Expand Up @@ -1953,9 +1953,16 @@ PLAYGROUND.GameLoop = function(app) {
app.lifetime += dt;
app.elapsed = dt;

// app.emitLocalEvent("framestart", dt);

step(dt);

// app.emitLocalEvent("framemid", dt);

render(dt);

// app.emitLocalEvent("frameend", dt);

app.opcost = delta / 1000;
app.ops = 1000 / app.opcost;

Expand Down Expand Up @@ -2508,6 +2515,7 @@ PLAYGROUND.Keyboard.prototype = {

PLAYGROUND.Utils.extend(PLAYGROUND.Keyboard.prototype, PLAYGROUND.Events.prototype);


/* file: src/Pointer.js */

/** Abstracts away differences between mouse and touches.
Expand Down Expand Up @@ -8077,6 +8085,7 @@ PLAYGROUND.Canvas.prototype = {

};


/* file: src/layer/Transitions.js */

/** Animation played when changing state with canvas render.
Expand Down
7 changes: 7 additions & 0 deletions src/GameLoop.js
Expand Up @@ -45,9 +45,16 @@ PLAYGROUND.GameLoop = function(app) {
app.lifetime += dt;
app.elapsed = dt;

// app.emitLocalEvent("framestart", dt);

step(dt);

// app.emitLocalEvent("framemid", dt);

render(dt);

// app.emitLocalEvent("frameend", dt);

app.opcost = delta / 1000;
app.ops = 1000 / app.opcost;

Expand Down

0 comments on commit 381b9bc

Please sign in to comment.