Search

CN-114602188-B - Method and device for displaying information in game and terminal equipment

CN114602188BCN 114602188 BCN114602188 BCN 114602188BCN-114602188-B

Abstract

The invention provides a method, a device and terminal equipment for displaying information in a game, which comprise the steps of displaying a sighting interface according to accessory props of target virtual shooting props, determining shooting targets in a virtual scene, determining drop point position information according to relative position relations between the target virtual shooting props and the shooting targets, wherein the drop point position information is used for representing shooting positions of predicted sub props of the target virtual shooting props in the game scene, and controlling the sighting interface to display drop point identifiers corresponding to the drop point position information. The method and the device can assist the player to improve the operation level of the player under the premise of ensuring shooting experience of the player.

Inventors

  • FU JINGYI

Assignees

  • 网易(杭州)网络有限公司

Dates

Publication Date
20260505
Application Date
20220420

Claims (10)

  1. 1. A method for displaying information in a game, wherein a graphical user interface is provided through a terminal device, and a game screen displayed by the graphical user interface at least comprises a part of virtual scenes, the method comprising: displaying a sighting interface according to an accessory prop of a target virtual shooting prop, wherein the sighting interface comprises a sight mark corresponding to the accessory prop; Determining a shooting target in the virtual scene, and determining drop point position information according to the relative position relation between the target virtual shooting prop and the shooting target, wherein the drop point position information is used for representing the shooting position of the estimated sub prop of the target virtual shooting prop in the game scene; controlling to display a drop point identifier corresponding to the drop point position information in the aiming interface; the step of determining the landing point position information according to the relative position relation between the target virtual shooting prop and the shooting target comprises the following steps: determining a first firing angle of the target virtual firing prop in response to a firing adjustment operation for the target virtual firing prop; acquiring preset parameters, wherein the preset parameters comprise friction coefficients, gravity parameters and shooting initial speed parameters; Calculating a first horizontal distance value between a designated part of the target virtual shooting prop and the shooting target according to the first shooting angle, the friction coefficient and the shooting initial speed parameter; calculating a vertical distance value between the shooting position and the designated part according to the first shooting angle, the gravity parameter and the shooting initial speed parameter; wherein the relative positional relationship comprises a first horizontal distance value and/or a vertical distance value; And determining the position information of the falling point according to the relative position relation.
  2. 2. The method of claim 1, wherein the step of displaying the aiming interface based on the accessory prop of the target virtual shooting prop comprises: Providing at least one candidate virtual shooting prop through the graphical user interface; responding to the selection operation aiming at the candidate virtual shooting props, determining a target virtual shooting props, and judging whether the prop type of the target virtual shooting props belongs to a preset prop type or not; And if so, displaying a sighting interface according to the accessory prop of the target virtual shooting prop.
  3. 3. The method of claim 1, wherein the step of controlling the display of the drop point identification corresponding to the drop point location information in the aiming interface comprises: Acquiring a second horizontal distance value between a virtual camera of the virtual scene and the accessory prop, wherein the virtual camera shoots the virtual scene at a first person view angle; Calculating a third horizontal distance value between the virtual camera and the shooting position according to the first horizontal distance value and the second horizontal distance value; Determining mark position information of a drop point mark corresponding to the drop point position information based on the second horizontal distance value, the third horizontal distance value, the vertical distance value and the radius value of the accessory prop; And displaying the drop point identification in the aiming interface according to the identification position information.
  4. 4. The method according to claim 1, wherein the method further comprises: Determining shooting track information according to the relative position relation between the target virtual shooting prop and the shooting target; And controlling the shooting track information to be displayed in the graphical user interface.
  5. 5. The method of claim 4, wherein the step of determining shooting trajectory information according to a relative positional relationship between the target virtual shooting prop and the shooting target comprises: Determining a second firing angle of the target virtual firing prop in response to a firing adjustment operation for the target virtual firing prop; according to the second shooting angle and the preset parameters, calculating the relative position relation between the target virtual shooting prop and the shooting target; And determining shooting track information according to the second shooting angle and the relative position relation.
  6. 6. The method of claim 4, wherein the step of controlling the display of the shooting trajectory information in the graphical user interface further comprises: providing a track view control through the graphical user interface; responding to the triggering operation of the track checking control, and controlling a virtual camera in the virtual scene to shoot the virtual scene in a third person viewing angle; and providing the shooting track information through the graphical user interface.
  7. 7. The method of claim 2, wherein after the step of controlling the display of the drop point identification corresponding to the drop point location information in the aiming interface, the method further comprises: Switching the target virtual shooting prop in response to a switching operation for the target virtual shooting prop; and if the prop type of the switched target virtual shooting prop does not belong to the preset prop type, exiting the aiming interface.
  8. 8. A display device for information in a game, characterized in that a graphical user interface is provided by a terminal device, and a game screen displayed by the graphical user interface at least comprises a part of virtual scenes, the device comprising: the interface display module is used for displaying a sighting interface according to accessory props of the target virtual shooting props, and the sighting interface comprises sight marks corresponding to the accessory props; The shooting device comprises a shooting target in a virtual scene, a shooting point determining module and a shooting point determining module, wherein the shooting target is positioned in the virtual scene, and the shooting point determining module is used for determining the shooting point position information according to the relative position relation between the target virtual shooting prop and the shooting target, and the shooting point position information is used for representing the shooting position of a predicted sub prop of the target virtual shooting prop in the game scene; The mark display module is used for controlling the display of the drop point mark corresponding to the drop point position information in the aiming interface; the drop point determining module is used for: determining a first firing angle of the target virtual firing prop in response to a firing adjustment operation for the target virtual firing prop; acquiring preset parameters, wherein the preset parameters comprise friction coefficients, gravity parameters and shooting initial speed parameters; Calculating a first horizontal distance value between a designated part of the target virtual shooting prop and the shooting target according to the first shooting angle, the friction coefficient and the shooting initial speed parameter; calculating a vertical distance value between the shooting position and the designated part according to the first shooting angle, the gravity parameter and the shooting initial speed parameter; wherein the relative positional relationship comprises a first horizontal distance value and/or a vertical distance value; And determining the position information of the falling point according to the relative position relation.
  9. 9. A terminal device comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of any one of claims 1 to 7.
  10. 10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 7.

Description

Method and device for displaying information in game and terminal equipment Technical Field The present disclosure relates to the field of game technologies, and in particular, to a method and an apparatus for displaying information in a game, and a terminal device. Background At present, in shooting games, a more real shooting experience is brought to a player, a real bullet flight track is generally simulated, a certain difference exists between a shooting aiming point and an actual bullet drop point, and the game difficulty of the player is increased to a certain extent. Therefore, the auxiliary aiming function proposed by the related art mostly uses algorithms to compensate for short plates of technologies operated by the player, such as expanding the detection radius of the bullet, changing the movement path of the bullet, locking enemies using image recognition technology, etc., but the auxiliary aiming function just uses external force to correct the operation defect of the player, the operation technology of the player is still not improved actually, and the shooting experience of the player is also distorted. Disclosure of Invention Accordingly, an object of the present disclosure is to provide a method, an apparatus, and a terminal device for displaying information in a game, which can assist a player to raise an operation level thereof on the premise of ensuring shooting experience of the player. According to a first aspect, an embodiment of the disclosure provides a method for displaying information in a game, a graphical user interface is provided through a terminal device, a game image displayed by the graphical user interface at least comprises a part of virtual scenes, an aiming interface is displayed according to accessory props of target virtual shooting props, aiming interface comprises aiming marks corresponding to the accessory props, shooting targets located in the virtual scenes are determined, drop point position information is determined according to relative position relations between the target virtual shooting props and the shooting targets, the drop point position information is used for representing shooting positions of predicted sub props of the target virtual shooting props in the game scenes, and drop point marks corresponding to the drop point position information are controlled to be displayed in the aiming interface. In one embodiment, the step of displaying the aiming interface according to the accessory prop of the target virtual shooting prop comprises the steps of providing at least one candidate virtual shooting prop through the graphical user interface, responding to the selection operation aiming at the candidate virtual shooting prop, determining the target virtual shooting prop, judging whether the prop type of the target virtual shooting prop belongs to a preset prop type or not, and displaying the aiming interface according to the accessory prop of the target virtual shooting prop if the prop type of the target virtual shooting prop belongs to the preset prop type. In one embodiment, the step of determining the drop point position information according to the relative position relation between the target virtual shooting prop and the shooting target comprises the steps of determining a first shooting angle of the target virtual shooting prop in response to shooting adjustment operation for the target virtual shooting prop, obtaining preset parameters, wherein the preset parameters comprise friction coefficients, gravity parameters and shooting initial speed parameters, calculating the relative position relation between the target virtual shooting prop and the shooting target according to the first shooting angle and the preset parameters, and determining the drop point position information according to the relative position relation. In one embodiment, the step of calculating the relative position relation between the target virtual shooting prop and the shooting target according to the first shooting angle and the preset parameter comprises the steps of calculating a first horizontal distance value between a designated part of the target virtual shooting prop and the shooting target according to the first shooting angle, the friction coefficient and the shooting initial speed parameter, and calculating a vertical distance value between the shooting position and the designated part according to the first shooting angle, the gravity parameter and the shooting initial speed parameter, wherein the relative position relation comprises the first horizontal distance value and/or the vertical distance value. In one embodiment, the step of controlling to display the drop point identification corresponding to the drop point position information in the aiming interface comprises the steps of obtaining a second horizontal distance value between a virtual camera of the virtual scene and the accessory prop, wherein the virtual camera shoots the virtual scene at a first per