Move tweens now just use quadout instead of inout.

Made shaders a class to make it easier to add more in future.
Added shaders for updown and downup fades.
Fix loading characters with no pattern (e.g. black_mask) not working.
Gave ability to cancel lerps in case a character gets put on then immediately faded to another alpha.
This commit is contained in:
firebingo 2018-05-07 21:32:53 -07:00
parent 338d42d2a1
commit 6134339bc6
4 changed files with 332 additions and 157 deletions

View file

@ -6,9 +6,10 @@ const pixiApp = {
};
const utage = new UtageInfo();
const shaders = new Shaders();
const textFunc = new TextFunctions();
let audio = undefined; //Cant create a audio context without user input.
const player = new Player(pixiApp, utage, textFunc, audio);
const player = new Player(pixiApp, utage, textFunc, audio, shaders);
const languages = ["eng", "jpn"];
let bodyLoaded = false;
let utageLoaded = false;