Improving pinch (virtual joystick stops when pinch begins)
This commit is contained in:
parent
59b391e983
commit
f66e69cb75
5 changed files with 70 additions and 30 deletions
|
@ -2,6 +2,7 @@ import {gameManager} from "../Game/GameManager";
|
|||
import {Scene} from "phaser";
|
||||
import {ErrorScene} from "../Reconnecting/ErrorScene";
|
||||
import {WAError} from "../Reconnecting/WAError";
|
||||
import {waScaleManager} from "../Services/WaScaleManager";
|
||||
|
||||
export const EntrySceneName = "EntryScene";
|
||||
|
||||
|
@ -17,7 +18,10 @@ export class EntryScene extends Scene {
|
|||
}
|
||||
|
||||
create() {
|
||||
// waScaleManager.applyNewSize();
|
||||
|
||||
gameManager.init(this.scene).then((nextSceneName) => {
|
||||
waScaleManager.applyNewSize();
|
||||
this.scene.start(nextSceneName);
|
||||
}).catch((err) => {
|
||||
if (err.response && err.response.status == 404) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue