From 695dd64c5447f2d56de24b193684896a0b8d7f53 Mon Sep 17 00:00:00 2001
From: Gregg Tavares v1.2.0 Supports es6 features. This feature is not extensively
-tested but, if you name a file ending in So for example to use you might doAPI Versions
.es6
happyFunTimes
+tested but, if you name a file ending in .js6
happyFunTimes
will automatically transpile it into es5 at runtimerequirejs([
'./some-es5-file.js`,
'./some-es6.file.js6`,
], function(
- SomeES6File,
+ SomeES5File,
SomeES6File) {
..
});
@@ -144,7 +144,7 @@
API Versions
the second one will disconnect the first one and become the one GameServer
running the game.
The thinking there was if there is already a game running and HappyFunTimes -see another try to start it probably means you left a window open somewhere +sees another try to start it probably means you left a window open somewhere or some how the old game didn't get disconnected from HappyFunTimes so you probably want the new one to take charge.
Now though, in your options to GameServer
you can pass in allowMutlipleGames: true
diff --git a/docs/api-versions.md b/docs/api-versions.md
index 4e75d321..f63d58db 100644
--- a/docs/api-versions.md
+++ b/docs/api-versions.md
@@ -24,7 +24,7 @@ the correct version
* v1.2.0
* Supports es6 features. This feature is not extensively
- tested but, if you name a file ending in `.es6` happyFunTimes
+ tested but, if you name a file ending in `.js6` happyFunTimes
will automatically transpile it into es5 at runtime
So for example to use you might do
@@ -33,7 +33,7 @@ the correct version
'./some-es5-file.js`,
'./some-es6.file.js6`,
], function(
- SomeES6File,
+ SomeES5File,
SomeES6File) {
..
});
@@ -88,7 +88,7 @@ the correct version
running the game.
The thinking there was if there is already a game running and HappyFunTimes
- see another try to start it probably means you left a window open somewhere
+ sees another try to start it probably means you left a window open somewhere
or some how the old game didn't get disconnected from HappyFunTimes so
you probably want the new one to take charge.
diff --git a/docs/unity/getting-started.html b/docs/unity/getting-started.html
index 739e89dd..c945af48 100644
--- a/docs/unity/getting-started.html
+++ b/docs/unity/getting-started.html
@@ -66,7 +66,7 @@