Configurer des niveaux
Fanny
Configuration pour l’ensemble des niveaux
Section intitulée « Configuration pour l’ensemble des niveaux »const LEVEL_CONFIG = { tileWidth: 64, tileHeight: 64, backgroundColor: 'afe1ff', gravity: 3200,};Configuration pour un seul niveau
Section intitulée « Configuration pour un seul niveau »const LEVELS = [ // niveau 0 { map: `
# ===========
`, config: { tileWidth: 64, tileHeight: 64, backgroundColor: 'afe1ff', gravity: 3200, }, },];