-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 0f9233a.
- Loading branch information
Showing
5 changed files
with
33 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
"@empirica/core": minor | ||
--- | ||
|
||
Add ephemeral attribute support. | ||
|
||
This allows you to define attributes that are not persisted to the database, but | ||
are available to the client and server while the server is still running. These | ||
attributes will sync with all players as normal attributes. This is useful for | ||
data that that would be unreasonable to persist to the database due to size or | ||
volatility, but is still useful to share between clients and the server. | ||
|
||
For example, you could use this to sync the mouse movements of the players. | ||
|
||
```js | ||
player.set("mouse", { x: 123, y: 456 }, { ephemeral: true }); | ||
player.get("mouse"); // { x: 123, y: 456 } | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@empirica/core": patch | ||
--- | ||
|
||
Ensure game and players are ready in exit steps. | ||
|
||
The presence of the game and players were not checked in the exit steps, as they | ||
are during the game. This could lead to the game or players not being available | ||
in the exit steps callback (to select the steps) or the exit steps themselves. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@empirica/core": patch | ||
--- | ||
|
||
Make player reset in admin UI work again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters