Skip to content
Snippets Groups Projects
Commit b3eb6d67 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

feat: #fe adjust atmosphere duration to 15m

parent a3698b91
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ export default class BackgroundScene extends Phaser.Scene { ...@@ -81,7 +81,7 @@ export default class BackgroundScene extends Phaser.Scene {
paused: true, paused: true,
from: 0, from: 0,
to: 255 * (COLORS.length - 1), to: 255 * (COLORS.length - 1),
duration: 20 * 60 * 1000, // 3000 * (COLORS.length - 1), duration: 15 * 60 * 1000, // 3000 * (COLORS.length - 1),
onUpdate: (tween) => { onUpdate: (tween) => {
const value = (tween.getValue() % 256) / 256; const value = (tween.getValue() % 256) / 256;
const i = Math.floor(tween.getValue() / 256); const i = Math.floor(tween.getValue() / 256);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment