
Sla de data uit de verschillende tiles op in een array
00:00 Functionaliteit tot nu toe
02:11 Code tot nu toe
03:08 Save Button
06:38 Hoe gaan we de gegevens opslaan?
08:23 Maak een loop
09:15 Haal background color op
10:40 probleem : geen background kleur opgehaald
10:51 js style vs stylesheet
13:03 Opslaan corresponderende tile states
14:10 Hardcoded optie gebruik een switch (not so nice)
19:05 Betere optie gebruik key value pairs om states op te slaan
20:38 Herbruikbare functie op stack overflow
22:55 Gebruik getKeyByValue function
25:21 Uitleg getKeyByValue function
basedleveleditor
0 Comments