I’ve had a holiday and have worked on D2TM from there when I felt like it. The result is actually quite nice.
I have rewritten the selecting box logic, so now all mouse logic is in a Mouse class. Finally. I have also found this memory leak, which really wasnt a memory leak but sloppy initialization.
Also, I have made it far more easier to determine if a mouse is within a specific box of coordinates. Welcome the “rectangle” class. I have used it now in a few places and I intend to update the code where I find similar logic. I love removing code and keeping the game working.
Last but not least I tried to make the credits animation even more fluent. Although the animation did not get more fluent I did refactor the CreditsDrawer class.
I will be working on the GUI related stuff now again, so the menu looks ok and a new version can be wrapped up. Can’t wait? Then just check-out the source code 🙂
Comments are closed