Merge tag '1.14.0' into develop

1.14.0
This commit is contained in:
ntr
2020-02-05 20:09:53 +10:00
14 changed files with 40 additions and 19 deletions
+1 -1
View File
@@ -1 +1 @@
1.13.0
1.14.0
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mnml-client",
"version": "1.13.0",
"version": "1.14.0",
"description": "",
"main": "index.js",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mnml-client",
"version": "1.13.0",
"version": "1.14.0",
"description": "",
"main": "index.js",
"scripts": {
+6 -1
View File
@@ -59,8 +59,13 @@ class AccountAvatar extends Component {
}
componentDidMount() {
const startIdle = () => {
this.idle = idleAnimation(this.props.account.id);
return this.animations.push(this.idle);
this.animations.push(this.idle);
this.idle.finished.then(startIdle);
};
startIdle();
}
resetAnimations() {
+3 -3
View File
@@ -1,8 +1,9 @@
const anime = require('animejs').default;
function idle(id) {
const duration = anime.random(2000, 18000);
const duration = anime.random(2000, 8000);
const target = document.getElementById(id);
return anime({
targets: target,
translateX: () => anime.random(-20, 20),
@@ -10,8 +11,7 @@ function idle(id) {
rotate: () => anime.random(-15, 15),
duration,
direction: 'alternate',
easing: 'linear',
loop: true,
easing: 'easeInOutSine',
});
}
+6 -1
View File
@@ -48,8 +48,13 @@ class ConstructAvatar extends Component {
}
componentDidMount() {
const startIdle = () => {
this.idle = idleAnimation(this.props.construct.id);
return this.animations.push(this.idle);
this.animations.push(this.idle);
this.idle.finished.then(startIdle);
};
startIdle();
}
resetAnimations() {
+1 -1
View File
@@ -98,7 +98,7 @@ function GameCtrlBtns(args) {
return (
<div class="game-ctrl-btns">
<button disabled={!account.subscribed} onClick={() => setChatShow(!chatShow)}>Chat</button>
<button disabled={animating} onClick={sendGameSkillClear}>Clear</button>
<button disabled={finished || animating} onClick={sendGameSkillClear}>Clear</button>
{finished ? quitBtn : readyBtn}
</div>
);
+6 -1
View File
@@ -34,8 +34,13 @@ class MnniAvatatr extends Component {
}
componentDidMount() {
const startIdle = () => {
this.idle = idleAnimation('mnni');
return this.animations.push(this.idle);
this.animations.push(this.idle);
this.idle.finished.then(startIdle);
};
startIdle();
}
resetAnimations() {
+6 -1
View File
@@ -37,8 +37,13 @@ class Img extends Component {
}
componentDidMount() {
const startIdle = () => {
this.idle = idleAnimation(this.props.id);
return this.animations.push(this.idle);
this.animations.push(this.idle);
this.idle.finished.then(startIdle);
};
startIdle();
}
resetAnimations() {
+1
View File
@@ -349,6 +349,7 @@ function createSocket(events) {
sendItemInfo();
events.urlHashChange();
events.setPvp(false);
return true;
}
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "mnml_core"
version = "1.13.0"
version = "1.14.0"
authors = ["ntr <ntr@smokestack.io>", "mashy <mashy@mnml.gg>"]
[dependencies]
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mnml-ops",
"version": "1.13.0",
"version": "1.14.0",
"description": "",
"main": "index.js",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "mnml"
version = "1.13.0"
version = "1.14.0"
authors = ["ntr <ntr@smokestack.io>"]
[dependencies]
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mnml-studios",
"version": "1.13.0",
"version": "1.14.0",
"description": "",
"main": "index.js",
"scripts": {