George’s Status Report for 4/16

49I did a lot of work on this capstone project last week (Week of April 3), and I had deadlines in 2 other classes this week, so this week I worked on this capstone project less than I typically do. That being said, I did make some progress this week:

  1. Fixed bug related to drums not being recognized sometimes
  2. Made preparations for playtesting next week

Earlier this week we were running into a serial message parsing issue with our gameplay code. I spent some time debugging this and I came to the conclusion that there was a mismatch between Stephen’s microcontroller serial code and my gameplay serial code. The issue was caused by an erroneous “\n” character being sent from the microcontroller. Once we removed the “\n” the issue fixed itself.

I also created a Google Form where people can sign up to playtest our game. We will be having multiple playtesting sessions next week. I will be present at all of these sessions because the game is being run on my computer.

I am on progress to meet the end of semester deadline. Our game is nearly complete; the remaining features are mainly cosmetic.

Next week I will conduct playtesting sessions, add some finishing touches to the gameplay GUI, and prepare for the final presentation.

George’s Status Report for 3/26

We’ve hit a few roadblocks this week.  My goals for this week were to figure out how to execute Shreya’s Python code from the cpp code, and debug some beatmap timing issues. I didn’t get to either of these. Instead, I worked on debugging some drum input issues and cross platform compilation issues so that we could reach MVP.

Drum Input Issues

Our MVP was scheduled to be completed by this week, but I unexpectedly encountered an issue with the drum input earlier this week. I reprioritized by tasks this week to ensure that we met the MVP. Here is the issue: the drum could connect to the game, but the inputs were being interpreted incorrectly. When the player holds the drum down, the game would think that the player is hitting the drum repeatedly. I debugged and resolved the issue.

Cross Platform Compilation Issues

The game currently does not compile on Windows. I currently am the main contributor to our gameplay code, and I use MacOS. However, we would like Stephen and Shreya to add features to the game as well. We tried to compile the game this week and we encountered many compilation issues on Windows, and I met with them to debug this. I think that I am going to need a solid 3 hours of debugging before I can figure out clearly why the game is not working on their machines.

More Files

I added some starter code for MainMenuMode.cpp, SongSelectionMode.cpp, and ScoreScreenMode.cpp.

 

My goals for next week are:

  1. Get the game to compile on Windows
  2. Look into executing Python from C++

George’s Status Report for 2/26

This week I worked on adding audio and making improvements to the game UI. Adding audio to the game ended up being much more challenging than I had expected.

Last week I tried to add the libraries irrKlang, SMTL, and miniaudio, but they weren’t working for me. I had trouble linking them them into the project from within my CMakeLists.txt. In my status update for last week, I mentioned that I wanted to try to add the audio library SoLoud to the code base. I tried linking that as well, but it wasn’t working out. Eventually, I came across a sound library called PortAudio, and I was able to successfully add it to the game. I got a small sound demo working. The sound demo sounded terrible, because it played a simple saw wave, but it worked nonetheless.

In addition to adding PortAudio for playing sounds, I also added libaudiodecoder for reading wav and mp3 files.

Also, I updated the game GUI to show notes raining down towards the bottom of the screen.

For next week, I will be synchronizing the audio playback to the note scrolling, and I will also be working on decoding the beatmap JSON files. I would also like to work on detecting whether the player hit the beat at the correct time. I was a little bit behind schedule last week, but I feel like I’ve caught up now. We have from now until March 20 to reach our MVP, which is more than enough time to create a playable demo of the game.

 

George’s Status Report for 2/19

This week I worked on rendering textures into the game. I am using a graphics programming textbook called “Learn OpenGL – Graphics Programming” by Joey de Vries, and I followed along with the chapter on textures this week. I’m using a library called stb that can read image files and place their data into a char array. The game currently loads a test image into the window:

Additionally, I worked on importing sound libraries into our game. However, I was running into some issues with this. I tried downloading and importing Simple and Fast Multimedia Library (SFML) and IrrKlang. It seems like both of these libraries are popular for sound in C++ video games. I am using CMake to compile our game, and for some reason CMake couldn’t link IrrKlang’s dynamic library on MacOS. I spent a few hours debugging this but I wasn’t able to get anything compiled into the game. I found another audio library called SoLoud, and I want to try using this instead.

For next week I want to focus on getting a small playable demo where notes fly down the screen towards the player. I originally had wanted to get font rendering working this week, but I think that for now I will focus on getting a playable demo with sounds. I want to start testing Shreya’s beat mapping algorithm in the game as soon as possible, and having a playable demo is necessary for this. I am a couple days behind schedule – I wanted to have more of the GUI completed before today.  Our current schedule supports a little wiggle room this week because our next task from 2/21-2/28 is just reviewing our final design and making little tweaks; these tweaks won’t take much time (i.e. near 9 hours), so I’ll have extra time to work on the GUI.

 

George’s Status Report for 2/12

Hello, welcome to my first status report for Hit It!. Hit It! is a rhythm game where the user hits drum pads with drum sticks to the beat of a song. I will be programming the user interface of the game with OpenGL and C++, and I will also be writing the code for overall gameplay flow. I chose to do graphics programmings on this project mainly because I am interested in working in the video games industry as a graphics programmer, and because I enjoyed taking Computer Game Programming last fall, which required me to make games with C++ & OpenGL.

This week on Monday we had our project proposal presentation. Over the last 2 weeks, I helped create the slide deck for the presentation and I also worked on the graphics framework for the game. I am following tutorials on graphics programming from an online textbook at https://learnopengl.com/. At the beginning of the semester, this game had zero code. Since then, I have worked on the following things:

  1. Importing libraries for graphics programming into the code base: glfw, glm, and glad
  2. Creating a window with glfw
  3. Drawing a square in the window

Right now the game looks like this:

The game can draw a square…  woah!

Each of the 3 steps listed above took several hours. I had to do quite a bit of internet research to figure out how to create a Makefile and how to compile our game. Then I needed to learn how to import glad, glm, and glfw into the codebase. It took me around 5 hours or so to draw a square once the window was created, because I had to debug an issue related to how I configured my vertex and fragment shaders.

Next week I would like to add texture rendering into the game. I also want to be able to import placeholder artwork and maybe even have font rendering before the end of next week. In our schedule, we have allocated 3 weeks after the proposal presentation to test our technologies. Font rendering isn’t really necessary right how, but it would be nice if I can get it working by the end of next week so that I can use it in our prototype.

Right now I am on track to create a simple rhythm game prototype before spring break. I think that the biggest challenge for me moving forward will be balancing school with interviews and job searching. Interviewing and filling out applications takes a lot of time, which means I’ll need strong time management skills to stay on top of everything.