Virtual article throwing method and device, computer equipment and storage medium
By providing throwing points and star marks at the target position in the electronic game, helping players adjust the virtual object and star position, the problem of low accuracy of throwing virtual items is solved and the efficiency of human-computer interaction is improved.
Patent Information
- Application Number
- CN202310656168.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-05
- Publication Date
- 2024-12-06
AI Technical Summary
In electronic games, when players throw virtual items in virtual scenes, the lack of accuracy leads to low throwing accuracy, affecting human-computer interaction efficiency.
A method and device are provided to assist players in moving the virtual object to the throwing point and adjusting the look-up to the marking position by displaying the throwing point and the look-up mark of the target position in a virtual scene to achieve accurate throwing.
It improves the accuracy of virtual item throwing, reduces dependence on operational experience, and improves the efficiency of human-computer interaction.
Smart Images

Figure CN119075309A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and more particularly to a method and apparatus for throwing a virtual item, a computer device, and a storage medium. Background Art
[0002] With the rapid development of computer technology and the popularization of intelligent terminals, electronic games have been widely used. In the virtual scenes provided by electronic games, players can control virtual objects to throw virtual items, such as grenades, smoke bombs or stun bombs.
[0003] In the related art, if a player wants to throw a virtual object to a certain position, the player needs to adjust the position of the virtual object and the crosshairs by himself. Only when they are adjusted to the appropriate position can the virtual object be accurately thrown to the desired position. However, this is very dependent on the player's operating experience. It is easy for the player to make improper operations and cause incorrect throwing. Therefore, the accuracy of throwing virtual objects is low, which in turn leads to low efficiency of human-computer interaction. Summary of the invention
[0004] The embodiments of the present application provide a method, device, computer equipment and storage medium for throwing virtual items, which are conducive to improving the accuracy of throwing virtual items, thereby improving the efficiency of human-computer interaction. The technical solution is as follows:
[0005] In one aspect, a method for throwing a virtual object is provided, the method comprising:
[0006] Displaying a first virtual object in a virtual scene, wherein the virtual scene includes a throwing point corresponding to a target position, wherein the throwing point is a position where a virtual object needs to be located when throwing the virtual object at the target position;
[0007] When the first virtual object moves to the throwing point, a crosshair mark is displayed, and the position of the crosshair mark is the position where the crosshair needs to aim when throwing the virtual object from the throwing point to the target position;
[0008] When the crosshair of the first virtual object moves to the crosshair mark, in response to a throwing operation, the first virtual object is controlled to throw the virtual item to the target position.
[0009] In another aspect, a virtual item throwing device is provided, the device comprising:
[0010] A virtual object display module, used to display a first virtual object in a virtual scene, wherein the virtual scene includes a throwing point corresponding to a target position, wherein the throwing point is a position where a virtual object needs to be located when throwing the virtual object at the target position;
[0011] an auxiliary information display module, configured to display a crosshair mark when the first virtual object moves to the throwing point, wherein the position of the crosshair mark is the position where the crosshair needs to aim when the virtual object is thrown from the throwing point to the target position;
[0012] The throwing module is used for controlling the first virtual object to throw the virtual item to the target position in response to a throwing operation when the crosshair of the first virtual object moves to the crosshair mark.
[0013] Optionally, the auxiliary information display module is further configured to perform at least one of the following:
[0014] When the first virtual object moves to the throwing point, a landing point mark is displayed in the small map of the virtual scene, and the position of the landing point mark is the landing point of the virtual object after the virtual object is thrown according to the position currently aimed by the crosshair;
[0015] When the first virtual object moves to the throwing point, a predicted throwing trajectory is displayed, where the predicted throwing trajectory is a throwing trajectory of the virtual object according to the position currently aimed at by the crosshairs of the first virtual object.
[0016] Optionally, the auxiliary information display module is used to:
[0017] When the crosshair is not located at the crosshair mark, displaying the landing point mark in a first style;
[0018] When the crosshair is located at the crosshair mark, the landing point mark is displayed in a second style, and the first style is different from the second style.
[0019] Optionally, the auxiliary information display module is further used to display adjustment prompt information when the first virtual object moves to the throwing point, and the adjustment prompt information is used to prompt the user to adjust the crosshair of the first virtual object to the crosshair mark.
[0020] Optionally, the auxiliary information display module is used to:
[0021] When the crosshair is not located at the crosshair mark, displaying the crosshair mark in a third style;
[0022] When the crosshair is located at the crosshair mark, the crosshair mark is displayed in a fourth style, and the third style is different from the fourth style.
[0023] Optionally, the auxiliary information display module is used to display the crosshair mark when the first virtual object moves to the throwing point and the first virtual object has the right to use the throwing point.
[0024] Optionally, the auxiliary information display module is further used to display a point mark when the distance between the first virtual object and the throwing point is less than a distance threshold, and the position of the point mark is the throwing point.
[0025] Optionally, the auxiliary information display module is used to display the point mark and the guide route when the distance between the first virtual object and the throwing point is less than the distance threshold, and the guide route is a route moving from the position of the first virtual object to the throwing point.
[0026] Optionally, the auxiliary information display module is used to display the point mark when the distance between the first virtual object and the throwing point is less than the distance threshold and the first virtual object has the right to use the throwing point.
[0027] Optionally, the device further includes a permission determination module, configured to:
[0028] In a case where the first virtual object satisfies the unlocking condition of the throwing point, determining that the first virtual object has the permission to use the throwing point;
[0029] When the second virtual object shares the throwing point with the first virtual object, it is determined that the first virtual object has the right to use the throwing point, the second virtual object and the first virtual object belong to the same camp, and the second virtual object has the right to use the throwing point.
[0030] Optionally, the device also includes a prompt information display module, which is used to display point sharing prompt information when the second virtual object shares the throwing point with the first virtual object, and the point sharing prompt information is used to prompt the first virtual object that the throwing point is shared by the second virtual object.
[0031] Optionally, the device further includes a small map display module, which is used to:
[0032] A small map showing the virtual scene;
[0033] The throwing points that the first virtual object has the right to use are marked in the mini-map.
[0034] Optionally, the device further includes a point sharing module, which is used to:
[0035] When the first virtual object is not located at the throwing point, and the crosshair of the first virtual object is located at the throwing point, displaying an object identifier of at least one third virtual object, wherein the third virtual object belongs to the same camp as the first virtual object;
[0036] In response to a selection operation on an object identifier of any third virtual object, the throwing point is shared with the selected third virtual object.
[0037] Optionally, the point sharing module is used to display the object identifier of at least one third virtual object that does not have the right to use the throwing point when the first virtual object is not located at the throwing point and the crosshairs of the first virtual object is located at the throwing point if the first virtual object has the right to use the throwing point.
[0038] Optionally, the point sharing module is used to:
[0039] In a case where the first virtual object is not located at the throwing point, and the crosshair of the first virtual object is located at the throwing point, displaying a sharing option of the throwing point;
[0040] In response to a triggering operation on the sharing option, an object identifier of at least one of the third virtual objects is displayed.
[0041] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the method for throwing virtual items as described in the above aspects.
[0042] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the method for throwing virtual items as described in the above aspects.
[0043] On the other hand, a computer program product is provided, including a computer program, wherein the computer program is loaded and executed by a processor to implement the operations performed by the method for throwing a virtual item as described in the above aspects.
[0044] The solution provided in the embodiment of the present application provides a throwing point of a target position for the player in a virtual scene. If the player wants to throw a virtual object to the target position, the virtual object can be controlled to move to the throwing point. After the virtual object moves to the throwing point, a crosshair mark is provided to the player. The player only needs to move the crosshair of the virtual object to the position indicated by the crosshair mark to accurately throw the virtual object to the target position. Therefore, the present application provides the player with a throwing point and a crosshair mark to assist the player in accurately throwing to the target position. The player does not need to rely on operating experience, which is conducive to improving the accuracy of throwing virtual objects, thereby improving the efficiency of human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0047] Figure 2 is a flow chart of a method for throwing a virtual item provided in an embodiment of the present application;
[0048] Figure 3 is a flow chart of another method for throwing virtual items provided in an embodiment of the present application;
[0049] Figure 4 is a schematic diagram of a point marking provided in an embodiment of the present application;
[0050] Figure 5 is a schematic diagram of a virtual scene interface provided in an embodiment of the present application;
[0051] Figure 6 is a schematic diagram of another virtual scene interface provided in an embodiment of the present application;
[0052] Figure 7 is a flow chart of another method for throwing virtual items provided in an embodiment of the present application;
[0053] Figure 8 This is a schematic diagram of a point sharing prompt information provided by an embodiment of the present application;
[0054] Fig. 9 is a flow chart of a throwing point sharing method provided in an embodiment of the present application;
[0055] Fig.10is a schematic diagram of another virtual scene interface provided in an embodiment of the present application;
[0056] Fig.11 is a schematic diagram of another virtual scene interface provided in an embodiment of the present application;
[0057] Fig.12 is a flow chart of another method for throwing virtual items provided in an embodiment of the present application;
[0058] Fig.13 is a flow chart of another throwing point sharing method provided in an embodiment of the present application;
[0059] Fig.14 It is a structural schematic diagram of a virtual item throwing device provided in an embodiment of the present application;
[0060] Fig.15 is a schematic diagram of the structure of another virtual item throwing device provided in an embodiment of the present application;
[0061] Fig.16 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0062] Fig.17 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0064] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of this application, a first virtual object may be referred to as a second virtual object, and similarly, a second virtual object may be referred to as a first virtual object.
[0065] Among them, at least one refers to one or more than one, for example, at least one virtual object can be one virtual object, two virtual objects, three virtual objects, or any other virtual object greater than or equal to one. Multiple refers to two or more than two, for example, multiple virtual objects can be two virtual objects, three virtual objects, or any other virtual objects greater than or equal to two. Each refers to each of at least one, for example, each virtual object refers to each virtual object in the multiple virtual objects. If the multiple virtual objects are 3 virtual objects, each virtual object refers to each virtual object in the 3 virtual objects.
[0066] It is understandable that in the implementation of the present application, related data such as user information is involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0067] The virtual scene involved in the present application can be used to simulate a three-dimensional virtual space, which can be an open space. The virtual scene can be used to simulate a real environment in reality. For example, the virtual scene can include the sky, land, ocean, etc., and the land can include environmental elements such as deserts and cities. Of course, the virtual scene can also include virtual items, such as projectiles, buildings, vehicles, and weapons and other props required for virtual objects in the virtual scene to arm themselves or fight with other virtual objects. The virtual scene can also be used to simulate the real environment under different weather conditions, such as sunny days, rainy days, foggy days, or night weather. A variety of scene elements enhance the diversity and authenticity of the virtual scene.
[0068] Among them, the user controls the virtual object to move in the virtual scene. The virtual object is a virtual image in the virtual scene that represents the user. The virtual image is in any form, such as a person or an animal, etc., and this application does not limit this. Taking electronic games as an example, the electronic games are first-person shooter games, third-person shooter games, or other electronic games that use hot weapons for long-range attacks. Taking shooting games as an example, the user can control the virtual object to fall freely, glide, or open a parachute to fall in the sky of the virtual scene, run, jump, crawl, bend forward on land, etc., and can also control the virtual object to swim, float or dive in the ocean, etc. Of course, the user can also control the virtual object to move in the virtual scene by riding a vehicle. The user can also control the virtual object to enter and exit the building in the virtual scene, find and pick up virtual items (for example, throwing objects, weapons and other props) in the virtual scene, and then fight with other virtual objects through the picked up virtual items. For example, the virtual items can be clothing, helmets, bulletproof vests, medical supplies, cold weapons or hot weapons, etc., or virtual items left after other virtual objects are eliminated. The above scenario is only used as an example for illustration, and the embodiments of the present application are not specifically limited to this.
[0069] In the embodiment of the present application, an electronic game scene is taken as an example. The user performs an operation on the terminal in advance. After the terminal detects the user's operation, it downloads the game configuration file of the electronic game. The game configuration file includes the application program, interface display data or virtual scene data of the electronic game, so that when the user logs in to the electronic game on the terminal, the game configuration file is called to render and display the electronic game interface. The user performs a touch operation on the terminal. After the terminal detects the touch operation, it determines the game data corresponding to the touch operation and renders and displays the game data. The game data includes virtual scene data and behavior data of virtual objects in the virtual scene, etc.
[0070] When the terminal renders and displays the virtual scene, the virtual scene is displayed in full screen, or the global map is independently displayed in the first preset area of the current display interface while the virtual scene is displayed on the current display interface, or the terminal displays the global map only when a click operation on a preset button is detected. Among them, the global map is used to display a thumbnail of the virtual scene, and the thumbnail is used to describe the geographical features such as the terrain, landform, and geographical location corresponding to the virtual scene. Of course, the terminal can also display thumbnails of virtual scenes within a certain distance around the current virtual object on the current display interface, and when a click operation on the global map is detected, a thumbnail of the entire virtual scene is displayed in the second preset area of the current display interface of the terminal, so that the user can not only view the virtual scenes around him, but also the entire virtual scene. When the terminal detects a zoom operation on the complete thumbnail, it zooms and displays the complete thumbnail. Optionally, the specific display position and shape of the first preset area and the second preset area are set according to the user's operating habits. For example, in order to avoid excessive occlusion of the virtual scene, the first preset area is a rectangular area at the upper right corner, lower right corner, upper left corner or lower left corner of the current display interface, and the second preset area is a square area on the right or left side of the current display interface, or the first preset area and the second preset area are circular areas or areas of other shapes. The embodiment of the present application does not limit the specific display position and shape of the preset area.
[0071] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes a terminal 101 and a server 102 .
[0072] Optionally, the terminal 101 is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart TV, a smart watch, etc., but is not limited to this. Optionally, the server 102 is an independent physical server, or the server 102 is a server cluster or a distributed system composed of multiple physical servers, or the server 102 is a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal 101 and the server 102 are directly or indirectly connected via wired or wireless communication, and this application does not limit this.
[0073] The server 102 provides a virtual scene for the terminal 101. The terminal 101 can display a virtual scene interface through the virtual scene provided by the server 102, and can display virtual objects and virtual items in the virtual scene interface, and the terminal 101 can control the virtual scene based on the virtual scene interface. The server 102 is used to perform background processing according to the control of the virtual scene by the terminal 101, and provide background support for the terminal 101.
[0074] Optionally, the terminal 101 installs a game client, which is a client provided by the server 102, or a client provided by the operating system of the terminal 101, or a client provided by a third party. The terminal 101 interacts with the server 102 through the game client.
[0075] The method for throwing virtual items provided in the embodiments of the present application can be applied in electronic game scenarios.
[0076] For example, in a scenario where a virtual object throws a virtual grenade at a specific location. The virtual scene includes hostile camps, each of which includes multiple virtual objects, and virtual objects in different camps can attack each other. There are some target locations with high attack value in the virtual scene, such as the target location is a sentry tower in the virtual scene. Since the sentry tower is easy to defend but difficult to attack, virtual objects usually occupy the sentry tower to attack. Other virtual objects can throw virtual grenades at the sentry tower to attack the virtual objects on the sentry tower, but this is very dependent on the player's operating experience and it is easy to make mistakes.
[0077] Therefore, the method provided in the embodiment of the present application can be adopted to set a throwing point corresponding to a sentry tower in a virtual scene. When the virtual object is located at the throwing point, a crosshair mark is displayed to prompt the position at which the crosshair needs to be aimed when throwing a virtual grenade at the sentry tower at the throwing point. After the player moves the crosshair to the crosshair mark according to the prompt and performs the throwing operation, the virtual grenade can be accurately thrown onto the sentry tower without relying on the player's operating experience and the throwing accuracy is improved.
[0078] Figure 2 is a flowchart of a method for throwing a virtual item provided in an embodiment of the present application. The embodiment of the present application is executed by a computer device. Figure 2 , the method comprising:
[0079] 201. A computer device displays a first virtual object in a virtual scene, wherein the virtual scene includes a throwing point corresponding to a target position, and the throwing point is a position where a virtual object needs to be located when throwing the virtual object toward the target position.
[0080] The computer device displays a virtual scene, and the virtual scene includes multiple virtual objects. The virtual object refers to a virtual image in the virtual scene that is used to represent a user. The virtual image is in any form, such as a person or an animal, and the user can control the virtual object by performing operations on the computer device. The multiple virtual objects include a first virtual object, and the first virtual object is a virtual object controlled by the local end.
[0081] The virtual scene also includes a target position and a throwing point corresponding to the target position. The throwing point is the position where the virtual object needs to be thrown at the target position. The purpose of the embodiment of the present application is to assist the player in throwing the virtual object at the target position. For example, the thrown virtual object can be a virtual grenade, a virtual smoke bomb, and a virtual stun bomb. The target position is a position with attack value in the virtual scene, which is a position preset by the computer device and can be flexibly set by the developer.
[0082] For example, the target position is a sentry tower in a virtual scene. Since the sentry tower is easy to defend but difficult to attack, setting the sentry tower as the target position can assist the player in capturing the sentry tower. For example, the target position can also be the exit position of a virtual building in a virtual scene. Since the exit position is the only way for the virtual objects in the virtual building, setting the exit position of the virtual building as the target position can assist the player in attacking the virtual objects escaping from the exit position. For example, the target position can also be the location of a cover in a virtual scene. Since the virtual objects in the virtual scene usually hide behind the cover when fighting, setting the location of the cover as the target position can assist the player in attacking the virtual objects hiding behind the cover. The above is only an example of the target position. The embodiments of the present application do not limit what position in the virtual scene is set as the target position.
[0083] 202. When the first virtual object moves to the throwing point, the computer device displays a crosshair mark, where the position of the crosshair mark is the position where the crosshair needs to aim when throwing the virtual object to the target position at the throwing point.
[0084] First of all, it should be noted that when controlling a virtual object to throw a virtual item to a target location, there are two factors that affect the throwing result. One is the location of the virtual object when throwing the virtual item, and the other is the location of the crosshairs of the virtual object when throwing the virtual item. Only when the location of the virtual object and the location of the crosshairs are correct can the virtual item be thrown to the target location accurately.
[0085] In the embodiment of the present application, if the first virtual object moves to the throwing point, it means that the first virtual object is already at the position required to be at when throwing the virtual object to the target position, that is, the first virtual object has reached the correct position. At this time, in order to guide the player to move the crosshairs to the correct position, the computer device additionally displays a crosshair mark, and the position of the crosshair mark is the position where the crosshair needs to aim when throwing the virtual object to the target position at the throwing point. Therefore, when the player moves the first virtual object to the throwing point, it only needs to follow the guidance of the crosshair mark and move the crosshair to the crosshair mark to ensure that the position of the virtual object and the position of the crosshair are correct.
[0086] 203. When the crosshair of the first virtual object moves to the crosshair mark, the computer device controls the first virtual object to throw the virtual item to the target position in response to the throwing operation.
[0087] When the first virtual object moves to the throwing point, if the crosshair of the first virtual object moves to the crosshair mark, then the position of the first virtual object and the position of the crosshair have both reached the positions required for throwing the virtual object to the target position, that is, the position of the first virtual object and the position of the crosshair are both in the correct positions, and the player can perform a throwing operation at this time, and the computer device responds to the throwing operation and controls the first virtual object to throw the virtual object to the target position. Throwing a virtual object to the target position means that after the virtual object is thrown, the landing point of the virtual object is the target position, thereby achieving the accurate throwing of the virtual object to the target position under the guidance of the crosshair mark.
[0088] The method provided in the embodiment of the present application provides a throwing point of a target position for the player in a virtual scene. If the player wants to throw a virtual object to the target position, the virtual object can be controlled to move to the throwing point. After the virtual object moves to the throwing point, a crosshair mark is provided to the player. The player only needs to move the crosshair of the virtual object to the position indicated by the crosshair mark to accurately throw the virtual object to the target position. Therefore, the present application provides the player with a throwing point and a crosshair mark to assist the player in accurately throwing to the target position. The player does not need to rely on operating experience, which is conducive to improving the accuracy of throwing virtual objects, thereby improving the efficiency of human-computer interaction.
[0089] Above Figure 2 The embodiment shown briefly illustrates the process of throwing a virtual item to a target location according to the guidance of the crosshair mark. In addition, the computer device can also display other information for assisting the player in throwing the virtual item to the target location, such as the computer device can also display point marks, adjustment prompt information, landing point marks, and predicted throwing trajectories, etc. The detailed process is shown below. Figure 3 The embodiment shown.
[0090] Figure 3 is a flowchart of another method for throwing virtual items provided in an embodiment of the present application. The embodiment of the present application is executed by a computer device. Figure 3 , the method comprising:
[0091] 301. A computer device displays a first virtual object in a virtual scene. The virtual scene includes a throwing point corresponding to a target position. The throwing point is a position where a virtual object needs to be located when throwing the virtual object toward the target position.
[0092] The virtual scene includes a plurality of virtual objects, including a first virtual object. In a possible implementation, the virtual scene includes a plurality of camps, each of which includes at least one virtual object. Different camps are in a hostile relationship, and virtual objects in different camps attack each other to strive for victory for their respective camps.
[0093] In a possible implementation, the computer device displays a virtual scene interface, which is used to display the virtual scene within the viewing angle of the first virtual object. Optionally, the virtual scene interface also includes a small map, function buttons, and a virtual joystick area. The function buttons include a crouch button, a jump button, an attack button, and a throw button. The virtual joystick area is used to control the first virtual object to walk, run, and adjust the viewing angle of the virtual object in the virtual scene, and the small map is used to display the position of the virtual object in the virtual scene.
[0094] 302. When the distance between the first virtual object and the throwing point is less than a distance threshold, the computer device displays a point mark, and the position of the point mark is the throwing point.
[0095] The computer device controls the first virtual object to move in the virtual scene according to the player's operation. When the distance between the first virtual object and the throwing point is less than the distance threshold, it means that the first virtual object is close enough to the throwing point, and the first virtual object can see the throwing point. Therefore, in this case, the computer device displays a point mark at the location of the throwing point, thereby using the point mark to indicate the location of the throwing point. Therefore, when the player controls the first virtual object to move near the throwing point, the point mark of the throwing point is provided to the player, so that the player can determine the specific location of the throwing point according to the point mark, so as to control the first virtual object to move to the throwing point for accurate throwing.
[0096] In a possible implementation, when the distance between the first virtual object and the throwing point is less than a distance threshold, the computer device displays a point mark and a guide route, and the guide route is a route from the location of the first virtual object to the throwing point. While displaying the point mark, the computer device can also display the guide route to guide the player to control the first virtual object to move from the current location to the throwing point. On the one hand, it can encourage the player to move to the throwing point for throwing, and on the other hand, it can avoid the situation where novice players do not know what the point mark means. By displaying the guide route, the player can be prompted to control the first virtual object to move to the throwing point according to the guide route.
[0097] Figure 4 is a schematic diagram of a point mark provided in an embodiment of the present application, such as Figure 4As shown, when the distance between the first virtual object and the throwing point is less than the distance threshold, the computer device displays a point mark 401 at the location of the throwing point. The point mark 401 is composed of an aperture on the ground and a holographic projection of a virtual object. The holographic projection of the virtual object can also be a holographic projection of the virtual object in a throwing posture. By displaying the point mark 401, the player can be reminded to control the first virtual object to move to the throwing point where the point mark is located for accurate throwing.
[0098] 303. When the first virtual object moves to the throwing point, the computer device displays a crosshair mark, where the position of the crosshair mark is the position where the crosshair needs to aim when throwing the virtual object to the target position at the throwing point.
[0099] If the first virtual object moves to the throwing point, it means that the first virtual object is already at the position required to throw the virtual object to the target position. At this time, in order to guide the player to continue to move the crosshairs to the correct position, the computer device additionally displays a crosshair mark. The position of the crosshair mark is the position where the crosshair needs to be aimed when throwing the virtual object to the target position at the throwing point.
[0100] In addition, since the computer device in the embodiment of the present application displays the point mark at the location of the throwing point, the first virtual object moves to the throwing point, that is, the first virtual object moves to the location of the point mark. Optionally, when the first virtual object moves to the location of the point mark, the computer device cancels the display of the point mark.
[0101] In one possible implementation, the computer device displays the crosshair mark in a third style when the crosshair is not located at the crosshair mark, and displays the crosshair mark in a fourth style when the crosshair is located at the crosshair mark, and the third style is different from the fourth style.
[0102] For example, displaying the crosshair mark in the third style means displaying the crosshair mark in white, and displaying the crosshair mark in the fourth style means displaying the crosshair mark in green. For another example, displaying the crosshair mark in the third style means displaying the crosshair mark in a triangle, and displaying the crosshair mark in the fourth style means displaying the crosshair mark in a pentagon.
[0103] In the embodiment of the present application, when the crosshair is not located at the crosshair mark, the position of the crosshair has not been adjusted, and throwing at this time cannot accurately reach the target position. When the crosshair is located at the crosshair mark, the position of the crosshair has been adjusted, and throwing at this time can accurately reach the target position. Therefore, when the crosshair is adjusted and when it is not adjusted, the crosshair mark is displayed in different styles. The player can know whether the current position of the crosshair is correct and whether the position of the crosshair needs to be adjusted through the display style of the crosshair mark, thereby assisting the player to adjust the position of the crosshair.
[0104] In a possible implementation, the first virtual object can hold a virtual firearm, a virtual knife, a virtual item, etc. If the first virtual object currently does not hold a virtual item, the first virtual object cannot perform a throwing action, and the computer device does not need to display a crosshair mark. If the first virtual object currently holds a virtual item, the first virtual object can perform a throwing action, and the computer device displays a crosshair mark.
[0105] 304. When the first virtual object moves to the throwing point, the computer device displays adjustment prompt information, where the adjustment prompt information is used to prompt the adjustment of the crosshair of the first virtual object to the crosshair mark.
[0106] When the first virtual object moves to the throwing point, the computer device also displays adjustment prompt information to prompt the player to adjust the crosshairs of the first virtual object to the position where the crosshair mark is located.
[0107] In a possible implementation, the adjustment prompt information is a directional arrow, and the direction indicated by the directional arrow is the direction of moving the crosshair of the first virtual object to the crosshair mark.
[0108] In one possible implementation, the computer device displays adjustment prompt information in the fifth style when the crosshair is not located at the crosshair mark, and displays adjustment prompt information in the sixth style when the crosshair is located at the crosshair mark, and the fifth style is different from the sixth style.
[0109] For example, displaying the adjustment prompt information in the fifth style means displaying the adjustment prompt information in red, and displaying the adjustment prompt information in the sixth style means displaying the adjustment prompt information in green.
[0110] In the embodiment of the present application, when the crosshair is not located at the crosshair mark, the position of the crosshair has not been adjusted, and throwing at this time cannot accurately throw to the target position. When the crosshair is located at the crosshair mark, the position of the crosshair has been adjusted, and throwing at this time can accurately throw to the target position. Therefore, when the crosshair is adjusted and not adjusted, different styles are used to display the adjustment prompt information. The player can know whether the current position of the crosshair is correct and whether the position of the crosshair needs to be adjusted by adjusting the display style of the prompt information, thereby assisting the player to adjust the position of the crosshair.
[0111] In one possible implementation, when the first virtual object is not currently holding a virtual item, the first virtual object cannot perform a throwing action, and the computer device does not need to display adjustment prompt information. When the first virtual object is currently holding a virtual item, the first virtual object can perform a throwing action, and the computer device displays adjustment prompt information.
[0112] 305. When the first virtual object moves to the throwing point, the computer device displays a landing point mark in the small map of the virtual scene. The location of the landing point mark is the landing point of the virtual object after the virtual object is thrown according to the current aiming position of the crosshair.
[0113] When the first virtual object moves to the throwing point, the computer device also displays a landing point mark in the small map of the virtual scene to prompt the player to throw the virtual object according to the position currently aimed at by the crosshairs. The small map refers to a thumbnail of the virtual scene, which can be an area of a preset size centered on the position of the first virtual object. The landing point of the virtual object refers to the position where the virtual object collides with other objects in the virtual scene (which can be the ground or virtual buildings in the virtual scene, etc.) after the virtual object is thrown.
[0114] In the embodiment of the present application, after the player controls the first virtual object to move to the throwing point, the computer device determines the landing point of the virtual object after throwing the virtual object according to the current position of the crosshair, and then determines the location of the landing point in the small map. The landing point mark is displayed at the location of the landing point in the small map. The player can know the landing point of the virtual object after throwing the virtual object according to the current position of the crosshair by checking the landing point mark, and judge whether the landing point is the expected landing point. If it is not the expected landing point, the position of the crosshair can be adjusted. After the position of the crosshair changes, the position of the landing point mark changes in real time, and the player can check in real time whether the expected landing point is hit. In addition, the player can also determine the deviation between the current landing point and the expected landing point based on the displayed landing point mark, so as to adjust the position of the crosshair accordingly according to the deviation between the landing points.
[0115] In one possible implementation, the computer device displays the landing point mark in a first style when the crosshair is not located at the crosshair mark, and displays the landing point mark in a second style when the crosshair is located at the crosshair mark, and the first style is different from the second style.
[0116] For example, displaying the landing point mark in the first style means displaying the landing point mark in red, and displaying the landing point mark in the second style means displaying the landing point mark in green. For another example, displaying the landing point mark in the first style means displaying the landing point mark in a circle, and displaying the landing point mark in the second style means displaying the landing point mark in a pentagon.
[0117] In the embodiment of the present application, when the crosshair is not located at the crosshair mark, the position of the crosshair has not been adjusted, and the position of the landing point is not the expected target position, the first style is used to display the landing point mark, and when the crosshair is located at the crosshair mark, the position of the crosshair has been adjusted, and the position of the landing point is the expected target position, the second style is used to display the landing point mark. Therefore, when the crosshair is adjusted and when it is not adjusted, different styles are used to display the landing point mark, and the player can know whether the current position of the crosshair is correct and whether the position of the crosshair needs to be adjusted further through the display style of the landing point mark, thereby assisting the player to adjust the position of the crosshair.
[0118] In one possible implementation, when the first virtual object is not currently holding a virtual item, the first virtual object cannot perform a throwing action, and the computer device does not need to display a landing point mark. When the first virtual object is currently holding a virtual item, the first virtual object can perform a throwing action, and the computer device displays a landing point mark.
[0119] 306. When the first virtual object moves to the throwing point, the computer device displays a predicted throwing trajectory, where the predicted throwing trajectory is a throwing trajectory of the virtual object according to the position currently aimed at by the crosshairs of the first virtual object.
[0120] When the first virtual object moves to the throwing point, the computer device also displays a predicted throwing trajectory to prompt the player to throw the virtual object along the throwing trajectory according to the position currently aimed at by the crosshairs of the first virtual object.
[0121] In the embodiment of the present application, after the player controls the first virtual object to move to the throwing point, the computer device determines the predicted throwing trajectory of the virtual object thrown at the position currently aimed at by the crosshairs of the first virtual object according to the current position of the crosshairs, and then displays the predicted throwing trajectory. The player can check the predicted throwing trajectory to know the throwing trajectory of the virtual object after throwing the virtual object at the position currently aimed at by the crosshairs, and judge whether the throwing trajectory is the expected throwing trajectory. If it is not the expected throwing trajectory, the position of the crosshairs can be further adjusted. After the position of the crosshairs changes, the throwing trajectory changes in real time, and the player can check in real time whether the expected throwing trajectory is reached. In addition, the player can also determine the deviation between the current predicted throwing trajectory and the expected throwing trajectory according to the landing point in the displayed throwing trajectory, so as to adjust the position of the crosshairs accordingly according to the deviation between the throwing trajectories.
[0122] In one possible implementation, when the first virtual object is not currently holding a virtual item, the first virtual object cannot perform a throwing action, and the computer device does not need to display a predicted throwing trajectory. When the first virtual object is currently holding a virtual item, the first virtual object can perform a throwing action, and the computer device displays the predicted throwing trajectory.
[0123] Figure 5 is a schematic diagram of a virtual scene interface provided by an embodiment of the present application, such as Figure 5 As shown, when the player controls the first virtual object to move to the throwing point, the computer device displays a crosshair mark 501, a predicted throwing trajectory 502, a landing point mark 503, adjustment prompt information 504, and the crosshair of the first virtual object. The adjustment prompt information 504 is composed of an arrow and a little man mark. The direction indicated by the arrow is the direction in which the player is prompted to move the crosshair. The crosshair can be moved to the position where the crosshair mark 501 is located by moving the crosshair in the direction indicated by the arrow.
[0124] like Figure 5 As shown, when the crosshair has not yet moved to the crosshair mark 501, the computer device displays the crosshair mark 501 in the third style (for example, displaying the crosshair mark 501 in white), displays the landing point mark 503 in the first style (for example, displaying the landing point mark 503 in red), and displays the adjustment prompt information 504 in the fifth style (for example, displaying the adjustment prompt information 504 in red), prompting the player that he cannot throw yet and needs to continue to adjust the position of the crosshair.
[0125] like Figure 6As shown, when the crosshair moves to the crosshair mark 501, the computer device displays the crosshair mark 501 in the fourth style (e.g., displaying the crosshair mark 501 in green), displays the landing point mark 503 in the second style (e.g., displaying the landing point mark 503 in green), and displays the adjustment prompt information 504 in the sixth style (e.g., displaying the adjustment prompt information 504 in green), prompting the player that the crosshair is already in the correct position and accurate throwing can be performed.
[0126] It should be noted that the embodiment of the present application only takes the example of a computer device executing the above steps 304-306 while displaying the crosshair mark. In addition to this, the computer device may not execute the above steps 304-306, or only execute one or two of the above steps 304-306. The embodiment of the present application does not limit this.
[0127] 307. When the crosshair of the first virtual object moves to the crosshair mark, the computer device controls the first virtual object to throw the virtual item to the target position in response to the throwing operation.
[0128] When the first virtual object moves to the throwing point, if the crosshair of the first virtual object moves to the crosshair mark, then at this time, the position of the first virtual object and the position of the crosshair have reached the positions where they are required to be when throwing the virtual object to the target position, that is, the position of the first virtual object and the position of the crosshair are both in the correct positions. At this time, the player can perform a throwing operation, and the computer device responds to the throwing operation by controlling the first virtual object to throw the virtual object to the target position.
[0129] In one possible implementation, the computer device displays a virtual scene interface, and when the first virtual object holds a virtual item, the virtual scene interface displays a throwing option. When the first virtual object is at a throwing position and the crosshairs of the first virtual object move to a crosshair mark, the computer device responds to a triggering operation on the throwing option and controls the first virtual object to throw the currently held virtual item to a target position.
[0130] The method provided in the embodiment of the present application provides a throwing point of a target position for the player in a virtual scene. If the player wants to throw a virtual object to the target position, the virtual object can be controlled to move to the throwing point. After the virtual object moves to the throwing point, a crosshair mark is provided to the player. The player only needs to move the crosshair of the virtual object to the position indicated by the crosshair mark to accurately throw the virtual object to the target position. Therefore, the present application provides the player with a throwing point and a crosshair mark to assist the player in accurately throwing to the target position. The player does not need to rely on operating experience, which is conducive to improving the accuracy of throwing virtual objects, thereby improving the efficiency of human-computer interaction.
[0131] Furthermore, in the embodiment of the present application, not only is the position where the crosshairs needs to be located indicated to the player in the form of a crosshair mark, but the position where the first virtual object needs to be located is also indicated to the player in the form of a point mark. The player only needs to adjust the positions of the first virtual object and the crosshairs according to the prompts of the crosshair mark and the point mark, which greatly reduces the difficulty of throwing and further improves the accuracy of accurately throwing virtual objects to the target position.
[0132] On the basis of the above embodiment, the use permission can also be set for the throwing point. Only when the first virtual object has the use permission of the throwing point, the point mark and the crosshair mark are displayed for the first virtual object. For detailed process, see the following Figure 7 The embodiment shown.
[0133] Figure 7 is a flowchart of another method for throwing virtual items provided in an embodiment of the present application. The embodiment of the present application is executed by a computer device. Figure 7 , the method comprising:
[0134] 701. The computer device displays a first virtual object in a virtual scene. The virtual scene includes a throwing point corresponding to a target position. The throwing point is a position where a virtual object needs to be located when throwing the virtual object toward the target position.
[0135] The process of step 701 is the same as that of step 301 above, and will not be repeated here.
[0136] 702. The computer device displays a small map of the virtual scene, and marks the throwing points that the first virtual object has the right to use on the small map.
[0137] The virtual scene includes at least one throwing point corresponding to a target position. The computer device also displays a small map of the virtual scene, marking the throwing points that the first virtual object has the right to use in the small map, so that the player can quickly determine the location of the throwing point with the right to use by checking the small map.
[0138] In a possible implementation, the small map is a thumbnail of the virtual scene, the thumbnail is an area of a preset size centered on the location of the first virtual object, and the throwing points in the area that the first virtual object has the right to use are marked in the small map. Optionally, in response to a trigger operation on the small map, the computer device displays a global map of the virtual scene, and marks all the throwing points in the virtual scene that the first virtual object has the right to use in the global map.
[0139] In a possible implementation, the virtual object has the right to use the throwing point in the following two situations.
[0140] The first case: when the first virtual object meets the unlocking condition of the throwing point, it is determined that the first virtual object has the right to use the throwing point. Optionally, the unlocking condition may be that the first virtual object completes a preset task, or the level of the first virtual object reaches a preset level, etc., which is not limited in the embodiment of the present application. If the first virtual object meets the unlocking condition of the throwing point, the first virtual object has the right to use the throwing point.
[0141] The second case: when the second virtual object shares the throwing point with the first virtual object, it is determined that the first virtual object has the right to use the throwing point, the second virtual object and the first virtual object belong to the same camp, and the second virtual object has the right to use the throwing point. That is, when other virtual objects belonging to the same camp have the right to use the throwing point, the other virtual objects can share the throwing point with the first virtual object, and when the first virtual object is shared with the throwing point by other virtual objects, the first virtual object also has the right to use the throwing point.
[0142] Optionally, the virtual object has the right to use the throwing point including the above two situations, one is that the virtual object itself meets the unlocking conditions of the throwing point, and the other is that other virtual objects share the throwing point with the virtual object. Only when the second virtual object meets the unlocking conditions of the throwing point can the second virtual object share the throwing point with other virtual objects. When the first virtual object is shared with the second virtual object, even if the first virtual object does not meet the unlocking conditions of the throwing point, the first virtual object also has the right to use the throwing point. In this case, although the first virtual object has the right to use the throwing point, because the first virtual object does not meet the unlocking conditions of the throwing point, the first virtual object cannot share the throwing point with other virtual objects.
[0143] That is, for a virtual object that meets the unlocking conditions of a throwing point, the virtual object has both the permission to use the throwing point and the permission to share the throwing point. For a virtual object that does not meet the unlocking conditions of a throwing point but has shared the throwing point with other virtual objects, the virtual object only has the permission to use the throwing point, but does not have the permission to share the throwing point.
[0144] 703. When the distance between the first virtual object and the throwing point is less than a distance threshold and the first virtual object has permission to use the throwing point, the computer device displays a point mark.
[0145] When the distance between the first virtual object and the throwing point is less than the distance threshold, if the first virtual object has the permission to use the throwing point, the point mark is displayed. If the first virtual object does not have the permission to use the throwing point, the point mark is not displayed.
[0146] In a possible implementation, when the second virtual object shares the throwing point with the first virtual object, point sharing prompt information is displayed, where the point sharing prompt information is used to prompt the first virtual object that the throwing point is shared by the second virtual object.
[0147] If the throwing point is shared by the second virtual object to the first virtual object, then after the second virtual object shares the throwing point with the first virtual object, the computer device displays point sharing prompt information to prompt the player that the first virtual object has shared the throwing point with the second virtual object and the first virtual object has obtained the right to use the throwing point.
[0148] Figure 8 is a schematic diagram of a point sharing prompt information provided by an embodiment of the present application, such as Figure 8 As shown, when the second virtual object shares the throwing point with the first virtual object, the computer device displays a point sharing prompt message 802 in the virtual scene interface, and the point sharing prompt message 802 is "xxx has shared the accurate throwing point for you". At this time, if the distance between the first virtual object and the throwing point is less than the distance threshold, the computer device also displays a point mark 801 at the location of the throwing point.
[0149] 704. When the first virtual object moves to the throwing point and the first virtual object has permission to use the throwing point, the computer device displays a crosshair mark, where the position of the crosshair mark is the position where the crosshair needs to aim when throwing the virtual object to the target position at the throwing point.
[0150] When the first virtual object moves to the throwing point, if the first virtual object has the permission to use the throwing point, a crosshair mark is displayed to provide a prompt to the player to assist the player in adjusting the position of the crosshair. If the first virtual object does not have the permission to use the throwing point, the crosshair mark is not displayed, and no prompt is provided to the player, so the player can only adjust the position of the crosshair by himself according to the operation experience.
[0151] 705. When the crosshair of the first virtual object moves to the crosshair mark, the computer device controls the first virtual object to throw the virtual item to the target position in response to the throwing operation.
[0152] When the first virtual object moves to the throwing point, if the crosshair of the first virtual object moves to the crosshair mark, then at this time, the position of the first virtual object and the position of the crosshair have reached the positions where they are required to be when throwing the virtual object to the target position, that is, the position of the first virtual object and the position of the crosshair are both in the correct positions. At this time, the player can perform a throwing operation, and the computer device responds to the throwing operation by controlling the first virtual object to throw the virtual object to the target position.
[0153] The method provided in the embodiment of the present application provides a throwing point of a target position for the player in a virtual scene. If the player wants to throw a virtual object to the target position, the virtual object can be controlled to move to the throwing point. After the virtual object moves to the throwing point, a crosshair mark is provided to the player. The player only needs to move the crosshair of the virtual object to the position indicated by the crosshair mark to accurately throw the virtual object to the target position. Therefore, the present application provides the player with a throwing point and a crosshair mark to assist the player in accurately throwing to the target position. The player does not need to rely on operating experience, which is conducive to improving the accuracy of throwing virtual objects, thereby improving the efficiency of human-computer interaction.
[0154] In addition, only when the virtual object has the right to use the throwing point, the player is provided with auxiliary information such as point marks and crosshair marks to assist the player in adjusting the position of the virtual object and the position of the crosshair so as to accurately throw the virtual object to the target position. When the virtual object does not have the right to use the throwing point, the player is not provided with auxiliary information such as point marks and crosshair marks, and the player can only rely on the operation experience to throw the virtual object by himself. By setting the right to use the throwing point, first of all, a certain threshold for the use of the throwing point is increased to avoid the game difficulty being too low. In addition, it can also encourage players to actively strive for the right to use the throwing point, mobilize the enthusiasm of players to participate in the game, and to a certain extent improve the efficiency of human-computer interaction.
[0155] According to the above Figure 7 As can be seen from the embodiment shown, virtual objects can also share throwing points with each other. The detailed process of sharing throwing points is described below. Fig. 9 The embodiment shown.
[0156] Fig. 9 is a flowchart of a throwing point sharing method provided in an embodiment of the present application. The embodiment of the present application is executed by a computer device. Fig. 9 , the method comprising:
[0157] 901. A computer device displays a first virtual object in a virtual scene. The virtual scene includes a throwing point corresponding to a target position. The throwing point is a position where a virtual object needs to be located when throwing the virtual object toward the target position.
[0158] The process of step 901 is the same as that of step 301 above, and will not be repeated here.
[0159] 902. When the distance between the first virtual object and the throwing point is less than a distance threshold and the first virtual object has permission to use the throwing point, the computer device displays a point mark.
[0160] The process of step 902 is the same as the process of step 703 above, and will not be repeated here.
[0161] In addition, the embodiment of the present application is described by taking the execution of step 902 as an example. In another embodiment, step 902 may not be executed, and the embodiment of the present application is not limited to this.
[0162] 903. When the first virtual object is not located at the throwing point and the crosshairs of the first virtual object are located at the throwing point, the computer device displays an object identifier of at least one third virtual object, where the third virtual object belongs to the same camp as the first virtual object.
[0163] If the first virtual object is not currently located at the throwing point, but the crosshairs of the first virtual object are located at the throwing point, the object identifier of at least one third virtual object is displayed so that the player can choose which third virtual object to share the throwing point with. The third virtual object is a friendly virtual object that belongs to the same camp as the first virtual object.
[0164] It should be noted that, since the computer device in the embodiment of the present application displays the corresponding point mark at the location of the throwing point, it can also be judged according to the position of the point mark. Then, when the first virtual object is not located at the point mark and the crosshairs of the first virtual object are located at the point mark, the computer device displays the object identification of at least one third virtual object.
[0165] In one possible implementation, when the first virtual object is not located at the throwing point and the crosshairs of the first virtual object are located at the throwing point, if the first virtual object has permission to use the throwing point, the computer device displays the object identifier of at least one third virtual object that does not have permission to use the throwing point.
[0166] In this implementation, the first virtual object can share the throwing point with the friendly virtual object only if it has the permission to use the throwing point. Since the third virtual object with the permission to use the throwing point does not need to share the throwing point with the first virtual object, the computer device only displays the object identifier of the third virtual object that does not have the permission to use the throwing point.
[0167] Optionally, having the right to use the throwing point includes two situations: one is that the virtual object itself meets the unlocking conditions of the throwing point, and the other is that other virtual objects share the throwing point with the virtual object. For a virtual object that meets the unlocking conditions of the throwing point, the virtual object has both the right to use the throwing point and the right to share the throwing point. For a virtual object that does not meet the unlocking conditions of the throwing point but has shared the throwing point with other virtual objects, the virtual object only has the right to use the throwing point and does not have the right to share the throwing point. Then, when the first virtual object is not located at the throwing point and the crosshairs of the first virtual object are located at the throwing point, if the first virtual object meets the unlocking conditions of the throwing point, the computer device displays the object identification of at least one third virtual object that does not meet the unlocking conditions of the throwing point. Optionally, the computer device sets the object identification of the third virtual object that does not meet the unlocking condition of the throwing point and has not been shared with the throwing point to a selectable state, and sets the object identification of the third virtual object that does not meet the unlocking condition of the throwing point but has been shared with the throwing point to a non-selectable state. Alternatively, the computer device only displays the object identification of the third virtual object that does not meet the unlocking condition of the throwing point and has not been shared with the throwing point, and does not display the object identification of the third virtual object that does not meet the unlocking condition of the throwing point but has been shared with the throwing point.
[0168] In the embodiment of the present application, a virtual object with the permission to use the throwing points can share the throwing points with a virtual object that does not have the permission to use the throwing points, so that the virtual object that does not have the permission to use the throwing points can also quickly obtain the permission to use the throwing points, which is conducive to promoting interaction between different virtual objects, stimulating the enthusiasm of players to actively participate in the game, and improving the player's gaming experience.
[0169] In one possible implementation, when the first virtual object is not located at the throwing point and the crosshairs of the first virtual object are located at the throwing point, the computer device displays a sharing option of the throwing point, and in response to a triggering operation on the sharing option, displays an object identifier of at least one third virtual object.
[0170] In an embodiment of the present application, a sharing option for the throwing point is first displayed, and after the sharing option is triggered, the identifier of the virtual object to be shared is displayed. This can avoid the problem of blocking the game screen due to the continuous display of the virtual object identifier.
[0171] Fig.10 is a schematic diagram of another virtual scene interface provided in an embodiment of the present application, such as Fig.10As shown, the virtual scene interface displays a point mark 1001 of the throwing point, and the point mark 1001 is located at the position of the throwing point. When the first virtual object is not located at the point mark 1001, and the crosshairs of the first virtual object are located at the point mark 1001, a sharing option 1002 is displayed. If the player wants to share the throwing point with a virtual object of a friendly camp, the trigger operation of the sharing option 1002 is executed. Then refer to Fig.11 In the virtual scene interface shown, the computer device responds to the trigger operation of the sharing option 1002, and displays avatars of multiple third virtual objects that do not meet the unlocking conditions of the throwing point on the right side of the sharing option 1002. The player wants to share the throwing point with which third virtual object, and then performs a selection operation on the avatar of that third virtual object.
[0172] 904. In response to a selection operation on an object identifier of any third virtual object, the computer device shares the throwing point with the selected third virtual object.
[0173] After determining which third virtual object to share the throwing point with, the player performs a selection operation on the object identifier of the third virtual object, and the computer device responds to the selection operation and shares the throwing point with the selected third virtual object. Optionally, the computer device responds to the selection operation and cancels display of the object identifier of the third virtual object.
[0174] Among them, after the throwing point is shared with the third virtual object, the computer device that controls the third virtual object displays a point sharing prompt information, and the point sharing prompt information is used to prompt the third virtual object that the throwing point is shared by the first virtual object. When the distance between the third virtual object and the throwing point is less than the distance threshold, the computer device that controls the third virtual object displays a point mark at the location of the throwing point, thereby assisting the player of the third virtual object to move the third virtual object to the correct position. When the third virtual object moves to the throwing point, the computer device that controls the third virtual object displays a crosshair mark, thereby assisting the player of the third virtual object to adjust the crosshair to the correct position, so as to achieve accurate throwing of the virtual object to the target position corresponding to the throwing point.
[0175] Optionally, the third virtual object only has the right to use the throwing point, and the third virtual object cannot share the throwing point with other virtual objects again.
[0176] According to the method provided in the embodiment of the present application, a virtual object having the permission to use the throwing points can share the throwing points with a virtual object not having the permission to use the throwing points, so that the virtual object not having the permission to use the throwing points can also quickly obtain the permission to use the throwing points.
[0177] Furthermore, since virtual objects can share throwing points, virtual objects in the same camp can cooperate with each other to complete the game, which is conducive to promoting interaction between different virtual objects, speeding up the game process, improving the efficiency of human-computer interaction, stimulating players' enthusiasm for active participation in the game, and improving players' gaming experience.
[0178] Fig.12 is a flow chart of another method for throwing virtual items provided in an embodiment of the present application. Fig.12 As shown, the method includes the following steps.
[0179] 1201. The player controls the virtual object to move to the throwing point. The client displays the point mark of the throwing point to guide the player to control the virtual object to move to the throwing point. If the client determines that the model of the first virtual object and the hidden collision body of the throwing point have collided, indicating that the virtual object has reached the throwing point, the client displays auxiliary prompt information in the virtual scene interface. The auxiliary prompt information here includes the crosshair mark, adjustment prompt information, landing point mark, and predicted throwing trajectory in the above embodiment.
[0180] 1202. If the crosshair position is incorrect, the auxiliary prompt information in the client's virtual scene interface is red. If the crosshair is not located at the position where the crosshair mark is located, the auxiliary prompt information is displayed in red to prompt the player to continue adjusting the position of the crosshair.
[0181] 1203. If the crosshair is in the correct position, the auxiliary prompt information in the client's virtual scene interface will be green. The player will continue to adjust the position of the crosshair. When the crosshair is at the position where the crosshair mark is located, the auxiliary prompt information will be displayed in green to remind the player that the crosshair has reached the correct position and can be thrown.
[0182] It should be noted that the client can obtain the map information of the virtual scene and the player's operation data, so the process of guiding the player to adjust the position of the virtual object and the position of the crosshair can be executed by the client without the need for server processing.
[0183] Fig.13 is a flow chart of another method for sharing throwing points provided in an embodiment of the present application. Fig.13 As shown, the method includes the following steps.
[0184] 1301. The player moves the crosshairs to the throwing point, and the client uploads the user's operation data to the server. When the player matches the crosshairs to the throwing point, the client uploads the player's operation data and the data of the throwing point to the server. After receiving the data uploaded by the client, the server determines whether the player's virtual object meets the unlocking condition of the throwing point. If the unlocking condition is met, the following steps are continued. If the unlocking condition is not met, the server notifies the client that no processing is required, and the client does not respond.
[0185] 1302. If all friendly virtual objects meet the unlocking condition, the server notifies the client that no pop-up window is needed, and the client does not respond. The server determines whether the friendly virtual objects of the player's virtual object meet the unlocking condition of the throwing point. If all friendly virtual objects meet the unlocking condition, the server notifies the client that no processing is needed, and the client does not need to respond.
[0186] 1303. If there are friendly virtual objects that do not meet the unlocking conditions, the server sends a teammate list to the client, and the client pops up a shareable teammate list. If the server determines that there are friendly virtual objects that do not meet the unlocking conditions, it generates a teammate list, which is a list of object identifiers of friendly virtual objects that do not meet the unlocking conditions. The server shares the teammate list with the client. After receiving the teammate list, the client first displays a sharing option. After the player clicks the sharing option, the client displays the teammate list.
[0187] 1304. The player selects a friendly virtual object to be shared, and the client uploads the user's operation data to the server. The player selects a friendly virtual object to be shared in the teammate list, and the client continues to upload the user's operation data to the server, the operation data including the object identifier of the friendly virtual object selected by the player.
[0188] 1305. The server unlocks the throwing point for the selected friendly virtual object, and the client of the friendly virtual object displays the point sharing prompt information and the point mark of the throwing point. After determining the selected friendly virtual object, the server sends the relevant information of the throwing point to the client of the friendly virtual object. After receiving the information, the client of the friendly virtual object displays the point sharing prompt information to prompt that the friendly virtual object has shared the throwing point. In addition, the point mark of the throwing point is also displayed to assist the player of the friendly virtual object to control the friendly virtual object to move to the throwing point.
[0189] In the related art, when throwing virtual objects in a virtual scene, players can only rely on their own operating experience to decide where to throw, so as to throw virtual objects such as virtual grenades and virtual smoke bombs over obstacles and land them at a specific position behind the obstacles. It is difficult to help players master throwing skills through teaching.
[0190] In the embodiment of the present application, a throwing point corresponding to the target position is provided in the virtual scene. When the virtual object moves to the throwing point, a crosshair mark is provided for the player to assist the player in adjusting the crosshair position for throwing. This allows players with less operating experience to achieve the operating effect that players with more operating experience can achieve. This not only plays a teaching role, assists players in mastering throwing skills, and creates a sense of achievement for players to pursue goals and achieve high-end operations, but also reduces the gap between players with less operating experience and players with more operating experience, making the game more interesting.
[0191] At the same time, the embodiment of the present application also provides the function of sharing throwing points. Players who already have the right to use the throwing points can share the throwing points with teammates, further enhancing the social fun between teammates during the game, and also assisting teammates in the game to improve user retention rate.
[0192] Fig.14 Schematic diagram of a virtual item throwing device provided in an embodiment of the present application. Fig.14 , the device comprises:
[0193] A virtual object display module 1401 is used to display a first virtual object in a virtual scene, wherein the virtual scene includes a throwing point corresponding to a target position, and the throwing point is a position where a virtual object needs to be located when throwing the virtual object at the target position;
[0194] The auxiliary information display module 1402 is used to display a crosshair mark when the first virtual object moves to the throwing point, and the position of the crosshair mark is the position where the crosshair needs to aim when throwing the virtual object from the throwing point to the target position;
[0195] The throwing module 1403 is used to control the first virtual object to throw the virtual object to the target position in response to the throwing operation when the crosshair of the first virtual object moves to the crosshair mark.
[0196] The virtual item throwing device provided in the embodiment of the present application provides a throwing point of a target position for the player in a virtual scene. If the player wants to throw the virtual item to the target position, the virtual object can be controlled to move to the throwing point. After the virtual object moves to the throwing point, a crosshair mark is provided to the player. The player only needs to move the crosshair of the virtual object to the position indicated by the crosshair mark to accurately throw the virtual item to the target position. Therefore, the present application assists the player in accurately throwing to the target position by providing the player with a throwing point and a crosshair mark. The player does not need to rely on operating experience, which is conducive to improving the accuracy of throwing virtual items, thereby improving the efficiency of human-computer interaction.
[0197] Optionally, the auxiliary information display module 1402 is further configured to perform at least one of the following:
[0198] When the first virtual object moves to the throwing point, a landing point mark is displayed in the small map of the virtual scene, and the location of the landing point mark is the landing point of the virtual object after the virtual object is thrown according to the current aiming position of the crosshair;
[0199] When the first virtual object moves to the throwing point, a predicted throwing trajectory is displayed, where the predicted throwing trajectory is a throwing trajectory of the virtual object according to the position currently aimed at by the crosshairs of the first virtual object.
[0200] Optionally, the auxiliary information display module 1402 is used to:
[0201] When the crosshair is not located at the crosshair mark, the landing point mark is displayed in the first style;
[0202] When the crosshair is located at the crosshair mark, the landing point mark is displayed in a second style, and the first style is different from the second style.
[0203] Optionally, the auxiliary information display module 1402 is further used to display adjustment prompt information when the first virtual object moves to the throwing point, and the adjustment prompt information is used to prompt the adjustment of the crosshairs of the first virtual object to the crosshairs mark.
[0204] Optionally, the auxiliary information display module 1402 is used to:
[0205] When the crosshair is not located at the crosshair mark, the crosshair mark is displayed in the third style;
[0206] When the crosshair is located at the crosshair mark, the crosshair mark is displayed in a fourth style, and the third style is different from the fourth style.
[0207] Optionally, the auxiliary information display module 1402 is used to display a crosshair mark when the first virtual object moves to the throwing point and the first virtual object has the right to use the throwing point.
[0208] Optionally, the auxiliary information display module 1402 is further used to display a point mark when the distance between the first virtual object and the throwing point is less than a distance threshold, and the position of the point mark is the throwing point.
[0209] Optionally, the auxiliary information display module 1402 is used to display a point mark and a guide route when the distance between the first virtual object and the throwing point is less than a distance threshold, and the guide route is a route moving from the location of the first virtual object to the throwing point.
[0210] Optionally, the auxiliary information display module 1402 is used to display a point mark when the distance between the first virtual object and the throwing point is less than a distance threshold and the first virtual object has permission to use the throwing point.
[0211] Alternatively, see Fig.15 The device further includes an authority determination module 1404, which is used to:
[0212] When the first virtual object meets the unlocking condition of the throwing point, determining that the first virtual object has the permission to use the throwing point;
[0213] When the second virtual object shares the throwing point with the first virtual object, it is determined that the first virtual object has the right to use the throwing point, the second virtual object and the first virtual object belong to the same camp, and the second virtual object has the right to use the throwing point.
[0214] Alternatively, see Fig.15 The device further includes a prompt information display module 1405, which is used to:
[0215] When the second virtual object shares the throwing point with the first virtual object, point sharing prompt information is displayed, where the point sharing prompt information is used to prompt the first virtual object that the throwing point is shared by the second virtual object.
[0216] Alternatively, see Fig.15 The device further includes a small map display module 1406, which is used to:
[0217] A small map showing the virtual scene;
[0218] The throwing points that the first virtual object has the right to use are marked in the mini-map.
[0219] Alternatively, see Fig.15 The device further includes a point sharing module 1407, which is used to:
[0220] When the first virtual object is not located at the throwing point and the crosshair of the first virtual object is located at the throwing point, displaying an object identifier of at least one third virtual object, wherein the third virtual object belongs to the same camp as the first virtual object;
[0221] In response to a selection operation on an object identifier of any third virtual object, the throwing point is shared with the selected third virtual object.
[0222] Optionally, the point sharing module 1407 is used to display the object identification of at least one third virtual object that does not have the right to use the throwing point when the first virtual object is not located at the throwing point and the crosshairs of the first virtual object are located at the throwing point if the first virtual object has the right to use the throwing point.
[0223] Optionally, the point sharing module 1407 is used to:
[0224] When the first virtual object is not located at the throwing point, and the crosshair of the first virtual object is located at the throwing point, displaying a sharing option of the throwing point;
[0225] In response to a triggering operation on the sharing option, an object identifier of at least one third virtual object is displayed.
[0226] It should be noted that the virtual item throwing device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the virtual item throwing device provided in the above embodiment and the virtual item throwing method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0227] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed in the virtual item throwing method of the above embodiment.
[0228] Optionally, the computer device is provided as a terminal. Fig.16 A schematic diagram of the structure of a terminal 1600 provided by an exemplary embodiment of the present application is shown.
[0229] The terminal 1600 includes a processor 1601 and a memory 1602 .
[0230] The processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0231] The memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1602 is used to store at least one computer program, which is used by the processor 1601 to implement the method for throwing virtual items provided in the method embodiment of the present application.
[0232] In some embodiments, the terminal 1600 may further optionally include: a peripheral device interface 1603 and at least one peripheral device. The processor 1601, the memory 1602 and the peripheral device interface 1603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1603 via a bus, a signal line or a circuit board. Optionally, the peripheral device includes: at least one of a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607 and a power supply 1608.
[0233] The peripheral device interface 1603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, the memory 1602, and the peripheral device interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602, and the peripheral device interface 1603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0234] The radio frequency circuit 1604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1604 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1604 can communicate with other devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0235] The display screen 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1605 is a touch display screen, the display screen 1605 also has the ability to collect touch signals on the surface or above the surface of the display screen 1605. The touch signal can be input to the processor 1601 as a control signal for processing. At this time, the display screen 1605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1605 can be one, set on the front panel of the terminal 1600; in other embodiments, the display screen 1605 can be at least two, respectively set on different surfaces of the terminal 1600 or in a folding design; in other embodiments, the display screen 1605 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1600. Even, the display screen 1605 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0236] The camera assembly 1606 is used to capture images or videos. Optionally, the camera assembly 1606 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal 1600, and the rear camera is arranged on the back of the terminal 1600. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1606 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0237] The audio circuit 1607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1601 for processing, or input them into the radio frequency circuit 1604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1600. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1601 or the radio frequency circuit 1604 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1607 may also include a headphone jack.
[0238] The power supply 1608 is used to power various components in the terminal 1600. The power supply 1608 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1608 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0239] In some embodiments, the terminal 1600 further includes one or more sensors 1609 , including but not limited to: an acceleration sensor 1610 , a gyroscope sensor 1611 , a pressure sensor 1612 , an optical sensor 1613 , and a proximity sensor 1614 .
[0240] The acceleration sensor 1610 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1600. For example, the acceleration sensor 1610 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1601 can control the display screen 1605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1610. The acceleration sensor 1610 can also be used for collecting game or user motion data.
[0241] The gyro sensor 1611 can detect the body direction and rotation angle of the terminal 1600, and the gyro sensor 1611 can cooperate with the acceleration sensor 1610 to collect the user's 3D actions on the terminal 1600. The processor 1601 can implement the following functions based on the data collected by the gyro sensor 1611: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0242] The pressure sensor 1612 can be set on the side frame of the terminal 1600 and / or the lower layer of the display screen 1605. When the pressure sensor 1612 is set on the side frame of the terminal 1600, it can detect the user's holding signal of the terminal 1600, and the processor 1601 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1612. When the pressure sensor 1612 is set on the lower layer of the display screen 1605, the processor 1601 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1605. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0243] The optical sensor 1613 is used to collect the ambient light intensity. In one embodiment, the processor 1601 can control the display brightness of the display screen 1605 according to the ambient light intensity collected by the optical sensor 1613. Optionally, when the ambient light intensity is high, the display brightness of the display screen 1605 is increased; when the ambient light intensity is low, the display brightness of the display screen 1605 is decreased. In another embodiment, the processor 1601 can also dynamically adjust the shooting parameters of the camera assembly 1606 according to the ambient light intensity collected by the optical sensor 1613.
[0244] The proximity sensor 1614, also called a distance sensor, is disposed on the front panel of the terminal 1600. The proximity sensor 1614 is used to collect the distance between the user and the front of the terminal 1600. In one embodiment, when the proximity sensor 1614 detects that the distance between the user and the front of the terminal 1600 is gradually decreasing, the processor 1601 controls the display screen 1605 to switch from the screen-on state to the screen-off state; when the proximity sensor 1614 detects that the distance between the user and the front of the terminal 1600 is gradually increasing, the processor 1601 controls the display screen 1605 to switch from the screen-off state to the screen-on state.
[0245] Those skilled in the art will understand that Fig.16 The structure shown in the figure does not constitute a limitation on the terminal 1600, and the terminal 1600 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0246] Optionally, the computer device is provided as a server. Fig.17It is a structural diagram of a server provided in an embodiment of the present application. The server 1700 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1701 and one or more memories 1702, wherein the memory 1702 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1701 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
[0247] An embodiment of the present application further provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the virtual item throwing method of the above embodiment.
[0248] The embodiment of the present application further provides a computer program product, including a computer program, wherein the computer program is loaded and executed by a processor to implement the operations performed by the virtual item throwing method of the above embodiment.
[0249] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0250] The above description is only an optional embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A method for throwing a virtual object, characterized in that: The method comprises: Displaying a first virtual object in a virtual scene, wherein the virtual scene includes a throwing point corresponding to a target position, wherein the throwing point is a position where a virtual object needs to be located when throwing the virtual object at the target position; When the first virtual object moves to the throwing point, a crosshair mark is displayed, and the position of the crosshair mark is the position where the crosshair needs to aim when throwing the virtual object from the throwing point to the target position; When the crosshair of the first virtual object moves to the crosshair mark, in response to a throwing operation, the first virtual object is controlled to throw the virtual item to the target position.
2. The method according to claim 1, characterized in that The method further comprises at least one of the following: When the first virtual object moves to the throwing point, a landing point mark is displayed in the small map of the virtual scene, and the position of the landing point mark is the landing point of the virtual object after the virtual object is thrown according to the position currently aimed by the crosshair; When the first virtual object moves to the throwing point, a predicted throwing trajectory is displayed, where the predicted throwing trajectory is a throwing trajectory of the virtual object according to the position currently aimed at by the crosshairs of the first virtual object.
3. The method according to claim 2, characterized in that The displaying of the landing point mark in the small map of the virtual scene includes: When the crosshair is not located at the crosshair mark, displaying the landing point mark in a first style; When the crosshair is located at the crosshair mark, the landing point mark is displayed in a second style, and the first style is different from the second style.
4. The method according to claim 1, characterized in that: The method further comprises: When the first virtual object moves to the throwing point, adjustment prompt information is displayed, where the adjustment prompt information is used to prompt the adjustment of the crosshair of the first virtual object to the crosshair mark.
5. The method according to claim 1, characterized in that The display of the crosshair mark includes: When the crosshair is not located at the crosshair mark, displaying the crosshair mark in a third style; When the crosshair is located at the crosshair mark, the crosshair mark is displayed in a fourth style, and the third style is different from the fourth style.
6. The method according to claim 1, characterized in that The step of displaying a crosshair mark when the first virtual object moves to the throwing point includes: When the first virtual object moves to the throwing point and the first virtual object has the right to use the throwing point, the crosshair mark is displayed.
7. The method according to claim 1, characterized in that The method further comprises: When the distance between the first virtual object and the throwing point is less than a distance threshold, a point mark is displayed, and the position of the point mark is the throwing point.
8. The method according to claim 7, characterized in that The step of displaying a point mark when the distance between the first virtual object and the throwing point is less than a distance threshold comprises: When the distance between the first virtual object and the throwing point is less than the distance threshold, the point mark and the guide route are displayed, and the guide route is a route moving from the position of the first virtual object to the throwing point.
9. The method according to claim 7, characterized in that: The step of displaying a point mark when the distance between the first virtual object and the throwing point is less than a distance threshold comprises: When the distance between the first virtual object and the throwing point is less than the distance threshold and the first virtual object has the right to use the throwing point, the point mark is displayed.
10. The method according to claim 6 or 9, characterized in that: The method further comprises: In a case where the first virtual object satisfies the unlocking condition of the throwing point, determining that the first virtual object has the permission to use the throwing point; When the second virtual object shares the throwing point with the first virtual object, it is determined that the first virtual object has the right to use the throwing point, the second virtual object and the first virtual object belong to the same camp, and the second virtual object has the right to use the throwing point.
11. The method according to claim 10, characterized in that The method further comprises: In the case where the second virtual object shares the throwing point with the first virtual object, point sharing prompt information is displayed, where the point sharing prompt information is used to prompt the first virtual object that the throwing point is shared by the second virtual object.
12. The method according to claim 6 or 9, characterized in that: The method further comprises: A small map showing the virtual scene; The throwing points that the first virtual object has the right to use are marked in the mini-map.
13. The method according to claim 1, characterized in that The method further comprises: When the first virtual object is not located at the throwing point, and the crosshair of the first virtual object is located at the throwing point, displaying an object identifier of at least one third virtual object, wherein the third virtual object belongs to the same camp as the first virtual object; In response to a selection operation on an object identifier of any third virtual object, the throwing point is shared with the selected third virtual object.
14. The method according to claim 13, characterized in that The method of displaying the object identifier of at least one third virtual object when the first virtual object is not located at the throwing point and the crosshair of the first virtual object is located at the throwing point comprises: When the first virtual object is not located at the throwing point and the crosshairs of the first virtual object are located at the throwing point, if the first virtual object has the right to use the throwing point, the object identifier of at least one of the third virtual objects that does not have the right to use the throwing point is displayed.
15. The method according to claim 13, characterized in that The method of displaying the object identifier of at least one third virtual object when the first virtual object is not located at the throwing point and the crosshair of the first virtual object is located at the throwing point comprises: In a case where the first virtual object is not located at the throwing point, and the crosshair of the first virtual object is located at the throwing point, displaying a sharing option of the throwing point; In response to a triggering operation on the sharing option, an object identifier of at least one of the third virtual objects is displayed.
16. A virtual object throwing device, characterized in that: The device comprises: A virtual object display module, used to display a first virtual object in a virtual scene, wherein the virtual scene includes a throwing point corresponding to a target position, wherein the throwing point is a position where a virtual object needs to be located when throwing the virtual object at the target position; an auxiliary information display module, configured to display a crosshair mark when the first virtual object moves to the throwing point, wherein the position of the crosshair mark is the position where the crosshair needs to aim when the virtual object is thrown from the throwing point to the target position; The throwing module is used for controlling the first virtual object to throw the virtual item to the target position in response to a throwing operation when the crosshair of the first virtual object moves to the crosshair mark.
17. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the virtual item throwing method according to any one of claims 1 to 15.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to implement the operations performed by the virtual item throwing method according to any one of claims 1 to 15.
19. A computer program product comprising a computer program, characterized in that The computer program is loaded and executed by a processor to implement the operations performed by the method for throwing a virtual item as described in any one of claims 1 to 15.
Citation Information
Cited By
Virtual item issuing method, receiving method, system, display device and medium
CN119809713A
Virtual item issuing method, receiving method, system, display device, and medium
CN119809713B
