Closed orrest closed 5 months ago
Hey @orrest, this is a recurring issue. See https://github.com/Annoraaq/grid-engine/discussions/47 and https://discord.com/channels/1033320723105730611/1033320723105730614/1070409708755759214.
For anyone else who encounters with this problem, just declear the GridEngine
in the scene
class, and it will be fullfilled automatically:
// source: https://discord.com/channels/1033320723105730611/1033320723105730614/1070409708755759214
export class GameScene extends Phaser.Scene {
gridEngine: GridEngine;
// use `this.gridEngine` ...
I'm new to
Phaser
andgrid-engine
, and it seems I ran the demo sucessfully:but, I've got the error message in the IDE (I've tried both VS Code and WebStorm, got the same error message):
The
grid-engine
import:How can I remove these error messages?
Appreciate for any help.