100 Days of Code Day 77
I said I was going to do it yesterday, but I forgot. So instead I did the Javascript version of the React exercise today. It was a bit different than the C# version as expected but I still needed to swipe the last fix from the C# version. I saw someone in the community solutions had broken the updates into a pre-post thing. That was probably a good idea, I wish I had thought of that.
I went back to the Gameboy version of the bouncing DVD logo. I did manage to port over the LFSR code for random numbers. I added code to initialize x, y, dx, dy, stepX, and stepY. I then added code to use the new stepX, stepY, and offset values for the expanded movement slopes. I did not add the randomizer to the bounce yet. I am also thinking I need to add a bounce sound effect at some point. Not too much but ASM being slow-going shouldn’t be surprising.
Another video of it going so you can spot the difference.