State prompting method and apparatus, storage medium, and electronic device
By providing a sticky status indicator for target virtual objects in shooting games, the problem of target virtual objects not being able to know their sticky status in time is solved, ensuring that they can get out of the sticky state in time, resume normal operation, and improve game balance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-22
- Publication Date
- 2026-03-20
AI Technical Summary
In shooting games, the virtual target cannot know its state of being attracted in time, which limits the operation and increases the mortality rate.
The system displays a virtual scene indicating that the target virtual object is in a state of being attracted. This is achieved by displaying a virtual scene that matches the first virtual object and providing a status prompt when the first virtual object is attracted to the target shooting prop of the second virtual object but the second virtual object is not displayed.
It enables timely alerts to target virtual objects that are passively attached, helping them to break free from the attachment state and resume normal combat operations, thus ensuring the balance of the game between the two sides.
Smart Images

Figure CN115888078B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of computers, and in particular, to a state prompting method and device, a storage medium, and an electronic device. BACKGROUND
[0002] In order to improve the hit rate of a player, an auxiliary adsorption aiming function is configured in most shooting game applications to reduce the difficulty of aiming and shooting of a virtual shooting prop controlled by the player on a target virtual object. That is, an adsorption box is configured on the target virtual object, so that when the player aims at the target virtual object using the virtual shooting prop, the aiming center can be adsorbed to the target virtual object, so as to achieve accurate hitting.
[0003] However, when the above adsorption function is implemented in the shooting game application, the target virtual object being aimed at often cannot know that it is in the adsorbed state, so that the target virtual object cannot take countermeasures in time and can only wait to be killed by the shooting prop at the current position, thereby causing the death rate to be passively increased. That is, in the related art, the target virtual object being aimed at cannot know its current state in time, resulting in the problem of limited operation mode.
[0004] At present, no effective solution has been proposed for the above problem. SUMMARY
[0005] Embodiments of the present application provide a state prompting method and device, a storage medium, and an electronic device to at least solve the technical problem that the operation mode of the target virtual object being aimed at is limited due to the fact that the target virtual object cannot know its current state in time.
[0006] According to one aspect of an embodiment of the present application, a state prompting method is provided, including: displaying a virtual scene picture matched with a first virtual object; in a case where the first virtual object is adsorbed by a target shooting prop of a second virtual object and the second virtual object is not displayed in the virtual scene picture, prompting the first virtual object to be in an adsorbed state in the virtual scene picture.
[0007] According to another aspect of an embodiment of the present application, a state prompting device is also provided, including: a display unit configured to display a virtual scene picture matched with a first virtual object; and a prompting unit configured to, in a case where the first virtual object is adsorbed by a target shooting prop of a second virtual object and the second virtual object is not displayed in the virtual scene picture, prompt the first virtual object to be in an adsorbed state in the virtual scene picture.
[0008] According to a further aspect of the embodiments of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is configured to perform the state prompting method when executed.
[0009] According to a further aspect of the embodiments of the present application, a computer program product or computer program is provided, and the computer program product or computer program includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the state prompting method.
[0010] According to a further aspect of the embodiments of the present application, an electronic device is provided, and the electronic device includes a memory and a processor. The memory stores a computer program, and the processor is configured to perform the state prompting method by using the computer program.
[0011] In the embodiments of the present application, the virtual scene picture matching the first virtual object is displayed, and the first virtual object is adsorbed by the target shooting prop of the second virtual object, and the second virtual object is not displayed in the virtual scene picture. In this case, the first object is prompted to be in the adsorbed state in the virtual scene picture. That is, the first virtual object that meets the prompting condition is prompted to be in the adsorbed state, so as to timely remind the first virtual object in the adsorbed state, to make the first virtual object timely get rid of the adsorbed state and quickly recover the normal operation with the second virtual object, and ensure the balance of the game between the two parties. Further, the problem that the target virtual object that is aimed at cannot timely know the current state and the operation mode is limited is overcome. BRIEF DESCRIPTION OF DRAWINGS
[0012] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
[0013] Figure 1 FIG. 1 is a schematic diagram of a hardware environment of an optional state prompting method according to an embodiment of the present application;
[0014] Figure 2 FIG. 2 is a flowchart of an optional state prompting method according to an embodiment of the present application;
[0015] Figure 3 FIG. 3 is a schematic diagram of an optional state prompting method according to an embodiment of the present application;
[0016] Figure 4is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0017] Figure 5 is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0018] Figure 6 is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0019] Figure 7 is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0020] Figure 8 is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0021] Figure 9 is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0022] Figure 10 is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0023] Figure 11 is a schematic diagram of another optional state prompting method according to an embodiment of the present application;
[0024] Figure 12 is a flow chart of another optional state prompting method according to an embodiment of the present application;
[0025] Figure 13 is a structural schematic diagram of an optional state prompting device according to an embodiment of the present application;
[0026] Figure 14 is a structural schematic diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by the personnel in the art without creative labor should belong to the protection scope of the present application.
[0028] It is to be understood that the terminology "first", "second" and the like used in the specification and the claims of the application as well as the foregoing drawings is merely intended to distinguish between similar objects and not necessarily for describing a particular sequential order. It is to be understood that the use of such terms can be interchanged insofar as is appropriate to the subject matter at hand. Furthermore, the terms "comprising", "having", "including", and the like, when used in the specification and in the following claims, are intended to mean the open-ended inclusion (for example, that a process, method, system, product, or apparatus that comprises a list of steps or units can include not only those steps or units but also other steps or units not expressly listed or inherent to such process, method, system, product, or apparatus). It is to be understood that such terms are not necessarily intended to be interpreted to exclude other steps or units that can be inherent to such process, method, system, product, or apparatus.
[0029] According to an aspect of the embodiments of the present application, a state prompting method is provided. Optionally, as an optional implementation, the state prompting method can be applied to, but is not limited to, a state prompting system in a hardware environment as shown in Figure 1 The state prompting system can include, but is not limited to, a terminal device 102, a network 104, a server 106, a database 108, and a terminal device 110. The terminal device 102 and the terminal device 110 each run a target client (for example, a shooting game client as shown in Figure 1 The terminal device 102 and the terminal device 110 each include a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen is used to display a virtual game scene (for example, a shooting game scene as shown in Figure 1 The human-computer interaction screen is also used to provide a human-computer interaction interface to receive a human-computer interaction operation for controlling a virtual object in the virtual scene, and the virtual object will complete a game task set in the virtual scene. The processor is used to generate an interaction instruction in response to the human-computer interaction operation, and send the interaction instruction to the server. The memory is used to store relevant attribute data, such as character attribute information of the controlled virtual object, and attribute information of a held prop, etc. The attribute information can include, but is not limited to, information for identifying an identity and a current location, etc. In the terminal device 102, a client for controlling a first virtual object is running; and in the terminal device 110, a client for controlling a second virtual object is running. In the embodiments of the present application, the second virtual object can be, but is not limited to, aiming at the first virtual object with a target shooting prop to perform a shooting and killing operation.
[0030] In addition, the server 106 includes a processing engine for performing storage or reading operations on the database 108. Specifically, the processing engine reads the respective positions of the virtual objects and the aiming information of the shooting props used by the virtual objects from the database 108, so as to determine whether the virtual objects are in the attracted state according to the information, and sends the state prompt information to the virtual objects in the attracted state.
[0031] The specific process is as follows: as step S102, a virtual scene picture matched with the first virtual object is displayed in the client running in the terminal device 102. As step S104, when the virtual scene picture matched with the second virtual object is displayed in the client running in the terminal device 110, the aiming information of the second virtual object is sent to the server 106 through the network 104. The server 106 will perform step S106 to generate the state prompt information for prompting the first virtual object in the attracted state in the virtual scene picture matched with the first virtual object, in the case that the first virtual object is attracted by the target shooting prop of the second virtual object, and the second virtual object is not displayed in the virtual scene picture matched with the first virtual object. Then as step S108, the server 106 returns the state prompt information to the terminal device 102 through the network 104. The terminal device 102 will prompt the first virtual object in the attracted state in the displayed virtual scene picture matched with the first virtual object.
[0032] As another optional implementation, when the terminal device 102 has strong computing processing capability, the above step S106 can also be completed by the terminal device 102. Here, for example, the embodiment does not make any limitation on this.
[0033] It should be noted that in the embodiment, the virtual scene picture matched with the first virtual object is displayed, and in the case that the first virtual object is attracted by the target shooting prop of the second virtual object, and the second virtual object is not displayed in the virtual scene picture, the first object is prompted in the attracted state in the virtual scene picture. That is, the first virtual object reaching the prompt condition is prompted to be in the attracted state, so as to timely remind the first virtual object in the attracted state, so that it timely escapes from the attracted state and quickly recovers the normal confrontation operation with the second virtual object, and the balance of the game confrontation between the two parties is ensured. Further, the problem that the target virtual object being aimed at cannot timely know its current state and the operation mode is limited is overcome.
[0034] Optionally, in the embodiment, the terminal device can be a terminal device configured with a target client, and can include but is not limited to at least one of a mobile phone (such as an Android mobile phone, an iOS mobile phone, etc.), a notebook computer, a tablet computer, a palm computer, a MID (Mobile Internet Device), a PAD, a desktop computer, a smart television, etc. The target client can be a video client, an instant messaging client, a browser client, an education client, etc. supporting a shooting game task. The network can include but is not limited to a wired network including a local area network, a metropolitan area network and a wide area network, and a wireless network including Bluetooth, WIFI and other wireless communication networks. The server can be a single server, a server cluster composed of multiple servers, or a cloud server. The above is only an example, and the embodiment is not limited in this regard.
[0035] Optionally, in the embodiment, the state prompting method can be applied in, but is not limited to, a game terminal application (Application, APP for short) for completing a predetermined confrontation game task in a virtual scene, such as a shooting game application in a Multiplayer Online Battle Arena (MOBA for short) application. The confrontation game task can be, but is not limited to, a game task completed by a virtual character in the virtual scene controlled by a current player through human-computer interaction operation and a virtual character controlled by another player through confrontation interaction. The confrontation game task can be, but is not limited to, running in the form of a plug-in or an applet in an application (such as a non-independently running game APP) or running in a game engine in an application (such as an independently running game APP). The type of the game application can include but is not limited to at least one of a Two Dimension (2D for short) game application, a Three Dimension (3D for short) game application, a Virtual Reality (VR for short) game application, an Augmented Reality (AR for short) game application, and a Mixed Reality (MR for short) game application. The above is only an example, and the embodiment is not limited in this regard.
[0036] Optionally, as an optional implementation manner, as shown in Figure 2 The state prompting method includes:
[0037] S202, displaying a virtual scene picture matched with the first virtual object;
[0038] Optionally, in the embodiment, the virtual scene can be, but is not limited to, a virtual shooting scene provided by a shooting application, wherein the shooting application can include, but is not limited to, a first-person shooting game (FPS), a third-person shooting game (TPS), and all games using heat weapons for remote attack. The first-person shooting game belongs to a branch of an action game (ACT), and as the name implies, the first-person shooting game is a shooting game in which the operator (player) shoots in the subjective view. The third-person shooting game is also a shooting game, and the difference between the first-person shooting game is that the virtual control object controlled by the operator (player) is directly displayed in the virtual scene picture. That is, the third-person shooting game is a virtual camera set in the virtual scene to capture the running picture of the virtual scene, thereby presenting the third-person view picture.
[0039] Optionally, in the embodiment, the first virtual object can be, but is not limited to, a virtual object controlled by the current client, which can be, but is not limited to, a virtual character, a virtual animal image, a virtual cartoon image, and the like, which is used to represent the player to complete the shooting task in the virtual scene.
[0040] S204, in the case that the first virtual object is adsorbed by the target shooting prop of the second virtual object and the second virtual object is not displayed in the virtual scene picture, prompting the first virtual object in the adsorbed state in the virtual scene picture.
[0041] Optionally, in the embodiment, the target shooting prop can be, but is not limited to, a gun, a bow and arrow, and a throwing object in the shooting application. Here, the type and range of the shooting prop are not limited.
[0042] It should be noted that the first virtual object being adsorbed by the target shooting prop of the second virtual object can be, but is not limited to, determined by the following methods: 1) in the stage of aiming by the second virtual object using the target shooting prop, when the aiming ray of the target shooting prop intersects with the adsorption box of the first virtual object, it is determined that the first virtual object is adsorbed by the target shooting prop; 2) in the stage of shooting by the second virtual object using the target shooting prop, when the aiming ray of the target shooting prop intersects with the adsorption box of the first virtual object and the second virtual object triggers the shooting action, it is determined that the first virtual object is adsorbed by the target shooting prop.
[0043] Optionally, in this embodiment, the aiming reticle of the aforementioned target firing prop can be, but is not limited to, a marking used for aiming, such as a cross, circle, or dot, or other geometric shapes. The aiming ray formed based on the aiming reticle can be, but is not limited to, a ray emitted along the firing direction of the target firing prop. During the movement of the second virtual object, the second virtual object triggers an aiming ray from the target firing prop it uses in each frame, with an infinite distance.
[0044] Optionally, in this embodiment, the suction box corresponding to the first virtual object can be, but is not limited to, a detection box used to trigger the suction function to generate suction force. It should be noted that the suction function here can be, but is not limited to, when the shooting tool is aimed at a certain range of the target object, the background system will automatically trigger the generation of a suction force, which can move the aiming reticle to the center display position (or central axis) of the target object. If the target object does not move, the aiming reticle will remain attached to the center display position (or central axis) of the target object, thus improving the hit rate of the virtual object using the shooting tool. Furthermore, when the first virtual object in the suction state dies or the aiming ray leaves, the suction box will also disappear (i.e., the suction force will disappear).
[0045] For example, such as Figure 3 The image shown is a virtual scene of the second virtual object (assuming the user account is ID-2). Here, the second virtual object is using a gun to aim at the first virtual object 302. The aiming ray 306 and the snap-in frame 304 of the first virtual object 302 are shown in the image. Figure 3 When the dashed boxes shown intersect, an attractive force is generated on the firearm, such as... Figure 3 The dashed arrow indicates that the aiming reticle 308 will be snapped to the center display position of the first virtual object 302. It should be noted that the aiming ray 306 is not actually displayed in the virtual scene shown on the client; it is shown here for clarity in illustrating the snapping process. The shifting of the aiming reticle 308 will be displayed in the virtual scene shown on the client.
[0046] Optionally, in this embodiment, when the aiming ray intersects with the adsorption frame to trigger the adsorption force, there will be a distance between the aiming ray being adsorbed to the center display position (or central axis) of the first virtual object. During this process, if it is determined that the second virtual object is not displayed in the virtual scene of the first virtual object, it can be indicated in the virtual scene of the first virtual object that it is in an adsorption state, so as to achieve the purpose of timely obtaining status warning.
[0047] For example, suppose the current virtual scene view of the first virtual object (user account ID-1) is as follows: Figure 4As shown. If the first virtual object is attacked by the second virtual object, the firing direction of the target shooting tool used by the second virtual object is as follows. Figure 4 The dashed arrow shown further confirms that the aiming ray of the second virtual object has intersected with the snap-in frame of the first virtual object, and the second virtual object is not displayed in the virtual scene of the first virtual object. Therefore, in the case of... Figure 4 The virtual scene shown indicates that the first virtual object is in a snapped-to-attach state, as shown below. Figure 4 A bolded indicator box is displayed around the perimeter of the screen. This indicator box may, but is not limited to, use different colors and flash. This serves to notify the user that the first virtual object has been snapped to.
[0048] It should be noted that, in this embodiment, the aforementioned method of indicating that the first virtual object is in an adsorption state can be triggered, but is not limited to, when the first virtual object is equipped with an anti-adsorption chip. In other words, the aforementioned notification function indicating that the first virtual object is in an adsorption state can be triggered, but is not limited to, based on the functional chip configured for the first virtual object. That is to say, if the first virtual object is not equipped with the aforementioned anti-adsorption chip, the aforementioned anti-adsorption notification function provided in this embodiment will not be triggered.
[0049] Furthermore, in this embodiment, when the first virtual object is equipped with the aforementioned anti-adsorption chip, it can not only promptly notify the user that the first virtual object it controls is in an adsorption state, but also accept adjustment operations performed by the player to adjust the posture of the first virtual object so that it can break free from its current adsorption state.
[0050] It should be noted that the suction frame provided in related technologies is usually always oriented towards the aiming reticle of the attacking weapon (that is, the aiming ray corresponding to the aiming reticle is always perpendicular to the plane where the suction frame is located). However, in this embodiment, the suction frame of the first virtual object equipped with the anti-suction chip will no longer always be oriented towards the aiming reticle of the attacking weapon, but will be perpendicular to the orientation of the first virtual object. Therefore, in this embodiment, the posture of the first virtual object can be adjusted in response to the adjustment operation of the first virtual object to reduce the probability of it being hit by the second virtual object. For example, reducing the angle between the plane where the suction frame of the first virtual object is located and the aiming ray reduces its aiming area, thereby reducing the probability of being hit.
[0051] By the embodiments provided in the present application, it is shown that the virtual scene surface matched with the first virtual object is displayed, and in the case that the first virtual object is adsorbed by the target shooting prop of the second virtual object and the second virtual object is not displayed in the virtual scene surface, the first object is prompted to be in the adsorbed state in the virtual scene surface. That is, the first virtual object reaching the prompt condition is prompted to be in the adsorbed state, so as to timely remind the first virtual object in the passive adsorbed state, to make it timely get rid of the adsorbed state and quickly recover the normal confrontation operation with the second virtual object, and the balance of the game confrontation between the two parties is ensured. Further, the problem that the state of the target virtual object being aimed at cannot be known in time in the related art, resulting in the limited operation mode, is overcome.
[0052] As an optional solution, after the virtual scene surface matched with the first virtual object is displayed, one of the following is further included:
[0053] 1) In the case that the aiming ray of the target shooting prop used by the second virtual object intersects with the adsorption box of the first virtual object, it is determined that the first virtual object is adsorbed by the target shooting prop of the second virtual object.
[0054] That is, in the present embodiment, when the aiming ray of the target shooting prop of the second virtual object intersects with the adsorption box of the first virtual object, the adsorption force is triggered, so that the target shooting prop is adsorbed to change the direction, and the aiming ray is adsorbed to the center display position of the first virtual object. In the virtual scene surface of the second virtual object, it is displayed that the aiming center of the target shooting prop is adsorbed to the center display position of the first virtual object.
[0055] 2) In the case that the aiming ray of the target shooting prop used by the second virtual object intersects with the adsorption box of the first virtual object, and the second virtual object performs a shooting action on the first virtual object using the target shooting prop, it is determined that the first virtual object is adsorbed by the target shooting prop of the second virtual object.
[0056] That is, in the present embodiment, when the aiming ray of the target shooting prop of the second virtual object intersects with the adsorption box of the first virtual object, and the target shooting prop is triggered to perform a shooting action, the adsorption force is triggered, so that the target shooting prop is adsorbed to change the direction, and the aiming ray is adsorbed to the center display position of the first virtual object. In the virtual scene surface of the second virtual object, it is displayed that the aiming center of the target shooting prop is adsorbed to the center display position of the first virtual object.
[0057] Through the embodiments provided in this application, the adsorption effect triggered by the second virtual object during the aiming or shooting phase can be used to provide a status reminder for the first virtual object in the adsorption phase, thereby enabling the first virtual object to be promptly removed from the adsorption and detached as soon as possible.
[0058] As an optional solution, indicating in the virtual scene that the first virtual object is in a snapped-to-grind state includes:
[0059] S1, according to the prompting mode that matches the adsorption distance, prompt that the first virtual object is in an adsorption state, wherein the adsorption distance is the distance between the center display position of the adsorbed first virtual object and the aiming ray of the target shooting prop.
[0060] It should be noted that when the aiming ray of the target shooting prop of the second virtual object intersects with the suction box of the first virtual object, the aiming ray will be affected by the suction force and will begin to move towards the center display position of the first virtual object. This center display position can be the central axis of the collision box corresponding to the first virtual object. During the process of the aiming ray being suctioned and moved, the offset process of the aiming reticle corresponding to the aiming ray will be displayed in the virtual scene screen of the second virtual object.
[0061] Optionally, in this embodiment, the prompting mode for indicating that the first virtual object has changed to an attracted state may, but is not limited to, serve to highlight the warning. This prompting mode may, but is not limited to, be related to the attraction distance between the aiming ray and the center display position. That is, the closer the aiming ray is to the center display position during its shift, the higher the probability that the first virtual object is attracted and hit, thus requiring further enhancement of the prompting for the first virtual object.
[0062] For example, combining Figures 4-5 The following explanation illustrates the following: Assuming the aiming ray of the target shooting tool used by the second virtual object intersects with the snap-in frame of the first virtual object, a prompt message will begin to appear within the virtual scene of the first virtual object, such as the prompt effect shown below. Figure 4 As shown, color highlighting effects are displayed at the four boundaries of the virtual scene (represented by bold solid lines in the image). Furthermore, when the aiming ray moves to the center of the snap-in box, an enhanced prompt message is displayed in the virtual scene of the first virtual object, such as the prompt effect shown below. Figure 5 As shown, a blinking effect is displayed at the four boundaries of the virtual scene (represented by bold dashed boxes in the image).
[0063] It should be noted that the prompt mode here can be but is not limited to being associated with different prompt manners, prompt styles, and used for indicating prompt period, prompt frequency, prompt area, prompt track, or prompt intensity and other prompt attribute information of the prompt manners or prompt styles.
[0064] According to the embodiments provided in the present application, after the distance between the aiming ray in the movement after being adsorbed and the center display position of the first virtual object is acquired, the first virtual object in the adsorbed state is prompted according to the prompt mode matched with the distance, so that the prompt mode is flexibly adjusted according to the distance changing in real time after being adsorbed, thereby improving the flexibility and hierarchy of state prompting.
[0065] As an optional solution, prompting the first virtual object in the adsorbed state according to the prompt mode matched with the adsorption distance includes at least one of the following:
[0066] 1) The higher the prompt frequency indicated by the prompt mode is, the smaller the adsorption distance is;
[0067] For example, it is still assumed that the prompt manner shown in FIG. 8 is taken as an example, and the special effect is displayed at the four boundaries of the virtual scene picture to prompt the first virtual object to enter the adsorbed state. Figures 4-5 The smaller the distance between the aiming ray in the movement after being adsorbed and the center display position of the first virtual object is, the higher the frequency of the above-mentioned special effect flashing can be configured to be.
[0068] For example, when the aiming ray just intersects with the adsorption frame of the first virtual object as shown in FIG. 8, it is prompted at 1 time / s; and when the aiming ray moves to the center position of the adsorption frame of the first virtual object as shown in FIG. 9, it is prompted at 5 times / s. Figure 4 Figure 5 2) The greater the prompt intensity indicated by the prompt mode is, the smaller the adsorption distance is.
[0069] For example, it is still assumed that the prompt manner shown in FIG. 8 is taken as an example, and the special effect is displayed at the four boundaries of the virtual scene picture to prompt the first virtual object to enter the adsorbed state.
[0070] The smaller the distance between the aiming ray in the movement after being adsorbed and the center display position of the first virtual object is, the greater the intensity of the above-mentioned special effect flashing can be configured to be. Figures 4-5 For example, when the aiming ray just intersects with the adsorption frame of the first virtual object as shown in FIG. 8, it is prompted at low brightness; and when the aiming ray moves to the center position of the adsorption frame of the first virtual object as shown in FIG. 9, it is prompted at high brightness.
[0071] Figure 4 Figure 5
[0072] Through the embodiments provided in the present application, the adsorption state information is prompted according to the corresponding prompt mode as the distance becomes closer, thereby achieving the effect of improving the flexibility and hierarchy of the prompt.
[0073] As an optional solution, prompting the first virtual object in the virtual scene picture to be in the adsorbed state includes at least one of the following:
[0074] 1) adjusting the appearance display style of the virtual scene picture to a target style, wherein the target style is used to indicate that the first virtual object is in the adsorbed state;
[0075] Optionally, in the present embodiment, the target style can include but is not limited to at least one of the following: displaying special effect elements for prompting the adsorbed state at the four boundaries of the virtual scene picture, adjusting the display color tone of the virtual scene picture (such as adjusting to a cold color tone or a gray tone to prompt the adsorbed state), adding special effect elements for prompting the adsorbed state in the virtual scene picture (such as adding a grid element on the full screen of the virtual scene picture), and the like. Wherein the grid element will block the observation line of sight of the first virtual object, in this way, it is prompted that the first virtual object has been adsorbed.
[0076] For example, as shown in Figure 6 , the virtual scene picture of the first virtual object is adjusted from a bright color tone to a dark color tone (such as a grid filling effect shown in the figure to represent the dark), to prompt that the first virtual object currently enters the adsorbed state. Further, the darker the color tone, the stronger the adsorption force, and the closer the aiming ray distance from the center display position of the first virtual object. Here is an example, the present embodiment does not make any limitation on this.
[0077] 2) displaying target prompt information in the virtual scene picture, wherein the target prompt information is used to prompt that the first virtual object is in the adsorbed state, and the target prompt information includes at least one of the following: text information, image information, animation information;
[0078] For example, as shown in Figure 7 , the text information "You have been adsorbed by ID-2!" is directly prompted in the virtual scene picture of the first virtual object. The text content shown in the figure is an example, and no limitation is made here.
[0079] In addition, an image (or icon) designed for the adsorbed state can also be used as prompt information, and a video, animation, moving picture and the like designed for the adsorbed state can also be used as prompt information. No limitation is made on the format of the prompt information here.
[0080] 3) playing prompt audio, wherein the prompt audio is used to prompt that the first virtual object is in the adsorbed state.
[0081] In addition, but not limited to, a notification audio message can be played to indicate that the first virtual object has entered the attracted state. For example, a notification audio message can be played through the microphone of the terminal device: "You have been attracted and locked, please adjust accordingly."
[0082] Through the embodiments provided in this application, various prompting methods can be used in the virtual scene to indicate that the first virtual object is in a snapped state, thereby quickly and efficiently prompting the player controlling the first virtual object so that they can take timely countermeasures and avoid being killed under limited operational conditions in a short period of time.
[0083] As an optional approach, after displaying a virtual scene that matches the first virtual object, one of the following may be included:
[0084] 1) If the second virtual object is completely obscured by the target object in the virtual scene, it is determined that the second virtual object is not displayed in the virtual scene.
[0085] 2) If the current location of the second virtual object is not within the display area presented by the virtual scene screen, it is determined that the second virtual object is not displayed in the virtual scene screen.
[0086] It should be noted that when the second virtual object is completely obscured by the target object in the virtual scene and cannot be displayed, or when the location of the second virtual object is not within the display area presented by the virtual scene, it can be determined that the second virtual object is not displayed in the virtual scene.
[0087] For example, such as Figure 8 As shown, assuming that the second virtual object, which is being aimed at the first virtual object using the target shooting prop, is walking out of the door in the virtual scene, but is completely obscured by the target object 802 at the door, it can be determined that the second virtual object will not be found in the virtual scene.
[0088] For example, assuming the second virtual object, which is aimed at the first virtual object using a target shooting tool, is located to the left of the window, it means that the second virtual object has not entered the display area presented by the virtual scene screen, and therefore it can be determined that the second virtual object is not displayed in the virtual scene screen. Figure 9 The bolded line segment shown represents the aiming ray from a second virtual object outside the display area.
[0089] The embodiments provided in this application trigger the anti-attachment prompt function only when the second virtual object is not displayed in the virtual scene of the first virtual object. This makes the prompting process of the virtual game scene more realistic, and avoids adding extra prompting information when both parties are visible to each other, thus avoiding unnecessary prompting burden.
[0090] As an optional solution, in a case that the current location of the second virtual object is not located in the display area presented by the virtual scene picture, determining that the second virtual object is not displayed in the virtual scene picture comprises:
[0091] S1, constructing a plane coordinate system corresponding to the currently displayed virtual scene picture based on the current location of the first virtual object, and determining the boundary coordinates of the field of view boundary of the virtual scene picture in the plane coordinate system;
[0092] S2, converting the space coordinates of the current location of the second virtual object into screen display coordinates in the plane coordinate system;
[0093] S3, in a case that the screen display coordinates are located outside the display boundary indicated by the boundary coordinates, determining that the current location of the second virtual object is not located in the display area presented by the virtual scene picture.
[0094] It should be noted that each virtual object is assigned a three-dimensional space coordinate (x, y, z) in the world coordinate system in the virtual scene, which is converted to a two-dimensional screen display coordinate (X, Y) in the plane coordinate system corresponding to the currently displayed virtual scene picture constructed based on the current location of the first virtual object. Then it is determined whether the two-dimensional screen display coordinates (X, Y) of the second virtual object are located in the display area presented by the virtual scene picture.
[0095] For example, if X<0, it indicates that the second virtual object is located outside the left boundary of the virtual scene picture and is not in the display area, which satisfies the condition; if Y<0, it indicates that the second virtual object is located outside the lower boundary of the virtual scene picture and is not in the display area, which satisfies the condition; if X>Screen.whith (the width of the screen), it indicates that the second virtual object is located outside the right boundary of the virtual scene picture and is not in the display area, which satisfies the condition; if Y>Screen.high (the height of the screen), it indicates that the second virtual object is located outside the upper boundary of the virtual scene picture and is not in the display area, which satisfies the condition.
[0096] Through the embodiments provided in the present application, by comparing the screen display coordinates of the second virtual object in the plane coordinate system with the display area of the virtual scene picture, it is determined whether the second virtual object is located therein, thereby facilitating accurate determination of whether to trigger the anti-adsorption prompt function.
[0097] As an optional solution, after prompting that the first virtual object is in the adsorbed state in the virtual scene picture, it further comprises:
[0098] S1, in a case that the second virtual object is displayed in the virtual scene picture, canceling the prompt that the first virtual object is in the adsorbed state.
[0099] For example, as shown in Figure 10 Fig. 10B, assuming that a second virtual object 1002 aiming at the target shooting prop and targeting the first virtual object is walking out of a door in the virtual scene picture, the display is shown in the virtual scene picture. It can be determined that the second virtual object is found in the virtual scene picture. Then the anti-adsorption prompt function will no longer be continued, and the state prompt of the first virtual object being in the adsorption state is cancelled.
[0100] Through the embodiments provided in the present application, in the case that the second virtual object is found in the virtual scene picture, the state of the first virtual object being in the adsorption state is cancelled. For the second virtual object displayed in the virtual scene picture, the battle visualization has been realized, and the balance of the game confrontation can be ensured, so there is no need to continue to prompt the state information, thereby achieving the purpose of reducing the prompt rendering cost and saving the prompt resources.
[0101] As an optional solution, after the first virtual object is prompted to be in the adsorption state in the virtual scene picture, the method further comprises:
[0102] S1, in response to the adjustment operation on the first virtual object, controlling the first virtual object to adjust from a first posture to a second posture, wherein in the first posture, the angle between the plane where the adsorption box of the first virtual object is located and the aiming ray of the target shooting prop is greater than a target threshold; in the second posture, the angle between the plane where the adsorption box of the first virtual object is located and the aiming ray of the target shooting prop is less than or equal to the target threshold, and the first virtual object in the second posture reaches the posture condition of being out of the adsorption state;
[0103] S2, cancelling the prompt of the first virtual object being in the adsorption state.
[0104] Optionally, in the present embodiment, in response to the adjustment operation on the first virtual object, controlling the first virtual object to adjust from the first posture to the second posture comprises at least one of the following:
[0105] 1) in response to the orientation adjustment operation performed on the first virtual object, adjusting the first virtual object from a first orientation to a second orientation; determining to adjust the first virtual object from the first posture to the second posture;
[0106] 2) in response to the position adjustment operation performed on the first virtual object, moving the first virtual object from a first position to a second position; determining to adjust the first virtual object from the first posture to the second posture;
[0107] Wherein, the orientation of the first virtual object is perpendicular to the plane where the adsorption box of the first virtual object is located.
[0108] It should be noted that after prompting the first virtual object to be in the adsorbed state in the virtual scene picture, the first virtual object can but is not limited to perform corresponding operations to realize anti-adsorption. The method of anti-adsorption can but is not limited to controlling the first virtual object to leave the aiming range of the second virtual object. For example, the first virtual object can be controlled to move quickly to the left or to the right, or the first virtual object can be controlled to change the orientation to get rid of the adsorbed state.
[0109] That is, in the related art, the adsorption box is usually always directed to the aiming ray of the shooting prop, as shown in (a) of Figure 11 , the arrow points to the shooting direction of the aiming ray, and when the target object aimed at is oriented to the left or to the right, the plane where the adsorption box is located is always perpendicular to the direction indicated by the arrow. In the present embodiment, after the first virtual object is equipped with the anti-adsorption chip, the adsorption box will always be perpendicular to the orientation of the target, as shown in (b) of Figure 11 , the arrow points to the shooting direction of the aiming ray, and when the target object aimed at is oriented to the left or to the right, the plane where the adsorption box is located will also be adjusted according to the orientation. That is, if the direction of the aiming ray is changed according to the orientation of the virtual object, a high probability of hitting can be ensured, and if the direction of the aiming ray is not changed according to the orientation of the virtual object, the area of the aiming and shooting will be reduced, and the probability of hitting will be reduced accordingly.
[0110] Through the embodiments provided in the present application, the first virtual object can change the orientation or the location thereof to get rid of the aiming adsorption of the second virtual object, so as to timely and quickly take anti-adsorption measures after receiving the state prompt, change from passive to active, and avoid the operation being limited.
[0111] The complete process of the state prompting method provided in the present application will be described in detail in combination with the flow shown in Figure 12 . It is assumed that the virtual scene picture is displayed in the first observation angle of the first virtual object, and the adsorption is triggered by the intersection of the aiming ray and the adsorption box.
[0112] After the user account ID-1 controls the first virtual object (such as the player shown in the figure) to start a shooting game task, the first virtual object is equipped with an anti-adsorption chip (which can be referred to as an anti-adsorption chip) in step S1202. Then, in step S1204, it is detected whether the first virtual object is aimed at by any second virtual object (such as the enemy shown in the figure which can belong to a different camp). If it is determined that the first virtual object is aimed at and the aiming ray intersects with the adsorption box of the first virtual object, step S1206 is performed, and if the first virtual object is not aimed at or does not intersect with the adsorption box thereof, the process returns to before step S1202.
[0113] As step S1206, after determining the adsorption, the adsorption is started to be generated. Then as step S1208, in the current displayed virtual scene picture (i.e. the visual range of the player), it is determined whether the enemy is displayed. If it is determined that the enemy is not in the visual range, step S1210 is executed, and if it is determined that the enemy is in the visual range, step S1206 is returned.
[0114] As step S1210, in the case that the prompt condition is met (i.e. the player is aimed, the aiming ray intersects with the adsorption frame, and the enemy is not displayed in the visual range), a warning special effect that the player is adsorbed is displayed in the current visual range of the player.
[0115] As step S1212, it is detected whether the player changes the orientation, if it is determined that the orientation is not changed, step S1210 is returned, and if it is determined that the orientation is changed, step S1214 is executed, the player adsorption frame is controlled to change with the change of the orientation of the player. Then it is judged whether the enemy aiming center leaves the adsorption frame, as step S1216.
[0116] If it is determined that the enemy aiming center leaves the adsorption frame due to the change of the orientation of the adsorption frame, as step S1218, it is determined that the adsorption fails. Thus, the successful control of the player to escape from the adsorption is realized, and the situation of being trapped in the passive operation limitation is avoided.
[0117] Wherein, after the above step S1210, it can also include judging whether the enemy enters the visual range, if the enemy aiming at the player enters the visual range, the warning special effect (not shown in the figure) of the player is cancelled.
[0118] The above Figure 12 The flowchart shown is an example, and the embodiment is not limited to this.
[0119] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the action order described, because according to the present application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.
[0120] According to another aspect of the embodiment of the present application, a state prompting device for implementing the above state prompting method is also provided. As shown in the figure, the device comprises: Figure 13 The device comprises:
[0121] The display unit 1302 is configured to display a virtual scene picture matched with the first virtual object.
[0122] The prompt unit 1304 is configured to, in a case where the first virtual object is adsorbed by the target shooting prop of the second virtual object and the second virtual object is not displayed in the virtual scene picture, prompt the first virtual object in the virtual scene picture that the first virtual object is in the adsorbed state.
[0123] Optionally, in the embodiment, the implementation of each unit module can refer to the above-mentioned method embodiments, which will not be repeated here.
[0124] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned state prompting method is also provided, which can be Figure 1 a terminal device or a server as shown in the drawings. The present embodiment takes the terminal device as an example for illustration. As shown in the drawings, the electronic device comprises a memory 1402 and a processor 1404, the memory 1402 stores a computer program, and the processor 1404 is configured to execute the steps in any of the above-mentioned method embodiments through the computer program. Figure 14
[0125] Optionally, in the embodiment, the electronic device can be located in at least one of the network devices in the computer network.
[0126] Optionally, in the embodiment, the processor can be configured to execute the following steps through the computer program:
[0127] S1, displaying a virtual scene picture matched with the first virtual object;
[0128] S2, in a case where the first virtual object is adsorbed by the target shooting prop of the second virtual object and the second virtual object is not displayed in the virtual scene picture, prompting the first virtual object in the virtual scene picture that the first virtual object is in the adsorbed state.
[0129] Optionally, those skilled in the art can understand that Figure 14 the structure shown in the drawings is only schematic, and the electronic device can also be a terminal device such as a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, etc. Figure 14 which does not limit the structure of the electronic device. For example, the electronic device can further comprise more or less components (such as a network interface, etc.) than those shown in the drawings, or have a different configuration from that shown in the drawings. Figure 14 Figure 14
[0130] The memory 1402 can be used to store software programs and modules, such as program instructions / modules corresponding to the state prompting method and device in the embodiments of the present application. The processor 1404 executes various functions and data processing by running the software programs and modules stored in the memory 1402, that is, implements the state prompting method described above. The memory 1402 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 1402 can further include a memory remotely arranged with respect to the processor 1404, which can be connected to the terminal through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. Specifically, the memory 1402 can be used to store, but is not limited to, various elements in the virtual scene picture, state prompting information, and the like. As an example, as shown in FIG. 15, the memory 1402 can include, but is not limited to, the display unit 1302 and the prompting unit 1304 in the state prompting device described above. In addition, other module units in the state prompting device described above can also be included, but are not limited to, which will not be described in detail in this example. Figure 14 As shown in FIG. 15, the memory 1402 can include, but is not limited to, the display unit 1302 and the prompting unit 1304 in the state prompting device described above. In addition, other module units in the state prompting device described above can also be included, but are not limited to, which will not be described in detail in this example.
[0131] Optionally, the transmission device 1406 is used to receive or send data via a network. Specific examples of the above-mentioned network can include wired networks and wireless networks. In one example, the transmission device 1406 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through a network cable to communicate with the Internet or a local area network. In one example, the transmission device 1406 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.
[0132] In addition, the electronic device described above further includes a display 1408 for displaying a virtual scene picture of a first virtual object, and prompting that the first virtual object is in an adsorbed state in the virtual scene picture; and a connection bus 1410 for connecting various module components in the electronic device.
[0133] In other embodiments, the terminal device or the server described above can be a node in a distributed system, where the distributed system can be a blockchain system, which can be a distributed system formed by the plurality of nodes communicating through a network. Wherein, the nodes can form a peer-to-peer (P2P, Peer To Peer) network, and any form of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the peer-to-peer network.
[0134] According to an aspect of the present application, a computer program product is provided, which includes computer programs / instructions containing program codes for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a detachable medium. When the computer program is executed by a central processing unit, various functions provided by the embodiments of the present application are executed.
[0135] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
[0136] According to an aspect of the present application, a computer readable storage medium is provided, from which a processor of a computer device reads computer instructions, and the processor executes the computer instructions, so that the computer device executes the state prompting method described above.
[0137] Optionally, in the present embodiment, the above-mentioned computer readable storage medium can be configured to store computer programs for executing the following steps:
[0138] S1, displaying a virtual scene picture matched with the first virtual object;
[0139] S2, in the case that the first virtual object is adsorbed by a target shooting prop of the second virtual object, and the second virtual object is not displayed in the virtual scene picture, prompting the first virtual object to be in the adsorbed state in the virtual scene picture.
[0140] Optionally, in the present embodiment, those skilled in the art can understand that all or part of the steps in the above-mentioned various methods of the embodiments can be completed by programs instructing the related hardware of the terminal device, and the programs can be stored in a computer readable storage medium, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0141] The integrated units in the above-mentioned embodiments, if realized in the form of software function units and sold or used as independent products, can be stored in the above-mentioned computer readable storage medium. Based on such understanding, the technical solutions of the present application, essentially or in other words, the parts that make contributions to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions for causing one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application.
[0142] In the above-mentioned embodiments of the present application, the description of each embodiment is focused on, and the part not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0143] In several embodiments provided in the present application, it should be understood that the disclosed client can be implemented by other manners. Among them, the above-described device embodiments are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be indirect coupling or communication connection through some interfaces, units or modules, and can be electrical or other forms.
[0144] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the present embodiment.
[0145] In addition, each functional unit in each embodiment of the present application can be integrated in a processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0146] The above is only the preferred embodiment of the present application, and it should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, and these improvements and refinements should be considered as the protection scope of the present application.
Claims
1. A status indication method, characterized in that, include: Displays a virtual scene that matches the first virtual object; When the first virtual object is attracted to the target shooting prop of the second virtual object, and the second virtual object is not displayed in the virtual scene, the first virtual object is indicated to be in an attracted state in the virtual scene. In response to the adjustment operation on the first virtual object, the first virtual object is controlled to adjust from a first posture to a second posture. In the first posture, the angle between the plane where the first virtual object's adsorption frame is located and the aiming ray of the target shooting prop is greater than a target threshold. In the second posture, the angle between the plane where the first virtual object's adsorption frame is located and the aiming ray of the target shooting prop is less than or equal to the target threshold. The first virtual object in the second posture has reached the posture condition of escaping the adsorption state. Cancel the notification that the first virtual object is in the "attached" state.
2. The method according to claim 1, characterized in that, After displaying the virtual scene that matches the first virtual object, it also includes one of the following: If the aiming ray of the target shooting tool used by the second virtual object intersects with the snap-in frame of the first virtual object, it is determined that the first virtual object is snapped into the target shooting tool of the second virtual object; When the aiming ray of the target shooting prop used by the second virtual object intersects with the snap-in frame of the first virtual object, and the second virtual object uses the target shooting prop to perform a shooting action at the first virtual object, it is determined that the first virtual object is snapped into the target shooting prop of the second virtual object.
3. The method according to claim 1, characterized in that, The notification in the virtual scene that the first virtual object is in an attracted state includes: The system displays a prompt pattern that matches the adsorption distance, indicating that the first virtual object is in the adsorbed state. The adsorption distance is the distance between the center display position of the adsorbed first virtual object and the aiming ray of the target shooting prop.
4. The method according to claim 3, characterized in that, According to the prompting pattern matched to the adsorption distance, the first virtual object is prompted to be in the adsorbed state, including at least one of the following: The smaller the adsorption distance, the higher the prompting frequency indicated by the prompting mode; The smaller the adsorption distance, the greater the alert intensity indicated by the alert mode.
5. The method according to any one of claims 1 to 4, characterized in that, The virtual scene display indicating that the first virtual object is in a attracted state includes at least one of the following: The appearance display style of the virtual scene is adjusted to the target style, wherein the target style is used to indicate that the first virtual object is in the attracted state; The target prompt information is displayed in the virtual scene screen, wherein the target prompt information is used to indicate that the first virtual object is in the attracted state, and the target prompt information includes at least one of the following: text information, image information, and animation information; Play a prompt audio, wherein the prompt audio is used to indicate that the first virtual object is in the attracted state.
6. The method according to any one of claims 1 to 4, characterized in that, After displaying a virtual scene that matches the first virtual object, one of the following is included: If the second virtual object is completely obscured by the target object in the virtual scene, it is determined that the second virtual object is not displayed in the virtual scene. If the current location of the second virtual object is not within the display area presented by the virtual scene screen, it is determined that the second virtual object is not displayed in the virtual scene screen.
7. The method according to claim 6, characterized in that, Determining that the second virtual object is not displayed within the virtual scene screen when its current location is not within the display area presented by the virtual scene screen includes: Based on the current location of the first virtual object, construct a planar coordinate system corresponding to the currently displayed virtual scene, and determine the boundary coordinates of the field of view of the virtual scene in the planar coordinate system. Transform the spatial coordinates of the current location of the second virtual object into screen display coordinates in the planar coordinate system; If the screen display coordinates are outside the display boundary indicated by the boundary coordinates, it is determined that the current location of the second virtual object is not within the display area presented by the virtual scene screen.
8. The method according to any one of claims 1 to 4, characterized in that, After indicating in the virtual scene that the first virtual object is in a attracted state, the method further includes: If the second virtual object is displayed in the virtual scene, the prompt that the first virtual object is in the attracted state is removed.
9. The method according to claim 1, characterized in that, In response to an adjustment operation on the first virtual object, controlling the first virtual object to adjust from a first pose to a second pose includes at least one of the following: In response to the orientation adjustment operation performed on the first virtual object, the first virtual object is adjusted from a first orientation to a second orientation; it is determined that the first virtual object is adjusted from the first posture to the second posture; In response to a position adjustment operation performed on the first virtual object, the first virtual object is moved from a first position to a second position; it is determined that the first virtual object is adjusted from the first pose to the second pose. The orientation of the first virtual object is perpendicular to the plane where the first virtual object's adsorption frame is located.
10. A status indication device, characterized in that, include: The display unit is used to display a virtual scene image that matches the first virtual object; The notification unit is configured to, when the first virtual object is attracted to the target shooting prop of the second virtual object, and the second virtual object is not displayed in the virtual scene, notify the first virtual object that it is in an attracted state; in response to an adjustment operation on the first virtual object, control the first virtual object to adjust from a first posture to a second posture, wherein, in the first posture, the angle between the plane where the attraction frame of the first virtual object is located and the aiming ray of the target shooting prop is greater than a target threshold; in the second posture, the angle between the plane where the attraction frame of the first virtual object is located and the aiming ray of the target shooting prop is less than or equal to the target threshold, and the first virtual object in the second posture has reached the posture condition of escaping the attracted state; and cancel the notification that the first virtual object is in the attracted state.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method according to any one of claims 1 to 9.
12. A computer program product comprising computer instructions, characterized in that, When executed by a processor, the computer instructions implement the method described in any one of claims 1 to 9.
13. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 9 through the computer program.
Citation Information
Patent Citations
Virtual object attack prompt method and device, terminal and storage medium
CN110548288A
Virtual prop control method and device, storage medium and electronic device
CN110841276A
Virtual prop control method and device, storage medium and electronic device
CN111084984A