CN-121988033-A - Game interaction method, game interaction device, storage medium and electronic equipment
Abstract
The embodiment of the application discloses a game interaction method, a game interaction device, a storage medium and electronic equipment; the method comprises the steps of displaying a graphical user interface, wherein the graphical user interface comprises at least a part of virtual scenes and a first virtual object controlled in the virtual scenes, responding to a target behavior event triggered by a second virtual object in the virtual scenes, displaying a position prompt identifier corresponding to the second virtual object in the graphical user interface, wherein the position prompt identifier is used for indicating the relative position of the second virtual object and the first virtual object, and responding to a selection operation for the position prompt identifier, and adjusting the aiming direction of the first virtual object to a position towards the second virtual object. Therefore, the aiming direction of the first virtual object can be quickly and accurately adjusted to the position of the second virtual object facing to the triggering target behavior event through the selection operation of the position prompting mark, so that a player can quickly respond to the target behavior event, and the game interaction efficiency is effectively improved.
Inventors
- Li Mensheng
Assignees
- 广州博冠信息科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260206
Claims (20)
- 1.A method of game interaction, comprising: displaying a graphical user interface comprising at least a portion of a virtual scene and a first virtual object controlled in the virtual scene; Responding to a target behavior event triggered by a second virtual object in the virtual scene, and displaying a position prompt identifier corresponding to the second virtual object in the graphical user interface, wherein the position prompt identifier is used for indicating the relative position of the second virtual object and the first virtual object; And responding to the selection operation of the azimuth prompt identifier, and adjusting the aiming direction of the first virtual object to the position where the second virtual object is located.
- 2. The game interaction method of claim 1, wherein the target behavior event comprises at least one of an attack event of the first virtual object by the second virtual object, the second virtual object being within a first preset range of the first virtual object, the second virtual object performing a specified behavior within a second preset range of the first virtual object.
- 3. The game interaction method of claim 1, wherein the method further comprises: and responding to a third virtual object triggering target behavior event in the virtual scene, and additionally displaying a position prompt identifier corresponding to the third virtual object in the graphical user interface.
- 4. The game interaction method of claim 1, further comprising a view angle adjustment control in the graphical user interface, wherein the adjusting the aiming direction of the first virtual object to the position toward the second virtual object in response to the selection operation for the azimuth-hint identification comprises: And responding to the association operation of the visual angle adjustment control and the azimuth prompt identifier, and adjusting the aiming direction of the first virtual object to the position where the second virtual object is located.
- 5. The game interaction method of claim 4, wherein the azimuth-hint identifier includes a plurality, and wherein adjusting the aiming direction of the first virtual object to be toward the location of the second virtual object in response to the operation of associating the view angle adjustment control with the azimuth-hint identifier includes: In response to a sliding operation starting from the visual angle adjustment control, determining a selected target azimuth indication identifier from the azimuth indication identifiers based on an operation position of the sliding operation; and responding to the sliding operation to finish at the position of the target azimuth prompt identifier, and adjusting the aiming direction of the first virtual object to the position of the second virtual object corresponding to the target azimuth prompt identifier.
- 6. The game interaction method of claim 5, wherein the determining the selected target azimuth indication identifier from the azimuth indication identifiers based on an operation position of a sliding operation in response to the sliding operation from the view angle adjustment control comprises: And responding to the sliding operation started from the visual angle adjustment control, displaying an indication identifier corresponding to the visual angle adjustment control at an operation position of the sliding operation by using a first preset display parameter, or displaying an azimuth prompt identifier corresponding to the operation position by using a second preset display parameter, and determining the azimuth prompt identifier corresponding to the operation position as a selected target azimuth prompt identifier.
- 7. The game interaction method of claim 4, wherein the displaying, in the graphical user interface, the azimuth cue identifier corresponding to the second virtual object in response to the target behavior event triggered by the second virtual object in the virtual scene comprises: responding to a target behavior event triggered by a second virtual object in the virtual scene, and displaying a position prompt identifier corresponding to the second virtual object around the visual angle adjustment control; wherein the orientation hint identifies an orientation relative to the perspective adjustment control that indicates an orientation of the second virtual object relative to the first virtual object.
- 8. The game interaction method of claim 1, wherein the location of the second virtual object comprises a location of the second virtual object when the target behavior event is triggered, or a real-time location of the second virtual object in the virtual scene.
- 9. The game interaction method of claim 1, wherein the graphical user interface further comprises an aim identification, the adjusting the aim direction of the first virtual object to be toward the location of the second virtual object comprising: and adjusting the aiming mark to align the second virtual object so that the aiming direction is adjusted to be towards the position where the second virtual object is located.
- 10. The game interaction method of claim 1, wherein the graphical user interface further comprises an aiming identifier, the displaying, in the graphical user interface, a position cue identifier corresponding to a second virtual object in the virtual scene in response to a target behavioral event triggered by the second virtual object, comprising: responding to a target behavior event triggered by a second virtual object in the virtual scene, and displaying a position prompt identifier corresponding to the second virtual object around the aiming identifier; Wherein the location hint identifier indicates a location of the second virtual object relative to the first virtual object relative to a location of the sighting identifier.
- 11. The game interaction method according to claim 1, wherein in the case that the plurality of second virtual objects triggering the target behavior event are displayed, the azimuth prompt identifiers corresponding to the second virtual objects are displayed in the graphical user interface, and the display styles of the azimuth prompt identifiers corresponding to different second virtual objects are different.
- 12. The game interaction method of any of claims 1 to 11, wherein the method further comprises: And displaying response prompt information of the target behavior event in the graphical user interface, wherein the response prompt information is used for prompting a response mode recommended by the target behavior event of the second virtual object.
- 13. The game interaction method of claim 12, wherein the response-prompting message includes a first response-prompting message for prompting avoidance against a target behavioral event of the second virtual object; the step of displaying response prompt information of the target behavior event in the graphical user interface comprises the following steps: and displaying first pair prompt information in the graphical user interface under the condition that the interaction parameters corresponding to the second virtual object meet the preset conditions.
- 14. The game interaction method of claim 13, wherein the interaction parameters include at least one of a distance between the second virtual object and the first virtual object, and combat attribute information of the second virtual object, and wherein the displaying a first response prompt message in the graphical user interface when the interaction parameters corresponding to the second virtual object satisfy a preset condition includes: And displaying first corresponding prompt information in the graphical user interface under the condition that the distance between the second virtual object and the first virtual object is larger than the attack distance of the attack prop currently used by the first virtual object and/or the fight attribute information meets the preset attribute condition.
- 15. The game interaction method of claim 13, wherein the method further comprises: and displaying path indication information under the condition that the first pair prompt information is displayed, wherein the path indication information is used for indicating a path of the first virtual object moving to the target shelter.
- 16. The game interaction method of claim 12, wherein the response-prompting message includes a second response-prompting message for prompting an attack on a target behavioral event of the second virtual object; the step of displaying response prompt information of the target behavior event in the graphical user interface comprises the following steps: and displaying second corresponding prompt information in the graphical user interface under the condition that the interaction parameters corresponding to the second virtual object do not meet the preset conditions.
- 17. The game interaction method according to claim 16, wherein the interaction parameters include at least one of a distance between the second virtual object and the first virtual object, and combat attribute information of the second virtual object, and wherein the displaying of the second response prompt information in the graphical user interface when the interaction parameters corresponding to the second virtual object do not satisfy the preset condition includes: And displaying second corresponding prompt information in the graphical user interface under the condition that the distance between the second virtual object and the first virtual object is not larger than the attack distance of the attack prop currently used by the first virtual object and/or the fight attribute information does not meet the preset attribute condition.
- 18. The game-interaction method of claim 17, wherein the method further comprises: and under the condition that the second response prompt information is displayed, displaying a trigger control corresponding to the currently used attack prop of the first virtual object by a third preset display parameter so as to prompt the attack prop to attack the second virtual object.
- 19. A game interaction device, comprising: a first display unit for displaying a graphical user interface comprising at least a part of a virtual scene and a first virtual object controlled in the virtual scene; The second display unit is used for responding to a target behavior event triggered by a second virtual object in the virtual scene, and displaying an azimuth prompt identifier corresponding to the second virtual object in the graphical user interface, wherein the azimuth prompt identifier is used for indicating the relative azimuth of the second virtual object and the first virtual object; and the adjusting unit is used for responding to the selection operation of the azimuth prompt identifier and adjusting the aiming direction of the first virtual object to the position where the second virtual object is located.
- 20. An electronic device comprising a processor and a memory, wherein the memory stores a computer program which, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 18.
Description
Game interaction method, game interaction device, storage medium and electronic equipment Technical Field The application relates to the technical field of games, in particular to a game interaction method, a game interaction device, a storage medium and electronic equipment. Background With the rapid development of life and technology, people often play an entertainment role through game applications. In a First Person Shooter (FPS) game, the horizontal direction of an enemy can only be obtained from shot sound information from a small map or from shot feedback around the character when the player character is shot. However, in a battle environment where the terrain is relatively complex, even if the horizontal direction of the enemy is known, it is difficult for the player to locate the enemy at a specific location, thereby making the game interaction less efficient. Disclosure of Invention The embodiment of the application provides a game interaction method, a game interaction device, a storage medium and electronic equipment, which can realize quick and accurate adjustment of the aiming direction of a first virtual object to the position of a second virtual object which is oriented to trigger a target behavior event through selection operation of a direction prompt identifier, so that a player can quickly respond to the target behavior event, and the game interaction efficiency is effectively improved. The embodiment of the application provides a game interaction method, which comprises the following steps: displaying a graphical user interface comprising at least a portion of a virtual scene and a first virtual object controlled in the virtual scene; Responding to a target behavior event triggered by a second virtual object in the virtual scene, and displaying a position prompt identifier corresponding to the second virtual object in the graphical user interface, wherein the position prompt identifier is used for indicating the relative position of the second virtual object and the first virtual object; And responding to the selection operation of the azimuth prompt identifier, and adjusting the aiming direction of the first virtual object to the position where the second virtual object is located. Accordingly, an embodiment of the present application provides a game interaction device, including: a first display unit for displaying a graphical user interface comprising at least a part of a virtual scene and a first virtual object controlled in the virtual scene; The second display unit is used for responding to a target behavior event triggered by a second virtual object in the virtual scene, and displaying an azimuth prompt identifier corresponding to the second virtual object in the graphical user interface, wherein the azimuth prompt identifier is used for indicating the relative azimuth of the second virtual object and the first virtual object; and the adjusting unit is used for responding to the selection operation of the azimuth prompt identifier and adjusting the aiming direction of the first virtual object to the position where the second virtual object is located. In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the steps in any game interaction method provided by the embodiment of the application. In addition, the embodiment of the application also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores application programs, and the processor is used for running the application programs in the memory to realize the game interaction method provided by the embodiment of the application. The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program is stored in a computer readable storage medium, and when a processor of an electronic device reads the computer program from the computer readable storage medium, the processor executes the computer program to enable the electronic device to execute the steps in the game interaction method provided by the embodiment of the application. The method comprises the steps of displaying a graphical user interface, wherein the graphical user interface comprises at least a part of virtual scenes and a first virtual object controlled in the virtual scenes, responding to a target behavior event triggered by a second virtual object in the virtual scenes, displaying a position prompt identifier corresponding to the second virtual object in the graphical user interface, wherein the position prompt identifier is used for indicating the relative position of the second virtual object and the first virtual object, and responding to a selection operation for the position prompt identifier, and adjusting the aiming direction of the first virtual object