Since you added the playtest function your level editor is even better! :-D
I have to report a bug: when I try to delete a level (using thash icon), the whole interface shuts down, and I can't do anything else.
Thanks for the bug info! ๐
I forgot to test that after recent refactor. I've just pushed a quick fix - should work now.
I'm glad you like the playtest mode - when I was playing with the editor myself I quickly noticed that it is almost unusable without that - but that took a little to implement properly, but it's there now ๐
On my list I have few more things related to playtest:
- mark visually the "lost" state
- add button to "reset" the gameplay without leaving the playtest mode
- wire "backspace" to "step back"
From other things I'd like to implement, there are:
- correctly map the tile colors (currently some tiles use invalid colors, e.g. skulls have brown highlights instead of white)
- once the above is done, create a tile editor so one can make mario bros or nyan-cat themed levels ๐
Hello Naufr4g0 ๐
It's actually an unfortunate effect of missing bit in the persisted editor state in your browser.
I've noticed that I didn't read the multicolour bit properly when reading the tile data from the memory, now it's been corrected but the incorrectly read graphics data is already saved in the editor session.
If you don't have any changes in the levels, the easiest way to fix this state is to load the prg/d64 again - this will re-read the tiles and the issue should be corrected.
If you have the changes you don't want to lose, export them to JSON file and send the file over to hitori@duck.com, I'll correct it (multicolor flags must be set) and I'll send back the corrected file.
Sorry for inconvenience, I was just too lazy to write the data migration code after the colours bugfix.