2U4FPBRH4POPKCDYHCAI6JBOM4T3T36EBTCHJUAEE2RSAWNTQ6FQC
MVMGDCF5YC4OJC2OACVZCDJATCYQPLWX3P2PCOHIR7AHFKTMALUAC
TQ57VE45BHV7MOZ6GKTYZEAMAOTXLPQ3ROCWJ2FUCITQWOYVMUIAC
THNMNMVRZQVPZTEXHIK6WGYN3QDEFPKFOVOCB5HTWCYC5BOBYQ5AC
AAKN4XJLZ2GARZMUFYX3CJZKYHTRRZDYNTFRLMY7VPAY7K6W4N3QC
5PWH6EJMJE5C6FODNDCF45BHKI27WGKDJ5ZJXRSB2JDELPE3AZSQC
OYNCMT7YDCHK7TFRZDVCMODYMYXRQKK3AU7EOZU7KRA76QGKI3EQC
2EGPRWETVM2XPSRMGYM25Y46RXPW7IOCN6MDIV6POCPHNOEGSMHAC
this.stage = new Pixi.Sprite();
this.app.stage.addChild(this.stage);
this.parallaxStage = new Pixi.Sprite();
this.stage.addChild(this.parallaxStage);
this.fixedCameraStage = new Pixi.Sprite();
this.stage.addChild(this.fixedCameraStage);
const keyboard = new KeyboardState();
this.app.ticker.add((delta) => {
keyboard.update();
if (keyboard.down.Right) {
this.parallaxStage.x += 10;
}
if (keyboard.down.Left) {
this.parallaxStage.x -= 10;
}
})