100 Days of Code Day 7
Today’s exercism exercise was Train Driver which is about the rest/spread operator. Had some problems but did figure it out eventually. Would have been faster if the debugger worked as expected.
I probably need to put this top-down movement code on the back burner. I don’t want to keep characters and maps that aren’t mine. I haven’t done so yet, but probably soon. I should probably do some sort of skill up project instead as well.
Anyway I wanted to go back to the tile ripper and have it write out a C/C++ array with the map data. All of my fancy new functions to reduce map size were unfortunately not used. Then of course I wanted to try using that in the code instead of the array I used previously. Looking at the screen shot you can see that is working. Eventually I got it scrolling around on screen too. I did have to sacrifice the tile animation and collision flags unless I wanted to manually figure out the ids and hand code them again. I don’t want to since this is supposed to be temporary data.
This is a little video of me pretending it is something you can play.
