Refactor Class
- Add MapManager permit to create map, camera and player. - Add CameraManager permit to move and update camera. - Add player Call extended of Phaser.GameObjects.Sprite. Permit to manager player data and moving in the map. - Add Animation class permit to manage the player animations.
This commit is contained in:
parent
833e7554f4
commit
5d463d097a
7 changed files with 366 additions and 186 deletions
|
@ -1,6 +1,6 @@
|
|||
import 'phaser';
|
||||
import GameConfig = Phaser.Types.Core.GameConfig;
|
||||
import {GameScene} from "./GameScene";
|
||||
import {GameScene} from "./Phaser/GameScene";
|
||||
import {Connexion} from "./Connexion";
|
||||
import {RESOLUTION} from "./Enum/EnvironmentVariable";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue