Week 12 - Polishing our code, and getting ready to present.

Since the deadline is on 25th of December, we decided to start polishing our code, and finish up latest tasks.

Dalius:

Tasks: Make a leaderboards

Description: 

Leaderboards


To make things more interesting, apart leaving empty leaderboards, without any scores I've decided to generate some random data with the names which were taken from this website: Link
And some scores were generated randomly in between 1 to 20.



Lets look at our code screenshots. Every time the game started, a players name were generated, as we can see in the picture. And every time user finished its challenge, The number of Player 1 were increased. And the score is being inserted as Player 1.To mention that we have an array , which is being made also during the start of the game, and that array contains: Random names and randomly generated scores. Then sorting is being made, and after its done sorting, we reversed it, so that the scores would be form the highest number, to the lowest. Cause array by default sorts from the minimum to the maximum. Last thing, when player finishes challenge, InsertPlayerScore is being called, and if your score is 0 or below 0, unfortunately players score is not being added to the list. But lets talk about what happens when you add the score to the  list. So first of all, method pushes players current score, and his name. After that, we are re-doing the sorting, and reversing the sort. At the end, before the score is being entered, we want to see the updated leaderboards, so for that we are cleaning the leaderboards, and adding the text from the generate score array.

Sayed:


We sat down and started to check everything and make the game a lot better.

            We found some walls, table for the shooter. We set them up and created a nice room for the player.

            The turret is shooting too far, and it is not possible to hit anything. We moved that a few times to find the best position. The gun shooting     speed was too slow, we made that faster.

The objects that turret shoots are not big enough. We made them bigger. We decided to cancel the teleportation. The room was small and continuous movement would do the job.

It was still hard to grab the gun and the bowl, I implemented a ray interactor to be able to grab items from distance. And the hand should disappear once the item is grabbed.

We modified the movement controller as the right hand control the walk and the left hand should turn the player 45 degrees.

Future Improvement

We thought of a lot of other stuff we could add or change in this game.

One of the ideas was that if we could add a machine gun, the player could hold it with both hands and shoots more bullets.

The turret shoots the objects in one direction. We thought we could implement a method that change the direction of shooting randomly.

We though of adding more objects on the table. So, the player would have plenty of options to shoot.

another idea was to add a sniper zoom for the shooter.

Comments

Popular posts from this blog

Week 2 - Marker based AR

Week 6 - Progress of VR Project

Week 3 - Markerless AR