Impülement intro questions
This commit is contained in:
parent
1e5b627e26
commit
47a7ec98ea
5 changed files with 266 additions and 10 deletions
6
main.ts
6
main.ts
|
|
@ -38,7 +38,11 @@ const sketch = (s: p5) => {
|
|||
s.mousePressed = () => {
|
||||
const { currentScene, companionState, infoMessageShown } = store.getState();
|
||||
|
||||
if (companionState !== CompanionState.ACTIVE || !infoMessageShown) {
|
||||
if (
|
||||
companionState !== CompanionState.ACTIVE ||
|
||||
!infoMessageShown ||
|
||||
store.getState().currentIntroStep === 0
|
||||
) {
|
||||
if (currentScene === Scenes.OVERVIEW) {
|
||||
overviewScene.onSceneClick();
|
||||
} else if (currentScene === Scenes.DETAIL) {
|
||||
|
|
|
|||
Reference in a new issue