Implement companion styling and animations
This commit is contained in:
parent
ab372d6627
commit
7cec5fa2fb
9 changed files with 236 additions and 1 deletions
4
main.ts
4
main.ts
|
|
@ -4,6 +4,7 @@ import { LegacyScene } from './src/scenes/LegacyScene';
|
|||
import { OverviewScene } from './src/scenes/OverviewScene';
|
||||
import { Scenes } from './src/scenes/scenes';
|
||||
import store from './src/store';
|
||||
import { Companion } from './src/ui/companion';
|
||||
|
||||
const sketch = (s: p5) => {
|
||||
// Scenes
|
||||
|
|
@ -14,6 +15,8 @@ const sketch = (s: p5) => {
|
|||
s.createCanvas(SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
s.noCursor();
|
||||
|
||||
new Companion();
|
||||
|
||||
overviewScene = new OverviewScene();
|
||||
legacyScene = new LegacyScene();
|
||||
};
|
||||
|
|
@ -39,4 +42,5 @@ const sketch = (s: p5) => {
|
|||
};
|
||||
};
|
||||
|
||||
// Setup Sketch
|
||||
export const mp5 = new p5(sketch);
|
||||
|
|
|
|||
Reference in a new issue