Chris DourisProtherunner.digital·Apr 30, 2024Day 77/100 100 Days of CodeHey! I figured out what I should name the project. The original name was "jumping_physics" but I didn't really like it. Jumping Ball is much better. I made a lot of changes to the project and removed every line of code that was relative to C++. Now, ...Discuss100 Days of CodeC
Chris DourisProtherunner.digital·Apr 27, 2024Day 75/100 100 Days of CodeToday I worked on creating a new cursor image. The new image is a hand cursor that will be displayed when the mouse hovers over interactive objects. This is a good way to let the user know that the object they are hovering over is interactive. To add...Discuss100 Days of Code100DaysOfCode
Chris DourisProtherunner.digital·Apr 21, 2024Day 70/100 100 Days of CodeIn the session, I focused on developing the player object. Initially, I created an Entity class. After that, I created another class named Player. The Player class inherits the attributes of the Entity. Each in-game Entity will have the same attribut...Discuss100 Days of CodeC++
Chris DourisProtherunner.digital·Apr 20, 2024Day 69/100 100 Days of CodeI focused on creating assets for the project in this session. I updated the CMakeLists.txt to copy all the assets to the .app container. file(GLOB MENU_LIGHT_UP_SOUND "audio/menulightup/lightup.wav") file(GLOB MENU_MUSIC "audio/music/onceuponatime.mp...Discuss100 Days of CodeC++
Chris DourisProtherunner.digital·Apr 17, 2024Day 66/100 100 Days of CodeI spend the session on building the Linux version. Good news is that I managed to make it work after fixing some issues where I was missing some dependencies. I think it is important to understand that each platform has its own intricacies which shou...Discuss100 Days of CodeSDL3
Chris DourisProtherunner.digital·Apr 15, 2024Day 65/100 100 Days of CodeI added music in the game's main menu. First, I updated the CMakeLists.txt to add the audio file to the .app file. file(GLOB MENU_MUSIC "audio/music/onceuponatime.mp3") file(RELATIVE_PATH GET_REL_PATH "${CMAKE_CURRENT_SOURCE_DIR}" ${MENU_MUSIC} ) ge...Discuss100 Days of Code100DaysOfCode
Chris DourisProtherunner.digital·Apr 13, 2024Day 64/100 100 Days of CodeI spent the session fixing all the errors that occurred by introducing the AudioPlayer object to the project. The AudioPlayer class doesn't have a variadic template anymore because I do not need to use 2 different functions to Play an audio file. I i...Discuss100 Days of CodeC++
Chris DourisProtherunner.digital·Apr 10, 2024Day 62/100 100 Days of CodeBack to working on the game! I finished my studies a bit late today and wasn't able to make much progress.I added an audio file to the project and updated the CMake file to include it in the Resources folder. file(GLOB MENU_LIGHT_UP_SOUND "audio/Menu...Discuss100 Days of CodeC++
Chris DourisProtherunner.digital·Mar 28, 2024Day 50/100 100 Days of CodeI worked on creating a structure for the menu elements. This has been a little more complicated than I wanted and made many mistakes. I wanted to do more today but I am a bit tired. More Tomorrow! template<typename S, typename T, typename C, typename...Discuss100 Days of CodeC++
Chris DourisProtherunner.digital·Mar 27, 2024Day 49/100 100 Days of CodeToday I worked on the main menu. I added all the menu options. The application now destroys all of its components on exit. I removed 2 variables that were not needed. I must find a new font for the main menu's options and create a new method because ...Discuss100 Days of CodeC++