Project training (summary)


1. Personal tasks

1. Scene modeling

The scene of the forest game and the scene of the FPS game

2. FPS games

It mainly realizes the character control of the characters, movement, squatting, running, etc. and synchronization. The footsteps can be controlled by the mouse and keyboard through various methods, character animation and synchronization, score, life number, pun heresy control and synchronization, and the game Management
1.CameraSpringUtility4 CameraRecoil4 CameraSpring4: Realize the tracking and control of the character's perspective, and present the first-person perspective in the game.
FPMouseLook obtains the corresponding coordinates according to the position of the mouse, so that the viewing angle changes with the mouse position, and at the same time, the character completes the direction rotation according to the corresponding mouse position.
2.SimpleCameraController4 controls the angle and position of the camera set in unity, obtains keyboard and mouse input according to the player's operation, converts and calculates the position and rotation of the camera, and realizes the control of the perspective and position of the character in the game.
3. BattleRoomManager mainly manages the multiplayer of FPS games and the corresponding functions of the room, encapsulates methods, declares and manages game variables. Realize the function of random birth point, so that players will randomly select one of the multiple birth points that have been set to enter the game when they first enter the game and each time they are revived. Get the input of the keyboard esc key, open the settings panel and cancel the mouse control when the input is detected. Use Ctrip to improve and revive immediately, and generate players after a delay. Set scoring rules and logic, display the record after the game is over, and calculate the overall score to determine the champion.
4.LocalManager sets the current player as the first-person interface, and the interface displays guns and external scenes.
5.FPCharacterControllerMovement
FPCharacterControllerMovement4 is used to obtain the player's input behavior, and control the movement of the character according to the corresponding key input.
6.Player: When the blood volume becomes 0, the player dies, the number of lives -1, and will be revived after three seconds if the number of lives is not 0, and the player will not be resurrected when the number of lives is 0, and the game will end directly; When the player shoots at other players, his score increases
7.PlayerOverviewPanel: distinguish characters by color, and display the scores and lives of multiple players in the unity scene

3. Space meteorite

It mainly realizes the distinction of characters, the number of lives and interface scores, and the management of spaceships.
1.PlayerOverviewPanel: distinguish characters by color, and display the scores and lives of multiple players in the unity scene.
2.Asteroid: Call PhotonNetwork.Instantiate( ) is instantiated through photonView.InstantiationData to obtain the information that needs to be synchronized. According to the position of the meteorite, if the player shoots the meteorite with a bullet (completed by collision), it will give itself extra points.
3.Spaceship scripts to control the spaceship, the movement of the spaceship, firing and rebirth

4. Parkour

It mainly includes the start and end of the game, and the movement of the ground
1.Ground: By setting the starting position and end position of the ground movement and the movement speed of the ground, the player character in the game interface does not run, but the ground runs, and at the same time it is constantly moving. When returning to the starting point, it is set to randomly generate gold coins above the ground.
2.GameMgr: Manage the display of the Panel interface of the game, including the display of the number of gold coins, the re-game interface after the game is over, and manage the three stages of game preparation, progress, and end A state
3. EvenDispatcher: Event manager, including subscribing to events and triggering of events. In this game, subscribe and trigger the player's jumping event and gold coin eating event, and log out

5. GUI interface

Mainly realized the beautification of the GUI interface in the later stage

2. Completion process

The completion time is from the determination of the topic in March until June.
There will be a group meeting every week to summarize the overall situation of the group and each person's situation this week, and make timely adjustments according to each person's progress to continuously solve problems.

Summarize

Through the project training of this semester, I have learned a lot of professional knowledge in practice. For example, from not being able to develop at all to being almost proficient in using unity and deepening the understanding of games, the improvement of coding ability. At the same time, I also learned the ability of the group to work together on a project. Everyone plays an essential role in it. If there are problems, they will discuss them together and fix bugs together. In short, not only learned the field of knowledge, but also teamwork.

Guess you like

Origin blog.csdn.net/qq_45856546/article/details/125239023