1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-10 22:24:01 +02:00
This commit is contained in:
syuilo
2026-04-18 14:07:14 +09:00
parent 4b135bccd8
commit acd9b94b49
4 changed files with 44 additions and 6 deletions

View File

@@ -251,6 +251,24 @@ export class WorldEngine extends EventEmitter<WorldEngineEvents> {
]);
messageRing.animations = [anim];
this.scene.beginAnimation(messageRing, 0, 10000, true);
const texts = [
'Wellcome to Misskey World!',
'Enjoy your stay!',
'Feel free to look around!',
'This is a virtual space for Misskey users!',
//'You can chat, play games, and more!',
//'Check out the bulletin board for announcements',
'MAINTENANCE will begin at 9:00 A.M.',
];
let currentTextIndex = 1;
setInterval(() => {
const textToShow = texts[currentTextIndex];
currentTextIndex = (currentTextIndex + 1) % texts.length;
text.writeWithAnimation(textToShow);
}, 10000);
}
for (let i = 0; i < 16; i++) {
@@ -348,7 +366,7 @@ export class WorldEngine extends EventEmitter<WorldEngineEvents> {
setInterval(() => {
const time = Date.now();
worldRingH.rotation.x = ((time % _12h) / _12h) * Math.PI * 2;
worldRingM.rotation.y = -(((time % _1h) / _1h) * Math.PI * 2);
worldRingM.rotation.y = -(((time % _1h) / _1h) * Math.PI);
}, 100);
const screenMeshes = envObj.meshes.filter(m => m.name.includes('__SCREEN__'));