This week I needed to finish my game and do testing so I can get on with my report.
Game change
Over the weekend I tried to get the knife to kill the enemy and there was still no luck because of this and the deadline coming up I have decided to reangle my game into a movement-focused game and having the double jump and dash as the focus. I will leave my code for my knife throw in the game but I won’t add the controls to the player instructions. If I get a chance I will come back and try and fix it. the problem I think I had was the way the knife throw was created so I will try a different way of the knife spawning another time.
Pizza Spawn
because my game needs a collectable to meet the game brief I have made a Pizza my collectable and you need to get all pizzas to win the game. the pizzas spawn in a similar way to the zombies where they will randomly spawn all over the map so it’s never the same experience twice.

pizza = this.physics.add.group({
key: 'pizza',
repeat: 69,
});
pizza.children.iterate(function(child){
{
var xPos = Phaser.Math.Between(100, 2400);
var yPos = Phaser.Math.Between(0, 1000);
child.x = xPos;
child.y = yPos;
child.setScale(1.3)
}
Pizza Collect
Making the Pizza collect was really simple because it’s just when you overlap it disables the body which makes it invisible and not interactable until you see it again. And when you do that it will also add 1 to the score counter.
As soon as you get the Score to 67 you will win the game and a text saying congratulations will appear and tell you to press R to play again.
Testing
Now the game is done I tried one last attempt at getting the knife throw to work but it was no use. So I have finally moved on to testing. For my testing, I tried to get as many people with different game development knowledge. the first set of tests I did was set up like interviews and where I could hear or see what their reactions were at the end, I asked them what can be changed and if they encountered any bugs. I got a list of things that needed to be fixed but because of time constraints, I could only fix a couple after fixing them I send my game to more people for them to fill out a questionnaire and it can be done in their own time. This gave me enough results to know where my main problem lies and that is with enemies spawning on top of the player and killing them instantly some people suggested adding a health bar so it takes a few hits. If I were to make this game again I would make sure that the enemies don’t spawn on top of the player at all by making it no be able to spawn 100 spaced of the player. Another thing that was commonly bought up was a way to kill the enemies so a knife throw would benefit this game greatly. many of the players found the game too hard which could be due to there not being any way to combat the enemies.
Written work
After finishing the game I got started on my Report. The report wasn’t too hard because I had identified what went well and what didn’t go so well throughout the development. Like I said in my report the only thing I would do very differently is used a Trello board and a Gantt chart to keep better time management and know when to move on and come back to problems later. after I finished the report I made sure I had all my programming fundamental tasks done. After that, I got a screen recording of my game I submitted my work.