Day 39

I got a reply on my Reddit post about on how to do the code that I've been trying to fix for the past 2 days. And the code that he sent me worked. I just need to edit it so that it works for all my powerups.

OK so I made some changes to the code and added it to the rest of my objects (powerups, and enemies) and it works. 

I made a controller object to which i assigned all the code to try to make it consistent throughout all levels but it still wouldn't work.

Then I made a draw event in the controller object and made it so that it writes Combo: (combo amount) so it is easier to tell how much you have.
Class is coming to an end, and today I learned how to make a sound play only once when you have that amount in a variable thanks to the person who helped me out on Reddit.

Tomorrow I will be working on something new. I might change the sprite for the enemy and maybe make it a goomba (lol). 

Day 38

Today was very unproductive. I couldn't figure out how to fix my sound problem. I spent the entire class trying to troubleshoot. I tried making an Alarm event (timer) to reset it etc. but that couldn't fix it either. I asked online for help https://www.reddit.com/r/gamemaker/comments/4h003g/help_with_sounds/

But i'm still waiting for an answer and class is nearing its end. I'm trying to do everything i can to fix this problem and I don't know what else to work on while I wait.

Once I fix it, it will be very good experience for me and I will know how to fix it from now on.

Tomorrow I will work on a new level until I can fix this problem completely.

Day 37

Today I added some cool sound effects to the game. I added some sound effects when you pick up powerups and kill enemys, and they work. The sounds and camera shake add some juicy effects to the game. I tried to make it so that if i have a certain combo play this sound (you get combo from killing enemies or picking up powerups). But the sound would play continuously whenever its stuck at 3 combo. I know why this happens i just don't know how to fix it.

Tomorrow I will try to fix this problem of mine.

Day 36

Today I worked on some cool effects to the game. I started off by adding a resets counter at the top of the screen beside the death count. this counts how many time you reset the game so you can't just keep resetting when you're about to die.

Then I added something that isn't so serious, I turned all the jump sprites into illuminati sprites which was a joke that Quinn told me to do.

In the last bit of class I worked on a camera shake whenever I touch the powerups or kill an Enemy.

I used this video to help me: https://www.youtube.com/watch?v=TIA9-dPGiUM

Tomorrow I might add more effects or add more sprites depending on how I feel.

Day 35

Today I worked on a new level for my game. It took a while to make this and i was moving very slow because i had to keep testing it every 2 seconds to make sure it worked. But I finally finished it.

I combined the jump and walljump powerups together in this level. This level was more of a test than an actual level for my game so i might not add it in the final version. 

After i finished that I changed my sprite masks because the collision was too far apart and if i made it percise, it would be very buggy.

Tomorrow I will work on something new or I might work on my sprites (i said this 100 times by now and I haven't worked on it yet) 

Day 34

Today at the beginning of the class I worked on making the movement be continuous when moving to the next room. Before when i went into a new room my player would stop moving and I would have to press the move key again. I used keyboard_check_direct(); instead of keyboard_check(); and it worked, i got continuous movement when moving to the next level.

Like this

Then after that I worked on making a pause menu for my game. I made a controller object (which is an object that has no sprite but does something), made it persistent so I only have to put it in one room and it's always persistent, then i made the code:

Create Event:

Step Event:

Draw Event:

In the create event i made the variable called "pause" and i set it to 0 (false), then in the step event i made the code that activates the pause menu (if i press the escape button pause the game) using the step event is best because it's the fastest event, it's always run continuously. Then in the draw event i draw the pause menu and what shows when pause is active.

This is the pause screen for now

Tomorrow i will work on making my sprites or something else.

Day 33

Today I worked on a new powerup and a new level. The new powerup adds an extra wall jump i pick it up.
 This is the new level (Level Six)

Here is how the powerup works

This will be very cool later on. I will combine my powerups together and make the levels super hard.

I also added Level six to the Level Select menu.

Then on the last bit of class I added RESET button. If you press "R" it restarts the level and doesn't add to your death count. This is very useful especially if you mess up and fall down or get stuck somewhere.
Reset by pressing "R"

Tomorrow I will either work on sprites if feel like it or i might work on new levels and new enemys etc.