Closed budda closed 8 years ago
Are you using the "no physics" build option? If so, there's no Tilemap class. You should at least choose the "Arcade Physics" build to get Tilemaps working. This is how Phaser was designed.
Check the tasks configuration (gulpfile.js/config.js
) to change the Phaser build option.
Yup no physics! That would explain it. facepalm
If i try:
I get the error
Uncaught TypeError: Phaser.Tilemap is not a constructor
-- whats the correct way to create a timemap using the generators structure?