BGP – TwinShift – Camera
|
We have finally managed to name out game, previously we called it Gravity Grind but we were told that it would be a bad idea to call it that because it could be confused with other games with similar name such as FutureGrind for example. The name we ended up with and what we call the game now is TwinShift. We had some other names that we considered, most notably GravityShift and G-Shift which most of us liked but both of them were already taken. Some other names we considered were ContraShift, G-Apex and Scrungle (the members of our team either loved or sincerely hated Scrungle). This week I have primarily worked on the camera for our game. There is still much work to be done on the camera but it now seems to work and has its most basic needs implemented. The Minimum Requirements The minimum requirements are what it sounds like, the least amount of functionality that is needed to make the camera to work in our game. For our game, the minimum requirements are that it follows the player, and that it will automatically adjust itself to be placed behind the player. It also has to be able to detect if the view is blocked by some obstacles and then taking the proper action to give the player a good view again. For example if the view is blocked by smaller objects such as other players of scrap parts that lies around on the track the camera shouldn’t move, instead the objects become transparent. But if the view is blocked by a bigger part of the environment such as a wall the camera should move to the closest position where the view is unblocked or if no position that is unblocked and close enough is available it would have to zoom in instead. The Current Camera The camera that is implemented now will move to a position that is positioned in a radius around the targeted object with a distance of a set numbers of Units. The camera will always try to be positioned at the same direction from the player as its previous position and this makes the camera center itself automatically when the vehicle is driving at a certain speed, even when turning. This also makes it so that the camera will not center behind the player when the player is standing still but as soon as the player have started moving again the camera will smoothly center behind it again. As I said There is still much work to be done but it’s a start and I’m really starting to hate Quaternions because have no idea what I’m doing with them. Filed under: Uncategorized Tagged: 5SD033 Laban Melander Group 9 nine Boreal Entertainment Suit ‘Em Up Uppsala University Universitet Campus Gotland, 5SD037, BGP, CampusGotland, game, TeamGG, TeamShift, TwinShift, Uppsala Univerity |
