CN116899220A - Track display method and device, storage medium and electronic equipment - Google Patents

Track display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116899220A
CN116899220A CN202311006992.4A CN202311006992A CN116899220A CN 116899220 A CN116899220 A CN 116899220A CN 202311006992 A CN202311006992 A CN 202311006992A CN 116899220 A CN116899220 A CN 116899220A
Authority
CN
China
Prior art keywords
track
flight
target
observation
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311006992.4A
Other languages
Chinese (zh)
Inventor
陈孝峰
凌华
王靖斌
刘纯一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202311006992.4A priority Critical patent/CN116899220A/en
Publication of CN116899220A publication Critical patent/CN116899220A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/577Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8082Virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a track display method and device, a storage medium and electronic equipment. Wherein the method comprises the following steps: displaying a picture in an observation visual field range of the first virtual operation object on a display interface; responding to target control operation executed on the display interface, and controlling the first virtual operation object to throw target virtual props in the observation field of view; determining a flight path of the thrown target virtual prop; and displaying the first section of sub-track of which the flight track is positioned in the observation blind area in the observation field according to a first track pattern, and displaying the second section of sub-track of which the flight track is positioned outside the observation blind area according to a second track pattern. The invention solves the technical problem that the track display mode is single.

Description

Track display method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a track display method, a track display device, a storage medium, and an electronic apparatus.
Background
In the current game, when the two parties are opposite in battle firepower and cannot win, if one party can use a virtual prop which can be thrown and kill the enemy, the winning rate can be greatly increased, more currently used mines are mines, and the mines can kill a certain range after being thrown to the enemy battle, so that the enemy loses blood volume, and further the opening of winning notches by the me is facilitated.
However, in the related art, if the virtual prop is thrown to an obstacle or the line of sight of the player is blocked by elements such as smoke, the player cannot know the complete track of the virtual prop after being thrown because of a single track display mode. Therefore, the related art has a problem that the track display mode is single.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a track display method and device, a storage medium and electronic equipment, which are used for at least solving the technical problem that a track display mode is single.
According to an aspect of an embodiment of the present invention, there is provided a track display method including: displaying a picture in an observation visual field range of the first virtual operation object on a display interface; controlling the first virtual operation object to throw a target virtual prop in the observation field in response to a target control operation executed on the display interface; determining the flying trace of the thrown target virtual prop; and displaying a first section of sub-track of the flight track in the observation blind area in the observation view field according to a first track pattern, and displaying a second section of sub-track of the flight track outside the observation blind area according to a second track pattern.
According to another aspect of the embodiment of the present invention, there is also provided a track display apparatus including: a first display unit configured to display a screen within an observation field of view of a first virtual operation object in a display interface; a control unit configured to control the first virtual operation object to throw a target virtual prop in the observation field in response to a target control operation performed on the display interface; the first determining unit is used for determining the flight path of the thrown target virtual prop; and the second display unit is used for displaying the first section of sub-track of which the flight track is positioned in the observation blind area in the observation visual field according to a first track pattern, and displaying the second section of sub-track of which the flight track is positioned outside the observation blind area according to a second track pattern.
As an alternative, the method further comprises: the second determining unit is used for determining the special effect of the thrown object after the first virtual operation object is controlled to throw the object virtual object in the observation field; the third display unit is used for displaying the special effects of the props in the observation blind area according to a first special effect pattern after the first virtual operation object is controlled to throw the target virtual props in the observation field; or displaying the special effect of the prop outside the observation blind area according to a second special effect pattern.
As an alternative, the apparatus further includes: a fourth display unit configured to display a target obstacle in the display interface, wherein the target obstacle is an obstacle object that blocks a target line of sight of the first virtual operation object; and a fifth display unit configured to display a third segment of the sub-track of the flight track that is obstructed by the target obstacle in the first track pattern, and display a fourth segment of the sub-track of the flight track that is not obstructed by the target obstacle in the second track pattern, wherein the flight track that generates an intersection with the target line of sight is allowed to be displayed.
As an alternative, the method further comprises: a third determining unit configured to determine, after the first virtual operation object is controlled to throw the target virtual prop in the observation field, a prop special effect after the target virtual prop is thrown; a sixth display unit configured to display, in a first special effect pattern, the special effect of the prop blocked by the target obstacle after the first virtual operation object is controlled to throw the target virtual prop in the observation field; or displaying the special effect of the prop which is not obstructed by the target obstacle according to a second special effect pattern.
As an alternative, the apparatus further includes: and a seventh display unit, configured to display a third segment of sub-track with a target flight track located in the observation blind area according to a first track pattern, and display a fourth segment of sub-track with the target flight track located outside the observation blind area according to a second track pattern, where the target flight track is a track after the second virtual operation object is controlled to throw the virtual prop, and the first virtual operation object and the second virtual operation object are in the same camping.
As an alternative, the first determining unit includes: the acquisition module is used for acquiring at least two candidate flight tracks deployed for the target virtual prop, wherein the display patterns of each candidate flight track in the at least two candidate flight tracks are different, and the display patterns of the candidate flight tracks comprise the first track pattern and the second track pattern; and the determining module is used for determining the flight track according to the at least two candidate flight tracks.
As an alternative, the determining module includes: a first determining sub-module, configured to determine that, when the flight trajectory meets a first rendering condition, the flight trajectory performs rendering display according to a display style of a first candidate flight trajectory, where the at least two candidate flight trajectories include the first candidate flight trajectory, the display style of the first candidate flight trajectory includes the first trajectory style, and the first rendering condition is that the flight trajectory passes a depth test, and the depth test is used to test whether the flight trajectory is located in the observation blind area; and the second determining submodule is used for determining that the flight track is rendered and displayed according to a display mode of a second candidate flight track under the condition that the flight track meets a second rendering condition, wherein the at least two candidate flight tracks comprise the second candidate flight track, the display mode of the second candidate flight track comprises the second track mode, and the second rendering condition is that the flight track fails a depth test.
As an alternative, the apparatus further includes: an eighth display unit configured to display a target obstacle in the display interface, wherein the target obstacle is an obstacle object that blocks a target line of sight of the first virtual operation object; a calling unit, configured to call, when the flight trajectory is blocked by the target obstacle for display, a first candidate flight trajectory of the first trajectory pattern to be displayed as the first segment sub-trajectory; and when the flight path is not blocked by the target obstacle to be displayed, calling a second candidate flight path of the second path pattern to be displayed as the second segment sub-path.
As an alternative, it includes: a fourth determining unit configured to determine a target transparency according to a line of sight obstruction value of the observation blind area after the determination of the flying trace after the throwing of the target virtual prop, wherein the line of sight obstruction value is used to represent a degree of obstruction of the line of sight of the first virtual operation object by the observation blind area; and a ninth display unit, configured to display, according to the target transparency, the first segment of sub-track of the flight track that is located in the observation blind area after the determined flight track of the target virtual prop after being thrown.
As an alternative, it includes: a fifth determination unit configured to acquire a blocking object associated with the observation blind area, the blocking object being set to block a line of sight of the first virtual operation object, before determining the target transparency according to a line of sight blocking value of the observation blind area, the observation blind area being an area within the observation field of view in which the line of sight is blocked by the blocking object; a sixth determining unit configured to obtain a basic attribute of the obstructing object before determining the target transparency according to the sight-line obstructing value of the observation blind area, where the basic attribute includes at least one of: material property, type property, quantity property; and a seventh determining unit configured to determine the view blocking value according to the base attribute before determining the target transparency according to the view blocking value of the observation blind area.
According to yet another aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the trajectory display method as above.
According to still another aspect of the embodiment of the present invention, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the track display method described above through the computer program.
In the embodiment of the invention, a picture in an observation visual field range of a first virtual operation object is displayed in a display interface; controlling the first virtual operation object to throw a target virtual prop in the observation field in response to a target control operation executed on the display interface; determining the flying trace of the thrown target virtual prop; the first section of sub-track of the flight track in the observation blind area in the observation view field is displayed according to the first track pattern, the second section of sub-track of the flight track outside the observation blind area is displayed according to the second track pattern, the multi-pattern display mode is provided for the multi-section of sub-track in the observation blind area and outside the observation blind area, and then the purpose of displaying the flight track after the virtual prop is thrown in a more diverse mode is achieved, so that the technical effect of improving the display diversity of the track is achieved, and the technical problem that the display mode of the track is single is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic illustration of an application environment of an alternative track display method according to an embodiment of the present application;
FIG. 2 is a schematic illustration of a flow of an alternative track display method according to an embodiment of the application;
FIG. 3 is a schematic diagram of an alternative track display method according to an embodiment of the application;
FIG. 4 is a schematic diagram of another alternative track display method according to an embodiment of the application;
FIG. 5 is a schematic diagram of another alternative track display method according to an embodiment of the application;
FIG. 6 is a schematic diagram of another alternative track display method according to an embodiment of the application;
FIG. 7 is a schematic diagram of another alternative track display method according to an embodiment of the application;
FIG. 8 is a schematic diagram of another alternative track display method according to an embodiment of the application;
FIG. 9 is a schematic diagram of another alternative track display method according to an embodiment of the application;
FIG. 10 is a schematic diagram of an alternative track display device according to an embodiment of the invention;
fig. 11 is a schematic structural view of an alternative electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, there is provided a track display method, optionally, as an alternative implementation, the track display method may be applied, but not limited to, in the environment shown in fig. 1. Including but not limited to a user device 102, a network 110, and a server 112, where the user device 102 may include but is not limited to a display 108, a processor 106, and a memory 104.
The specific process comprises the following steps:
step S102, the user equipment 102 obtains a target control operation, where the target control operation is used to control the first virtual operation object (e.g. object a) to throw the target virtual prop (e.g. grenade) in the observation field;
steps S104-S106, the user equipment 102 sends the target control operation to the server 112 through the network 110;
step S108, the server 112 processes the target control operation through the database 114, so as to generate a flight path of the thrown target virtual prop;
in steps S110-S112, the server 112 sends the flight trajectory to the user device 102 over the network 110, and the processor 106 in the user device 102 displays the flight trajectory in the display 108 and stores the flight trajectory in the memory 104.
In addition to the example shown in fig. 1, the above steps may be performed independently by the user device 102, i.e., the steps of generating a flight trajectory, etc. are performed by the user device 102, thereby relieving the processing pressure of the server. The user device 102 includes, but is not limited to, a handheld device (e.g., a mobile phone), a notebook computer, a desktop computer, a vehicle-mounted device, etc., and the invention is not limited to a particular implementation of the user device 102.
Optionally, as an alternative embodiment, as shown in fig. 2, the track display method includes:
s202, displaying a picture in an observation visual field range of a first virtual operation object on a display interface;
s204, in response to target control operation executed on the display interface, controlling the first virtual operation object to throw target virtual props in the observation field of view;
s206, determining a flight path of the thrown target virtual prop;
and S208, displaying a first section of sub-track of which the flight track is positioned in the observation blind area in the observation field of view according to a first track pattern, and displaying a second section of sub-track of which the flight track is positioned outside the observation blind area according to a second track pattern.
Alternatively, in the present embodiment, the above-described trajectory display method may be applied to, but is not limited to, a target game application; alternatively, the target game application may include, but is not limited to, all games involving, but not limited to, a first person shooter game, a third person shooter game, and the like, using a heat weapon class for remote attacks. Among other things, the target shooting application may be a multiplayer online tactical Game (Multiplayer Online Battle Arena abbreviated MOBA) or a Single Player Game (SPG). It should be noted that the types of the above game applications may include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual Reality (VR) game applications, augmented Reality (Augmented Reality AR) game applications, mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited in any way.
Alternatively, in this embodiment, the target game application may, but is not limited to, log in by the target account number into a target shooting application running in the game client, and control the first virtual operation object by the target account number. That is, the player logs in to the target shooting application running in the game client through the account number, and controls the first virtual operation object. And displaying a game picture of the target shooting game in a display interface of the mobile terminal where the client running the target shooting application is located, and displaying the target virtual prop in the game picture. The target virtual prop can be, but is not limited to, a shape such as a combustion bomb, a mine, or a smoke bomb.
Optionally, in this embodiment, the first track pattern and the second track pattern are used to represent two different track patterns, and the first track pattern and the second track pattern are described for convenience of description and are not particularly limited. Similarly, the first segment sub-track and the second segment sub-track are used to represent two tracks belonging to the same flight track but different from each other, and the first and second tracks are described for convenience of explanation and are not limited to the display sequence of the sub-tracks.
Optionally, in this embodiment, the view field range of the first virtual operation object may be, but is not limited to, a maximum area range that can be reached by the line of sight of the first virtual operation object, for example, fig. 3 shows a top view of a game scene where the first virtual operation object 302 is located, and fig. 3 shows the view field range 304 as a maximum range that can be currently referred to by the line of sight of the first virtual operation object 302.
Alternatively, in the present embodiment, the view field range may be divided into, but not limited to, a view blind area and a non-view blind area, as shown based on the scene shown in fig. 3, continuing to be shown in fig. 4, for example, assuming that an obstacle 402 exists in the view field range 304 and the obstacle 402 is set to obstruct the line of sight of the first virtual operation object 302, under the obstruction of the line of sight of the obstacle 402, a view blind area 404 associated with the obstacle 402 exists in the view field range 304, and the view blind area 404 is an area where the line of sight is obstructed for the first virtual operation object 302; whereas the non-view blind areas are other visible areas of the view field 304 than the view blind areas 404.
Optionally, in this embodiment, in addition to the view obstruction caused by the obstruction, the view obstruction may be generated by, but not limited to, a view obstruction caused by some elements with obstruction properties, as shown in fig. 5, where, assuming that the virtual smoke 502 exists in the view field range 304 and the virtual smoke 502 is set to obstruct the view of the first virtual operation object 302, under the view obstruction of the virtual smoke 502, the view obstruction 504 associated with the virtual smoke 502 exists in the view field range 304, and the view obstruction 504 is the area where the view is obstructed for the first virtual operation object 302; whereas the non-view blind areas are other visible areas of the view field 304 than the view blind areas 504.
Optionally, in this embodiment, the flight path of the thrown target virtual prop is, as based on the scene shown in fig. 4, and as further shown in fig. 6, the flight path of the thrown target virtual prop is divided into a first segment sub-path 602 and a second segment sub-path 604, and the display patterns of the first segment sub-path 602 and the second segment sub-path 604 are obviously different; alternatively, the flight paths in the observation blind area 404 are displayed according to a first path pattern (e.g., the first segment sub-path 602), and the flight paths outside the observation blind area 404 are displayed according to a second path pattern (e.g., the second segment sub-path 604).
The display interface displays a screen within the observation field of view of the first virtual operation object; responding to target control operation executed on the display interface, and controlling the first virtual operation object to throw target virtual props in the observation field of view; determining a flight path of the thrown target virtual prop; and displaying the first section of sub-track of which the flight track is positioned in the observation blind area in the observation field according to a first track pattern, and displaying the second section of sub-track of which the flight track is positioned outside the observation blind area according to a second track pattern.
Further by way of example, as shown in fig. 7, an optional example is to display a screen within the field of view of the first virtual operation object 702; assuming that a target control operation is acquired, further responding to the target control operation, and further controlling the first virtual operation object 702 to throw the target virtual prop 704 in the observation field; the projected flight trajectory of the target virtual prop 704 may be understood as being composed of a first sub-trajectory 708 and a second sub-trajectory 710 shown in fig. 7, wherein the first sub-trajectory 708 is located in the observation blind zone 706 in the observation field of view and is displayed in a first trajectory pattern (indicated by a dotted line); the second sub-track 710 is located outside the observation blind zone 706 in the observation field and is displayed in a second track pattern (indicated by solid lines). Further, in the scenario illustrated in fig. 7, the observation blind area 706 may be, but is not limited to, an area within a visual field that is not reachable by the target obstacle 714 from which the line of sight 712 of the first virtual operation object 702 is blocked.
By the embodiment provided by the application, the picture in the observation visual field range of the first virtual operation object is displayed in the display interface; responding to target control operation executed on the display interface, and controlling the first virtual operation object to throw target virtual props in the observation field of view; determining a flight path of the thrown target virtual prop; the method comprises the steps of displaying a first section of sub-track in an observation blind area of a flight track in an observation view according to a first track pattern, displaying a second section of sub-track outside the observation blind area of the flight track according to a second track pattern, and providing a multi-pattern display mode for a plurality of sections of sub-tracks in the observation blind area and outside the observation blind area, so that the purpose of displaying the flight track of a virtual prop after being thrown in a more various mode is achieved, and the technical effect of improving the display diversity of the track is achieved.
As an alternative, after controlling the first virtual operation object to throw the target virtual prop in the observation field, the method further includes:
s1, determining a special prop effect of a thrown target virtual prop;
s2, displaying the special effect of the prop in the observation blind area according to a first special effect pattern; or displaying the special effect of the prop positioned outside the observation blind area according to the second special effect pattern.
Optionally, in this embodiment, the special prop effect may be, but not limited to, related to a prop type of the target virtual prop, if the target virtual prop is a prop type of an attack, the special prop effect may be, but not limited to, a killing effect that is shown when the target virtual prop is effective, such as a loss of enemy blood volume after hitting an enemy, or the like.
It should be noted that, in general, the special effect of the prop located in the observation blind area cannot be displayed due to the obstruction of the line of sight of the blind area, but in this embodiment, in order to improve the display diversity of the special effect of the prop, the special effect of the prop located in the observation blind area may be, but is not limited to, displayed according to the first special effect style.
According to the embodiment provided by the application, the special effect of the thrown target virtual prop is determined; displaying the special effect of the prop in the observation blind area according to a first special effect pattern; or, the special effect of the prop positioned outside the observation blind area is displayed according to the second special effect pattern, so that the effect of improving the display diversity of the special effect of the prop is realized.
As an alternative, the method further comprises:
s1, displaying a target obstacle in a display interface, wherein the target obstacle is an obstacle object which blocks the target sight line of a first virtual operation object;
S2, displaying a third section of sub-track of the flight track which is blocked by the target obstacle according to the first track pattern, and displaying a fourth section of sub-track of the flight track which is not blocked by the target obstacle according to the second track pattern, wherein the flight track which generates an intersection point with the target sight is allowed to be displayed.
The target obstacle is displayed on the display interface, wherein the target obstacle is an obstacle object that blocks the target line of sight of the first virtual operation object; and displaying a third section of sub-track of the flight track which is blocked by the target obstacle according to the first track pattern, and displaying a fourth section of sub-track of the flight track which is not blocked by the target obstacle according to the second track pattern, wherein the flight track which generates an intersection point with the target sight is allowed to be displayed.
Further by way of example, an optional display of an obstacle 402 in a display interface, such as shown in FIG. 6; a sub-track of the flight path that would be obstructed by the obstruction 402 (e.g., the first segment sub-track 406) is displayed in a first track pattern and a sub-track of the flight path that would not be obstructed by the obstruction 402 (e.g., the second segment sub-track 604) is displayed in a second track pattern.
As an alternative, after controlling the first virtual operation object to throw the target virtual prop in the observation field, the method further includes:
s1, determining a special prop effect of a thrown target virtual prop;
s2, displaying the special effect of the prop which is blocked by the target obstacle to be displayed according to a first special effect pattern; or displaying the special effect of the prop which is not blocked by the target obstacle according to the second special effect pattern.
The method includes the steps that the special effect of the thrown virtual prop is determined; displaying the special effect of the prop which is blocked by the target obstacle to be displayed according to a first special effect pattern; or displaying the special effect of the prop which is not blocked by the target obstacle according to the second special effect pattern.
Further by way of example, an alternative is to determine the special effect of the prop after the target virtual prop is thrown, such as shown in fig. 6; displaying the special effects of the props blocked by the barrier 402 according to a first special effect pattern; or, the special effects of the props which are not blocked by the barrier 402 are displayed according to the second special effect pattern.
As an alternative, the method further comprises:
displaying a third section of sub-track of the target flight track in the observation blind area according to a first track pattern, and displaying a fourth section of sub-track of the target flight track outside the observation blind area according to a second track pattern, wherein the target flight track is a track of a second virtual operation object controlled to throw the virtual prop, and the first virtual operation object and the second virtual operation object are in the same camping.
It should be noted that, the track display method may be used not only for the first virtual operation object currently controlled by the player, but also for a virtual operation object in the same camping as the first virtual operation object, if it is assumed that the first virtual operation object is controlled by the first client, the second virtual operation object is controlled by the second client, and the first virtual operation object and the second virtual operation object are in the same camping, then when the first segment sub-track of the flight track in the observation blind area in the observation field is displayed according to the first track style, and the second segment sub-track of the flight track outside the observation blind area is displayed according to the second track style, the first segment sub-track is not only displayed on the first client, but also displayed on the second client; similarly, when the third section of sub-track of the target flight track positioned in the observation blind area is displayed according to the first track pattern and the fourth section of sub-track of the target flight track positioned outside the observation blind area is displayed according to the second track pattern, the third section of sub-track is displayed on the second client side and the first client side, and the comprehensive effect of track display is further achieved.
As an alternative, determining the flight trajectory of the target virtual prop after being thrown includes:
s1, acquiring at least two candidate flight tracks deployed for a target virtual prop, wherein the display patterns of each candidate flight track in the at least two candidate flight tracks are different, and the display patterns of the candidate flight tracks comprise a first track pattern and a second track pattern;
s2, determining the flight trajectory according to at least two candidate flight trajectories.
Optionally, in this embodiment, the at least two candidate flight trajectories deployed for the target virtual prop may be, but not limited to, configured with a plurality of candidate flight trajectories before displaying the flight trajectories, where the plurality of candidate flight trajectories may include, but not limited to, a first segment sub-trajectory and a second segment sub-trajectory, and further search among the plurality of candidate flight trajectories under different conditions, and select, as the first segment sub-trajectory or the second segment sub-trajectory, the candidate flight trajectory that best satisfies the current situation.
As an alternative, determining the flight trajectory from at least two candidate flight trajectories includes:
under the condition that the flight trajectory meets a first rendering condition, determining that the flight trajectory is rendered and displayed according to a display pattern of a first candidate flight trajectory, wherein at least two candidate flight trajectories comprise the first candidate flight trajectory, the display pattern of the first candidate flight trajectory comprises a first trajectory pattern, the first rendering condition is that the flight trajectory passes a depth test, and the depth test is used for testing whether the flight trajectory is located in an observation blind area or not;
And under the condition that the flight trajectory meets the second rendering condition, determining that the flight trajectory is rendered and displayed according to the display pattern of the second candidate flight trajectory, wherein at least two candidate flight trajectories comprise the second candidate flight trajectory, the display pattern of the second candidate flight trajectory comprises the second trajectory pattern, and the second rendering condition is that the flight trajectory fails the depth test.
Optionally, in this embodiment, the at least two candidate flight trajectories deployed for the target virtual prop may be, but not limited to, configured with dual or even multiple rendering states in the same particle system, for example, one is a material in a normal rendering state (the second trajectory pattern) and the other is a material in a changing rendering state (the first trajectory pattern), and when the depth test determines that the target virtual prop in the flight process is blocked from view, the particle rendering state is changed, so that the purpose that the flight trajectories can still be displayed after the target virtual prop is blocked from view is achieved. Because the transparent material in the UE4 is written in by closing the depth, an interface can be added to the material to set a rendering state for changing the transparent material, so that the depth comparison state is changed to cf_depthfarthers, and a state opposite to the normal rendering state is achieved.
In addition, in the present embodiment, the material rendering state of the target virtual prop is set so as to render only when blocked by the line of sight, so only the track logic needs to be kept consistent. The method is equivalent to drawing two throwing object tracks (at least two candidate flight tracks deployed for a target virtual prop) each time, namely, drawing normal tracks without line of sight obstruction and drawing tracks with line of sight obstruction. Rendering materials that do not have line of sight obstruction do not appear because the depth test is normal; rendered material with line of sight obstruction will only appear because the depth test is reversed. Where the depth test is enabled, the depth value of a fragment is compared to the contents of the depth buffer (to prevent the blocked surface from rendering in front of the other surface), if the test passes (e.g., the depth value is greater or less), the depth buffer will be updated to a new depth value (display), and if the depth test fails, the fragment will be discarded (not shown).
As an alternative, the method further comprises:
s1, displaying a target obstacle in a display interface, wherein the target obstacle is an obstacle object which blocks the target sight line of a first virtual operation object;
s2, when the flight track is blocked by a target obstacle to be displayed, a first candidate flight track of a first track pattern is called to be displayed as a first segment of sub-track; and when the flight trajectory is not blocked by the target obstacle to be displayed, calling a second candidate flight trajectory of a second trajectory pattern to be displayed as a second segment of sub-trajectory.
Alternatively, in the present embodiment, it is assumed that the depth value of the target obstacle is 10, and the target obstacle is taken as a reference object, and if the depth value of the track to be displayed is greater than the depth value of the reference object, it is further preset that the depth test is passed, otherwise the depth test is not passed; and when the depth test is not passed, a second candidate flight track of the second track pattern is called to be displayed as a second section sub-track, and when the depth test is passed, a first candidate flight track of the first track pattern is called to be displayed as a first section sub-track;
further by way of example, when the flight trajectory is not obstructed by the target obstacle for display, assuming that the depth value of the flight trajectory is 5, is less than the depth value of the target obstacle by 10, and further fails the depth test, invoking a second candidate flight trajectory of the second trajectory pattern for display as a second segment of sub-trajectory; when the flight track is blocked by the target obstacle to be displayed, the depth value of the flight track is assumed to be 15, the depth value of the flight track is greater than that of the target obstacle to be 10, and then the first candidate flight track of the first track pattern is called to be displayed as a first segment of sub-track through a depth test.
As an alternative, after determining the flight trajectory of the target virtual prop after being thrown, it includes:
s1, determining target transparency according to a sight obstruction value of the observation blind area, wherein the sight obstruction value is used for indicating obstruction degree of the observation blind area to the sight of the first virtual operation object;
s2, displaying the first section of sub-track of the flight track in the observation blind area according to the target transparency.
Alternatively, in the present embodiment, the view blocking value of the observation blind area may be, but not limited to, an object thickness, an object material, or the like of the target obstacle, and may be, but not limited to, an obstacle attribute of the obstacle element (e.g., there is a difference in the obstacle attribute of the smoke bullet and the flash bullet).
Alternatively, in the present embodiment, in addition to determining the target transparency according to the line-of-sight blocking value of the observation blind area, the color, shape, thickness, or the like of the sub-track displayed when the flight track is located within the observation blind area may be determined according to the line-of-sight blocking value of the observation blind area, but not limited thereto. And are not limited herein.
As an alternative, before determining the target transparency according to the gaze obstruction value of the observation blind area, the method includes:
s1, acquiring a blocking object associated with a viewing blind area, wherein the blocking object is set to block the sight of a first virtual operation object, and the viewing blind area is a region generated by the blocking object blocking the sight in the viewing field;
S2, acquiring basic attributes of the blocking object, wherein the basic attributes comprise at least one of the following: material property, type property, quantity property;
s3, determining a sight obstruction value according to the basic attribute.
Alternatively, in the present embodiment, the obstructing object may be, but is not limited to, a collision body that can obstruct the line of sight, such as a wall, a building, a mountain stone, a tree, or the like, and may be, but is not limited to, an element, such as water, fire, gas, or the like. Under different scenes, various types of different obstructing objects can exist, for example, a wall body can be used as a fire shield, and gas can play a tactical role under the release of a smoke bomb and the like.
Optionally, in this embodiment, the basic attribute includes at least one of: the material property, the type property and the quantity property, wherein the material property is exemplified by a wall body, and the material of the wooden wall is weaker than that of the iron wall under the normal condition, so that the sight obstruction value corresponding to the wooden wall can be lower than that corresponding to the iron wall; the type attribute is exemplified by smoke, and smoke bullets obtained by paying more virtual resources generally have stronger smoke masking effects, and the corresponding sight obstruction values are higher; the number attribute is described by taking an obstacle as an example, in the same path, an obstacle with a target material exists, and compared with an obstacle with a plurality of target materials, the vision obstruction value corresponding to one block is lower than the vision obstruction value corresponding to a plurality of blocks, or the vision obstruction values corresponding to a plurality of blocks are in positive correlation with the number of blocks.
As an alternative, for easy understanding, the trajectory display method is applied to shooting games, and when a player uses a throwing object (or similar effect skills), the throwing object presents a parabolic flight trajectory after leaving the hand until collision in order to simulate the actual conditions of kinetic energy, gravity and the like.
In the shooting game of the related art, when a projectile (or a similar skill) flies behind an obstacle (i.e., a player and the projectile are located on both sides of the obstacle), the player cannot know the flight trajectory and collision of the projectile.
Optionally, in this embodiment, a material is created that allows different materials to be presented in front of and behind the obstacle, for displaying the trailing of the track of the projectile so that the player can learn the specific track and collision of the projectile (or similar effect skills) flying behind the obstacle (i.e., the player and projectile are on opposite sides of the obstacle).
Further by way of example, optionally after the player throws the projectile (or using similar effect skills), the trajectory of the projectile before and after the obstacle is displayed to the player, but through a different trajectory representation. Under normal conditions, the flier trajectory of the throwing object is directly shown to the player; when the throwing object flies to the rear of the obstacle (namely, the player and the throwing object are positioned at two sides of the obstacle), the sight of the player is shielded by the obstacle at the moment, and the flying track of the throwing object cannot be seen, but through the embodiment, the flying track of the throwing object cannot be shielded by the obstacle, but can be converted into another expression form, the throwing object penetrates through the obstacle to be shown to the player, and when the throwing object collides, the collision effect of the throwing object is also shown to the player at the other side of the obstacle, so that the player can clearly know the specific track and the collision condition of the throwing object behind the obstacle.
Moreover, as shown in fig. 8, the incremental experience and benefits brought to the player at the product side in this embodiment are provided in the CODE V by using the scheme of providing the flight path of the throwing object of the player behind the obstacle by using special materials, so that the player can quickly understand the action mechanism of the throwing object and give the player a richer operational feeling, and the throwing object system which is easy to get up and understand and has sufficient practice and technical grinding space is provided for the player; moreover, for a designer on the research side, through collecting and analyzing the use times and specific use conditions of different throws of a player, the skill design adjustment and differentiation of the space of the throws are ensured to be sufficient for the skill designer, and the trajectory representation of the throws (or similar skill effects) which accord with the world view setting is easier to make; meanwhile, the player needs to learn to rapidly conduct tactical deployment by focusing on the flight position and collision condition of the throwing object, the process is progressive, and finally, the player can design tactics by combining prop and character skills in the game process, enrich own playing ways and bring more diversified experiences to the game; on the other hand, the research and development side can also adjust the map model based on the method, so that a deeper game experience is brought to the player.
Optionally, in this embodiment, for displaying the flight trajectory of the throwing object, the method of writing the custom depth may be started to resample the scenedept in the material to make a comparison before and after judgment, but doing so at the mobile end increases bandwidth consumption;
optionally, in this embodiment, more props or character skills are added, such as shielding the projectile flight trajectory, interfering with the trajectory display, etc., so that players learn to use more complex props or skills to incorporate tactics, thereby achieving the possibility of props and skill vending and commercial design;
alternatively, in the present embodiment, the addition of a projectile or character skill shows a reduced flight trajectory and impact effect due to the obstacle material, thickness, etc., giving the player more variability to the game.
Further illustrating a specific flow of the object rendering state determination behind the obstacle as shown in fig. 9, the steps are as follows:
step S902, a player throws a projectile (or uses similar effect skills);
step S904-1, deploying a normal track of the projectile in front of the obstacle;
step S904-2, deploying a rendering track of the thrower behind the obstacle;
step S906, judging whether an obstacle exists between the player and the throwing object, if yes, executing step S908-2, and if not, executing step S908-1;
Step S908-1, displaying a normal trajectory of a pre-deployed projectile in front of an obstacle;
step S908-2, displaying a rendering track of a pre-deployed projectile behind an obstacle;
step S910, obtaining a completed track curve;
step S912, displaying the track of the throwing object in different patterns in front of and behind the obstacle.
Optionally, in this embodiment, the rendering state of the throwing material is set to render only after the obstacle, so only the trajectory logic needs to be kept consistent. The method is equivalent to drawing two throwing object tracks each time, namely drawing a normal track in front of the obstacle and drawing a rendering track behind the obstacle. Rendering materials behind the barrier cannot appear when the barrier is not shielded, because the depth test is normal; the rendering material behind will appear when occluded because the depth test is reversed. On this basis, the possibility of providing the track of the throwing object of the player behind the obstacle by a special material is realized.
According to the embodiment, the flight path and collision condition of the throwing object behind the obstacle can be intuitively seen, a player can objectively and quickly form a certain cognition on the using method of the throwing object, and the game experience which is easy to get up and difficult to be mastered is obtained by continuously practicing and applying proficiency and designing tactics according to the skill; on the premise of unchanged base settings such as playing methods, maps and the like, the map game depth of a player can be increased on the basis of not increasing the operation difficulty of the mobile terminal, so that tactical game fun in shooting hand tour is enhanced; the above mechanism provides greater projectile and related skill design space for the developer-side designer, and better related system extensibility.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of the embodiment of the present invention, there is also provided a track display device for implementing the track display method described above. As shown in fig. 10, the apparatus includes:
a first display unit 1002 for displaying a screen within an observation field of view of a first virtual operation object in a display interface;
a control unit 1004 for controlling the first virtual operation object to throw the target virtual prop in the observation field in response to a target control operation performed on the display interface;
a first determining unit 1006, configured to determine a flight trajectory of the thrown target virtual prop;
and the second display unit 1008 is configured to display a first segment of sub-track that is located in the observation blind area in the observation field according to the first track pattern, and display a second segment of sub-track that is located outside the observation blind area according to the second track pattern.
Alternatively, in the present embodiment, the track display device described above may be applied to, but is not limited to, a target game application; alternatively, the target game application may include, but is not limited to, all games involving, but not limited to, a first person shooter game, a third person shooter game, and the like, using a heat weapon class for remote attacks. Among other things, the target shooting application may be a multiplayer online tactical Game (Multiplayer Online Battle Arena abbreviated MOBA) or a Single Player Game (SPG). It should be noted that the types of the above game applications may include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual Reality (VR) game applications, augmented Reality (Augmented Reality AR) game applications, mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited in any way.
Alternatively, in this embodiment, the target game application may, but is not limited to, log in by the target account number into a target shooting application running in the game client, and control the first virtual operation object by the target account number. That is, the player logs in to the target shooting application running in the game client through the account number, and controls the first virtual operation object. And displaying a game picture of the target shooting game in a display interface of the mobile terminal where the client running the target shooting application is located, and displaying the target virtual prop in the game picture. The target virtual prop can be, but is not limited to, a shape such as a combustion bomb, a mine, or a smoke bomb.
Optionally, in this embodiment, the first track pattern and the second track pattern are used to represent two different track patterns, and the first track pattern and the second track pattern are described for convenience of description and are not particularly limited. Similarly, the first segment sub-track and the second segment sub-track are used to represent two tracks belonging to the same flight track but different from each other, and the first and second tracks are described for convenience of explanation and are not limited to the display sequence of the sub-tracks.
The display interface displays a screen within the observation field of view of the first virtual operation object; responding to target control operation executed on the display interface, and controlling the first virtual operation object to throw target virtual props in the observation field of view; determining a flight path of the thrown target virtual prop; and displaying the first section of sub-track of which the flight track is positioned in the observation blind area in the observation field according to a first track pattern, and displaying the second section of sub-track of which the flight track is positioned outside the observation blind area according to a second track pattern.
Specific embodiments may refer to the examples shown in the track display device, and in this example, they are not described herein.
By the embodiment provided by the application, the picture in the observation visual field range of the first virtual operation object is displayed in the display interface; responding to target control operation executed on the display interface, and controlling the first virtual operation object to throw target virtual props in the observation field of view; determining a flight path of the thrown target virtual prop; the method comprises the steps of displaying a first section of sub-track in an observation blind area of a flight track in an observation view according to a first track pattern, displaying a second section of sub-track outside the observation blind area of the flight track according to a second track pattern, and providing a multi-pattern display mode for a plurality of sections of sub-tracks in the observation blind area and outside the observation blind area, so that the purpose of displaying the flight track of a virtual prop after being thrown in a more various mode is achieved, and the technical effect of improving the display diversity of the track is achieved.
As an alternative, the method further comprises:
the second determining unit is used for determining the special effect of the thrown object of the target virtual object after the first virtual operation object is controlled to throw the target virtual object of the target virtual object in the observation view;
the third display unit is used for displaying the special effect of the prop in the observation blind area according to a first special effect pattern after the first virtual operation object is controlled to throw the target virtual prop in the observation field; or displaying the special effect of the prop positioned outside the observation blind area according to the second special effect pattern.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, the apparatus further includes:
a fourth display unit configured to display a target obstacle in a display interface, wherein the target obstacle is an obstacle object that blocks a target line of sight of the first virtual operation object;
and a fifth display unit for displaying a third segment of sub-track of the flight track which is blocked by the target obstacle according to the first track pattern, and displaying a fourth segment of sub-track of the flight track which is not blocked by the target obstacle according to the second track pattern, wherein the flight track which generates an intersection point with the target sight is allowed to be displayed.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, the method further comprises:
the third determining unit is used for determining the special effect of the thrown object of the target virtual object after controlling the first virtual operation object to throw the target virtual object in the observation view;
a sixth display unit for displaying the special effect of the prop blocked by the target obstacle according to the first special effect pattern after controlling the first virtual operation object to throw the target virtual prop in the observation field; or displaying the special effect of the prop which is not blocked by the target obstacle according to the second special effect pattern.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, the apparatus further includes:
and the seventh display unit is used for displaying a third section of sub-track of the target flight track in the observation blind area according to the first track pattern, and displaying a fourth section of sub-track of the target flight track outside the observation blind area according to the second track pattern, wherein the target flight track is a track of the second virtual operation object after being controlled to throw the virtual prop, and the first virtual operation object and the second virtual operation object are in the same camping.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, the first determining unit 1006 includes:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring at least two candidate flight tracks deployed for a target virtual prop, wherein the display style of each candidate flight track in the at least two candidate flight tracks is different, and the display style of the candidate flight track comprises a first track style and a second track style;
and the determining module is used for determining the flight track according to at least two candidate flight tracks.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, the determining module includes:
the first determining submodule is used for determining that the flight track is rendered and displayed according to the display pattern of the first candidate flight track under the condition that the flight track meets the first rendering condition, wherein at least two candidate flight tracks comprise the first candidate flight track, the display pattern of the first candidate flight track comprises the first track pattern, the first rendering condition is that the flight track passes a depth test, and the depth test is used for testing whether the flight track is located in an observation blind area or not;
The second determining submodule is used for determining that the flight track is rendered and displayed according to a display mode of the second candidate flight track under the condition that the flight track meets a second rendering condition, wherein at least two candidate flight tracks comprise the second candidate flight track, the display mode of the second candidate flight track comprises a second track mode, and the second rendering condition is that the flight track fails the depth test.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, the apparatus further includes:
an eighth display unit configured to display a target obstacle in the display interface, wherein the target obstacle is an obstacle object that blocks a target line of sight of the first virtual operation object;
the calling unit is used for calling a first candidate flight track of the first track pattern to be displayed as a first segment of sub-track when the flight track is blocked by the target obstacle to be displayed; and when the flight trajectory is not blocked by the target obstacle to be displayed, calling a second candidate flight trajectory of a second trajectory pattern to be displayed as a second segment of sub-trajectory.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, it includes:
a fourth determining unit configured to determine, after determining the flight trajectory after the target virtual prop is thrown, a target transparency according to a line-of-sight blocking value of the observation blind area, where the line-of-sight blocking value is used to represent a blocking degree of the line of sight of the first virtual operation object by the observation blind area;
and the ninth display unit is used for displaying the first section of sub-track of the flight track in the observation blind area according to the target transparency after determining the flight track of the thrown target virtual prop.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
As an alternative, it includes:
a fifth determination unit configured to acquire a blocking object associated with a view blind area, which is an area within the view field generated by the blocking object blocking the view line, before determining the target transparency according to the view line blocking value of the view blind area, the blocking object being set to block the view line of the first virtual operation object;
a sixth determining unit configured to acquire a basic attribute of the obstructing object before determining the target transparency according to the gaze obstruction value of the observation blind area, wherein the basic attribute includes at least one of: material property, type property, quantity property;
And a seventh determining unit for determining a vision obstruction value according to the base attribute before determining the target transparency according to the vision obstruction value of the observation blind area.
Specific embodiments may refer to examples shown in the track display method, and in this example, details are not described herein.
According to a further aspect of embodiments of the present invention there is also provided an electronic device for implementing the above-described track display method, as shown in fig. 11, the electronic device comprising a memory 1102 and a processor 1104, the memory 1102 having stored therein a computer program, the processor 1104 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, displaying a picture in an observation visual field range of a first virtual operation object on a display interface;
s2, responding to target control operation executed on a display interface, and controlling a first virtual operation object to throw a target virtual prop in an observation view field;
S3, determining a flight path of the thrown target virtual prop;
and S4, displaying a first section of sub-track of which the flight track is positioned in the observation blind area in the observation visual field according to a first track pattern, and displaying a second section of sub-track of which the flight track is positioned outside the observation blind area according to a second track pattern.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 11 is only schematic, and the electronic device may also be a terminal device such as a smart phone (e.g. an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 11 is not limited to the structure of the electronic device described above. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
The memory 1102 may be used to store software programs and modules, such as program instructions/modules corresponding to the track display method and apparatus in the embodiments of the present invention, and the processor 1104 executes the software programs and modules stored in the memory 1102 to perform various functional applications and data processing, i.e. implement the track display method described above. Memory 1102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 1102 may further include memory located remotely from processor 1104, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1102 may be used for storing information such as target control operations, blind observation regions, and flight trajectories, among others. As an example, as shown in fig. 11, the memory 1102 may include, but is not limited to, a first display unit 1002, a control unit 1004, a first determination unit 1006, and a second display unit 1008 in the track display device. In addition, other module units in the track display device may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 1106 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1106 includes a network adapter (Network Interface Controller, NIC) that may be connected to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 1106 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
In addition, the electronic device further includes: the display 1108 is configured to display the information such as the error touch signal, the touch position, and the detection area; and a connection bus 1110 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. The nodes may form a peer-to-peer network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the peer-to-peer network.
According to one aspect of the present application, there is provided a computer program product comprising a computer program/instruction containing program code for executing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. When executed by a central processing unit, performs various functions provided by embodiments of the present application.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
According to an aspect of the present application, there is provided a computer-readable storage medium, from which a processor of a computer device reads the computer instructions, the processor executing the computer instructions, causing the computer device to execute the above-described trajectory display method.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying a picture in an observation visual field range of a first virtual operation object on a display interface;
s2, responding to target control operation executed on a display interface, and controlling a first virtual operation object to throw a target virtual prop in an observation view field;
S3, determining a flight path of the thrown target virtual prop;
and S4, displaying a first section of sub-track of which the flight track is positioned in the observation blind area in the observation visual field according to a first track pattern, and displaying a second section of sub-track of which the flight track is positioned outside the observation blind area according to a second track pattern.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method of the various embodiments of the present invention.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and are merely a logical functional division, and there may be other manners of dividing the apparatus in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (15)

1. A track display method, comprising:
displaying a picture in an observation visual field range of the first virtual operation object on a display interface;
controlling the first virtual operation object to throw a target virtual prop in the observation field of view in response to target control operation executed on the display interface;
determining the flying trace of the thrown target virtual prop;
and displaying a first section of sub-track of the flight track in the observation blind area in the observation visual field according to a first track pattern, and displaying a second section of sub-track of the flight track outside the observation blind area according to a second track pattern.
2. The method of claim 1, further comprising, after said controlling said first virtual operation object to throw a target virtual prop within said view field of view:
determining the special effect of the thrown prop of the target virtual prop;
displaying the special effect of the prop in the observation blind area according to a first special effect pattern; or displaying the special effect of the prop positioned outside the observation blind area according to a second special effect pattern.
3. The method according to claim 1, wherein the method further comprises:
displaying a target obstacle in the display interface, wherein the target obstacle is an obstacle object obstructing a target line of sight of the first virtual operation object;
displaying the first segment of sub-track which is blocked by the target obstacle according to the first track pattern, and displaying the second segment of sub-track of the flight track which is not blocked by the target obstacle according to the second track pattern, wherein the flight track which generates an intersection point with the target sight is allowed to be displayed.
4. The method of claim 3, further comprising, after said controlling said first virtual operation object to throw a target virtual prop within said field of view:
Determining the special effect of the thrown prop of the target virtual prop;
displaying the special effect of the prop which is blocked by the target obstacle to be displayed according to a first special effect pattern; or displaying the special effect of the prop which is not blocked by the target obstacle according to a second special effect pattern.
5. The method according to claim 1, wherein the method further comprises:
displaying a third section of sub-track of the target flight track in the observation blind area according to a first track pattern, and displaying a fourth section of sub-track of the target flight track outside the observation blind area according to a second track pattern, wherein the target flight track is a track of a second virtual operation object after being controlled to throw virtual props, and the first virtual operation object and the second virtual operation object are in the same camping.
6. The method of claim 1, wherein the determining the projected trajectory of the target virtual prop comprises:
acquiring at least two candidate flight trajectories deployed for the target virtual prop, wherein the display patterns of each candidate flight trajectory in the at least two candidate flight trajectories are different, and the display patterns of the candidate flight trajectories comprise the first trajectory pattern and the second trajectory pattern;
And determining the flight track according to the at least two candidate flight tracks.
7. The method of claim 6, wherein the method further comprises:
displaying a target obstacle in the display interface, wherein the target obstacle is an obstacle object obstructing a target line of sight of the first virtual operation object;
when the flight track is blocked by the target obstacle to be displayed, a first candidate flight track of the first track pattern is called to be displayed as the first segment of sub-track; and when the flight track is not blocked by the target obstacle to be displayed, calling a second candidate flight track of the second track pattern to be displayed as the second segment sub-track.
8. The method of claim 6, wherein said determining said flight trajectory from said at least two candidate flight trajectories comprises:
determining that the flight trajectory is rendered and displayed according to a display pattern of a first candidate flight trajectory under the condition that the flight trajectory meets a first rendering condition, wherein the at least two candidate flight trajectories comprise the first candidate flight trajectory, the display pattern of the first candidate flight trajectory comprises the first trajectory pattern, the first rendering condition is that the flight trajectory passes a depth test, and the depth test is used for testing whether the flight trajectory is located in the observation blind area; and under the condition that the flight track meets a second rendering condition, determining that the flight track is rendered and displayed according to a display pattern of a second candidate flight track, wherein the at least two candidate flight tracks comprise the second candidate flight track, the display pattern of the second candidate flight track comprises the second track pattern, and the second rendering condition is that the flight track fails a depth test.
9. The method of any one of claims 1 to 8, comprising, after said determining the flight trajectory after the target virtual prop is thrown:
determining target transparency according to a sight-line obstruction value of the observation blind area, wherein the sight-line obstruction value is used for representing obstruction degree of the sight-line of the first virtual operation object by the observation blind area;
and displaying the first section of sub-track of the flight track in the observation blind area according to the target transparency.
10. The method of claim 9, comprising, prior to said determining a target transparency from the gaze obstruction value of the view blind zone:
acquiring a blocking object associated with the observation blind area, wherein the blocking object is set to block the sight line of the first virtual operation object, and the observation blind area is an area generated by the blocking object blocking the sight line in the observation visual field;
obtaining a basic attribute of the blocking object, wherein the basic attribute comprises at least one of the following: material property, type property, quantity property;
and determining the sight obstruction value according to the basic attribute.
11. The method according to any one of claims 1 to 10, further comprising:
and displaying an element with a blocking attribute in the display interface, wherein the element with the blocking attribute is set to block the sight line of the first virtual operation object, and the observation blind area is an area generated by the element with the blocking attribute blocking the sight line in the observation visual field.
12. A track display device, comprising:
a first display unit configured to display a screen within an observation field of view of a first virtual operation object in a display interface;
a control unit for controlling the first virtual operation object to throw a target virtual prop in the observation field of view in response to a target control operation performed on the display interface;
the first determining unit is used for determining the flight path of the thrown target virtual prop;
and the second display unit is used for displaying the first section of sub-track of the flight track in the observation blind area in the observation visual field according to a first track pattern, and displaying the second section of sub-track of the flight track outside the observation blind area according to a second track pattern.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein the computer program, when run by an electronic device, performs the method of any one of claims 1 to 11.
14. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the method of any one of claims 1 to 11.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 11 by means of the computer program.
CN202311006992.4A 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment Pending CN116899220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311006992.4A CN116899220A (en) 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311006992.4A CN116899220A (en) 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment
CN202111123103.3A CN113750532B (en) 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202111123103.3A Division CN113750532B (en) 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116899220A true CN116899220A (en) 2023-10-20

Family

ID=78797305

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311006992.4A Pending CN116899220A (en) 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment
CN202111123103.3A Active CN113750532B (en) 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202111123103.3A Active CN113750532B (en) 2021-09-24 2021-09-24 Track display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (2) CN116899220A (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10698110B2 (en) * 2015-03-05 2020-06-30 Teledyne Digital Imaging, Inc. Laser scanning apparatus and method
CN110585712A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Method, device, terminal and medium for throwing virtual explosives in virtual environment
CN111084986B (en) * 2019-12-17 2021-07-27 腾讯科技(深圳)有限公司 Display control method, display control device, storage medium, and electronic device
CN111265858B (en) * 2020-01-15 2022-04-12 腾讯科技(深圳)有限公司 Operation control method, operation control device, storage medium, and electronic device
CN111632377A (en) * 2020-06-08 2020-09-08 浙江商汤科技开发有限公司 Shooting track display method and device, electronic equipment and storage medium
CN112933601B (en) * 2021-03-01 2023-05-16 腾讯科技(深圳)有限公司 Virtual throwing object operation method, device, equipment and medium
CN113244612B (en) * 2021-05-26 2024-02-23 网易(杭州)网络有限公司 Lock mark display method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN113750532A (en) 2021-12-07
CN113750532B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN107913521B (en) The display methods and device of virtual environment picture
CN111084986B (en) Display control method, display control device, storage medium, and electronic device
CN108310765B (en) Image display method and device, storage medium and electronic device
WO2022057624A1 (en) Method and apparatus for controlling virtual object to use virtual prop, and terminal and medium
CN110585707B (en) Visual field picture display method, device, equipment and storage medium
CN113398601B (en) Information transmission method, information transmission device, computer-readable medium, and apparatus
CN111111217A (en) Control method and device of virtual prop, storage medium and electronic device
WO2021227733A1 (en) Method and apparatus for displaying virtual prop, and device and storage medium
CN111111191B (en) Virtual skill activation method and device, storage medium and electronic device
CN110975283A (en) Processing method and device of virtual shooting prop, storage medium and electronic device
CN113713393B (en) Virtual prop control method and device, storage medium and electronic equipment
CN112221136B (en) Feedback information display method and device, storage medium and electronic equipment
CN114225393A (en) Game resource acquisition method, device, medium, device and program product
CN113750532B (en) Track display method and device, storage medium and electronic equipment
CN112107859A (en) Prop control method and device, storage medium and electronic equipment
CN111135566A (en) Control method and device of virtual prop, storage medium and electronic device
CN111111165A (en) Control method and device of virtual prop, storage medium and electronic device
CN113599822B (en) Virtual prop control method and device, storage medium and electronic equipment
CN116920374A (en) Virtual object display method and device, storage medium and electronic equipment
CN112156472B (en) Control method, device and equipment of virtual prop and computer readable storage medium
CN114344917A (en) Operation data verification method and device, storage medium and electronic equipment
CN112755524B (en) Virtual target display method and device, electronic equipment and storage medium
CN112121433A (en) Method, device and equipment for processing virtual prop and computer readable storage medium
CN113633987A (en) Object control method and device, storage medium and electronic equipment
CN113769379A (en) Virtual object locking method, device, equipment, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication