Personal development 12: Games development
- Samuel Dowding
- May 1, 2020
- 1 min read
This week i have been working on the continued tasks i set last week which was to get the secondary game-play worked in to the game. this included score, pickups, obstacles, random object spawning, variable speed and failure conditions. I was able to complete all of these tasks successfully however for a few of them i needed to look into the subjects.
For the the random object spawning and variable speed i had to look into spawning objects on command and randomly picking one of three outcomes using a random integer in range and switch on int which picks a track of code based on the outcome of the random integer.
for the variable speed despite doing it differently i also looked into flow control which is just a series of nodes that control how code is run things such as Donce which means once the code preceding that is done it cant be run again.
for the upcoming week i will be aiming to implement some 2D assets into the game to replace the place holder assets for the items in the world and the character. To do this i have asked Leon Plumb to create some sprites for me as he has more skill when it comes to that type of asset creation.
Comments