Devlog Week #3


1..What did you learn this week?

I learned what a switch statement is and how it works, essentially it provides a way to execute code based on a single expression. After a case is done a break statement is used to exit the switch statement. Also having a default case which is executed if the expressions value isn't found. It is a much more effective alternative to if statements.

2.What work did you complete for your project?

I added the code for all the info listed above about switch and exit statements I also finished adding my buttons onto my menu.

3.What challenges did you face, and how did you overcome them?

Remembering all the info was a problem I faced I didn't quite fully understand or take it all in when first taught I more just put the code in mindlessly. I overcame this by asking Mr. Cardoso about the code again and making sure to listen thoroughly when he explained it to me.

4.What would you like to learn next?

Maybe physics like gravity, jumping, or bouncing. or example applying downward velocity to simulate falling off of something.

5.Picture/Video of My Work

Leave a comment

Log in with itch.io to leave a comment.