From 458b4bd2059ae1974f7e36a445223b27ba76e69f Mon Sep 17 00:00:00 2001 From: CrazyH <87752773+CrazyH2@users.noreply.github.com> Date: Sun, 31 Mar 2024 20:38:47 +0100 Subject: [PATCH] update thinbgys --- src/screens/start/controllerAlign.js | 7 +++++++ src/screens/start/welcome.js | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/screens/start/controllerAlign.js b/src/screens/start/controllerAlign.js index 0947760..a4c67c9 100644 --- a/src/screens/start/controllerAlign.js +++ b/src/screens/start/controllerAlign.js @@ -58,6 +58,13 @@ class ControllerAlignScreen extends Screen { renderGroup.add(object); }); }); + + var mesh = new TextBox("Then click the app button", 0.07, 0.07, 50, 0xffffff); + mesh.position.z = -1; + mesh.position.y = -0.5; + mesh.lookAt( this.root.camera.position ); + + renderGroup.add( mesh ); }; }; diff --git a/src/screens/start/welcome.js b/src/screens/start/welcome.js index 8555760..35cc41d 100644 --- a/src/screens/start/welcome.js +++ b/src/screens/start/welcome.js @@ -4,7 +4,8 @@ import { Screen } from "../screen.js"; import { TextBox } from "../../../utils/TextBox.js"; -import { ActionsInfoScreen } from "./actionsInfo.js"; +import { ControllerAlignScreen } from "./controllerAlign.js"; +//import { ActionsInfoScreen } from "./actionsInfo.js"; class WelcomeScreen extends Screen { constructor(root) { @@ -38,7 +39,8 @@ class WelcomeScreen extends Screen { renderGroup.add(logo); setTimeout(() => { - this.renderScreen(new ActionsInfoScreen(this.root)); + this.renderScreen(new ControllerAlignScreen(this.root)); + //this.renderScreen(new ActionsInfoScreen(this.root)); }, 14000); }; };