From 9c02bed6d9a2c2fe7de6195b818c4a1617a84958 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 21 Apr 2019 21:55:03 -0500 Subject: [PATCH] fun: fire jitter --- resource/fire.animation.json | 2 +- server/create-server-room.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resource/fire.animation.json b/resource/fire.animation.json index a64fe24..9160f15 100644 --- a/resource/fire.animation.json +++ b/resource/fire.animation.json @@ -1,5 +1,5 @@ { - "frameRate": 0.15, + "frameRate": 0.2, "frameCount": 4, "frameSize": [32, 32], "directionCount": 1, diff --git a/server/create-server-room.js b/server/create-server-room.js index 2ee5268..cce3bb1 100644 --- a/server/create-server-room.js +++ b/server/create-server-room.js @@ -38,6 +38,7 @@ function fireJSON(position) { params: { animations: { idle: { + jitter: 0.1, offset: [0, 0], uri: '/fire.animation.json', },