Basic setup of intro screens
This commit is contained in:
parent
1e04b3a826
commit
1e5b627e26
5 changed files with 185 additions and 0 deletions
2
main.ts
2
main.ts
|
|
@ -6,6 +6,7 @@ import { Scenes } from './src/scenes/scenes';
|
|||
import store from './src/store';
|
||||
import { Companion, CompanionState } from './src/ui/companion';
|
||||
import { InfoMessage } from './src/ui/info';
|
||||
import { Intro } from './src/ui/intro';
|
||||
|
||||
const sketch = (s: p5) => {
|
||||
// Scenes
|
||||
|
|
@ -16,6 +17,7 @@ const sketch = (s: p5) => {
|
|||
s.createCanvas(SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
s.noCursor();
|
||||
|
||||
new Intro();
|
||||
new Companion();
|
||||
new InfoMessage();
|
||||
|
||||
|
|
|
|||
Reference in a new issue