Sunday, October 29, 2017

Ground-Up Rewrite

hey all,

I have been working to integrate lenses and destructible objects into the framework I've already developed, but this weekend I ran into a snag. As I was experimenting with moving and rotating my lens, I realized that the calculation for how light refracts through it was fundamentally flawed. Now matter how I rotated the lens, light was always bent down. The kicker to this was that I had basically copied the code I used for calculating refraction through a prism, which meant that those calculations were fundamentally flawed too. So over the whole weekend I have rewritten the refraction algorithms and calculations, greatly simplifying them and correcting the errors from before. I've also been correcting some small positional errors throughout the whole code base.

With these fixes and changes in place, the next week's work will focus on redesigning the first 18 levels, and on expanding the game with more puzzles to solve.

Cheers,

No comments:

Post a Comment