Non-player character control method and device, computer equipment and storage medium
The embodiment of the invention discloses a non-player character control method and device, computer equipment and a storage medium. According to the scheme, the first position and the moving speed of the player character in the game scene are obtained, the moving range of the player character in th...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a non-player character control method and device, computer equipment and a storage medium. According to the scheme, the first position and the moving speed of the player character in the game scene are obtained, the moving range of the player character in the game scene is predicted according to the first position and the moving speed, and then the non-player character in the game scene is played according to the moving range and the second position of the non-player character in the game scene. Determining a target non-player character which needs to surround and pursuit the player character in the non-player characters; based on the position relationship between the target non-player character and the movement range, determining a target position corresponding to the surrounding pursuit of the target non-player character on the player character, and further controlling the target non-player character to move towards the target position, so as to realize the surround |
---|