Virtual prop control method and apparatus, and device and storage medium

By setting click and long-press operations on the shooting control, users can fire and replenish virtual ammunition on the same control, solving the problem of cumbersome control switching in virtual shooting games and improving human-computer interaction efficiency.

WO2026001248A1PCT designated stage Publication Date: 2026-01-02TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/090486
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-26
Filing Date
2025-04-22
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

In virtual shooting games, users need to frequently switch controls to fire and replenish virtual ammunition, which makes the operation cumbersome and affects the efficiency of human-computer interaction.

Method used

By setting different trigger operations on the shooting control, such as click and long press, the virtual object can use virtual shooting props to fire virtual ammunition and replenish virtual ammunition. Users can achieve two effects through different trigger operations of the same control, simplifying the operation process.

Benefits of technology

This reduces the time users spend changing controls, prevents them from missing crucial opportunities, and improves the efficiency of user interaction with the virtual scene.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025090486_02012026_PF_FP_ABST
    Figure CN2025090486_02012026_PF_FP_ABST
Patent Text Reader

Abstract

A virtual prop control method and apparatus, and a device and a storage medium, which belong to the technical field of virtual worlds. The method comprises: displaying a virtual scene, wherein the virtual scene includes a virtual object, and the virtual object is equipped with a virtual shooting prop (210); in response to a first trigger operation on a shooting control, controlling the virtual object to use the virtual shooting prop to fire virtual ammunition (220); and in response to a second trigger operation on the shooting control, controlling the virtual object to replenish virtual ammunition for the virtual shooting prop, wherein the second trigger operation is different from the first trigger operation (230). The present application simplifies user operations, thereby reducing the time consumed for replenishing virtual ammunition, and improving the efficiency of interaction between users and virtual scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and equipment for controlling virtual props and storage medium

[0001] The present application claims priority to the Chinese patent application No. 202410843860.5, filed on June 26, 2024, and entitled "Method, device and equipment for controlling virtual props and storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the technical field of virtual world, in particular to a method, device and equipment for controlling virtual props and storage medium. BACKGROUND

[0003] In a virtual shooting game, a user usually uses various virtual shooting props to launch virtual ammunition for battle in a first-person perspective or a third-person perspective.

[0004] In the related art, a virtual shooting prop in a virtual scene can load a limited number of virtual ammunition, and a shooting control can be displayed in a scene interface of the virtual scene, and a user can click the shooting control to trigger the virtual shooting prop to launch virtual ammunition. SUMMARY

[0005] The present application provides a method, device and equipment for controlling virtual props and storage medium, which can improve the human-computer interaction efficiency of a user with a virtual scene.

[0006] According to an aspect of the present application, a method for controlling virtual props is provided, which comprises:

[0007] displaying a virtual scene, wherein the virtual scene contains a virtual object, and the virtual object is equipped with a virtual shooting prop;

[0008] in response to a first trigger operation on a shooting control, controlling the virtual object to launch virtual ammunition by using the virtual shooting prop;

[0009] in response to a second trigger operation on the shooting control, controlling the virtual object to supplement the virtual ammunition to the virtual shooting prop; and the second trigger operation is different from the first trigger operation.

[0010] According to another aspect of the present application, a device for controlling virtual props is provided, which comprises:

[0011] a display module, configured to display a virtual scene, wherein the virtual scene contains a virtual object, and the virtual object is equipped with a virtual shooting prop;

[0012] a first control module configured to control the virtual object to fire virtual ammunition using the virtual shooting prop in response to a first trigger operation on a shooting control;

[0013] a second control module configured to control the virtual object to replenish the virtual shooting prop with the virtual ammunition in response to a second trigger operation on the shooting control; the second trigger operation being different from the first trigger operation.

[0014] According to another aspect of the present application, a computer device is provided, which comprises a processor and a memory, the memory storing at least one instruction, at least one program, a code set or an instruction set, which are loaded and executed by the processor to implement the virtual prop control method according to the above aspect.

[0015] According to another aspect of the present application, a computer readable storage medium is provided, which stores at least one instruction, at least one program, a code set or an instruction set, which are loaded and executed by a processor to implement the virtual prop control method according to the above aspect.

[0016] According to another aspect of the present application, a computer program product is provided, which comprises computer instructions stored in a computer readable storage medium, and a processor reads and executes the computer instructions from the computer readable storage medium to implement the virtual prop control method according to the above aspect.

[0017] The technical scheme provided by the present application has at least the following beneficial effects:

[0018] When the user performs the first trigger operation on the shooting control, the virtual object is controlled to fire virtual ammunition using the virtual shooting prop, and when the user performs the second trigger operation on the shooting control, the virtual object is controlled to replenish the virtual shooting prop with the virtual ammunition. Therefore, the user can achieve two trigger effects of firing virtual ammunition and replenishing virtual ammunition through different trigger operations on the same control, so that the user can quickly replenish virtual ammunition without changing the trigger control during the shooting process by triggering the shooting control, thereby reducing the time spent by the user to replenish virtual ammunition, saving the process of changing the control to trigger the replenishment of virtual ammunition, avoiding the user from missing the critical moment of the game due to changing the trigger control, simplifying the user operation, and thus improving the human-computer interaction efficiency of the user and the virtual scene. BRIEF DESCRIPTION OF DRAWINGS

[0019] FIG. 1 is a schematic diagram of a scheme implementation environment according to an example embodiment of the present application;

[0020] FIG. 2 is a flowchart of a method for controlling a virtual prop according to an example embodiment of the present application;

[0021] FIG. 3 is a schematic diagram of a first scene interface according to an example embodiment of the present application;

[0022] FIG. 4 is a flowchart of a method for controlling a virtual prop according to an example embodiment of the present application;

[0023] FIG. 5 is a schematic diagram of a first scene interface according to an example embodiment of the present application;

[0024] FIG. 6 is a schematic diagram of a first scene interface according to an example embodiment of the present application;

[0025] FIG. 7 is a schematic diagram of a first scene interface according to an example embodiment of the present application;

[0026] FIG. 8 is a schematic diagram of a first scene interface according to an example embodiment of the present application;

[0027] FIG. 9 is a schematic diagram of a first scene interface according to an example embodiment of the present application;

[0028] FIG. 10 is a schematic diagram of a pointing circle according to an example embodiment of the present application;

[0029] FIG. 11 is a schematic diagram of a second scene interface according to an example embodiment of the present application;

[0030] FIG. 12 is a flowchart of a method for controlling a virtual prop according to an example embodiment of the present application;

[0031] FIG. 13 is an implementation flowchart of a method for controlling a virtual prop according to an example embodiment of the present application;

[0032] FIG. 14 is a structural block diagram of a control device for a virtual prop according to an example embodiment of the present application;

[0033] FIG. 15 is a structural block diagram of a computer device according to an example embodiment of the present application. DETAILED DESCRIPTION

[0034] For the purpose of making the object, technical scheme and advantages of the present application more clear, the embodiments of the present application will be described in further detail below with reference to the drawings.

[0035] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of countries and regions. For example, the click, long press and other trigger operations involved in the present application are obtained under sufficient authorization.

[0036] In the related art, the virtual shooting prop in the virtual scene can load a limited number of virtual ammunition, and the shooting control and the reloading control can be displayed in the scene interface of the virtual scene. The user can click the shooting control to trigger the virtual shooting prop to launch the virtual ammunition. When the virtual shooting prop is not full of virtual ammunition, the user can click the reloading control to supplement the virtual shooting prop with virtual ammunition. However, in the scheme shown in the above related art, the user needs to click the reloading control to trigger reloading, and the user's operation is relatively cumbersome, which affects the human-computer interaction efficiency.

[0037] To this end, the embodiments of the present application provide a virtual prop control method, which can simplify user operation and improve human-computer interaction effect. For details, please refer to the following embodiments.

[0038] Please refer to FIG. 1, which shows a schematic diagram of a scheme implementation environment provided by an example embodiment of the present application. The implementation environment can include a terminal device 10 and a server 20.

[0039] The terminal device 10 can be an electronic device such as a mobile phone, a tablet computer, a multimedia playback device, a PC (Personal Computer), a smart robot, a vehicle-mounted terminal, a wearable device, an AR (Augmented Reality) device, a VR (Virtual Reality) device, an MR (Mixed Reality) device, etc. The terminal device 10 can install a client of a target application program, which can be a game application program, a social entertainment application program, a simulation learning application program, a simulation application program, etc.

[0040] The target application can be an online application. Illustratively, for the client of the target application, it can be installed and run in different terminal devices 10 for use by different users. Taking a game application as an example, the game application can be installed and run in different terminal devices 10 in the form of a mobile game, a PC game, a webpage, an applet, etc. The target application can also be an offline application, and can also be a plug-and-play application, which is not limited by the embodiments of the present application.

[0041] The game application can be any one of a massive multiplayer online role-playing game (MMORPG), a casual game, a party game, a sandbox game, a tower defense game, an action adventure game, a multiplayer online battle arena (MOBA) game, a first-person shooting game (FPS), a multiplayer gun battle survival game, a third-person shooting game (TPS), a simulation game (SLG), etc., which is not limited by the embodiments of the present application.

[0042] The server 20 is configured to provide background services for the client of the target application (e.g., a game application) in the terminal device 10. For example, the server 20 can be a background server of the target application (e.g., a game application) described above. The server 20 can be a server, or a server cluster composed of multiple servers, or a cloud computing service center.

[0043] The terminal device 10 and the server 20 can communicate with each other through a network 30. The network 30 can be a wired network or a wireless network.

[0044] Exemplarily, taking a shooting mobile game as an example, the user can start an application of the shooting mobile game through a client of the shooting mobile game in the terminal device 10. The client shows the user a first scene interface 101 provided by the application of the shooting mobile game, the first scene interface 101 displays a virtual scene, the virtual scene includes a virtual object, the virtual object is equipped with a virtual shooting prop, and the first scene interface displays a shooting control 102; in response to a click operation on the shooting control 102, the virtual object is controlled to use the virtual shooting prop to launch virtual ammunition once; in response to a long press operation on the shooting control 102, the virtual object is controlled to supplement the virtual shooting prop with virtual ammunition. Optionally, in response to the long press operation on the shooting control 102, the virtual object is also controlled to use the virtual shooting prop to launch virtual ammunition continuously.

[0045] Please refer to FIG. 2, which shows a flowchart of a virtual prop control method provided by an example embodiment of the present application. The method is executed by a computer device. Optionally, the computer device can be the terminal device 10 in the system shown in FIG. 1, or the computer device can also be the server 20 in the system shown in FIG. 1, or the computer device can also include the terminal device 10 and the server 20 in the system shown in FIG. 1. As shown in FIG. 2, the method can include the following steps 210, 220 and 230.

[0046] Step 210: The computer device displays a virtual scene, and the virtual scene includes a virtual object, and the virtual object is equipped with a virtual shooting prop.

[0047] Exemplarily, the computer device displays a first scene interface, and the first scene interface displays the virtual scene.

[0048] The virtual scene refers to an environment created for the virtual object to move in, which can be running, jumping, dancing, interacting, competing, etc. Exemplarily, the virtual scene can include at least one of the following: a virtual city, a virtual mountain forest, a virtual house, a virtual island, etc.

[0049] Exemplarily, the virtual object can move in the virtual scene described above; the user can control one or more virtual objects through a user account logged in the terminal. For example, the virtual object of the user can perform an interactive behavior with a specified virtual object in the virtual scene described above, which can be that the user controls the virtual object to launch virtual ammunition at the specified virtual object, or have a conversation with the specified virtual object, etc.; for another example, a first virtual object of a first user can perform a competitive behavior with a second virtual object of a second user in the virtual scene described above, which can be that the first user controls the first virtual object to launch virtual ammunition at the second virtual object.

[0050] In the embodiments of the present application, the computer device also displays a shooting control, and the user can control the first virtual object to fire virtual ammunition by performing a specified triggering operation on the shooting control. For example, the computer device displays a first scene interface, and the first scene interface also displays the shooting control.

[0051] Please refer to FIG. 3, which shows a schematic diagram of a first scene interface according to an example embodiment of the present application. As shown in FIG. 3, the first scene interface 301 displays a virtual object 302 of the user and a plurality of triggering controls, and the user can control the activities of the virtual object 302 through the plurality of triggering controls. For example, the user can trigger a shooting control 303 to control the virtual object 302 to fire virtual ammunition using a virtual shooting prop; for another example, the user can trigger a sprint control 304 to control the virtual object 302 to sprint in the virtual scene; for yet another example, the user can trigger a jump control 305 to control the virtual object 302 to jump in the virtual scene.

[0052] Step 220: In response to a first triggering operation on the shooting control, the computer device controls the virtual object to fire virtual ammunition using a virtual shooting prop.

[0053] The first triggering operation described above can be a triggering operation set by the developer in the computer device to control the virtual object to fire virtual ammunition using a virtual shooting prop. Accordingly, before the virtual object of the user enters the game, the computer device can show the user a detailed introduction and a use tutorial of the first triggering operation in the scene interface of the virtual scene. For example, the first triggering operation described above can be a click operation, a long press operation, a sliding operation, and the like of the shooting control.

[0054] The control of the virtual object to fire virtual ammunition using a virtual shooting prop means that the computer device controls the virtual object to fire virtual ammunition loaded in the virtual shooting prop using the virtual shooting prop.

[0055] For example, the control of the virtual object to fire virtual ammunition using a virtual shooting prop can be the control of the virtual object to fire virtual ammunition once using the virtual shooting prop, or the control of the virtual object to fire virtual ammunition continuously using the virtual shooting prop. The virtual shooting prop firing virtual ammunition continuously means that the virtual shooting prop fires multiple times of virtual ammunition continuously. Each time of firing virtual ammunition can be the firing of one piece of virtual ammunition, or the firing of multiple pieces of virtual ammunition.

[0056] For example, taking the first scene interface 301 shown in FIG. 3 as an example, the user can click the shooting control 303; in response to the click operation on the shooting control 303, the computer device controls the virtual object 302 to fire virtual ammunition using a virtual shooting prop.

[0057] Step 230: In response to the second trigger operation on the shooting control, the computer device controls the virtual object to supplement the virtual shooting prop with virtual ammunition; the second trigger operation is different from the first trigger operation.

[0058] That is, when the user performs a trigger operation on the shooting control that is different from the first trigger operation described above, the computer device can control the virtual object to supplement the virtual shooting prop with virtual ammunition.

[0059] Among them, the above-mentioned supplementing the virtual shooting prop with virtual ammunition refers to supplementing the virtual ammunition carried by the virtual object outside the virtual shooting prop. For example, the virtual object is equipped with a virtual shooting prop, the virtual shooting prop is loaded with a limited number of virtual ammunition, for example, the virtual shooting prop 1 can be loaded with a maximum of 200 virtual ammunition, and the virtual object can carry a maximum of 300 virtual ammunition outside the virtual shooting prop. The above-mentioned supplementing the virtual shooting prop with virtual ammunition refers to supplementing the virtual ammunition carried by the virtual object outside the virtual shooting prop into the virtual shooting prop.

[0060] Among them, the above-mentioned second trigger operation can be a trigger operation set by the developer in the computer device to control the virtual object to supplement the virtual shooting prop with virtual ammunition; accordingly, before the user's virtual object enters the game, the computer device can show the user a detailed introduction and usage tutorial of the above-mentioned second trigger operation in the scene interface of the virtual scene. For example, the above-mentioned second trigger operation can be a click operation, a long press operation, a sliding operation, etc. of the shooting control.

[0061] For example, the developer can set in the computer device that the second trigger operation can supplement a number of virtual ammunition at a time. For example, taking the virtual shooting prop that can be loaded with a maximum of 200 virtual ammunition as an example, the number of virtual ammunition that the second trigger operation can supplement at a time can be 10, 50, or 100. Among them, the number of virtual ammunition that the second trigger operation can supplement at a time and the number of virtual ammunition that the virtual shooting prop has loaded are not more than the upper limit of the number of virtual ammunition that the virtual shooting prop can load. For example, the virtual shooting prop can be loaded with a maximum of 200 virtual ammunition, and in the case that the virtual shooting prop has been loaded with 180 virtual ammunition and the second trigger operation is set to supplement 50 virtual ammunition, the number of virtual ammunition that the user can supplement at this time through the second trigger operation is 20.

[0062] For example, taking the first scenario interface 301 shown in FIG. 3 as an example, the user can long press the shooting control 303, and in response to the long press operation on the shooting control 303, the computer device controls the virtual object 302 to supplement the virtual shooting prop with virtual ammunition. That is, the second trigger operation on the shooting control 303 refers to the long press operation on the shooting control 303, for example, the long press operation refers to holding the shooting control 303 for 1 second or more.

[0063] In a possible implementation, the developer can pre-set the multiple trigger operations and the multiple trigger effects of the shooting control in the computer device, the trigger operations can include clicking, long pressing, swiping up, swiping down, dragging, etc., and the trigger effects can include single shooting, continuous shooting, equipping a virtual shooting prop, picking up a virtual shooting prop, folding up a virtual shooting prop, discarding a virtual shooting prop, supplementing a virtual shooting prop with virtual ammunition, etc.

[0064] Correspondingly, before the virtual object of the user enters the game, the computer device can show the user the multiple trigger operations and the multiple trigger effects of the shooting control, and provide the user with a definition permission, so that the user can select the trigger operation corresponding to each trigger effect. For example, the user can select the trigger effect of the click operation as using the virtual shooting prop to fire virtual ammunition; for another example, the user can select the trigger effect of the long press operation and the swiping up operation as supplementing the virtual shooting prop with virtual ammunition; for another example, the user can select the trigger effect of the swiping down operation as discarding the virtual shooting prop.

[0065] In summary, the method provided in this embodiment, when the user performs the first trigger operation on the shooting control, the computer device controls the virtual object to use the virtual shooting prop to fire virtual ammunition; when the user performs the second trigger operation on the shooting control, the computer device can control the virtual object to supplement the virtual shooting prop with virtual ammunition; that is, the user can achieve two trigger effects of firing virtual ammunition and supplementing virtual ammunition through different trigger operations on the same control, so that the user can achieve rapid supplement of virtual ammunition without changing the trigger control during shooting through the trigger shooting control, thereby reducing the time cost of the user to supplement virtual ammunition, saving the process of the user to change the control to trigger the supplement of virtual ammunition, avoiding the user from missing the key opportunity of the game due to changing the trigger control, simplifying the user operation, and thereby improving the human-computer interaction efficiency of the user and the virtual scene.

[0066] Based on the scheme in the embodiment shown in FIG. 2, refer to FIG. 4, which shows a control method flowchart of a virtual prop provided in an example embodiment of the present application, the method is executed by a computer device, as shown in FIG. 4, step 220 in the above-mentioned FIG. 2 can be implemented as step 221, and the method further includes step 240.

[0067] Step 221: In response to the first trigger operation on the shooting control, the computer device controls the virtual object to use the virtual shooting prop to launch virtual ammunition in a single shot.

[0068] The first trigger operation on the shooting control performed by the user can achieve the effect of controlling the virtual object to use the virtual shooting prop to launch virtual ammunition in a single shot. That is, one first trigger operation on the shooting control performed by the user can control the virtual object to use the virtual shooting prop to launch virtual ammunition in a single shot.

[0069] For example, the developer can pre-set the number of virtual ammunition consumed corresponding to the single shot of virtual ammunition. For example, the single shot of virtual ammunition can be launching 1 virtual ammunition, or launching 5 virtual ammunition.

[0070] Step 240: In response to the second trigger operation on the shooting control, the computer device controls the virtual object to use the virtual shooting prop to launch virtual ammunition continuously.

[0071] The second trigger operation on the shooting control performed by the user can achieve the effect of continuously launching virtual ammunition without stopping shooting while supplementing virtual ammunition. That is, one second trigger operation on the shooting control performed by the user can control the virtual object to use the virtual shooting prop to launch virtual ammunition continuously.

[0072] During the duration of the second trigger operation, the computer device can control the virtual object to use the virtual shooting prop to launch virtual ammunition continuously until the second trigger operation ends.

[0073] Alternatively, the developer can pre-set the duration of the trigger effect corresponding to the second trigger operation, for example, the duration is 2 seconds; accordingly, in response to the second trigger operation on the shooting control by the user, the computer device controls the virtual object to use the virtual shooting prop to launch virtual ammunition continuously for 2 seconds.

[0074] For example, the step 230 and the step 240 can be combined. That is, in response to the second trigger operation on the shooting operation, the computer device controls the virtual object to use the virtual shooting prop to launch virtual ammunition continuously, and controls the virtual object to supplement virtual ammunition to the virtual shooting prop. For example, the virtual shooting prop can be used to launch virtual ammunition continuously and supplement virtual ammunition to the virtual shooting prop at the same time.

[0075] For example, taking the first scene interface 301 shown in FIG. 3 as an example, the user can click the shooting control 303. In response to the click operation on the shooting control 303, the computer device controls the virtual object 302 to fire virtual ammunition once using the virtual shooting prop. The user can long press the shooting control 303 (for example, hold the shooting control 303 for 1 second). In response to the long press operation on the shooting control 303, the computer device controls the virtual object 302 to continuously fire virtual ammunition using the virtual shooting prop while controlling the virtual object 302 to supplement the virtual shooting prop with virtual ammunition.

[0076] Based on the above embodiments, the embodiments of the present application limit the trigger effects corresponding to the first trigger operation and the second trigger operation, which can specifically include that the trigger effect corresponding to the first trigger operation is to control the virtual object to fire virtual ammunition once using the virtual shooting prop, and the trigger effect corresponding to the second trigger operation includes not only controlling the virtual object to supplement the virtual shooting prop with virtual ammunition, but also controlling the virtual object to continuously fire virtual ammunition using the virtual shooting prop. The present solution can ensure that the user automatically realizes the effect of continuous shooting while supplementing the virtual ammunition through the second trigger operation, avoids missing the key moment of the game due to shooting interruption, and thus improves the interaction efficiency of the user and the virtual scene.

[0077] In a possible implementation, step 220 in FIG. 2 can be implemented as follows: in response to the first trigger operation on the shooting control, the virtual object is controlled to continuously fire virtual ammunition using the virtual shooting prop. Then the method further includes: in response to the second trigger operation on the shooting control, the virtual object is controlled to fire virtual ammunition once using the virtual shooting prop.

[0078] For example, in response to the second trigger operation on the shooting operation, the computer device controls the virtual object to fire virtual ammunition once using the virtual shooting prop, and controls the virtual object to supplement the virtual shooting prop with virtual ammunition. For example, the virtual shooting prop can be used to fire virtual ammunition once and supplement the virtual shooting prop with virtual ammunition at the same time.

[0079] That is, the user performs the first trigger operation on the shooting control, which can realize the effect of controlling the virtual object to continuously fire virtual ammunition using the virtual shooting prop within a set time length. The user performs the second trigger operation on the shooting control, which can realize the effect of single shooting while supplementing the virtual ammunition.

[0080] The embodiment of the application limits another trigger effect corresponding to the first trigger operation and the second trigger operation, and specifically can include that the trigger effect corresponding to the first trigger operation is to control the virtual object to continuously emit virtual ammunition by using the virtual shooting prop, and the trigger effect corresponding to the second trigger operation includes not only controlling the virtual object to supplement virtual ammunition to the virtual shooting prop, but also controlling the virtual object to emit virtual ammunition once by using the virtual shooting prop; the scheme can ensure that the user automatically realizes the effect of single shooting while supplementing virtual ammunition by the second trigger operation, avoids missing the key moment of the game due to shooting interruption, and thus improves the interaction efficiency of the user and the virtual scene.

[0081] Based on the scheme in the embodiment shown in FIG. 4, in a possible implementation, step 230 in FIG. 4 can be implemented as: in a case where the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold, in response to the second trigger operation on the shooting control, the virtual object is controlled to supplement virtual ammunition to the virtual shooting prop.

[0082] The number of the remaining virtual ammunition of the virtual shooting prop refers to the remaining number of virtual ammunition loaded by the virtual shooting prop.

[0083] For example, the number threshold can be set by a developer in advance, and is used to indicate a reference number of the virtual shooting prop that indicates that the virtual shooting prop is about to run out of ammunition and needs to be supplemented in time. For example, the virtual shooting prop can load a maximum of 200 virtual ammunition, and the number threshold corresponding to the virtual shooting prop can be 50.

[0084] Based on the above embodiment, the embodiment of the application limits the trigger timing corresponding to the second trigger operation, and specifically can include that when the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold, the user can realize the effect of supplementing virtual ammunition by performing the second trigger operation on the shooting control; compared with the scheme that the virtual ammunition of the virtual shooting prop can be supplemented only after the virtual ammunition of the virtual shooting prop is exhausted, the scheme can provide the user with the permission to supplement virtual ammunition in a case where the virtual ammunition loaded by the virtual shooting prop still remains, and avoid unnecessary virtual ammunition supplement.

[0085] Based on the scheme in each of the above embodiments of the application, in a possible implementation, the control method of the virtual prop further includes: in a case where the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold, displaying a first prompt element; the first prompt element is used to prompt to supplement virtual ammunition to the virtual shooting prop; and in response to the second trigger operation on the shooting control, the first prompt element is canceled.

[0086] For example, the computer device displays a first prompt element on the shooting control. The first prompt element can be any element. For example, the first prompt element can be a prompt ring displayed around the shooting control, or a specified prompt element displayed near the shooting control (e.g., above the shooting control).

[0087] The developer can pre-set an animation for canceling the display of the first prompt element in the computer device. For example, the canceling of the display of the first prompt element can be achieved by changing the transparency of the first prompt element to make the first prompt element gradually disappear.

[0088] When the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold, the computer device automatically displays a first prompt element 503 above a shooting control 502 in a first scene interface 501, as shown in FIG. 5. At this time, the user can press and hold the shooting control 502 in the first scene interface 501 to supplement the virtual ammunition, as shown in FIG. 6. Accordingly, the computer device responds to the press-and-hold operation (i.e., the second trigger operation) on the shooting control, and responds to the ammunition supplementing logic. Meanwhile, the first prompt element 503 in the first scene interface 501 disappears, as shown in FIG. 7, to inform the user that the virtual ammunition has been supplemented.

[0089] Based on the above embodiments, the embodiments of the present application provide a solution for displaying and canceling the display of the first prompt element. Specifically, the solution can include: when the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold, displaying a first prompt element corresponding to the shooting control in a first display interface. The first prompt element can prompt the user that the current remaining virtual ammunition is small, and can also prompt the user of the triggerable timing of the second trigger operation, and prompt the user to supplement the virtual ammunition of the virtual shooting prop.

[0090] Moreover, when the user performs the second trigger operation on the shooting control, the computer device responds to the ammunition supplementing logic and cancels the display of the first prompt element. The solution can display the first prompt element to timely inform the user when the virtual ammunition needs to be supplemented, and can automatically cancel the display of the first prompt element after the virtual ammunition is supplemented, thereby ensuring the simplicity of the display screen and providing the user with a convenient trigger operation for supplementing the virtual ammunition.

[0091] Based on the solution in each of the above embodiments, in a possible implementation, the canceling of the display of the first prompt element in response to the second trigger operation on the shooting control can be implemented as follows: in response to the second trigger operation on the shooting control, the first prompt element is displayed to be fused to the shooting control in a process of controlling the virtual object to supplement the virtual ammunition of the virtual shooting prop.

[0092] For example, the computer device displays an animation of the first prompt element fusing into the shooting control. The animation of the first prompt element fusing into the shooting control can be an animation preset by the developer in the computer device. For example, the first prompt element is fused into the shooting control through shape interpolation technology. For another example, the first prompt element is divided into a plurality of particles, and then the plurality of particles are moved to the shooting control.

[0093] As shown in FIG. 8, when the user long-presses the shooting control 502 in the first scene interface 501, in the process of controlling the virtual object to supplement the virtual shooting prop with virtual ammunition, the first prompt element 503 can gradually fuse into the shooting control 502 until the first prompt element 503 completely disappears.

[0094] Based on the above embodiments, the embodiments of the present application provide a feasible solution for canceling the display of the first prompt element, which can specifically include: in the process of controlling the virtual object to supplement the virtual shooting prop with virtual ammunition, displaying an animation of the first prompt element fusing into the shooting control in the first display interface; the animation of the first prompt element fusing into the shooting control can dynamically show the user the set animation effect, so that the user can intuitively obtain the information of the ammunition supplement completion.

[0095] Based on the solutions in the above embodiments of the present application, in one possible implementation, the first prompt element corresponds to a maximum display duration; and the process of controlling the virtual object to supplement the virtual shooting prop with virtual ammunition in response to the second trigger operation on the shooting control in the case that the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold can be implemented as follows.

[0096] In the case that the display duration of the first prompt element is less than the maximum display duration, the process of controlling the virtual object to supplement the virtual shooting prop with virtual ammunition in response to the second trigger operation on the shooting control.

[0097] The maximum display duration corresponding to the first prompt element means that the display duration of the first prompt element is limited. For example, the maximum display duration can be a specified duration preset by the developer, for example, the maximum display duration can be 10 seconds.

[0098] For example, if the display duration of the first prompt element exceeds the maximum display duration, the computer device can cancel the display of the first prompt element. At this time, when the computer device detects the second trigger operation on the shooting control, it can not perform the process of controlling the virtual object to supplement the virtual shooting prop with virtual ammunition. That is, the user cannot supplement the virtual ammunition by the second trigger operation on the shooting control at this time.

[0099] In the embodiments of the present application, in the case that the display duration of the first prompt element is less than the maximum display duration (i.e., the first prompt element does not disappear), the user can replenish the virtual ammunition by the second trigger operation on the shooting control; at this time, when the computer device detects the second trigger operation of the user on the shooting control, the virtual object replenishes the virtual ammunition for the virtual shooting prop.

[0100] Based on the above embodiments, the display duration of the first prompt element and the trigger time limit of the second trigger operation are limited, and the user can successfully trigger the second trigger operation during the display of the second prompt element; the present solution can improve the user's choice of replenishing virtual ammunition without interfering with the game as much as possible.

[0101] Based on the solutions in the above embodiments of the present application, in a possible implementation, the first prompt element includes a display progress sub-element, and the display progress sub-element indicates at least one of the following information:

[0102] the displayed duration of the first prompt element;

[0103] the remaining display duration of the first prompt element;

[0104] the ratio of the displayed duration of the first prompt element to the maximum display duration;

[0105] the ratio of the remaining display duration of the first prompt element to the maximum display duration.

[0106] For example, the display progress sub-element can be the ratio of the remaining display duration A of the first prompt element to the maximum display duration B, such as the surface display ratio "A / B" of the first prompt element. For example, the maximum display duration B of the first prompt element is 10 seconds, and the displayed duration of the first prompt element is 3 seconds at present, at this time, the surface display ratio of the first prompt element is "7 / 10".

[0107] For example, the display progress sub-element can be a ring-shaped progress bar located at the periphery of the first prompt element. For example, the ring-shaped progress bar includes two colors, color 1 represents the displayed duration of the first prompt element, and color 2 represents the remaining display duration of the first prompt element. As the display duration of the first prompt element increases, the ring-shaped progress bar displays the gradual increase of color 1 and the gradual decrease of color 2.

[0108] As shown in FIG. 5, the periphery of the first prompt element 503 displays a ring-shaped progress bar composed of a dashed line and a solid line. The dashed line represents the remaining display duration of the first prompt element, and the solid line represents the displayed duration of the first prompt element.

[0109] Based on the above embodiments, the embodiments of the present application provide a scheme that the first prompt element contains a display progress sub-element. The display progress sub-element can prompt the user about the display duration of the first prompt element, so as to facilitate the user to select an appropriate opportunity to supplement virtual ammunition within a limited time, and thus improve the interaction efficiency between the user and the virtual scene.

[0110] Based on the schemes in the above embodiments of the present application, in a possible implementation, the virtual prop control method further includes: in the process of displaying the first prompt element, in response to a prop switching operation or a skill release operation, canceling the display of the first prompt element; wherein the prop switching operation is used to trigger the virtual prop equipped by the virtual object to be switched from the virtual shooting prop to other props, and the skill release operation is used to trigger the virtual object to release a skill.

[0111] The prop switching operation or the skill release operation can be a specified user operation pre-set by a developer. Accordingly, before the user's corresponding virtual object enters the game, the computer device can show the user a detailed introduction and a use tutorial of the prop switching operation or the skill release operation in the scene interface of the virtual scene.

[0112] For example, the first scene interface can also display a prop switching control and a skill release control. The user can trigger the virtual prop equipped by the virtual object to be switched from the virtual shooting prop to other non-virtual shooting props (such as virtual sword props) through a trigger operation on the prop switching control. The user can trigger the virtual object to release a specified skill through a trigger operation on the skill release operation.

[0113] As shown in FIG. 9, the first scene interface 501 displays a skill control 504. The user can cancel the first prompt element 503 displayed automatically by the first scene interface 501 through a skill release operation of the skill control 504.

[0114] Based on the above embodiments, the embodiments of the present application provide a feasible scheme of canceling the display of the first prompt element. During the display of the second prompt element, the user can make the first prompt element disappear in the first scene interface through a specified prop switching operation or a skill release operation. This scheme can provide the user with the permission to cancel the display of the first prompt element, improve the simplicity of the display screen, and avoid the display of the first prompt element interfering with the game.

[0115] Based on the schemes in the above embodiments, in a possible implementation, the virtual prop control method further includes: in response to a trigger operation on the first prompt element, controlling the virtual object to supplement virtual ammunition to the virtual shooting prop.

[0116] The triggering operation for the first prompt element can be a pre-set user action by the developer. Accordingly, before the user's virtual object enters the game, the computer device can display a detailed introduction and usage tutorial of the triggering operation to the user in the virtual scene's interface. For example, the triggering operation for the first prompt element can be a click operation or a swipe operation on the first prompt element.

[0117] For example, in response to a triggering operation on the first prompt element, the computer device controls the virtual object to replenish virtual ammunition for the virtual shooting prop and cancels the display of the first prompt element to improve the simplicity of the display screen.

[0118] Based on the above embodiments, this application provides another feasible solution for replenishing virtual ammunition. Users can not only control the virtual object to replenish virtual ammunition for virtual shooting props through the second trigger operation of the shooting control, but also control the virtual object to replenish virtual ammunition for virtual shooting props through the trigger operation of the first prompt element. This solution can provide multiple optional methods for users to replenish virtual ammunition and improve the diversity of interaction between users and virtual scenes.

[0119] Based on the solutions in the above embodiments of this application, in one possible implementation, a second prompt element is displayed in the first scene interface, the second prompt element indicating the aiming position of the virtual shooting prop and the number of remaining virtual ammunition of the virtual shooting prop.

[0120] For example, a computer device may display a aiming indicator of a virtual shooting prop at the center of the first scene interface. The aiming indicator indicates the aiming position and can dynamically change with the user's viewpoint or aiming assistance system, reflecting the aiming direction in real time.

[0121] For example, a computer device may display an ammunition counter for a virtual shooting prop at the edge of a first scene interface. The ammunition counter indicates the number of remaining virtual ammunition for the virtual shooting prop, and can reflect the number of remaining virtual ammunition in real time, as well as the number of virtual ammunition that has been consumed.

[0122] The aforementioned aiming indicator and ammunition counter can be implemented as the aforementioned second prompting element.

[0123] For example, without obstructing the player's view or affecting the aiming experience, computer devices can integrate an ammo counter near or around the aiming indicator. The aiming indicator and ammo counter can be arranged using a layered UI design; for instance, the aiming indicator could be on the top layer, and the ammo counter could be positioned slightly behind it without obstructing the view, maintaining visual connection between the two without interfering with each other.

[0124] In the specified scenario (e.g., the user replaces the virtual shooting prop, the user manually checks the virtual ammunition, or the remaining amount of the virtual ammunition is low), the ammunition information displayed by the ammunition counter can be temporarily enlarged or displayed in a more conspicuous manner, and then restored to the original state, so as to avoid occupying the display interface all the time.

[0125] Based on the above embodiments, the embodiments of the present application propose a scheme of displaying a second prompt element in the first scene interface. The second prompt element can not only indicate the aiming position of the virtual shooting prop to the user, but also indicate the remaining amount of the virtual ammunition to the user. The scheme can display the remaining amount of the virtual ammunition while displaying the aiming position, so as to facilitate the user to obtain the quantity information of the virtual ammunition in time.

[0126] For example, in the process of displaying the second prompt element, the computer device cancels the display of the second prompt element in response to the prop switching operation or the skill releasing operation. For another example, in the process of displaying the first prompt element, the computer device cancels the display of the first prompt element and the second prompt element in response to the prop switching operation or the skill releasing operation.

[0127] Based on the schemes in the above embodiments of the present application, in a possible implementation, the second prompt element includes a crosshair pattern and an indication ring outside the crosshair pattern. The indication ring indicates the quantity of the remaining virtual ammunition of the virtual shooting prop.

[0128] The center point of the crosshair pattern can indicate the aiming position of the virtual shooting prop. For example, when the center point of the crosshair pattern approaches the interactive virtual object, the crosshair pattern can give positive feedback to the user through color change, magnification or additional icons, to indicate the effective aiming state.

[0129] The indication ring can display the real-time remaining amount of the virtual ammunition by proportion.

[0130] For example, taking the first scene interface 501 shown in FIG. 5 as an example, the second prompt element can be composed of a crosshair 505 and an indication ring 506 outside the crosshair 505. The user can move the position of the crosshair 505 so that the crosshair 505 is aimed at the shooting target. The indication ring 506 is in the form of a circular ring point, and the filling state of the indication ring 506 can represent the remaining amount of the virtual ammunition. When the remaining amount of the virtual ammunition is less than 1 / 4, 1 / 4 of the indication ring 506 in the first scene interface 501 is in the filling state. As shown in FIG. 7, when the virtual ammunition is supplemented to 1 / 2, 1 / 2 of the indication ring 506 is in the filling state.

[0131] For example, refer to FIG. 10, which shows a schematic diagram of the indicator ring according to an example embodiment of the present application. As shown in part (1) of FIG. 10, the indicator ring can be a circular progress bar 1001. The computer device displays the real-time remaining proportion of the virtual ammunition by highlighting an arc-shaped progress bar in a counterclockwise direction. For example, when the real-time remaining proportion of the virtual ammunition is P, the corresponding angle A of the highlighted progress bar is π×P. The highlighted progress bar is displayed within the circular arc range corresponding to the angle A. The highlighted progress bar displayed within the circular arc range corresponding to the angle A can change as the real-time remaining proportion of the virtual ammunition changes.

[0132] As shown in part (2) of FIG. 10, when the real-time remaining proportion of the virtual ammunition is P1, the corresponding angle A1 of the highlighted progress bar is π×P1. The computer device can display the highlighted progress bar at the circular arc range 1002 corresponding to the angle A1 (the solid line shown in part (2) of FIG. 10).

[0133] As shown in part (3) of FIG. 10, when the real-time remaining proportion of the virtual ammunition decreases to P2, the corresponding angle A2 of the highlighted progress bar is π×P2. The computer device can display the highlighted progress bar at the circular arc range 1003 corresponding to the angle A2 (the solid line shown in part (3) of FIG. 10).

[0134] Based on the above embodiments, the present embodiments define the components of the second prompt element, in which the crosshair pattern indicates the aiming position of the virtual shooting prop, and the indicator ring indicates the number of remaining virtual ammunition of the virtual shooting prop. During the process of launching the virtual ammunition, the main attention of the user is on the aiming position of the virtual shooting prop. Therefore, displaying the number of remaining virtual ammunition around the aiming position of the virtual shooting prop can help the user to timely grasp the number of virtual ammunition that can be launched by the virtual shooting prop, so as to avoid the situation that there is no virtual ammunition to be launched after aiming. The present solution can display the number of remaining virtual ammunition without affecting other contents of the display interface, and can ensure the simplicity of the display interface.

[0135] Based on the above solutions in each embodiment, in a possible implementation, the control method of the virtual prop further includes: in a case where the number of remaining virtual ammunition of the virtual shooting prop is less than a quantity threshold, highlighting the indicator ring.

[0136] For example, when the virtual ammunition loaded by the virtual shooting prop is less than the quantity threshold, the computer device can change the color (e.g., turn red), flash, or emit a warning sound (e.g., vibrate) to remind the user that the virtual ammunition is about to run out.

[0137] For example, taking the first scene interface 301 shown in FIG. 3 as an example, when the remaining amount of the virtual ammunition is greater than or equal to 1 / 2, the color of the filled part of the indication circle 307 can be green; when the remaining amount of the virtual ammunition is between 1 / 2 and 1 / 4, the color of the filled part of the indication circle 307 can be yellow; and when the remaining amount of the virtual ammunition is less than 1 / 4, the color of the filled part of the indication circle 307 can be red.

[0138] For example, taking the indication circle shown in FIG. 10 as an example, as shown in part (2) of FIG. 10, P1 is between 1 / 2 and 1 / 4, and the highlighted progress bar at the arc range 1002 can be displayed in yellow; as shown in part (3) of FIG. 10, P1 is less than 1 / 4, and the highlighted progress bar at the arc range 1003 can be displayed in red.

[0139] Based on the above embodiments of the present application, the embodiments of the present application provide a scheme for highlighting the indication circle when the virtual ammunition is about to run out, so that the first scene interface can more prominently display the remaining amount of the virtual ammunition, and the user can easily see the change in the amount of the virtual ammunition on the first scene interface.

[0140] Based on the above embodiments of the present application, in a possible implementation, when the virtual object is supplementing the virtual shooting prop with virtual ammunition, a third prompt element is displayed in the first scene interface; the third prompt element indicates that the virtual ammunition is being supplemented.

[0141] The third prompt element can be highlighting of the first prompt element, the second prompt element, or the shooting control, for example, the indication circle of the second prompt element is flashing; or the third prompt element can also be an element other than the first prompt element, the second prompt element, or the shooting control, for example, a text prompt information can be displayed in the first scene interface, for example, the third prompt element can be the text prompt information "the virtual shooting prop is supplementing the virtual ammunition" displayed in the bulletin 306 shown in FIG. 3.

[0142] Based on the above embodiments of the present application, in a possible implementation, the step 210 in FIG. 2 further includes the following steps before the step 210:

[0143] displaying a second scene interface of a virtual scene; the second scene interface displays a selection control of a virtual prop; the virtual prop includes a virtual shooting prop;

[0144] in response to a triggering operation on the selection control of the virtual shooting prop, displaying a first scene interface, the first scene interface displays the virtual scene, and the virtual scene includes a virtual object, and the virtual object is equipped with the virtual shooting prop.

[0145] Referring to FIG. 11, a schematic diagram of a second scene interface provided by an example embodiment of the present application is shown. As shown in FIG. 11, before entering the game corresponding to the first scene interface, the user can select the equipped virtual prop in the second scene interface 1101. The second scene interface 1101 displays a preview of the virtual object 1102, and a selection control of the virtual prop. The user can trigger the selection control 1103 corresponding to the virtual shooting prop to enter the game corresponding to the first scene interface.

[0146] Referring to FIG. 12, a flowchart of a control method of a virtual prop provided by an example embodiment of the present application is shown. The method can be executed by a computer device. As shown in FIG. 12, a control method of a virtual prop includes the following steps:

[0147] Step 1201: display a second scene interface; the second scene interface displays a virtual scene, and the virtual scene includes a virtual object. The second scene interface also displays a selection control of a virtual prop, and the virtual prop includes a virtual shooting prop.

[0148] Step 1202: in response to a triggering operation on the selection control of the virtual shooting prop, control the virtual object to equip the virtual shooting prop, and display a first scene interface; the first scene interface displays a virtual scene, and the virtual scene includes a virtual object equipped with the virtual shooting prop. The first scene interface also displays a shooting control and a second prompt element, and the second prompt element includes a reticle pattern and an indicator ring around the reticle pattern; the reticle pattern indicates the aiming position of the virtual shooting prop, and the indicator ring indicates the number of remaining virtual ammunition of the virtual shooting prop.

[0149] Step 1203: in response to a first triggering operation on the shooting control, control the virtual object to use the virtual shooting prop to fire the virtual ammunition once.

[0150] Step 1204: in a case where the number of remaining virtual ammunition of the virtual shooting prop is less than a number threshold, highlight the indicator ring, and display a first prompt element; the first prompt element corresponds to a maximum display duration, and is used to prompt to supplement the virtual shooting prop with virtual ammunition.

[0151] Step 1205: in a case where the display duration of the first prompt element is less than the maximum display duration, in response to a second triggering operation on the shooting control, control the virtual object to supplement the virtual shooting prop with virtual ammunition, and control the virtual object to use the virtual shooting prop to continuously fire the virtual ammunition; the second triggering operation is different from the first triggering operation.

[0152] Step 1206: in response to a triggering operation on the first prompt element, control the virtual object to supplement the virtual shooting prop with virtual ammunition.

[0153] Step 1207: In the process of displaying the first prompt element, the first prompt element and the second prompt element are canceled in response to a prop switching operation or a skill releasing operation; the prop switching operation is used to trigger switching of a virtual prop equipped by the virtual object from a virtual shooting prop to another prop, and the skill releasing operation is used to trigger releasing of a skill by the virtual object.

[0154] Step 1208: In the process of controlling the virtual object to supplement virtual ammunition for the virtual shooting prop, the first prompt element is displayed to be fused into an animation of the shooting control.

[0155] After step 1204 is performed, any one of step 1205, step 1206 or step 1207 is performed. In the process of controlling the virtual object to supplement virtual ammunition for the virtual shooting prop by performing step 1205 or step 1206, step 1208 is performed.

[0156] The execution manners of steps 1201 to 1208 are the same as those of the above-mentioned various embodiments of the application, and will not be described here again.

[0157] For example, based on any one or more embodiments, the embodiments of the application provide a shooting game quick ammunition supplementing scheme. With the development of related technologies and the improvement of mobile device performance, the operation direction of the human-computer interface is to develop towards a more convenient and efficient control manner, so as to enable users to have a more pleasant human-computer interaction manner. The present scheme describes a way in which a mobile terminal software can conveniently realize understanding of ammunition capacity and quick ammunition supplementing without multiple-step operations. For example, in a mobile phone game, if a user uses a shooting virtual prop to aim at a target, the remaining ammunition quantity will be displayed on the aiming reticle, and a change ammunition button prompt will appear when the remaining ammunition is less than 1 / 4, and the user can perform ammunition supplementing through gesture switching. It is not necessary to wait for the ammunition to be completely consumed, and it is not necessary for the user to move the finger to perform the ammunition switching operation. The operation of the present scheme is faster and more convenient, and the user experience is better.

[0158] Please refer to FIG. 13, which shows an implementation flowchart of a virtual prop control method provided by an exemplary embodiment of the application. As shown in FIG. 13, the implementation flowchart of the virtual prop control method includes the following steps.

[0159] Step 1301: Determine whether to select a bird cannon:

[0160] The computer device determines whether the user has selected a bird cannon (a kind of virtual shooting prop) in a second scene interface (an interface before entering a game); if the user has selected the bird cannon, proceed to step 1302; otherwise, end the current flowchart.

[0161] Step 1302: Display a reticle and a shooting button:

[0162] When the user selects the bird gun, switch to the first scene interface (the interface for entering the game), and the central part of the first scene interface displays a crosshair, and the right side of the key position of the first scene interface displays a shooting button.

[0163] 1303, the crosshair displays the number of remaining bullets:

[0164] The periphery of the crosshair is provided with a circular ring-shaped point-shaped indicating ring for displaying the proportion of the current remaining bullets, which is referred to as a crosshair remaining bullet indication.

[0165] 1304, determine whether the number of remaining bullets is <1 / 4:

[0166] The computer device determines whether the number of remaining bullets of the bird gun is <1 / 4; if yes, go to step 1305; otherwise, end the current process.

[0167] 1305, display a time-limited bullet supplement button beside the shooting button:

[0168] In the case where the number of remaining bullets is <1 / 4, the bullet number point on the crosshair turns red, and a time-limited bullet supplement button appears beside the shooting button. The outer circle of the bullet supplement button displays a countdown, and after the countdown ends, the bullet supplement button disappears.

[0169] 1306, determine whether the bullet supplement button is within the time limit:

[0170] The computer device determines whether the bullet supplement button is within the time limit corresponding to the countdown; if yes, go to step 1307; otherwise, end the current process.

[0171] 1307, determine whether the shooting button is long-pressed:

[0172] The computer device determines whether the user performs a long-press trigger operation on the shooting button; if yes, go to step 1308; otherwise, end the current process.

[0173] 1308, bullet supplement is completed:

[0174] Wherein, before the countdown of the bullet supplement button ends, if the trigger operation of the shooting button is switched from clicking to long-pressing, the computer device responds to the bullet supplement logic, at this time, the bullet supplement button will merge into the shooting button and disappear, to inform the user that the bullet supplement has been completed; at the same time, during the bullet supplement, control the virtual object to continuously fire virtual bullets.

[0175] That is, when the bullet supplement button is displayed and the countdown of the bullet supplement button has not ended, the user can long press the shooting button to trigger the bullet supplement operation. Taking the case that the user usually controls the movement operation of the virtual object with the left hand and controls the shooting operation of the virtual ammunition with the right hand as an example, the operation mode corresponding to the present solution has the advantages that the right finger is always on the shooting button, the bullet supplement is completed by long pressing, the bullet supplement operation is not required to be performed on other buttons, the shooting operation is not interrupted, and the continuity and quickness of the operation are improved.

[0176] 1309, the bullet supplement button disappears:

[0177] After the bullet supplement is completed, the computer device cancels the display of the bullet supplement button on the first display interface; meanwhile, the indication ring around the foresight displays the bullet proportion remaining after the bullet supplement.

[0178] In some embodiments, when the bullet supplement button is displayed and the countdown of the bullet supplement button has not ended, the user can also click the bullet supplement button to trigger the bullet supplement operation. This operation mode can be compatible with the traditional bullet supplement operation, that is, the right finger needs to be moved away from the shooting skill button to complete the bullet supplement, and then the finger is moved back to the shooting button area to continue shooting.

[0179] In summary, the present solution can be widely applied to first-person shooting games, multi-player gunfight survival games, third-person shooting games and other games that need to improve the operation efficiency. The present solution improves the originally multi-step operation into a fast and efficient operation, significantly improves the operation experience of the user, provides more game fun, and further improves the interaction efficiency between the user and the game.

[0180] Please refer to FIG. 14, which shows a block diagram of a virtual object control device provided by an example embodiment of the present application. As shown in FIG. 14, the device includes:

[0181] The display module 1401 is configured to display a virtual scene, the virtual scene containing a virtual object, the virtual object being equipped with a virtual shooting prop.

[0182] The first control module 1402 is configured to, in response to a first trigger operation on the shooting control, control the virtual object to use the virtual shooting prop to emit virtual ammunition.

[0183] The second control module 1403 is configured to, in response to a second trigger operation on the shooting control, control the virtual object to supplement the virtual shooting prop with virtual ammunition; the second trigger operation is different from the first trigger operation.

[0184] In some embodiments, the first control module 1402 is configured to, in response to the first trigger operation on the shooting control, control the virtual object to use the virtual shooting prop to emit virtual ammunition once.

[0185] The apparatus further includes a third control module configured to control the virtual object to continuously fire the virtual ammunition using the virtual shooting prop in response to a second trigger operation on the shooting control.

[0186] In some embodiments, the second control module 1403 is configured to control the virtual object to replenish the virtual ammunition for the virtual shooting prop in response to the second trigger operation on the shooting control when the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold.

[0187] In some embodiments, the apparatus further includes an element display module configured to display a first prompt element when the number of the remaining virtual ammunition of the virtual shooting prop is less than the number threshold; the first prompt element is configured to prompt the virtual object to replenish the virtual ammunition for the virtual shooting prop.

[0188] The element display module is configured to cancel the display of the first prompt element in response to the second trigger operation on the shooting control.

[0189] In some embodiments, the first prompt element corresponds to a maximum display duration; and the second control module 1403 is configured to control the virtual object to replenish the virtual ammunition for the virtual shooting prop in response to the second trigger operation on the shooting control when the display duration of the first prompt element is less than the maximum display duration.

[0190] In some embodiments, the first prompt element includes a display progress sub-element; and the display progress sub-element is configured to indicate at least one of the following information:

[0191] the display duration of the first prompt element;

[0192] the remaining display duration of the first prompt element;

[0193] the ratio of the display duration of the first prompt element to the maximum display duration;

[0194] the ratio of the remaining display duration of the first prompt element to the maximum display duration.

[0195] In some embodiments, the element display module is configured to display the first prompt element fused to the shooting control in response to the second trigger operation on the shooting control during the process of controlling the virtual object to replenish the virtual ammunition for the virtual shooting prop.

[0196] In some embodiments, the apparatus further includes a display cancellation module configured to cancel the display of the first prompt element in response to a prop switching operation or a skill releasing operation during the process of displaying the first prompt element.

[0197] The prop switching operation is configured to trigger a switch of the virtual prop equipped by the virtual object from the virtual shooting prop to another prop; and the skill releasing operation is configured to trigger the virtual object to release a skill.

[0198] In some embodiments, the apparatus further includes a third control module configured to control the virtual object to replenish the virtual shooting prop with virtual ammunition in response to the triggering operation on the first prompt element.

[0199] In some embodiments, the first scene interface displays a second prompt element, the second prompt element indicating a sighting position of the virtual shooting prop and a number of remaining virtual ammunition of the virtual shooting prop.

[0200] In some embodiments, the second prompt element includes a front sight pattern and an indicating ring outside the front sight pattern; the indicating ring is configured to indicate the number of remaining virtual ammunition of the virtual shooting prop.

[0201] In some embodiments, the apparatus further includes a highlighting module configured to highlight the indicating ring in a case where the number of remaining virtual ammunition of the virtual shooting prop is less than a number threshold.

[0202] In some embodiments, the first control module 1402 is configured to control the virtual object to continuously emit virtual ammunition using the virtual shooting prop in response to a first triggering operation on the shooting control;

[0203] The apparatus further includes a third control module configured to control the virtual object to emit virtual ammunition using the virtual shooting prop once in response to a second triggering operation on the shooting control.

[0204] It should be noted that the apparatus provided by the above embodiments, when implementing its functions, only takes the above-mentioned division of each functional module as an example, and in actual application, the above-mentioned functions can be completed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules to complete all or part of the above-described functions.

[0205] As for the apparatus in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments of the method; the technical effects achieved by each module performing operations are the same as those in the embodiments of the method, and will not be described in detail here.

[0206] Referring to FIG. 15, a structural block diagram of a computer device is shown according to an example embodiment of the present application. As shown in FIG. 15, the computer device 1500 can be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player, an MP4 player, and the like. The computer device 1500 can also be referred to as a user equipment, a portable terminal, and the like.

[0207] Generally, the computer device 1500 includes a processor 1501 and a memory 1502.

[0208] The processor 1501 can include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1501 can be implemented in at least one of a hardware form of a DSP, a FPGA, a PLA, and the like.

[0209] The memory 1502 can include one or more computer-readable storage media that can be tangible and non-transitory. The memory 1502 can also include a high-speed random access memory, and a nonvolatile memory such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1502 is used to store at least one instruction for being executed by the processor 1501 to implement the method of controlling a virtual prop according to the embodiments of the present application.

[0210] In some embodiments, the computer device 1500 can also optionally include a peripheral device interface 1503 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 1504, a touch display screen 1505, a camera 1506, an audio circuit 1507, and a power supply 1508.

[0211] The peripheral interface 1503 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502 and the peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502 and the peripheral interface 1503 can be implemented on a separate chip or circuit board, and the present embodiments are not limited in this regard.

[0212] The radio frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1504 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 1504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1504 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.

[0213] The touch display screen 1505 is used to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. The touch display screen 1505 also has the ability to collect touch signals on or above the surface of the touch display screen 1505. The touch signals can be input as control signals to the processor 1501 for processing. The touch display screen 1505 is used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards.

[0214] The camera assembly 1506 is used to collect images or videos. Optionally, the camera assembly 1506 includes a front-facing camera and a rear-facing camera. The front-facing camera is used to implement video calls or selfies, and the rear-facing camera is used to implement the shooting of photos or videos.

[0215] The audio circuit 1507 is used to provide an audio interface between the user and the computer device 1500. The audio circuit 1507 can 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 input to the processor 1501 for processing, or input to the radio frequency circuit 1504 to implement voice communication.

[0216] The power supply 1508 is used to supply power to various components in the computer device 1500. The power supply 1508 can be alternating current, direct current, disposable batteries or rechargeable batteries.

[0217] In some embodiments, the computer device 1500 further includes one or more sensors 1509. The one or more sensors 1509 include, but are not limited to, an acceleration sensor 1510, a gyroscope sensor 1511, a pressure sensor 1512, an optical sensor 1513, and a proximity sensor 1514.

[0218] Those skilled in the art can understand that the above-mentioned structures do not constitute a limitation on the computer device 1500, and can include more or fewer components than the illustrated components, or combine certain components, or use different component arrangements.

[0219] In an example embodiment, a chip is also provided, the chip including programmable logic circuitry and / or program instructions for implementing the virtual prop control method of the above aspects when the chip is running on a computer device.

[0220] In an example embodiment, a computer program product is also provided, the computer program product including computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor reads and executes the computer instructions from the computer readable storage medium to implement the virtual prop control method provided by the above method embodiments.

[0221] In an example embodiment, a computer readable storage medium is also provided, the computer readable storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the virtual prop control method provided by the above method embodiments.

[0222] Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by program instructions instructing relevant hardware to complete. The above-mentioned program can be stored in a computer readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

[0223] The above description is only optional embodiments of the present application and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for controlling virtual props, executed by a computer device, the method comprising: Display a virtual scene, which contains virtual objects, and the virtual objects are equipped with virtual shooting props; In response to a first trigger operation on the shooting control, the virtual object is controlled to fire virtual ammunition using the virtual shooting prop; In response to a second trigger operation on the shooting control, the virtual object is controlled to replenish the virtual ammunition for the virtual shooting prop; the second trigger operation is different from the first trigger operation.

2. The method according to claim 1, wherein, The step of controlling the virtual object to fire virtual ammunition using the virtual shooting prop in response to a first trigger operation on the shooting control includes: In response to the first trigger operation on the shooting control, the virtual object is controlled to fire the virtual ammunition once using the virtual shooting prop; The method further includes: In response to the second trigger operation of the shooting control, the virtual object is controlled to continuously fire the virtual ammunition using the virtual shooting prop.

3. The method according to any one of claims 1 or 2, wherein, The step of controlling the virtual object to replenish the virtual ammunition for the virtual shooting prop in response to a second trigger operation on the shooting control includes: If the remaining virtual ammunition of the virtual shooting prop is less than a quantity threshold, in response to the second trigger operation of the shooting control, the virtual object is controlled to replenish the virtual ammunition of the virtual shooting prop.

4. The method according to any one of claims 1 to 3, wherein, The method further includes: If the remaining virtual ammunition of the virtual shooting prop is less than the quantity threshold, a first prompt element is displayed; the first prompt element is used to prompt the virtual shooting prop to replenish the virtual ammunition. In response to the second trigger operation on the shooting control, the first prompt element is canceled from display.

5. The method according to claim 4, wherein, The first prompt element has a maximum display duration; When the remaining virtual ammunition of the virtual shooting prop is less than a quantity threshold, in response to the second trigger operation on the shooting control, controlling the virtual object to replenish the virtual ammunition of the virtual shooting prop includes: If the display duration of the first prompt element is less than the maximum display duration, in response to the second trigger operation on the shooting control, the virtual object is controlled to replenish the virtual ammunition for the virtual shooting prop.

6. The method according to any one of claims 4 or 5, wherein, The first prompt element includes a progress display sub-element, which indicates at least one of the following: The duration for which the first notification element has been displayed; The remaining display time of the first prompt element; The ratio of the displayed duration of the first prompt element to the maximum displayed duration; The ratio of the remaining display time of the first prompt element to the maximum display time.

7. The method according to any one of claims 4 to 6, wherein, The step of canceling the display of the first prompt element in response to the second trigger operation on the shooting control includes: In response to the second trigger operation on the shooting control, during the process of controlling the virtual object to replenish the virtual ammunition for the virtual shooting prop, the first prompt element is displayed and integrated into the shooting control.

8. The method according to any one of claims 4 to 7, wherein, The method further includes: During the display of the first prompt element, in response to an item switching operation or a skill release operation, the display of the first prompt element is cancelled; The item switching operation is used to trigger the switching of the virtual item equipped by the virtual object from the virtual shooting item to other items, and the skill release operation is used to trigger the virtual object to release a skill.

9. The method according to any one of claims 4 to 8, wherein, The method further includes: In response to the triggering operation of the first prompt element, the virtual object is controlled to replenish the virtual ammunition for the virtual shooting prop.

10. The method according to any one of claims 1 to 9, wherein, The method further includes: Display a second prompt element, which indicates the aiming position of the virtual shooting prop and the number of remaining virtual ammunition for the virtual shooting prop.

11. The method according to claim 10, wherein, The second prompt element includes a crosshair pattern and an indicator circle surrounding the crosshair pattern; the indicator circle indicates the number of remaining virtual ammunition for the virtual shooting prop.

12. The method according to claim 11, wherein, The method further includes: When the remaining virtual ammunition of the virtual shooting prop is less than a certain threshold, the indicator circle is highlighted.

13. The method according to any one of claims 1 to 12, wherein, The step of controlling the virtual object to fire virtual ammunition using the virtual shooting prop in response to a first trigger operation on the shooting control includes: In response to the first trigger operation on the shooting control, the virtual object is controlled to continuously fire the virtual ammunition using the virtual shooting prop; The method further includes: In response to the second trigger operation on the shooting control, the virtual object is controlled to fire the virtual ammunition once using the virtual shooting prop.

14. A control device for a virtual prop, the device comprising: A display module is used to display a virtual scene, which contains virtual objects equipped with virtual shooting props. The first control module is used to control the virtual object to fire virtual ammunition using the virtual shooting prop in response to a first trigger operation of the shooting control; The second control module is used to control the virtual object to replenish the virtual ammunition to the virtual shooting prop in response to a second trigger operation on the shooting control; the second trigger operation is different from the first trigger operation.

15. A computer device, the computer device comprising: A processor and a memory, wherein the memory stores at least one program; The processor is configured to execute the at least one program in the memory to implement the virtual prop control method as described in any one of claims 1 to 13.

16. A computer-readable storage medium storing executable instructions, which are loaded and executed by a processor to implement the virtual prop control method as described in any one of claims 1 to 13.

17. A computer program product comprising computer instructions stored in a computer-readable storage medium, wherein a processor reads from and executes the computer instructions to implement the virtual prop control method as described in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Control method and device of virtual weapons in shooting games, and terminal

    CN110075522A

  • Virtual prop control method and device in virtual environment, storage medium and equipment

    CN112044084A

  • Shooting processing method and device in game and electronic equipment

    CN112973115A

  • Game interaction control method and device and electronic equipment

    CN117771659A

  • Image sensors and method of manufacturing the same

    KR1020240127727A