Game Dev Journey Day2

Chris Didier
3 min readMar 22, 2021

--

Today was about continuing on with the C# survival guide and moving forward into creating a few new tools. The first was creating if the player was old enough to drive. If the player was not old enough a message would say the user was not able to drive and if they were above the legal age they were able to drive.

Not able to drive
Able to drive

Next I created a script that if the player used the input system by pressing the space key 10 points would be added to their overall score. When the player had achieved 50 points a You are awesome would print out to the console.

The next thing I completed today was the Level Difficulty selection. There were 3 difficulties available to the player and the stock difficulty was set to medium. Depending upon what difficulty was selected would be one displayed. If one was selected out of range an invalid level error would appear.

After that I worked with the input system some more as well as the mesh render changing the color of my cube when a certain score level had been achieved. The score was increased by pressing down on the space bar. When the score reached above 50 the cube would change from red to green.

Next I created a controlled speed system by increasing the speed by pressing S but lowering the speed by pressing A. If the speed went over 20 a warning would appear as well as if the speed went to 0.

Finally, I created a class quiz grade average that took the combined class scores and printed out the letter grade for the whole class.

Things are moving along! Looking forward to what comes next!

--

--

Chris Didier
Chris Didier

No responses yet