CN113827962B - Virtual object display method and device, storage medium and electronic equipment - Google Patents

Virtual object display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113827962B
CN113827962B CN202111108313.5A CN202111108313A CN113827962B CN 113827962 B CN113827962 B CN 113827962B CN 202111108313 A CN202111108313 A CN 202111108313A CN 113827962 B CN113827962 B CN 113827962B
Authority
CN
China
Prior art keywords
operation object
virtual operation
virtual
subordinate
target
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.)
Active
Application number
CN202111108313.5A
Other languages
Chinese (zh)
Other versions
CN113827962A (en
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 CN202111108313.5A priority Critical patent/CN113827962B/en
Publication of CN113827962A publication Critical patent/CN113827962A/en
Application granted granted Critical
Publication of CN113827962B publication Critical patent/CN113827962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images
    • A63F2300/6653Methods for processing data by generating or executing the game program for rendering three dimensional images for altering the visibility of an object, e.g. preventing the occlusion of an object, partially hiding an object
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a virtual object display method and device, a storage medium and electronic equipment. Wherein the method comprises the following steps: displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object which participate in a game task; controlling the first virtual operation object to execute target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit; in the case where the target attack operation hits the subordinate virtual operation object, a target control button is displayed. The invention solves the technical problem that the display mode of the virtual object in the related technology is easy to cause the shielding of the sight.

Description

Virtual object 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 method and apparatus for displaying a virtual object, a storage medium, and an electronic device.
Background
The team's co-execution of the game task may motivate the player's awareness of cooperation and also facilitate sublimation of friendship between players. However, in team combat, a problem that teammates block their own vision often occurs, so that players can only forcefully adjust positions to avoid vision blocking caused by teammates.
Therefore, the execution efficiency of the game task is not improved due to cooperation among players, but is reduced due to the blocking of the sight caused by teammates, and the phenomenon often causes the team experience of the players to be damaged, so that the enthusiasm of the players to complete the game task through team combat is eliminated. Therefore, there is a problem in that the display method of the virtual object in the related art is likely to cause the line of sight to be blocked.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a virtual object display method and device, a storage medium and electronic equipment, which at least solve the technical problem that the display mode of a virtual object in the related technology is easy to cause sight shielding.
According to an aspect of an embodiment of the present invention, there is provided a method for displaying a virtual object, including: displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object, wherein the first virtual operation object and the second virtual operation object belong to different camps; controlling the first virtual operation object to execute a target attack operation in response to a control attack instruction triggered to the first virtual operation object, wherein the target attack operation is set to cause loss of a life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit; and displaying a target control button when the target attack operation is performed on the subordinate virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the subordinate virtual operation object.
According to another aspect of the embodiment of the present invention, there is also provided a display apparatus for a virtual object, including: the first display unit is used for displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object, wherein the first virtual operation object and the second virtual operation object belong to different camps; a first control unit configured to control the first virtual operation object to execute a target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of a life value of the second virtual operation object when the second virtual operation object is in a hit, and the target attack operation is set to not cause loss of a life value of the slave virtual operation object when the slave virtual operation object is hit; and a second display unit configured to display a target control button for controlling and adjusting display transparency of the subordinate virtual operation object when the target attack operation is performed on the subordinate virtual operation object. As an alternative, the apparatus further includes: a third display unit configured to display that the target attack operation penetrates the subordinate virtual operation object when the target attack operation hits the subordinate virtual operation object; and a fourth display unit configured to display that, when the target attack operation hits the second virtual operation object after the target attack operation passes through the slave virtual operation object, a life value of the second virtual operation object is lost.
As an alternative, the apparatus further includes: a fifth display unit, configured to display a third virtual operation object that participates in the game task, where the third virtual operation object and the first virtual operation object belong to the same camp; a sixth display unit configured to display that, in a case where the target attack operation is directed to the third virtual operation object, the target attack operation does not cause a loss of a life value of the third virtual operation object.
As an alternative, it includes: a seventh display unit configured to display a third virtual operation object of a first transparency, after displaying a first virtual operation object, a second virtual operation object, and a subordinate virtual operation object of the first virtual operation object, which participate in a game task, in a case where a line of sight of the first virtual operation object is blocked by the third virtual operation object, wherein the first transparency is higher than an initial display transparency, which is an unadjusted initial transparency.
As an alternative, the fourth display unit includes: and a first display module configured to display that, when the third virtual operation object is a target attack operation-related auxiliary sub-prop, the target attack operation does not cause a loss in a life value of the third virtual operation object, and that the number of auxiliary sub-props held by the first virtual operation object does not change.
As an alternative, it includes: an eighth display unit configured to display, after displaying a first virtual operation object, a second virtual operation object, and a subordinate virtual operation object of the first virtual operation object, the subordinate virtual operation object having a second transparency higher than an initial display transparency, where the initial display transparency is an unadjusted initial transparency, when a line of sight of the first virtual operation object is blocked by the subordinate virtual operation object.
As an alternative, the eighth display unit includes: and the second display module is used for displaying the subordinate virtual operation object with the second transparency, wherein the second transparency and a target distance are in negative correlation, and the target distance is a straight line distance between the subordinate virtual operation object and the first virtual operation object.
As an alternative, it includes: a first obtaining module, configured to obtain a field range of the first virtual operation object before the subordinate virtual operation object displaying the second transparency; and a first determining module configured to determine that a line of sight of the first virtual operation object is blocked by the subordinate virtual operation object when the subordinate virtual operation object is within a field of view of the first virtual operation object before the subordinate virtual operation object of the second transparency is displayed.
As an alternative, it includes: a second obtaining module, configured to obtain a view ray of the first virtual operation object before the subordinate virtual operation object displaying the second transparency; and a second determination module configured to determine that, before the display of the subordinate virtual operation object of the second transparency, a line of sight of the first virtual operation object is blocked by the subordinate virtual operation object when the subordinate virtual operation object is hit by the view ray.
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 display method of the virtual object as above.
According to still another aspect of the embodiment of the present application, 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 method for displaying a virtual object described above through the computer program.
In the embodiment of the invention, a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object which participate in a game task are displayed, wherein the first virtual operation object and the second virtual operation object belong to different camps; controlling the first virtual operation object to execute a target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of a life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of a life value of the subordinate virtual operation object when the subordinate virtual operation object is hit; and displaying a target control button under the condition that the target attack operation is performed on the subordinate virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the subordinate virtual operation object, the display transparency of the subordinate virtual operation object is adjusted through the target control button, the subordinate virtual operation object which blocks the sight is displayed in a more flexible mode, the purpose of reducing the influence degree when the subordinate virtual operation object blocks the sight is achieved, the technical effect of improving the display flexibility of the virtual object is achieved, and the technical problem that the display mode of the virtual object in the related technology is easy to cause the sight to be blocked 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 an undue limitation of the application. In the drawings:
FIG. 1 is a schematic illustration of an application environment of an alternative virtual object display method according to an embodiment of the application;
FIG. 2 is a schematic diagram of a flow of an alternative virtual object display method according to an embodiment of the application;
FIG. 3 is a schematic diagram of an alternative virtual object display method according to an embodiment of the application;
FIG. 4 is a schematic diagram of another alternative virtual object display method according to an embodiment of the application;
FIG. 5 is a schematic diagram of another alternative virtual object display method according to an embodiment of the application;
FIG. 6 is a schematic diagram of another alternative virtual object display method according to an embodiment of the application;
FIG. 7 is a schematic diagram of another alternative virtual object display method according to an embodiment of the application;
FIG. 8 is a schematic diagram of another alternative virtual object display method according to an embodiment of the application;
FIG. 9 is a schematic diagram of another alternative virtual object display method according to an embodiment of the application;
FIG. 10 is a schematic diagram of another alternative virtual object display method according to an embodiment of the invention;
FIG. 11 is a schematic diagram of another alternative virtual object display method according to an embodiment of the invention;
FIG. 12 is a schematic diagram of another alternative virtual object display method according to an embodiment of the invention;
FIG. 13 is a schematic diagram of an alternative virtual object display device according to an embodiment of the invention;
fig. 14 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 or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, there is provided a method for displaying a virtual object, optionally, as an optional implementation manner, the method for displaying a virtual object may be applied, but is not limited to, to 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 hit information of the attack operation of the subordinate virtual operation object 1024 relative to the first virtual operation object 1022, where the hit information is used to determine whether the attack operation of the first virtual operation object 1022 is blocked by the subordinate virtual operation object 1024;
steps S104-S106, the user equipment 102 sends the hit information to the server 112 through the network 110;
step S108, the server 112 processes the hit information by the processing engine 116, thereby generating a display instruction;
in steps S110-S112, the server 112 sends a display instruction to the user device 102 via the network 110, and the processor 106 in the user device 102 displays the target control button in the display 108 according to the display instruction and stores the related data of the target control button in the memory 104.
In addition to the example shown in fig. 1, the above steps may be independently performed by the user device 102, that is, the steps of generating the display adjustment instruction and the like are performed by the user device 102, thereby reducing 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 optional implementation manner, as shown in fig. 2, the display method of the virtual object includes:
s202, displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object which participate in a game task, wherein the first virtual operation object and the second virtual operation object belong to different camps;
s204, responding to a control attack instruction triggered on the first virtual operation object, and controlling the first virtual operation object to execute target attack operation, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit;
S206, displaying a target control button in the case that the target attack operation hits the subordinate virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the subordinate virtual operation object.
Alternatively, in the present embodiment, the method for displaying a virtual object may be, but not limited to, applied to a target game application, for example, a process screen of a game task is displayed in the target game application, and in the process screen, a display screen of a first virtual operation object, a second virtual operation object, and a subordinate virtual operation object of the first virtual operation object is included; and displaying a target control button to adjust the display transparency of the subordinate virtual operation object under the condition that the target attack operation of the first virtual operation object hits the subordinate virtual operation object, so as to reduce the influence degree of the shielding of the sight of the first virtual operation object by the subordinate virtual operation object.
Alternatively, in the present embodiment, the target game application may include, but is not limited to, all games including, but not limited to, a first person shooter game, a third person shooter game, and the like, which use a heat weapon class to conduct a remote attack. 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. Displaying a game picture of a target shooting game in a display screen of a mobile terminal where a client running a target shooting application is located; alternatively, for example, in the case where the target attack operation hits the subordinate virtual operation object, a target control button is displayed; and further responding to a control adjustment instruction triggered on the target control button, and improving the display transparency of the subordinate virtual operation object so as to enable the subordinate virtual operation object to be displayed more transparently.
Alternatively, in the present embodiment, the greater the display transparency may be, but is not limited to, the more transparent the display representing the subordinate virtual operation object; similarly, the smaller the display transparency may be, but is not limited to, the more opaque the display representing the subordinate virtual operation object. Alternatively, the display transparency may be, but is not limited to being, determined by a transparency attribute, where the transparency attribute may be, but is not limited to, used to control the display transparency (transparency degree) of the display object in a game task, and the transparency attribute has a negative correlation with the display transparency, that is, the higher the transparency attribute, the lower the display transparency, and the lower the transparency attribute, the higher the display transparency. And the lower the display transparency is, the greater the influence degree caused by the corresponding display object when the corresponding display object is blocked in one game task is, whereas the higher the display transparency is, the smaller the influence degree caused by the corresponding display object when the corresponding display object is blocked in one game task is.
Further by way of example, optionally, as shown in FIG. 3, a first virtual operand 302 and a subordinate virtual operand 304 are displayed that collectively perform a game task; assuming that a view angle screen of the first virtual operation object 302 is shown in fig. 3, in this view angle screen, in addition to the obstacle (wall) obstructing a part of the view, the subordinate virtual operation object 304 also causes a more or less obstruction to the view of the first virtual operation object 302;
based on this, assuming that the transparency attribute of the subordinate virtual operation object 304 is the transparency attribute of the standard, it may be understood that the current subordinate virtual operation object 304 is completely displayed, and the degree of influence of the sight line obstruction on the first virtual operation object 302 is also completely influenced; however, if the transparency attribute of the dependent virtual operation object 304 is assumed to be the target transparency attribute of the transparency attribute lower than the standard, it may be understood, but not limited to, that the current dependent virtual operation object 304 is not completely displayed (or transparent displayed), and the degree of influence of the line of sight obstruction caused to the first virtual operation object 302 is determined based on the current transparency degree of the dependent virtual operation object 304, for example, if the current dependent virtual operation object 304 is completely transparent displayed, the degree of influence of the line of sight obstruction caused to the first virtual operation object 302 may be understood, but not limited to, to be minimized.
Alternatively, in this embodiment, the first virtual operation object may be, but is not limited to, a virtual operation object controlled by a target account, and the subordinate virtual operation object may be understood as a virtual operation object controlled by an account other than the target account, or may be understood as a virtual operation object autonomously controlled by a system, for example, a non-player character (NPC);
in addition, the subordinate virtual operation object may be, but not limited to, other virtual operation objects controlled by the target account number, in particular, for example, in a strategic game, a player (target account number) often controls a plurality of virtual operation objects to perform a common combat, and in this scenario, the first virtual operation object may be, but not limited to, a virtual operation object mainly controlled at the current view angle, and the subordinate virtual operation object may be, but not limited to, a virtual operation object secondarily controlled at the current view angle.
Moreover, the subordinate virtual operation object may be, but not limited to, an operation object controlled by the target account number and subordinate to the first virtual operation object, for example, a virtual operation object called out or associated with the first virtual operation object through some special prop or skill, where the subordinate operation object often can assist the first virtual operation object to execute a game task in a manner of system help operation in a free operation mode, a movement track of the subordinate operation object is more difficult to control for the first virtual operation object, and a sight blocking situation occurs more easily.
Optionally, in the present embodiment, the target attack operation may include, but is not limited to, at least one of: near combat attack operations (e.g., knife chop, spike, etc.), remote attack operations (e.g., shooting, magic, etc.). The target attack operation may be, but not limited to, set to cause damage to the hit enemy virtual operation object, but in the case that the friend virtual operation object (e.g., the subordinate virtual operation object) is hit by the target attack operation, the subordinate virtual operation object will not be damaged, so as to reduce the accidental injury probability of the target attack operation and improve the attack efficiency of the target attack operation.
Optionally, in this embodiment, the target control button may be, but is not limited to, a fixed button, and the fixed button is associated with a fixed second transparency attribute, so that in a case where the fixed button is triggered, the transparency attribute associated with the subordinate virtual operation object is indicated to be adjusted to be a fixed second transparency attribute, and the fixation may be, but is not limited to, indicating that the second transparency attribute does not change with a factor such as a distance, until the shutdown operation is triggered again on the fixed button.
Alternatively, in this embodiment, the target control button may be, but not limited to, a progress bar type button, that is, a transparency parameter indicating that the target control button can flexibly select different values as the second transparency attribute, and in the case that the target control button is triggered, adjust the transparency attribute associated with the subordinate virtual operation object to the selected and fixed second transparency attribute.
It should be noted that, displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object, wherein the first virtual operation object and the second virtual operation object belong to different camps; controlling the first virtual operation object to execute target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit; in the case where the target attack operation hits the subordinate virtual operation object, a target control button is displayed.
Further by way of example, continuing with the scenario shown in FIG. 3, for example, as shown in FIG. 4, a first virtual operand 302 that participates in a game task is displayed, as well as a subordinate virtual operand 304 that belongs to a set of virtual operands (dashed circles) with the first virtual operand 302, as shown in (a) of FIG. 4; further assume that the target attack operation of the first virtual operation object 302 hits the dependent virtual operation object 306, in which case a target control button 402 for controlling adjustment of the display transparency of the dependent virtual operation object will be displayed, as shown in (b) of fig. 4.
Further by way of example, as shown in fig. 4, a first virtual operation object 302 participating in a game task, and a subordinate virtual operation object 304 belonging to a virtual operation object set (dotted circle) with the first virtual operation object 302 are displayed, as shown in fig. 4 (a); further assuming that the line of sight of the first virtual operation object 302 is blocked by the dependent virtual operation object 304, the dependent virtual operation object 304 of the target transparency attribute (indicated by a broken line) is displayed, as shown in (b) in fig. 4. In comparison, the subordinate virtual operation object 304 shown in fig. 4 (a) is completely displayed, and the blocking degree of the sight line of the first virtual operation object 302 is also completely blocked, or the influence degree is larger; viewing the subordinate virtual operation object 304 (indicated by a broken line) shown in fig. 4 (b) in reverse is an incomplete (or semi-transparent) display, and the degree of blocking of the line of sight to the first virtual operation object 302 is also incomplete, or has a small influence.
According to the embodiment provided by the application, a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object which participate in a game task are displayed, wherein the first virtual operation object and the second virtual operation object belong to different camps; controlling the first virtual operation object to execute target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit; and displaying a target control button under the condition that target attack operation hits the slave virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the slave virtual operation object, and the target control button is used for adjusting the display transparency of the slave virtual operation object, so that the slave virtual operation object which blocks the sight is displayed in a more flexible mode, thereby achieving the purpose of reducing the influence degree when the slave virtual operation object blocks the sight, and further achieving the technical effect of improving the display flexibility of the virtual object.
As an alternative, in the case that the target attack operation hits the dependent virtual operation object, the method further includes:
s1, displaying that target attack operation penetrates through a subordinate virtual operation object;
s2, after the target attack operation passes through the subordinate virtual operation object, when the target attack operation hits the second virtual operation object, the life value of the second virtual operation object is displayed to be lost.
Optionally, in this embodiment, after the target attack operation hits and penetrates the subordinate virtual operation object, the attack on the other virtual operation will continue, in other words, the subordinate virtual operation object will not block the target attack operation, for example, when the target attack operation hits the second virtual operation object as an enemy unit after penetrating the subordinate virtual operation object, the life value of the second virtual operation object is displayed to be lost.
As an alternative, the method further comprises:
s1, displaying a third virtual operation object participating in a game task, wherein the third virtual operation object and the first virtual operation object belong to the same camping;
s2, when the target attack operation hits the third virtual operation object, the target attack operation is displayed without losing the life value of the third virtual operation object.
Alternatively, in the present embodiment, the third virtual operation object may be, but is not limited to, a peer object that is a master virtual operation object (e.g., a first virtual operation object), such as a teammate operation object, an enemy operation object, an NPC, or the like.
It should be noted that, the operation or movement of the slave virtual operation object is often performed around the master virtual operation object (such as the first virtual operation object), so that the occurrence probability of shielding the master virtual operation object is also greater; in addition, in the combat mode, the attack operation of the master virtual operation object may fail or hit cannot be guaranteed due to frequent blocking of the slave virtual operation object. Based on this, in this embodiment, the slave virtual operation object is not only not damaged by the attack operation (target attack operation) of the master virtual operation object, but also does not cause blocking of the attack operation of the master virtual operation object, in other words, the slave virtual operation object does not block not only the line of sight of the master virtual operation object but also the attack operation of the master virtual operation object, so as to reduce the degree of influence on the master virtual operation object to the greatest extent.
The peer virtual operation object is usually a virtual operation object controlled by other player account numbers, and the movement and operation of the peer virtual operation object are tracked and circulated, so that in order to improve the simulation degree in the game task execution process, the statistical virtual operation object is set to not block the sight of the main control virtual operation object, but block the attack operation of the main control virtual operation object.
By the embodiment provided by the application, the third virtual operation object participating in a game task is displayed, wherein the third virtual operation object and the first virtual operation object belong to the same camp; under the condition that the target attack operation hits the third virtual operation object, the life value of the target attack operation on the third virtual operation object is not lost, the purpose of flexibly configuring whether different types of virtual operation objects cause attack blocking on the first virtual operation object is achieved, and the effect of improving the display flexibility of the virtual operation object is achieved.
As an alternative, after displaying the first virtual operation object, the second virtual operation object, and the subordinate virtual operation object of the first virtual operation object that participate in a game task, the method includes:
and displaying the third virtual operation object with the first transparency under the condition that the sight line of the first virtual operation object is blocked by the third virtual operation object, wherein the first transparency is higher than the initial display transparency, and the initial display transparency is the unadjusted initial transparency.
As an alternative, displaying that the target attack operation has not caused a loss of the life value of the third virtual operation object includes:
And under the condition that the auxiliary sub-props associated with the target attack operation hit the third virtual operation object, displaying that the target attack operation does not cause loss to the life value of the third virtual operation object and the number of the auxiliary sub-props held by the first virtual operation object is not changed.
Optionally, in this embodiment, the auxiliary sub-props may be, but are not limited to, sub-props that are consumed for remote attack operations, such as bullets, magic elements, mines, etc.
In order to improve the utilization efficiency of the auxiliary sub-props, if the third virtual operation object hits the auxiliary sub-props transmitted by the target attack operation, the number of auxiliary sub-props currently held by the first virtual operation object is not consumed.
As an alternative, after displaying the first virtual operation object, the second virtual operation object, and the subordinate virtual operation object of the first virtual operation object that participate in a game task, the method includes:
and displaying the subordinate virtual operation object with the second transparency under the condition that the sight of the first virtual operation object is blocked by the subordinate virtual operation object, wherein the second transparency is higher than the initial display transparency, and the initial display transparency is the unadjusted initial transparency.
As an alternative, displaying the subordinate virtual operation object of the second transparency includes:
and displaying the subordinate virtual operation object with the second transparency, wherein the second transparency is in negative correlation with the target distance, and the target distance is the linear distance between the subordinate virtual operation object and the first virtual operation object.
Alternatively, in the present embodiment, the linear distance between the operation objects is also generally correlated with the degree of influence of blocking the line of sight, and the correlation is generally such that the farther the distance is, the lower the degree of influence of blocking the line of sight is, or vice versa, the closer the distance is, the higher the degree of influence of blocking the line of sight is.
Further by way of example, as shown in fig. 5, optionally, in a case where the line of sight of the first virtual operation object is blocked by the subordinate virtual operation object, the display transparency is determined according to the target distance 506 between the subordinate virtual operation object 504 and the first virtual operation object 502, and the subordinate virtual operation object 504 is further displayed according to the determined display transparency.
According to the embodiment of the application, the subordinate virtual operation object with the second transparency is displayed, wherein the second transparency and the target distance are in a negative correlation relationship, and the target distance is the linear distance between the subordinate virtual operation object and the first virtual operation object, so that the aim of reducing the influence degree when the friend unit blocks the sight is achieved, and the effect of improving the display flexibility of the virtual object is realized.
As an alternative, before displaying the subordinate virtual operation object of the second transparency, the method includes:
s1, acquiring a visual field range of a first virtual operation object;
s2, when the subordinate virtual operation object is located in the visual field range of the first virtual operation object, determining that the visual line of the first virtual operation object is blocked by the subordinate virtual operation object.
Alternatively, in this embodiment, the field of view of the first virtual operation object may be, but is not limited to, an entire or distributed display range included in the current perspective of the first virtual operation object, such as the target game screen 606 shown in fig. 6, that is, an entire or distributed display range included in the current perspective (such as the first person perspective) of the first virtual operation object 602, where the subordinate virtual operation object 604 is included, which indicates that the subordinate virtual operation object 604 is located in the field of view of the first virtual operation object 602.
Alternatively, in the present embodiment, the field of view of the first virtual operation object may also be, but not limited to, an area range preset for the first virtual operation object, as shown in fig. 7, a circle center 706 is determined in the direction of the current line of sight of the first virtual operation object 702, and the distance between the circle center 706 and the first virtual operation object 702 is a preset distance 704; the circle center 706 is taken as a circle center, the preset distance 704 is taken as a radius, and the drawn circle is the visual field range 708; in the event that the dependent virtual operation object 710 is within the field of view 708 of the first virtual operation object 702, it is determined that the line of sight of the first virtual operation object 702 is occluded by the dependent virtual operation object 710.
As an alternative, before displaying the subordinate virtual operation object of the second transparency, the method includes:
s1, obtaining a visual field ray of a first virtual operation object;
s2, when the subordinate virtual operation object is hit by the view ray, determining that the sight of the first virtual operation object is blocked by the subordinate virtual operation object.
The method includes the steps that a visual field ray of a first virtual operation object is acquired; in the case where the subordinate virtual operation object is hit by the view ray, it is determined that the line of sight of the first virtual operation object is blocked by the subordinate virtual operation object.
Further by way of example, as shown in FIG. 8, optionally, a field of view ray 804 of a first virtual operand 802 is acquired; in the event that the dependent virtual operation object 806 is hit by the view ray 804, it is determined that the line of sight of the first virtual operation object 802 is blocked by the dependent virtual operation object 804.
Further by way of example, continuing with the scenario shown in fig. 7, if, as shown in fig. 9, a black circle is used to represent a virtual operation object belonging to the same virtual operation object set (target virtual operation object set), and a white circle is used to represent a virtual operation object not belonging to the target virtual operation object set, then in a case where the third virtual operation object 902 is located outside the field of view 708, it is determined that the line of sight of the first virtual operation object 702 is not blocked by the third virtual operation object 902, and then the third virtual operation object 902 of the first transparency attribute is displayed, that is, the third virtual operation object 902 is displayed completely;
In the case where the second virtual operation object 904 (enemy unit) is located within the field of view 708, it is determined that the line of sight of the first virtual operation object 702 is blocked by the second virtual operation object 904, but since the second virtual operation object 904 and the first virtual operation object 702 do not belong to the same virtual operation object set, the second virtual operation object of the first transparency attribute is displayed, that is, the second virtual operation object 904 is displayed completely.
Further by way of example, continuing with the scenario shown in FIG. 4, for example, as shown in FIG. 10, a first virtual operation object 302 participating in a game task is displayed, and a subordinate virtual operation object 304 belonging to a virtual operation object set (dotted circle) with the first virtual operation object 302 is displayed, as shown in (a) in FIG. 10; further assuming that the line of sight of the first virtual operation object 302 is blocked by the dependent virtual operation object 304, the dependent virtual operation object 304 of the target transparency attribute (indicated by a broken line) is displayed, as shown in (b) in fig. 10; based on this, a virtual button "pass through" will be displayed in the game task, and this virtual button "pass through" is used to instruct the adjustment of the transparency attribute to the display transparency associated with the subordinate virtual operation object 304, as shown in (c) in fig. 10.
As an alternative, for ease of understanding, a shooting-type game application is described as an example:
it is assumed that in the shooting game application, teammates and summons are included which belong to the same camp (virtual operation object set) operation object (second virtual operation object), and further, when the teammates/summons are in a short distance in front of the eyes, they become in a semitransparent state, and as the distance is extended, the transparency thereof is lowered. And after a certain distance, it becomes completely normal opaque.
In addition, when an enemy is blocked by a teammate/summons, the blocked portion will appear as a red outline.
In this embodiment, the teammates and the summons need to be treated separately, and the teammates can stop bullets and the summons cannot. The reason is that teammates are free and the summons are self, so that the teammates can feel that the summons are of course but the summons are not; and teammates will not run substantially in front of themselves or around enemies but summons. Therefore, teammates have few harassment scenes; furthermore, teammates can block bullets and quickly kill enemies but do not summons. From this, it is clear that teammates can stop bullets and the summons will not be in view of improving the simulation rationality.
In addition, teammates can play the bullet, but the player needs to know the fact that the bullet is blocked clearly, so that adjustment is convenient, otherwise, the player is lost. Therefore, when the player stops the bullet, the player can be reminded of shielding the bullet by playing the corresponding sound with the corresponding special effect (only visible).
The calling object (comprising the self and teammates) does not need to stop bullets, but in order to promote the perception of the effect, the special effect that the corresponding bullets pass through is played on the calling object and the corresponding sound is played at the same time.
In addition, after the bullet passes through the summons, a button appears on the left side of the screen, and if the player clicks the button, the summons can be permanently semi-transparent. The button will last for 3 seconds and will automatically disappear after 3 seconds without pressing. If the player feels that the button is relatively disturbing to the experience, the player may turn off the display of the button in the configuration interface.
By way of further illustration, as shown in FIG. 11, a circle is drawn with the front of the object A1 (player himself) x meters away as the center and y meters as the radius, in which is the attenuation zone; a ray is emitted from the own sight toward the target, and if a teammate (containing own call) is in an attenuation zone (such as an object A2), the ray is in a semitransparent state, and the semitransparent attenuation coefficient is judged according to the distance. A ray is emitted from the own sight toward the target, and is left in a normal state if it is a teammate (containing own call) and is in a non-attenuation region (e.g., object A3). A ray is emitted from the own sight to the target, and if the ray is an enemy and no teammate on the road blocks the ray, the ray is in a normal state. A ray is emitted from a own sight toward the target, which is set to display the highest priority (shaded) if it is an enemy and there is a teammate blocking on the road.
In addition, the optional decision logic for bullet hit is shown in fig. 12, and the specific steps are as follows:
step S1202, bullet hit target;
step S1204, judging whether the call is a call, if yes, executing step S1206, if no, executing step S1208;
step S1206, judging whether the own party is a calling object, if so, executing step S1216, and if not, executing step S1212;
step S1208, determining whether the target object is a target object, if so, executing step S1210, and if not, executing step S1212;
step S1210, judging whether the user is a teammate, if yes, executing step S1214, and if not, executing step S1212;
step S1212, performing hit object/monster/enemy etc. Guan Liucheng;
step S1214, causing injury, bullet disappearing, playing special sound effect;
in step S1216, the bullet passes through and plays the corresponding sound special effect.
By the embodiment provided by the application, the occurrence of the condition that teammates block the sight is reduced; the occurrence of the condition that a calling object blocks the sight is reduced; when teammates block bullets, players can have obvious cognition and perform corresponding avoidance behaviors; the summons no longer blocks its own bullet and thus avoids the corresponding associated bad shooting experience.
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 display apparatus for a virtual object for implementing the above-described display method of a virtual object. As shown in fig. 13, the apparatus includes:
a first display unit 1302, configured to display a first virtual operation object, a second virtual operation object, and a subordinate virtual operation object of the first virtual operation object, where the first virtual operation object and the second virtual operation object belong to different camps;
a first control unit 1304, configured to control, in response to a control attack instruction triggered on the first virtual operation object, the first virtual operation object to perform a target attack operation, where the target attack operation is set to cause a loss of a life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause a loss of a life value of the subordinate virtual operation object when the subordinate virtual operation object is hit;
A second display unit 1306 for displaying a target control button for controlling and adjusting the display transparency of the subordinate virtual operation object in case that the target attack operation hits the subordinate virtual operation object.
Alternatively, in the present embodiment, the method for displaying a virtual object may be, but not limited to, applied to a target game application, for example, a process screen of a game task is displayed in the target game application, and in the process screen, a display screen of a first virtual operation object, a second virtual operation object, and a subordinate virtual operation object of the first virtual operation object is included; and displaying a target control button to adjust the display transparency of the subordinate virtual operation object under the condition that the target attack operation of the first virtual operation object hits the subordinate virtual operation object, so as to reduce the influence degree of the shielding of the sight of the first virtual operation object by the subordinate virtual operation object.
Alternatively, in the present embodiment, the target game application may include, but is not limited to, all games including, but not limited to, a first person shooter game, a third person shooter game, and the like, which use a heat weapon class to conduct a remote attack. 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. Displaying a game picture of a target shooting game in a display screen of a mobile terminal where a client running a target shooting application is located; alternatively, for example, in the case where the target attack operation hits the subordinate virtual operation object, a target control button is displayed; and further responding to a control adjustment instruction triggered on the target control button, and improving the display transparency of the subordinate virtual operation object so as to enable the subordinate virtual operation object to be displayed more transparently.
Alternatively, in the present embodiment, the greater the display transparency may be, but is not limited to, the more transparent the display representing the subordinate virtual operation object; similarly, the smaller the display transparency may be, but is not limited to, the more opaque the display representing the subordinate virtual operation object. Alternatively, the display transparency may be, but is not limited to being, determined by a transparency attribute, where the transparency attribute may be, but is not limited to, used to control the display transparency (transparency degree) of the display object in a game task, and the transparency attribute has a negative correlation with the display transparency, that is, the higher the transparency attribute, the lower the display transparency, and the lower the transparency attribute, the higher the display transparency. And the lower the display transparency is, the greater the influence degree caused by the corresponding display object when the corresponding display object is blocked in one game task is, whereas the higher the display transparency is, the smaller the influence degree caused by the corresponding display object when the corresponding display object is blocked in one game task is.
It should be noted that, displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object, wherein the first virtual operation object and the second virtual operation object belong to different camps; controlling the first virtual operation object to execute target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit; in the case where the target attack operation hits the subordinate virtual operation object, a target control button is displayed.
Specific embodiments may refer to examples shown in the display device of the virtual object, which are not described herein.
According to the embodiment provided by the application, a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object which participate in a game task are displayed, wherein the first virtual operation object and the second virtual operation object belong to different camps; controlling the first virtual operation object to execute target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit; and displaying a target control button under the condition that target attack operation hits the slave virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the slave virtual operation object, and the target control button is used for adjusting the display transparency of the slave virtual operation object, so that the slave virtual operation object which blocks the sight is displayed in a more flexible mode, thereby achieving the purpose of reducing the influence degree when the slave virtual operation object blocks the sight, and further achieving the technical effect of improving the display flexibility of the virtual object.
As an alternative, the apparatus further includes:
a third display unit for displaying that the target attack operation penetrates the subordinate virtual operation object in case that the target attack operation hits the subordinate virtual operation object;
and a fourth display unit for displaying that the life value of the second virtual operation object is lost when the target attack operation hits the second virtual operation object after passing through the subordinate virtual operation object.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
As an alternative, the apparatus further includes:
a fifth display unit, configured to display a third virtual operation object that participates in a game task, where the third virtual operation object and the first virtual operation object belong to the same camp;
and a sixth display unit configured to display that the target attack operation does not cause a loss of the life value of the third virtual operation object in a case where the target attack operation hits the third virtual operation object.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
As an alternative, it includes:
and a seventh display unit configured to display a third virtual operation object of the first transparency, after displaying the first virtual operation object, the second virtual operation object, and the subordinate virtual operation object of the first virtual operation object that participate in the game task, in a case where the line of sight of the first virtual operation object is blocked by the third virtual operation object, wherein the first transparency is higher than the initial display transparency, which is an unadjusted initial transparency.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
As an alternative, the fourth display unit includes:
the first display module is used for displaying that the target attack operation does not cause loss to the life value of the third virtual operation object and the number of auxiliary sub-props held by the first virtual operation object is not changed under the condition that the auxiliary sub-props associated with the target attack operation hit the third virtual operation object.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
As an alternative, it includes:
and an eighth display unit configured to display, after displaying the first virtual operation object, the second virtual operation object, and the subordinate virtual operation object of the first virtual operation object that participate in the game task, the subordinate virtual operation object of the second transparency in a case where the line of sight of the first virtual operation object is blocked by the subordinate virtual operation object, wherein the second transparency is higher than the initial display transparency, and the initial display transparency is an unadjusted initial transparency.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
As an alternative, the eighth display unit includes:
and the second display module is used for displaying the subordinate virtual operation object with the second transparency, wherein the second transparency and the target distance are in negative correlation, and the target distance is the linear distance between the subordinate virtual operation object and the first virtual operation object.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
As an alternative, it includes:
The first acquisition module is used for acquiring the visual field range of the first virtual operation object before the subordinate virtual operation object with the second transparency is displayed;
and the first determining module is used for determining that the sight of the first virtual operation object is blocked by the subordinate virtual operation object when the subordinate virtual operation object is positioned in the visual field of the first virtual operation object before the subordinate virtual operation object with the second transparency is displayed.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
As an alternative, it includes:
the second acquisition module is used for acquiring the visual field ray of the first virtual operation object before the subordinate virtual operation object with the second transparency is displayed;
and the second determining module is used for determining that the view line of the first virtual operation object is blocked by the subordinate virtual operation object under the condition that the subordinate virtual operation object is hit by the view ray before the subordinate virtual operation object with the second transparency is displayed.
For specific embodiments, reference may be made to the examples shown in the above method for displaying virtual objects, which are not described herein.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above-described virtual object display method, as shown in fig. 14, the electronic device comprising a memory 1402 and a processor 1404, the memory 1402 storing a computer program, the processor 1404 being arranged to execute 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 first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object which participate in a game task, wherein the first virtual operation object and the second virtual operation object belong to different camps;
s2, responding to a control attack instruction triggered on the first virtual operation object, and controlling the first virtual operation object to execute target attack operation, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit;
and S3, displaying a target control button when the target attack operation hits the subordinate virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the subordinate virtual operation object.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 14 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. 14 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. 14, or have a different configuration than shown in FIG. 14.
The memory 1402 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for displaying a virtual object in the embodiment of the present invention, and the processor 1404 executes the software programs and modules stored in the memory 1402 to perform various functional applications and data processing, that is, to implement the method for displaying a virtual object. Memory 1402 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 1402 may further include memory located remotely from processor 1404, which may be connected to the terminal through 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 1402 may be used to store information such as a first virtual operation object, a subordinate virtual operation object, and a target control button, but is not limited to the above. As an example, as shown in fig. 14, the memory 1402 may include, but is not limited to, a first display unit 1302, a first control unit 1304, and a second display unit 1306 in a display device including the virtual object. In addition, other module units in the display device of the virtual object may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 1406 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 1406 includes a network adapter (Network Interface Controller, NIC) that may connect 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 1406 is a Radio Frequency (RF) module that is used to communicate wirelessly with the internet.
In addition, the electronic device further includes: a display 1408 for displaying information of the first virtual operation object, the subordinate virtual operation object, the target control button, and the like; and a connection bus 1410 for connecting the respective module parts in the above-described electronic device.
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. Among them, the nodes may form a Peer-To-Peer (P2P) 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.
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 computer instructions, the processor executing the computer instructions, causing the computer device to execute the above-described virtual object display method.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for performing the steps of:
s1, displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object which participate in a game task, wherein the first virtual operation object and the second virtual operation object belong to different camps;
s2, responding to a control attack instruction triggered on the first virtual operation object, and controlling the first virtual operation object to execute target attack operation, wherein the target attack operation is set to cause loss of the life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit;
And S3, displaying a target control button when the target attack operation hits the subordinate virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the subordinate virtual operation object.
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 foregoing embodiments may be performed by a program for instructing a terminal device to execute the method, 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, including several instructions to cause 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 embodiment that is not described in detail, reference may be 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 division of functions, and other division manners may be implemented in practice, 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 over 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 realized 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 (11)

1. A method for displaying a virtual object, comprising:
displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object, wherein the first virtual operation object and the second virtual operation object belong to different camps, the first virtual operation object is controlled by a target account number, and the subordinate virtual operation object comprises at least one of the following components: a virtual operation object controlled by an account other than the target account, a virtual operation object autonomously controlled by a system, other virtual operation objects controlled by the target account than the first virtual operation object, and operation objects controlled by the target account and subordinate to the first virtual operation object;
Controlling the first virtual operation object to execute a target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause loss of a life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause loss of the life value of the subordinate virtual operation object when the subordinate virtual operation object is hit;
displaying a target control button when the target attack operation hits the subordinate virtual operation object, wherein the target control button is used for controlling and adjusting the display transparency of the subordinate virtual operation object;
and responding to a control adjustment instruction triggered on the target control button, and improving the display transparency of the subordinate virtual operation object so as to enable the subordinate virtual operation object to be displayed more transparently.
2. The method of claim 1, wherein in the event that the target attack operation hits the dependent virtual operation object, the method further comprises:
displaying that the target attack operation penetrates through the subordinate virtual operation object;
And after the target attack operation penetrates through the subordinate virtual operation object, when the second virtual operation object is hit, the life value of the second virtual operation object is displayed to be lost.
3. The method according to claim 1, wherein the method further comprises:
displaying a third virtual operation object participating in the game task, wherein the third virtual operation object and the first virtual operation object belong to the same camp;
and in the case that the target attack operation hits the third virtual operation object, displaying that the target attack operation does not cause loss to the life value of the third virtual operation object.
4. A method according to claim 3, comprising, after said displaying a first virtual operation object participating in a game session, a second virtual operation object, and a subordinate virtual operation object of said first virtual operation object:
and displaying the third virtual operation object with a first transparency under the condition that the sight line of the first virtual operation object is blocked by the third virtual operation object, wherein the first transparency is higher than an initial display transparency, and the initial display transparency is an unadjusted initial transparency.
5. A method according to claim 3, wherein said displaying that the target attack operation has not caused a loss of a life value of the third virtual operation object comprises:
and under the condition that the auxiliary sub-props associated with the target attack operation hit the third virtual operation object, displaying that the target attack operation does not cause loss on the life value of the third virtual operation object and the number of the auxiliary sub-props held by the first virtual operation object is not changed.
6. The method of claim 1, after displaying the first virtual operation object, the second virtual operation object, and the subordinate virtual operation object of the first virtual operation object that participate in a game session, comprising:
and displaying the subordinate virtual operation object with a second transparency under the condition that the sight line of the first virtual operation object is blocked by the subordinate virtual operation object, wherein the second transparency is higher than an initial display transparency, and the initial display transparency is an unadjusted initial transparency.
7. The method of claim 6, wherein the displaying the slave virtual operation object of a second transparency comprises:
And displaying the subordinate virtual operation object with the second transparency, wherein the second transparency and a target distance are in negative correlation, and the target distance is a linear distance between the subordinate virtual operation object and the first virtual operation object.
8. The method of claim 7, comprising, prior to said displaying said slave virtual operand of said second transparency:
acquiring a visual field range of the first virtual operation object;
and determining that the sight of the first virtual operation object is blocked by the subordinate virtual operation object when the subordinate virtual operation object is positioned in the visual field range of the first virtual operation object.
9. The method of claim 7, comprising, prior to said displaying said slave virtual operand of said second transparency:
acquiring a visual field ray of the first virtual operation object;
and determining that the sight of the first virtual operation object is blocked by the subordinate virtual operation object under the condition that the subordinate virtual operation object is hit by the visual field ray.
10. A display device for a virtual object, comprising:
The first display unit is used for displaying a first virtual operation object, a second virtual operation object and a subordinate virtual operation object of the first virtual operation object, wherein the first virtual operation object and the second virtual operation object belong to different camps, the first virtual operation object is controlled by a target account number, and the subordinate virtual operation object comprises at least one of the following components: a virtual operation object controlled by an account other than the target account, a virtual operation object autonomously controlled by a system, other virtual operation objects controlled by the target account than the first virtual operation object, and operation objects controlled by the target account and subordinate to the first virtual operation object;
a first control unit configured to control the first virtual operation object to perform a target attack operation in response to a control attack instruction triggered on the first virtual operation object, wherein the target attack operation is set to cause a loss of a life value of the second virtual operation object when the second virtual operation object is hit, and the target attack operation is set to not cause a loss of a life value of the slave virtual operation object when the slave virtual operation object is hit;
A second display unit configured to display a target control button for controlling and adjusting display transparency of the subordinate virtual operation object in a case where the target attack operation hits the subordinate virtual operation object;
the device is also used for responding to the control adjustment instruction triggered on the target control button, and improving the display transparency of the subordinate virtual operation object so as to enable the subordinate virtual operation object to be displayed more transparently.
11. 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 9 by means of the computer program.
CN202111108313.5A 2021-09-22 2021-09-22 Virtual object display method and device, storage medium and electronic equipment Active CN113827962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111108313.5A CN113827962B (en) 2021-09-22 2021-09-22 Virtual object display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111108313.5A CN113827962B (en) 2021-09-22 2021-09-22 Virtual object display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113827962A CN113827962A (en) 2021-12-24
CN113827962B true CN113827962B (en) 2023-08-25

Family

ID=78960286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111108313.5A Active CN113827962B (en) 2021-09-22 2021-09-22 Virtual object display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113827962B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7371199B1 (en) * 2022-10-11 2023-10-30 任天堂株式会社 Game program, game system, game device, and game control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012239778A (en) * 2011-05-24 2012-12-10 Nintendo Co Ltd Game program, game device, game system, and game processing method
JP5695783B1 (en) * 2014-08-13 2015-04-08 株式会社 ディー・エヌ・エー System, server device, and program
CN108614635A (en) * 2016-12-12 2018-10-02 北京康得新创科技股份有限公司 The control method and device of virtual reality device, virtual reality device
CN110801629A (en) * 2019-11-07 2020-02-18 腾讯科技(深圳)有限公司 Method, device, terminal and medium for displaying virtual object life value prompt graph
CN111443857A (en) * 2020-03-12 2020-07-24 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic equipment
CN112657183A (en) * 2021-01-04 2021-04-16 网易(杭州)网络有限公司 Game display control method and device, storage medium and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012239778A (en) * 2011-05-24 2012-12-10 Nintendo Co Ltd Game program, game device, game system, and game processing method
JP5695783B1 (en) * 2014-08-13 2015-04-08 株式会社 ディー・エヌ・エー System, server device, and program
CN108614635A (en) * 2016-12-12 2018-10-02 北京康得新创科技股份有限公司 The control method and device of virtual reality device, virtual reality device
CN110801629A (en) * 2019-11-07 2020-02-18 腾讯科技(深圳)有限公司 Method, device, terminal and medium for displaying virtual object life value prompt graph
CN111443857A (en) * 2020-03-12 2020-07-24 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic equipment
CN112657183A (en) * 2021-01-04 2021-04-16 网易(杭州)网络有限公司 Game display control method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN113827962A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN108211358B (en) Information display method and device, storage medium and electronic device
CN113134237B (en) Virtual rewarding resource allocation method and device, electronic equipment and storage medium
KR20200018641A (en) Method and apparatus for synchronously displaying game content, and storage medium
KR102677420B1 (en) Virtual object control method and device, terminal, and storage medium
CN111202982A (en) Control method and device of virtual prop, storage medium and electronic device
CN111111191B (en) Virtual skill activation method and device, storage medium and electronic device
CN112121428B (en) Control method and device for virtual character object and storage medium
US11364440B2 (en) Computer video game application performance result
CN114522424A (en) Prop control method and device, storage medium, computer program, and electronic device
US20240325906A1 (en) Virtual character tracing method and apparatus, storage medium, device, and program product
KR20220157938A (en) Method and apparatus, terminal and medium for transmitting messages in a multiplayer online combat program
CN111202978B (en) Virtual prop acquisition method and device, storage medium and electronic device
CN113827962B (en) Virtual object display method and device, storage medium and electronic equipment
CN114042309B (en) Virtual prop using method, device, terminal and storage medium
US11141659B2 (en) Information processing system and storage medium storing information processing program
CN111111165A (en) Control method and device of virtual prop, storage medium and electronic device
CN111135566A (en) Control method and device of virtual prop, storage medium and electronic device
CN115645916A (en) Control method, device and product of virtual object group in virtual scene
CN114344917A (en) Operation data verification method and device, storage medium and electronic equipment
CN111135573A (en) Virtual skill activation method and device
TWI850601B (en) Method, device, electronic apparatus, computer readable storage medium, and computer program product for virtual reward resource allocation
WO2024067009A1 (en) Virtual character display method and apparatus, and storage medium and electronic device
US12121816B2 (en) Allocation method and apparatus for virtual reward resources, electronic device, computer-readable storage medium, and computer program product
US20220370917A1 (en) Allocation method and apparatus for virtual reward resources, electronic device, computer-readable storage medium, and computer program product
CN113750532B (en) Track display method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant