Game - Editing the scripts and making some models.

I added another set of key binds using || as or in the if statements. I added zxnm because this makes the game more accessible since you have more options of how to play, also I personally prefer these key binds over wasd for rhythm games since they are in a straight line and match up better with the order of the beats.

I also added an if statement to the spawning script which stopped the script from adding to the beat index when the beat index was the same as the beats.length (how many beats there are). I had to change this to beats.length-1, because the array is offset starts with 0 and I was still getting the error about the beat index going out of the array bounds. At this point when testing the last beat was continuously spawned when reached to fix this, I added an empty object to the array, and this fixed the problem.

Once I was happy with the rhythm game, I started working on the collection game. I made a script using previous scripts to make the chef character move and a script for collecting the ingredients. 

I also worked on the UI functionality and the buttons that change between scenes.



I need to think about how I will code the animation of the chef and I will need to implement the models, sounds/sound effects and effects.


I also worked on the model for the kitchen in Blender.

I took inspiration from the kitchen images we collected in our presentation and decided on an island layout since that seems quite functional. 




Comments

Popular Posts