Dorm Designer
My Dorm Designer program was one of my recent programming assignments during my Spring 2018 semester at UW-Madison. This application was programmed in Java using the Processing Library for drawing the graphics on screen. As a result of this assignment, I learned how to organize and store data into meaningful classes and interfaces. I also learned some basic information about graphics capabilities for use in game development, such as drawing shapes, updating the screen, different screen buffers, and even utilizing user input from the mouse.
The Dorm Designer application is an interactive game where it is up to the player to design his/her own college dorm room! The player has eight different buttons to interact with. The first five buttons allow you to create beds, sofas, dressers, desks, and/or sinks. The sixth button allows you to delete all the furniture in the room, and the last two buttons utilize a file system for saving your room to a .ddd file or loading the currently saved room from your .ddd file.
Once you create some furniture, you can now move it around the room! When hovering your mouse over that specific piece of furniture, hold your left mouse button down and drag your mouse to your desired position. You can also rotate furniture by 90 degrees if you hover your mouse over a piece of furniture and press the ‘r’ key. Finally, you can delete individual pieces of furniture by moving your mouse over a piece of furniture and pressing the ‘d’ key.