Virtual firearm interaction methods, apparatus, storage media, and electronic devices

The method and device improve virtual firearm interaction efficiency and flexibility by merging or splitting ammunition items based on touch operations, optimizing ammunition use and interaction power, addressing the limitations of fixed-mode interactions.

JP7961380B2Active Publication Date: 2026-12-04NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2025522547
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-10-18
Filing Date
2023-03-24
Publication Date
2026-12-04
Estimated Expiration
2043-03-24

Smart Images

  • Figure 0007961380000001
    Figure 0007961380000001
  • Figure 0007961380000002
    Figure 0007961380000002
  • Figure 0007961380000003
    Figure 0007961380000003
Patent Text Reader

Abstract

The present disclosure provides a virtual firearm interaction method, a virtual firearm interaction device, a medium, and an electronic device, which include: obtaining a number of initial bullet items for the virtual firearm (S210); merging the first number of initial bullet items to generate a first bullet item in response to a first touch operation on a bullet replacement control, where the number of initial bullet items is greater than a first preset value (S220); and controlling the virtual firearm to use the first bullet item to interact with a virtual object in a virtual scene in response to a use operation on the first bullet item (S230). The technical solutions in the embodiments of the present disclosure can improve the interaction efficiency and flexibility of virtual firearm interaction.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to Chinese Patent Application No. 202211274167.8, filed on October 18, 2022 and titled "VIRTUAL FIREARM INTERACTION METHOD AND APPARATUS, STORAGE MEDIUM AND ELECTRONIC DEVICE", the entire contents of which are incorporated herein by reference. TECHNICAL FIELD

[0002] The present disclosure relates to the field of virtual interaction technology, and in particular, to a virtual firearm interaction method, a virtual firearm interaction apparatus, a computer-readable storage medium, and an electronic device. BACKGROUND

[0003] A virtual scene may include a virtual character that can control shooting of the virtual character to interact with other virtual objects in the virtual scene, and an interaction result may include changes in attributes such as a life value attribute.

[0004] A current shooting interaction method is to perform shooting interaction on a virtual object by using a virtual firearm based on existing bullets, and an effect achieved in each interaction is exactly the same.

[0005] In the above configuration, a user only performs interaction by using the virtual firearm based on fixed bullets. For a user skilled in shooting technology, multiple interactions are required to achieve a relatively good cumulative effect; or a user not familiar with shooting technology easily wastes bullets, and cannot implement more interactions for purposes such as practice.

[0006] It should be noted that information disclosed in the above background section is only used for enhancing understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art. [Overview of the Initiative]

[0007] Embodiments of this disclosure aim to provide a method for interacting with virtual firearms, an interaction device for virtual firearms, a computer-readable storage medium, and an electronic device. Embodiments of this disclosure improve the interaction efficiency and fault tolerance rate of virtual firearm interaction.

[0008] A first aspect of the embodiments of the present disclosure provides a method for interacting with a virtual firearm, providing a graphical user interface on a terminal device, displaying at least partially a virtual scene and ammunition exchange controls on the graphical user interface, the virtual scene including virtual objects, the method comprising: obtaining the number of initial ammunition items for the virtual firearm; if the number of initial ammunition items is greater than a first preset value, merging a first number of initial ammunition items to generate a first ammunition item in response to a first touch operation acting on the ammunition exchange controls; if the first number is less than or equal to the number of initial ammunition items and the attack power of the first ammunition item is greater than the attack power of the initial ammunition items, and in response to a use operation on the first ammunition item, controlling the virtual firearm to use the first ammunition item to interact with virtual objects in the virtual scene.

[0009] A second aspect of the embodiments of the present disclosure provides a virtual firearm interaction device that provides a graphical user interface on a terminal device, which at least partially displays a virtual scene and ammunition exchange controls on the graphical user interface, and the virtual scene includes virtual objects. The device includes an initial number acquisition module, an item merge module, and a firing interaction module, wherein the initial number acquisition module is configured to acquire the number of initial ammunition items for the virtual firearm; the item merge module is configured to merge a first number of initial ammunition items to produce a first ammunition item in response to a first touch operation acting on the ammunition exchange controls if the number of initial ammunition items is greater than a first preset value; and if the first number is less than or equal to the number of initial ammunition items and the attack power of the first ammunition item is greater than the attack power of the initial ammunition items, the firing interaction module is configured to control the virtual firearm to use the first ammunition item to interact with virtual objects in the virtual scene in response to a use operation on the first ammunition item.

[0010] A third aspect of the embodiments of this disclosure provides a computer-readable storage medium containing a computer program executed by a processor to implement a virtual firearm interaction method as described in the first aspect of the embodiments described above.

[0011] A fourth aspect of the embodiments of the present disclosure provides an electronic device including one or more processors and a memory device, the memory device storing one or more programs, and when one or more programs are executed by one or more processors, one or more processors implement a virtual firearm interaction method as in the first aspect of the embodiments described above.

[0012] The technical proposals in the embodiments of this disclosure may include the following beneficial effects.

[0013] In some embodiments of this disclosure, the number of initial bullet items for a virtual firearm is obtained, and if the number of initial bullet items is greater than a first preset value, in response to a first touch operation acting on the ammunition exchange control, the first number of initial bullet items are merged to generate a first bullet item, and in response to a use operation on the first bullet item, the virtual firearm can be controlled to use the first bullet item to interact with virtual objects in the virtual scene. In embodiments of this disclosure, on the one hand, if the number of bullet items is greater than a first preset value, the bullet items can be merged to enhance a predetermined shooting attribute of the virtual firearm, and a better interaction effect can be achieved without having to perform a large number of interaction operations, thereby improving interaction efficiency. On the other hand, the user can define the interaction mode of the virtual firearm, avoiding the limitation of being able to interact in only a single fixed mode, and improving the flexibility and freedom of the interaction process.

[0014] It should be understood that the above general explanation and the detailed explanation below are illustrative and interpretive and do not limit this disclosure. [Brief explanation of the drawing]

[0015] The drawings are incorporated herein by reference to embodiments conforming to the Disclosure and are used together with the Specification to illustrate the principles of the Disclosure. Clearly, the drawings in the following description are only a few embodiments of the Disclosure, and those skilled in the art can obtain other drawings based on these without any creative effort. [Figure 1] This is a schematic diagram of an exemplary terminal device to which the virtual firearm interaction method and virtual firearm interaction device of the embodiments of the present disclosure can be applied. [Figure 2] This figure schematically illustrates a flowchart of a virtual firearm interaction method in one embodiment of the present disclosure. [Figure 3]This is a schematic diagram of the interface of a first number selection control, which includes a plurality of number nodes, in one embodiment of the present disclosure. [Figure 4] This is a schematic diagram of an interface for highlighting and displaying an adjustable region in a predetermined manner in one embodiment of the present disclosure. [Figure 5] This is a schematic diagram of an interface for displaying a merge control in one embodiment of the present disclosure and switching the ammunition exchange control to a cancel control for display. [Figure 6] This diagram shows a schematic interface for displaying a split control in one embodiment of the present disclosure and switching the ammunition exchange control to a cancel control for display. [Figure 7] This is a schematic diagram of an interface for visualizing and displaying a numerical value of the duration in one embodiment of the present disclosure. [Figure 8] This is a schematic diagram illustrating an application scene in an exemplary embodiment of the present disclosure. [Figure 9] A schematic block diagram of the configuration of the virtual firearm interaction device in one embodiment of this disclosure is shown. [Figure 10] A schematic diagram of a computer system suitable for use in realizing the terminal device in the embodiments of this disclosure is shown. [Modes for carrying out the invention]

[0016] Next, exemplary embodiments will be described in more detail with reference to the drawings. However, the exemplary embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein. On the contrary, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. However, it will be apparent to those skilled in the art that one or more of the specific details may be omitted to implement the technical aspects of the present disclosure, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0017] Also, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0018] FIG. 1 shows a schematic diagram of an exemplary terminal device to which a virtual firearm interaction method and a virtual firearm interaction apparatus according to an embodiment of the present disclosure can be applied.

[0019] As shown in FIG. 1, the terminal devices may include one or more of terminal devices 101, 102, and 103. The terminal devices 101, 102, and 103 may be various electronic devices having a display including, but not limited to, a desktop computer, a portable computer, a smart phone, a tablet, and the like.

[0020] The virtual firearm interaction method according to the embodiments of the present disclosure can be executed on a local terminal device or a server. When the virtual firearm interaction method is executed on the server, the method can be implemented and executed based on a cloud interaction system including the server and client devices.

[0021] In an optional embodiment, various cloud applications, such as cloud games, can be executed under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming mode based on cloud computing. In the execution mode of cloud gaming, the execution entity of the game program and the presentation entity of the game screen are separated. The storage and execution of the virtual firearm interaction method are performed on the cloud game server, and the client device is used for data reception, transmission, and game screen presentation. For example, the client device is a display device with a data transfer function close to the user side, such as a mobile terminal, a television, a computer, or a handheld computer. However, information processing is performed by the cloud game server in the cloud. When playing a game, the player operates the client device to send an operation command to the cloud game server. The cloud game server executes the game based on the operation command, encodes and compresses data such as the game screen, returns the data to the client device via the network, and finally decodes and outputs the game screen through the client device.

[0022] In an optional embodiment, the local terminal device is used to store a game program (for example, a game) and to render the game screen. The local terminal device is used to interact with the player through a graphical user interface. That is, the game program is typically downloaded, installed, and executed via the terminal device. The way in which the local terminal device provides the graphical user interface to the player can include various methods, such as rendering it on the terminal's display screen or providing it to the player through projection mapping. For example, the local terminal device may include a display and processor for presenting the graphical user interface, which includes a game screen for running the game and generating the graphical user interface, and for controlling the display of the graphical user interface.

[0023] The computer-readable storage medium described herein may be a computer-readable signal medium, a computer-readable storage medium, or any combination of both. On the other hand, in this disclosure, the computer-readable signal medium may include data signals in the baseband in which computer-readable program code is propagated as part of a carrier wave. The computer-readable storage medium may be included in the terminal device described in the embodiments above, or it may exist separately without being incorporated into the terminal device. The computer-readable storage medium carries one or more programs, and when the one or more programs are executed by a terminal device, the terminal device implements the method of the embodiment described below. For example, the terminal device can implement each of the steps shown in Figure 2, etc.

[0024] The virtual scene in the exemplary embodiments of this disclosure may be a digital scene rendered by a smart terminal device such as a computer, mobile phone, or tablet using digital communication technology, and the digital scene may be on the display screen of the smart terminal device or projected onto another display device. This virtual scene may include buildings or structures such as houses, buildings, gardens, bridges, and ponds, and may also include natural landscapes such as mountains, rivers, and lakes, and any virtual items such as weapons, tools, and living creatures, and this embodiment is not particularly limited thereto. The virtual character is a 3D stereoscopic model created based on animation bone technology. Each virtual character has its own shape and volume within the 3D virtual environment and occupies a portion of the space within the 3D virtual environment.

[0025] The virtual scene screen displayed in the graphical user interface may be, for example, a game screen captured by a virtual camera placed in the virtual scene. The virtual camera can acquire the virtual scene screen based on a first field of view, a second field of view, or other fields of view, for example, a planar view, which is a field of view that observes the virtual environment at an angle as if viewed from above. When a planar view is adopted, the virtual camera can be positioned above the virtual scene. Depending on the height of the virtual camera, if the virtual camera is low, the acquired screen may be a localized view of the virtual scene, for example, in a multiplayer online battle arena (MOBA), while if the virtual camera is high, the acquired screen may be a complete view of the virtual scene.

[0026] Embodiments of this disclosure provide a method for interacting with a virtual firearm, which, as shown in Figure 2, provides a graphical user interface on a terminal device, which at least partially displays a virtual scene and ammunition exchange controls on the graphical user interface, and which includes virtual objects in the virtual scene, and the method is as follows: In step S210, obtain the number of initial ammunition items for the virtual firearm, In step S220, if the number of initial bullet items is greater than a first preset value, in response to a first touch operation acting on the bullet exchange control, the first number of initial bullet items are merged to generate a first bullet item, where the first number is less than or equal to the number of initial bullet items, and the attack power of the first bullet item is higher than the attack power of the initial bullet items. Step S230 includes controlling a virtual firearm in response to a use operation on a first bullet item to use the first bullet item to interact with a virtual object in a virtual scene.

[0027] The virtual firearm interaction method shown in Figure 2 retrieves the initial number of bullet items for the virtual firearm. If the initial number of bullet items is greater than a first preset value, in response to a first touch operation acting on the ammunition exchange control, the first number of initial bullet items are merged to generate a first bullet item. In response to a use operation on the first bullet item, the virtual firearm can be controlled to use the first bullet item to interact with virtual objects in the virtual scene. Embodiments of this disclosure allow for the merging of bullet items to enhance predetermined shooting attributes of the virtual firearm when the number of bullet items is greater than a first preset value, thereby achieving better interaction effects and improving interaction efficiency. Furthermore, the user can define the interaction mode of the virtual firearm, avoiding the limitation of being limited to a single fixed mode and improving the flexibility and freedom of the interaction process.

[0028] The above steps of the embodiments of this disclosure will be described in detail below.

[0029] In step S210, obtain the number of initial ammunition items for the virtual firearm.

[0030] In exemplary embodiments of this disclosure, a virtual firearm is a virtual item that a user can use by controlling a virtual character in a virtual scene via a terminal device. Bullet items are items associated with a virtual firearm; for example, the number of bullet items limits the number of times the virtual firearm can fire, and one type of bullet item is matched with a specific virtual firearm.

[0031] Furthermore, virtual longbows and arrows, like virtual firearms and bullets, can also be applied to the embodiments of this disclosure and other combinations of virtual items with similar uses. The embodiments of this disclosure are not limited herein.

[0032] The initial number of ammunition items for a virtual firearm may refer to the number of ammunition items mounted on the virtual firearm or in its magazine, or the number of ammunition items present in a virtual warehouse or virtual backpack. Embodiments of this disclosure are not limited herein.

[0033] In step S220, if the number of initial bullet items is greater than a first preset value, the first number of initial bullet items are merged to generate a first bullet item in response to a first touch operation acting on the bullet exchange control.

[0034] In exemplary embodiments of this disclosure, the first preset value may be a value set according to actual needs. For example, it may be 1 or 4. If the first preset value is 1, bullet items can be merged if the number of bullet items is 2 or more.

[0035] The ammo swapping control can be configured to respond to a click-touch operation by updating the number of bullets loaded in the virtual firearm to the maximum capacity value, and accordingly reducing the number of bullet items in the virtual warehouse or virtual backpack. In response to a first touch operation acting on the ammo swapping control, a first number of initial bullet items are merged to generate a first bullet item, where the first number is less than or equal to the number of initial bullet items, and the attack power of the first bullet item is higher than the attack power of the initial bullet items.

[0036] For example, the first touch operation that affects the ammo exchange control is a response to a long-press touch operation that affects the ammo exchange control. For example, the first number can be determined based on the duration of the long-press touch operation; if the duration is 1 second, the first number may be 1, and if the duration is 2 seconds, the first number may be 2. Once the merge is complete, the initial number of ammo items is decreased by the first number, and the number of ammo items is increased by the first number.

[0037] In an exemplary embodiment of the present disclosure, when the duration reaches a predetermined time length, a first number of initial bullet items are merged to generate a first bullet item.

[0038] In exemplary embodiments of this disclosure, the attack power of the first bullet item is higher than that of the initial bullet item. For example, two initial bullet items are merged into one first bullet item. If a virtual firearm interacts with a virtual object based on the initial bullet item, it can reduce the virtual object's life value attribute by 20, and if a virtual firearm interacts with a virtual object based on the first bullet item, it can reduce the virtual object's life value attribute by 40.

[0039] In step S230, in response to a use operation on the first bullet item, the virtual firearm is controlled to use the first bullet item to interact with virtual objects in the virtual scene.

[0040] In exemplary embodiments of this disclosure, in response to a use operation on a first bullet item, a virtual firearm is controlled to use the first bullet item to interact with a virtual object in a virtual scene. The interaction may involve using a hit detection algorithm to generate a firing line based on the firing angle and direction of the virtual firearm, calculating the intersection of this firing line with a virtual object in the virtual scene, and determining which virtual object was hit based on the intersection. Alternatively, other hit detection algorithms may identify the shot-hit virtual object and control the virtual firearm to use the first bullet item to interact with the virtual object in the virtual scene. For example, the movement speed attribute value of the virtual object may decrease, or the life attribute value may decrease, and the specific configuration can be configured as needed; embodiments of this disclosure do not limit the interaction effects here.

[0041] In exemplary embodiments of the present disclosure, if the number of initial bullet items is greater than a first preset value, a first number selection control is displayed on the graphical user interface in response to a first touch operation acting on the bullet exchange control, a target node is determined from a plurality of quantity nodes in response to the user operation, and a first number of initial bullet items are merged to generate a first bullet item based on a first number corresponding to the target node. Generating a first bullet item by merging a first number of initial bullet items based on a first number corresponding to the target node includes the following steps S310 to S330: In step S310, if the initial number of bullet items is greater than a first preset value, in response to a first touch operation acting on the bullet exchange control, a first quantity selection control is displayed on the graphical user interface, where the first quantity selection control contains multiple quantity nodes. In step S320, in response to user input, the target node is determined from multiple quantity nodes. In step S330, a first bullet item is generated by merging a first number of initial bullet items based on a first number corresponding to the target node.

[0042] In exemplary embodiments of the present disclosure, if the initial number of bullet items is greater than a first preset value, a first number selection control is displayed on the graphical user interface in response to a first touch operation acting on the bullet exchange control. The first number selection control may be a bar-shaped control in which quantity nodes are arranged in sequence. For example, the quantity nodes may correspond to positive integers 1, 2, 3..., and the largest positive integer of the quantity nodes can be used to indicate the number of initial bullet items. For example, if the initial number of bullet items is 4, the first number selection control will contain 4 nodes.

[0043] The first touch operation that affects the ammunition exchange control is a series of left and right swipes after pressing the ammunition exchange control, which allows you to move left and right to select different quantity nodes on the first quantity selection control. A movable cursor can also be displayed in the graphical user interface, and in response to left and right swipe touch operations, the cursor can be moved on the first quantity selection control to select different quantity nodes.

[0044] For example, as shown in Figure 3, the graphical user interface includes a bullet exchange control 310, in which the first quantity node 321, the second quantity node 322, the third quantity node 323, the fourth quantity node 324, and four quantity nodes are arranged in order on the first quantity selection control.

[0045] In steps S310 to S330 described above, if the number of initial bullet items is greater than a first preset value, a first number selection control is displayed on the graphical user interface in response to a first touch operation acting on the bullet exchange control, a target node is determined from multiple quantity nodes in response to the user operation, and a first number of initial bullet items are merged based on the first number corresponding to the target node to generate a first bullet item.

[0046] In exemplary embodiments of the present disclosure, a merge control is displayed in response to a first touch operation acting on the ammunition exchange control, and a first number selection control is displayed on the graphical user interface in response to a touch operation acting on the merge control. Displaying the first number selection control on the graphical user interface in response to a touch operation acting on the merge control may include the following steps S410-S420: In step S410, in response to a first touch operation acting on the ammunition exchange control, the merge control is displayed. In step S420, in response to a touch operation acting on the merge control, a first number selection control is displayed on the graphical user interface.

[0047] In exemplary embodiments of the present disclosure, a merge control can be displayed in response to a first touch operation acting on the ammunition reload control. Specifically, after receiving a first touch operation acting on the ammunition reload control, a merge control is displayed on the graphical user interface. Here, the merge control is used to receive the touch operation, thereby displaying a first number selection control on the graphical user interface.

[0048] This disclosure is not limited to any specific form of merge control.

[0049] Furthermore, merge controls can be displayed in response to a first touch operation that affects the ammo exchange control, but only if the initial ammo item is of the target ammo type, or if the virtual firearm is of the target firearm type.

[0050] In exemplary embodiments of the present disclosure, a target node can be determined from a plurality of quantity nodes in response to a swipe operation acting on a merge control. Specifically, a merge control can include a plurality of quantity nodes, a target node can be determined from a plurality of quantity nodes, and a specific numerical value of a first number can be determined.

[0051] This disclosure is not particularly limited to specific methods for determining a target node from multiple quantity nodes.

[0052] By performing steps S410 to S420 described above, a merge control can be displayed in response to a first touch operation acting on the ammunition exchange control, and a first number selection control can be displayed on the graphical user interface in response to a touch operation acting on the merge control.

[0053] In exemplary embodiments of the present disclosure, based on the maximum number of bullet items loaded in a virtual firearm, a first number selection control displays a number of quantity nodes corresponding to the maximum number of bullet items loaded, and the adjustable area is highlighted in a predetermined manner. Highlighting the adjustable area in a predetermined manner includes the following steps S510 to S520: In step S510, based on the maximum number of bullet items loaded for the virtual firearm, the first number selection control displays multiple quantity nodes corresponding to the maximum number of bullet items loaded. In step S520, the adjustable area is highlighted and displayed in a predetermined manner.

[0054] In exemplary embodiments of the present disclosure, a first number selection control may display a number of quantity nodes corresponding to the maximum number of bullet items loaded in a virtual firearm, where the number of quantity nodes includes the same number of adjustable nodes as the initial number of bullet items, and the adjustable nodes correspond to adjustable regions.

[0055] Specifically, in addition to displaying the first number selection control described above, the adjustable area can be highlighted and displayed in a predetermined manner.

[0056] For example, as shown in Figure 4, the maximum number of bullet items that can be loaded is 4, but the initial number of bullet items that can be used for merging is currently 3. The first quantity node 401, the second node 402, and the third quantity node 403 are displayed in a light color, and the fourth quantity node 404 is displayed in a dark color, with the adjustable areas highlighted in a predetermined manner.

[0057] Steps S510 to S520 described above display multiple quantity nodes corresponding to the maximum number of bullet items in the first quantity selection control, based on the maximum number of bullet items in the virtual firearm, and highlight the adjustable area in a predetermined manner. According to the embodiment of this disclosure, the number for merging and the maximum number can be graphically displayed in the first quantity selection control. The user can intuitively understand the merging process, improving interaction efficiency.

[0058] In exemplary embodiments of the present disclosure, in response to a swipe operation acting on a merge control, a candidate target node can be determined from a plurality of numerical nodes, the duration of the swipe operation in the graphical user interface after the determination of the candidate target node can be obtained, and if the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node can be determined as the target node. Determining a candidate target node as the target node if the duration is greater than or equal to the numerical value corresponding to the candidate target node includes the following steps S610 to S630: In step S610, in response to a swipe operation acting on the merge control, a candidate target node is determined from multiple quantity nodes, where the candidate target node is included in the multiple quantity nodes. In step S620, the duration of the swipe operation in the graphical user interface after determining the candidate target node is obtained. In step S630, if the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node is determined to be the target node.

[0059] In exemplary embodiments of the present disclosure, the process of determining a target node involves first determining a candidate target node from a plurality of quantity nodes, and then determining the candidate target node as the target node based on the duration of the swipe operation in the graphical user interface after the candidate target node has been determined. For example, the second node from left to right in a first number selection control is determined as the candidate target node, and the duration of the swipe operation in the graphical user interface after the candidate target node has been determined is obtained. If the swipe operation is held for 2 seconds, the candidate target node is determined as the target node.

[0060] Steps S610 to S630 described above determine a candidate target node from multiple quantity nodes in response to a swipe operation acting on the merge control, obtain the duration of the swipe operation in the graphical user interface after determining the candidate target node, and if the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node is determined as the target node.

[0061] In exemplary embodiments of the present disclosure, in response to a first touch operation acting on the ammunition exchange control lasting longer than a preset duration, a merge control may be displayed, and the ammunition exchange control may be switched to a cancel control. Here, the cancel control is configured to cancel the merge process in response to a touch operation acting on the cancel control.

[0062] For example, in response to a first touch operation that acts on the ammunition exchange control being a long press, if the duration of the long press is longer than a preset time, for example, 2 seconds, the merge control is displayed, and the ammunition exchange control is switched to the cancel control. The position where the merge control is displayed can be closer to the cancel control.

[0063] For example, as shown in Figure 5, the cancel control 501 is displayed in response to the duration of the first touch operation acting on the ammunition exchange control being longer than a preset time, and at the same time the merge control 502 is generated and displayed, and in response to a touch operation acting on the cancel control 501, the merge process can be canceled.

[0064] In exemplary embodiments of this disclosure, if the number of initial bullet items in a virtual firearm is equal to the maximum number of bullet items that can be loaded into the virtual firearm, the initial bullet items in the virtual firearm can be merged and generated as a first bullet item. Here, the number of initial bullet items in the virtual firearm is the first number. Specifically, if the number of initial bullet items in the virtual firearm reaches the maximum number of bullet items that can be loaded into the virtual firearm, all initial bullet items in the virtual firearm can be merged and generated as a first bullet item.

[0065] In exemplary embodiments of this disclosure, the attack power of a first bullet item is related to a first number. Specifically, the attack power of a first bullet item is directly proportional to a first number.

[0066] In exemplary embodiments of the present disclosure, in response to a first touch operation acting on a bullet exchange control, a first number of initial bullet items are generated by merging a plurality of first bullet items in a predefined merging scheme. Here, the predefined merging scheme is used to indicate the number of initial bullet items required to be merged to generate one first bullet item. For example, the predefined merging scheme merges two initial bullet items into one first bullet item. For example, there are 12 initial bullet items, and these 12 initial bullet items can be merged into 6 first bullet items.

[0067] This disclosure is not limited to any specific form of a pre-configured merge method.

[0068] In exemplary embodiments of the present disclosure, in response to a first touch operation acting on the ammunition exchange control, a first number of initial bullet items are merged to generate a plurality of first candidate bullet items, and in response to a third touch operation acting on the ammunition exchange control, the plurality of first candidate bullet items are merged to generate a first bullet item. Generating a first bullet item by merging a plurality of first candidate bullet items in response to a third touch operation acting on the ammunition exchange control includes the following steps S710-S720: In step S710, in response to a first touch operation acting on the ammunition exchange control, a first number of initial bullet items are merged to generate multiple first candidate bullet items. In step S720, in response to a third touch operation acting on the ammunition exchange control, multiple first candidate bullet items are merged to generate a first bullet item.

[0069] In exemplary embodiments of the present disclosure, in response to a first touch operation acting on the ammunition exchange control, a first number of initial bullet items can be merged to generate a plurality of first candidate bullet items, and in response to a third touch operation acting on the ammunition exchange control, the plurality of first candidate bullet items can be merged to generate a first bullet item. Specifically, first, a first number of initial bullet items can be merged to generate a plurality of first candidate bullet items, and then the plurality of first candidate bullet items can be merged to generate a first bullet item.

[0070] For example, if there are 12 initial bullet items, these 12 initial bullet items can be merged into 6 first candidate bullet items, and then these 6 first candidate bullet items can be generated into 3 first bullet items.

[0071] This disclosure is not limited to merging a first number of initial bullet items to generate multiple first candidate bullet items, or merging multiple first candidate bullet items to generate a first bullet item.

[0072] Steps S710 to S720 described above involve merging a first number of initial bullet items to generate multiple first candidate bullet items in response to a first touch operation acting on the bullet exchange control, and merging multiple first candidate bullet items to generate a first bullet item in response to a third touch operation acting on the bullet exchange control.

[0073] In exemplary embodiments of this disclosure, merging a first number of initial bullet items to generate a first bullet item corresponds to the merge time length, where the first number is directly proportional to the merge time length. Specifically, a larger number corresponding to the first number results in a longer merge time length required to merge a first number of initial bullet items to generate a first bullet item, and a smaller number corresponding to the first number results in a shorter merge time length required to merge a first number of initial bullet items to generate a first bullet item.

[0074] In exemplary embodiments of the present disclosure, if the number of initial bullet items is less than a second preset value, in response to a second touch operation acting on the bullet exchange control, the initial bullet items are divided to generate a second number of second bullet items, and in response to a use operation on the second bullet items, the virtual firearm is controlled to use the second bullet items to interact with virtual objects in the virtual scene. This includes the following steps S810-S820: In step S810, if the number of initial bullet items is less than a second preset value, in response to a second touch operation acting on the bullet exchange control, the initial bullet items are divided to generate a second number of second bullet items, where the second number is less than or equal to the maximum number of bullet items loaded for the virtual firearm, and the attack power of the second bullet items is lower than the attack power of the initial bullet items. In exemplary embodiments of this disclosure, the second preset value may be a value set according to actual needs. For example, the second preset value may be 2, i.e., the number of initial bullet items is 1, in which case the initial bullet items can be divided.

[0075] The ammo swapping control can be configured to respond to a click-touch operation by updating the number of bullets loaded in the virtual firearm to the maximum capacity value, and accordingly reducing the number of bullet items loaded in the virtual warehouse or virtual backpack. In response to a second touch operation acting on the ammo swapping control, the initial bullet item is split to generate two second bullet items, where the number of second bullet items is less than or equal to the maximum ammo capacity of the virtual firearm, and the attack power of the second bullet item is lower than that of the initial bullet item.

[0076] For example, a second touch operation that affects the ammo swap control is a response to a long-press touch operation that affects the ammo swap control. For example, the second number can be determined based on the duration of the long-press touch operation; if the duration is 1 second, the second number may be 1, and if the duration is 2 seconds, the second number may be 2. Once the split is complete, the initial ammo item is removed and the second ammo item is increased.

[0077] In an exemplary embodiment of the present disclosure, when the duration reaches a predetermined time length, the initial bullet item is divided to generate a predetermined number of second bullet items.

[0078] In exemplary embodiments of this disclosure, the attack power of a second bullet item is lower than that of the initial bullet item. For example, the initial bullet item is split to generate two second bullet items. If a virtual firearm interacts with a virtual object based on the initial bullet item, it can reduce the virtual object's life value attribute by 40; if a virtual firearm interacts with a virtual object based on the second bullet item, it can reduce the virtual object's life value attribute by 20.

[0079] In step S820, in response to a use operation on the second bullet item, the virtual firearm is controlled to use the second bullet item to interact with virtual objects in the virtual scene.

[0080] In exemplary embodiments of this disclosure, in response to a use operation on a second bullet item, a virtual firearm is controlled to use the second bullet item to interact with a virtual object in a virtual scene. The interaction may involve using a hit detection algorithm to generate a firing line based on the firing angle and direction of the virtual firearm, calculating the intersection of this firing line with a virtual object in the virtual scene, and determining which virtual object was hit based on the intersection. Alternatively, other hit detection algorithms may identify the shot-hit virtual object and control the virtual firearm to use the second bullet item to interact with the virtual object in the virtual scene. For example, the virtual object's movement speed attribute value may decrease, or its life attribute value may decrease, and the specifics can be configured as needed; embodiments of this disclosure do not limit the interaction effects here.

[0081] In steps S810 to S820 described above, if the number of initial bullet items is less than a second preset value, in response to a second touch operation acting on the bullet exchange control, the initial bullet items are divided to generate a second number of second bullet items, and in response to a use operation on the second bullet items, the virtual firearm is controlled to use the second bullet items to interact with virtual objects in the virtual scene.

[0082] In exemplary embodiments of the present disclosure, if the number of initial bullet items is less than a second preset value, a second number selection control is displayed on the graphical user interface in response to a second touch operation acting on the bullet exchange control, a target node is determined from a plurality of quantity nodes in response to the user operation, and the initial bullet items are divided to generate a second number of second bullet items based on the second number corresponding to the target node. Dividing the initial bullet items to generate a second number of second bullet items based on the second number corresponding to the target node includes the following steps S910 to S930: In step S910, if the initial number of bullet items is less than a second preset value, in response to a second touch operation acting on the bullet exchange control, a second quantity selection control is displayed on the graphical user interface, where the second quantity selection control contains multiple quantity nodes. In step S920, in response to user input, the target node is determined from multiple quantity nodes. In step S930, the initial bullet item is divided based on a second number corresponding to the target node to generate a second bullet item of the second number.

[0083] In exemplary embodiments of the present disclosure, if the initial number of bullet items is less than a second preset value, a second number selection control is displayed on the graphical user interface in response to a second touch operation acting on the bullet exchange control. The second number selection control may be a single bar-shaped control, on which quantity nodes are arranged in sequence. For example, the quantity nodes may correspond to positive integers 1, 2, 3… and the largest positive integer of the quantity nodes can be used to indicate the number of second bullet items to be divided and generated.

[0084] A second touch operation that affects the ammunition exchange control may be a series of left and right swipes after pressing the ammunition exchange control, allowing the user to move left and right on the second number selection control to select a different number of nodes. Alternatively, a movable cursor can be displayed in the graphical user interface, and the cursor can be moved on the second number selection control in response to left and right swipe touch operations to select a different number of nodes.

[0085] In steps S910 to S930 described above, if the number of initial bullet items is less than a second preset value, a second number selection control is displayed on the graphical user interface in response to a second touch operation acting on the bullet exchange control, a target node is determined from multiple quantity nodes in response to the user operation, and the initial bullet items are divided based on the second number corresponding to the target node to generate a second number of second bullet items.

[0086] In exemplary embodiments of the present disclosure, a split control is displayed in response to a second touch operation acting on the ammunition exchange control, and a second number selection control is displayed on the graphical user interface in response to a touch operation acting on the split control. Displaying the second number selection control on the graphical user interface in response to a touch operation acting on the split control includes the following steps S1010 to S1020: Step S1010, in response to a second touch operation acting on the ammunition change control, displays the split control. In step S1020, in response to a touch operation acting on the split control, a second number selection control is displayed on the graphical user interface.

[0087] In exemplary embodiments of the present disclosure, a split control can be displayed in response to a second touch operation acting on the ammunition reload control. Specifically, after receiving a second touch operation acting on the ammunition reload control, a split control is displayed on the graphical user interface. Here, the split control is used to receive the touch operation in such a way as to display a second number selection control on the graphical user interface.

[0088] This disclosure is not limited to any specific form of partition control.

[0089] Furthermore, if the initial ammunition item is of the target ammunition type, or if the virtual firearm is of the target firearm type, the split control can be displayed in response to a second touch operation that affects the ammunition exchange control.

[0090] In exemplary embodiments of the present disclosure, a second number selection control can be displayed on a graphical user interface in response to a touch operation acting on a split control. Specifically, the split control includes a plurality of quantity nodes, and a specific number for the second number is determined by selecting a target node from the plurality of quantity nodes.

[0091] This disclosure is not particularly limited to specific methods for identifying a target node from multiple quantity nodes.

[0092] By following the steps S1010 to S1020 described above, in response to a second touch operation acting on the ammunition replacement control, a split control can be displayed, and in response to a touch operation acting on the split control, a second number selection control can be displayed on the graphical user interface.

[0093] In exemplary embodiments of the present disclosure, in response to a swipe operation acting on a split control, a candidate target node is determined from a plurality of numerical nodes, the duration of the swipe operation in the graphical user interface after the determination of the candidate target node is obtained, and if the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node is determined as the target node. Determining a candidate target node as the target node if the duration is greater than or equal to the numerical value corresponding to the candidate target node includes the following steps S1110 to S1130: In step S1110, in response to a swipe operation acting on the division control, a candidate target node is determined from multiple quantity nodes. In step S1120, the duration of the swipe operation in the graphical user interface after determining the candidate target node is obtained. In step S1130, if the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node is determined to be the target node.

[0094] In an exemplary embodiment of the present disclosure, the target node determination process first determines a candidate target node from a plurality of quantity nodes, then obtains the duration of the swipe operation in the graphical user interface after the candidate target node has been determined, and determines the candidate target node as the target node. For example, the second node from left to right in the second number selection control is determined as the candidate target node, and the duration of the swipe operation in the graphical user interface after the candidate target node has been determined is obtained, and if the swipe operation is held for 2 seconds, the candidate target node is further determined as the target node.

[0095] Steps S1110 to S1130 described above determine a candidate target node from multiple quantity nodes in response to a swipe operation acting on the split control. After determining the candidate target node, the duration of the swipe operation in the graphical user interface is obtained. If the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node can be determined as the target node.

[0096] In an exemplary embodiment of the present disclosure, in response to a second touch operation acting on the ammunition exchange control having a duration greater than a preset time, a split control is displayed, and the ammunition exchange control is switched to display a cancel control. Here, the cancel control is configured to cancel the split process in response to a touch operation acting on the cancel control.

[0097] For example, in response to a second touch operation acting on the ammunition exchange control being a long press, after determining that the duration of the long press is longer than a preset time, for example, 2 seconds, the split control is displayed, and the ammunition exchange control is switched to display as a cancel control. The display position of the split control can be moved closer to the cancel control.

[0098] For example, as shown in Figure 6, the cancel control 601 is displayed in response to the duration of a second touch operation acting on the ammunition exchange control being longer than a preset time, and simultaneously generates and displays the split control 602, which can then be used to cancel the merge unmerge process in response to a touch operation acting on the cancel control 601.

[0099] In exemplary embodiments of this disclosure, a node schematic diagram is displayed at the location corresponding to a candidate target node, and the duration value is visualized and displayed using the node schematic diagram based on the duration value and the value corresponding to the candidate target node. Visualizing and displaying the duration value using the node schematic diagram includes the following steps S1210 to S1220: In step S1210, a schematic diagram of the node is displayed at the position corresponding to the candidate target node. In step S1220, the duration value is visualized and displayed using a node schematic diagram, based on the duration value and the value corresponding to the candidate target node.

[0100] In exemplary embodiments of this disclosure, a node schematic diagram is displayed at a location corresponding to a candidate target node. For example, the node schematic diagram may be circular or a ring.

[0101] Specifically, based on the duration value and the corresponding value for the candidate target node, the duration value can be visualized and displayed using a node schematic diagram.

[0102] For example, the circular filling speed or the annular display speed can be calculated from the duration value and the value corresponding to the candidate target node.

[0103] For example, as shown in Figure 7, control 702 may be a merge control or a split control. The third quantity node (candidate target node) has a loop of progress bars calculated by the duration value and the value corresponding to the candidate target node. When the display progress of the circular progress bar reaches 100%, a completed symbol, such as a gradient symbol, may be displayed at the position of the third skilled node. During and after the progression of time, the merge process or burst process can be canceled by the cancel control 701.

[0104] By steps S1210 to S1220 described above, a node schematic diagram is displayed at the position corresponding to the candidate target node, and the duration value can be visualized and displayed using the node schematic diagram based on the duration value and the value corresponding to the candidate target node. Embodiments of this disclosure can visualize and display the time progress in the process of determining, merging, and splitting target nodes, visually display progress information, and improve interaction efficiency and the intuitiveness of information transmission.

[0105] In exemplary embodiments of this disclosure, the attack power of the second bullet item is related to the second number. Specifically, the attack power of the second bullet item may be inversely proportional to the second number.

[0106] In exemplary embodiments of this disclosure, the division of an initial bullet item to generate a second number of second bullet items corresponds to the division time, where the second number is directly proportional to the division time. Specifically, a larger number corresponding to the second number results in a longer division time required to decompose and generate the initial bullet item into second bullet items, while a smaller number corresponding to the second number results in a shorter division time required to decompose and generate the initial bullet item into second bullet items.

[0107] Next, we will provide an application scenario of this embodiment. Figure 8 is a schematic diagram of the graphical user interface. This interface includes a game scene and virtual objects within that game scene, which are not shown in Figure 8. The player controls the movement of the virtual objects within the game scene. The interface in Figure 8 shows multiple controls displayed on top of the game scene.

[0108] Here, 800 is a backpack control, and touch operations acting on this control trigger the display of the backpack interface in the graphical user interface, which is configured to display the item items in the backpack, which may include, but are not limited to, items such as medicine, weapons, parts, and armor. In an optional embodiment, the edges of the backpack control are configured with edge lines to indicate the amount of items in the backpack. Here, touch operations acting on the backpack control can include clicks, double-clicks, long presses, and swipes.

[0109] 802 is a movement control, and the shaded circle is the locker for the movement control. In an optional embodiment, the movement control constitutes a movement response area, which may be the same size as the movement control, i.e., the area within the corresponding graphical user interface where the movement control is located, i.e., the movement response area. In an optional embodiment, the size of the movement response area may be larger than the size of the movement control, i.e., the movement control is located within the movement response area, and geographically, the graphical user interface is divided into left and right areas from the center, with the left area being the movement response area of ​​the movement control. A movement control command is triggered by a touch operation acting on the movement response area of ​​the movement control, and controls the direction of movement of a virtual object based on the movement control command. Here, the touch operation acting on the movement response area of ​​the movement control may be an operation such as a click, double-click, long press, or swipe.

[0110] When a touch operation that triggers a movement control command is detected to meet a pre-set condition, the "sprint" command is triggered, and the virtual object is controlled to automatically continue running within the game scene. As shown in Figure 8, in any embodiment, if a touch operation that triggers a movement control command meets a pre-set condition, the touch operation acting on the rocker area swipes along a pre-set direction for a pre-set distance or area (e.g., the position indicated by the upward arrow on the rocker). For example, if the touch operation drags the rocking lever upward, the sprint control 806 appears, and when this sprint control is triggered, the virtual object enters high-speed running mode. Simultaneously, the 830 control is also a sprint control, and clicking the 830 control enters high-speed running mode. In an alternative embodiment, if a touch operation that triggers a movement control command meets a pre-set condition, it may be that the touch operation acting on the rocker area meets a pre-set time or a pre-set pressure, etc.

[0111] Both 804 and 814 are attack controls. Touch operations acting on the attack response area of ​​the attack controls trigger attack commands, and based on these commands, they control the virtual character to execute attack operations in the game scene. Here, the attack actions performed by the attack controls correspond to the current assembly state of the virtual object. For example, if a ranged weapon is assembled on the virtual object, the attack controls trigger the firing action of the attack, i.e., the left hand controls the firing operation via trigger 804 and the right hand controls the firing operation via trigger 814. If the virtual character is equipped with a melee weapon, the attack controls trigger the slashing action of the attack. In an optional embodiment, only one of attack controls 804 or 814 is displayed. However, the display position of the attack controls can be adjusted based on a position setting command, which is either triggered in the setting interface or triggered during a game. Among these, touch operations acting on the attack controls include clicks, double-clicks, long presses, and swipes.

[0112] 808 and 810 are posture controls, and touch operations acting on them trigger posture adjustment commands to adjust the posture of virtual objects in the game scene. Here, trigger 808 controls the position of the weapon on the left arm of the virtual object, and can control the virtual object to stand with its head turned to the left. Trigger 810 controls the position of the weapon on the right arm of the virtual object, and can control the virtual object to stand with its head turned to the right. 808 and 810 are often set up so that the virtual object controls its posture after avoiding obstacles such as walls or large trees. Here, touch operations acting on posture controls can include clicks, double-clicks, long presses, and swipes.

[0113] 812 is the weapon slot, and triggering it allows the player to switch between weapons. The "Rapid Fire" indicator on the left shows the current firing mode; in "Rapid Fire" mode, multiple rounds are fired continuously. In addition to "Rapid Fire" mode, there is also a "Single Shot" mode, which fires a single bullet. The shadow bar at the bottom shows the amount of ammunition in the weapon. When firing, the amount of ammunition constantly decreases, and when the amount of ammunition reaches zero, the ammunition can be automatically replaced, at which point the amount of ammunition is at its maximum. The 816 control is the ammunition replacement control; the control that triggers ammunition replacement adds ammunition to the currently used weapon, and after replacement, the amount of ammunition is at its maximum. Touch operations that affect the weapon slot include click, double-click, long press, and swipe.

[0114] Controls 818 and 820 are action controls, which control whether a virtual object performs a corresponding action in the game scene based on touch operations that act on them. For example, 818 can be triggered to control a virtual object to squat, and 820 can be triggered to control a virtual object to use a crouch. Control 822 can control a virtual object to perform a jump. Touch operations that act on action controls can include clicks, double-clicks, long presses, and swipes.

[0115] The 824 control is configured to control whether the current game scene enters the aiming display mode. When a first touch operation is detected on the control 824, the control enters the aiming display mode, in which the aiming lens is displayed on the game scene, and the game scene as seen through this aiming lens by virtual objects is also displayed, which can improve shooting accuracy. When a second touch operation is detected on the control 824, the control exits the aiming display mode. In an optional embodiment, the first and second touch operations are independent touch operations, for example, clicking the 824 control controls the current game scene to enter the aiming display mode, and clicking the 824 control again exits the aiming display and displays the game scene again as captured by the virtual camera along with the virtual objects. In an optional embodiment, the first and second touch operations may be start and end operations for a touch operation, which control the game scene to enter the aiming display mode when control of touch operation 824 is detected, control the game scene to remain in the aiming display mode during sustained pressing, and control the game scene to exit the aiming display mode when it is detected that the touch off that triggers the touch operation has left the touch detection area.

[0116] The 826 control is configured to control the shooting parameters of a virtual camera that renders the game screen, adjusting the field of view of the game scene displayed in the graphical user interface. In an optional embodiment, it is determined that a touch operation acting on the 826 control has been detected, and the shooting parameters of the virtual camera are adjusted in response to the touch operation. The shooting parameters include, but are not limited to, the position, orientation, and field of view of the virtual camera. Here, a touch operation acting on the 826 control may be an operation such as a click, double-click, long press, or swipe.

[0117] The 828 control is a marker control; touch operations on it mark virtual objects in the game scene. The 832 control is a settings control; clicking on it displays a settings menu where you can configure the basic functions of the current game. Touch operations on the 828 control can include clicks, double-clicks, long presses, and swipes.

[0118] Controls 834 and 836 are message controls; 834 can be configured to display system notifications, and 836 can be configured to display messages sent by teammates or to send messages to teammates. 838 is a small map configured to display the location of virtual objects controlled by the player, and may also display some of the locations of virtual objects controlled by other players.

[0119] In addition to the application scenarios described above, the virtual firearm interaction method described herein can be implemented by obtaining the number of initial bullet items for a virtual firearm, merging the first number of initial bullet items to generate a first bullet item in response to a first touch operation that acts on the ammunition exchange control when the number of initial bullet items is greater than a first preset value, and controlling the virtual firearm to use the first bullet item to interact with virtual objects in the virtual scene in response to a use operation on the first bullet item.

[0120] In addition to the application scenarios described above, the player can be triggered to perform the virtual firearm interaction method in this embodiment via the ammunition exchange control 816.

[0121] In some embodiments of this disclosure, the number of initial bullet items for a virtual firearm is obtained, and if the number of initial bullet items is greater than a first preset value, the first number of initial bullet items are merged to generate a first bullet item in response to a first touch operation acting on the ammunition exchange control, and in response to a use operation on the first bullet item, the virtual firearm is controlled to use the first bullet item to interact with virtual objects in the virtual scene. Embodiments of this disclosure allow, on the one hand, when the number of bullet items is greater than a first preset value, the bullet items can be merged to enhance a predetermined shooting attribute of the virtual firearm, and a better interaction effect can be achieved without having to perform a large number of interaction operations, thereby improving interaction efficiency. On the other hand, the user can define the interaction mode of the virtual firearm, avoiding the limitation of being able to interact in only a single fixed mode, and improving the flexibility and freedom of the interaction process.

[0122] Furthermore, embodiments of this disclosure provide a virtual firearm interaction device 900. The device provides a graphical user interface on a terminal device, which at least partially displays a virtual scene and ammunition exchange controls, and the virtual scene includes virtual objects. As shown in Figure 9, the virtual firearm interaction device 900 includes an initial count acquisition module 910 and an item merge module 920. The initial count acquisition module 910 is configured to acquire the initial number of ammunition items for a virtual firearm. The item merge module 920 is configured to merge a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the ammo exchange control when the number of initial bullet items is greater than a first preset value, where the first number is less than or equal to the number of initial bullet items, and the attack power of the first bullet item is higher than the attack power of the initial bullet items. The firing interaction module 930 is configured to control a virtual firearm and use the first bullet item to interact with virtual objects in the virtual scene in response to a use operation on the first bullet item.

[0123] In exemplary embodiments of the present disclosure, the device further includes a second preset value comparison unit configured to divide the initial bullet items to generate a second number of second bullet items in response to a second touch operation acting on a bullet exchange control, provided that the number of initial bullet items is less than or equal to a second preset value, and the attack power of the second bullet items is lower than that of the initial bullet items, and further includes a second use operation response unit configured to control the virtual firearm to use the second bullet items to interact with virtual objects in a virtual scene in response to a use operation on the second bullet items.

[0124] In exemplary embodiments of the present disclosure, the number of initial bullet items is greater than a first preset value, and in response to a first touch operation acting on the bullet exchange control, the device further includes a first preset value comparison unit, which is configured to display a first number selection control on a graphical user interface in response to a first touch operation acting on the bullet exchange control, where the number of initial bullet items is greater than a first preset value, and the first number selection control includes a plurality of quantity nodes, and a first user operation response unit is configured to determine a target node from the plurality of quantity nodes in response to the user operation, and a first number reference unit is configured to merge a first number of initial bullet items based on a first number corresponding to the target node to produce a first bullet item.

[0125] In exemplary embodiments of the present disclosure, as a step of displaying a first number selection control on a graphical user interface in response to a first touch operation acting on the ammunition exchange control, the apparatus further includes a merge control display unit and a merge touch response unit, the merge control display unit being configured to display a merge control in response to a first touch operation acting on the ammunition exchange control, and the merge touch response unit being configured to display a first number selection control on a graphical user interface in response to a touch operation acting on the merge control.

[0126] In exemplary embodiments of the present disclosure, as a step of determining a target node from a plurality of quantity nodes in response to a user operation, the device further includes a first swipe operation response unit, the first swipe operation response unit configured to determine a target node from a plurality of quantity nodes in response to a merge control-acting swipe operation.

[0127] In exemplary embodiments of the present disclosure, as a step of displaying a first number selection control on a graphical user interface, the device further includes a load count reference unit and a highlighting unit, the load count reference unit being configured to display a plurality of quantity nodes on the first number selection control corresponding to the maximum number of bullet items on a virtual firearm, where the plurality of quantity nodes include the same number of adjustable nodes as the initial number of bullet items, the adjustable nodes corresponding to adjustable areas, and the highlighting unit being configured to highlight and display the adjustable areas in a predetermined manner.

[0128] In exemplary embodiments of the present disclosure, as a step of determining a target node from a plurality of quantity nodes in response to a merge control-acting swipe operation, the device further includes a first candidate target node determination unit, a first duration acquisition unit, and a first duration comparison unit, wherein the first candidate target node determination unit is configured to determine a candidate target node from a plurality of quantity nodes in response to a merge control-acting swipe operation, wherein the plurality of quantity nodes include a candidate target node; the first duration acquisition unit is configured to acquire the duration in a graphical user interface of the swipe operation after the candidate target node has been determined; and the first duration comparison unit is configured to determine a candidate target node as a target node if the duration is greater than or equal to a numerical value corresponding to the candidate target node.

[0129] In an exemplary embodiment of the present disclosure, as a step of displaying a merge control in response to a first touch operation acting on the ammunition exchange control, the device further includes a first duration comparison unit, which is configured to display a merge control and switch the ammunition exchange control to display a cancel control in response to the duration of the first touch operation acting on the ammunition exchange control being greater than a preset duration, wherein the cancel control is configured to cancel the merge process in response to a touch operation acting on the cancel control.

[0130] In exemplary embodiments of the present disclosure, in response to a first touch operation acting on ammunition exchange control, a first number of initial bullet items are merged to produce a first bullet item, the device further includes a maximum load merge unit, the maximum load merge unit is configured to merge initial bullet items in a virtual firearm to produce a first bullet item if the number of initial bullet items in the virtual firearm is equal to the maximum load of bullet items in the virtual firearm, where the number of initial bullet items in the virtual firearm is a first number.

[0131] In exemplary embodiments of this disclosure, the attack power of the first bullet item is related to a first number.

[0132] In exemplary embodiments of the present disclosure, in response to a first touch operation acting on a bullet exchange control, a first number of initial bullet items are merged to produce a first bullet item, the device further includes a predetermined merge unit, which is configured to merge a first number of initial bullet items according to a preset merge scheme in response to a first touch operation acting on a bullet exchange control to produce a plurality of first bullet items, wherein the preset merge scheme is configured to indicate the number of initial bullet items required to be merged to produce a single first bullet item.

[0133] In exemplary embodiments of the present disclosure, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on the ammunition exchange control includes a first candidate bullet item merge unit and a first bullet item re-merge unit, wherein the first candidate bullet item merge unit is configured to merge a first number of initial bullet items in response to a first touch operation acting on the ammunition exchange control to generate a plurality of first candidate bullet items, and the first bullet item re-merge unit is configured to merge a plurality of first candidate bullet items in response to a third touch operation acting on the ammunition exchange control to generate a first bullet item.

[0134] In exemplary embodiments of the present disclosure, merging a first number of initial bullet items to generate a first bullet item corresponds to the merge time length, where the first number is directly proportional to the merge time length.

[0135] In exemplary embodiments of the present disclosure, as a step of dividing the initial bullet items to generate a second number of second bullet items in response to a second touch operation acting on the ammunition exchange control, where the number of initial bullet items is less than a second preset value, the device further includes a second preset value comparison unit, a user operation response unit, and an initial bullet item division unit, wherein the second preset value comparison unit is configured to display a second number selection control on a graphical user interface in response to a second touch operation acting on the ammunition exchange control, where the number of initial bullet items is less than a second preset value, and the second number selection control includes a plurality of quantity nodes, the user operation response unit is configured to determine a target node from the plurality of quantity nodes in response to the user operation, and the initial bullet item division unit is configured to divide the initial bullet items to generate a second number of second bullet items in response to a second number corresponding to the target node.

[0136] In exemplary embodiments of the present disclosure, as a step of displaying a second number selection control on a graphical user interface in response to a second touch operation acting on the ammunition reload control, the apparatus further includes a split control display unit and a split control touch unit, the split control display unit being configured to display a split control in response to a second touch operation acting on the ammunition reload control, and the split control touch unit being configured to display a second number selection control on a graphical user interface in response to a touch operation acting on the split control.

[0137] In exemplary embodiments of the present disclosure, as a step of determining a target node from a plurality of quantity nodes in response to a user operation, the device further includes a second swipe operation response unit, the second swipe operation response unit configured to determine a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control.

[0138] In exemplary embodiments of the present disclosure, as a step of determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control, the device further includes a second candidate target node determination unit, a second duration acquisition unit, and a second duration comparison unit, wherein the second candidate target node determination unit is configured to determine a candidate target node from a plurality of quantity nodes in response to a swipe operation acting on a split control, the second duration acquisition unit is configured to acquire the duration in a graphical user interface of the swipe operation after the candidate target node has been determined, and the second duration comparison unit is configured to determine a candidate target node as a target node if the duration is greater than or equal to a numerical value corresponding to the candidate target node.

[0139] In an exemplary embodiment of the present disclosure, as a step of displaying a split control in response to a second touch operation acting on a reload control, the device further includes a second duration comparison unit, which is configured to display a split control and switch the reload control to display a cancel control in response to the duration of a second touch operation acting on the reload control being greater than a preset duration, the cancel control being configured to cancel the split process in response to a touch operation acting on the cancel control.

[0140] In exemplary embodiments of the present disclosure, the apparatus further includes a node schematic display unit and a visualization display unit, the node schematic display unit being configured to display a node schematic at a position corresponding to a candidate target node, and the visualization display unit being configured to visualize and display the duration value using the node schematic, based on the duration value and the value corresponding to the candidate target node.

[0141] In exemplary embodiments of this disclosure, the attack power of the second bullet item is related to the second number.

[0142] In exemplary embodiments of the present disclosure, dividing an initial bullet item to generate a second number of second bullet items corresponds to the division time length, where the second number is directly proportional to the division time length.

[0143] While the detailed description above has described several modules or units of the device configured for operation, such division is not mandatory. In practice, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in a single module or unit. Conversely, the features and functions of a single module or unit described above can be further divided and embodied in multiple modules or units.

[0144] Furthermore, exemplary embodiments of this disclosure also provide an electronic device capable of realizing the virtual firearm interaction method described above.

[0145] Those skilled in the art will understand that various aspects of the present disclosure can be implemented as systems, methods, or program products. Accordingly, various aspects of the present disclosure may be complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments in which hardware and software embodiments are merged, collectively referred to here as “circuits,” “modules,” or “systems.”

[0146] The electronic device 1000 in such embodiments of the present disclosure will be described below with reference to Figure 10. The electronic device 1000 shown in Figure 10 is merely an example and does not impose any limitations on the function and scope of use of the embodiments of the present disclosure.

[0147] As shown in Figure 10, the electronic device 1000 is represented as a general-purpose computing device. The components of the electronic device 1000 may include, but are not limited to, the at least one processing unit 1010, the at least one storage unit 1020, a bus 1030 connecting different system components including the storage unit 1020 and the processing unit 1010, and a display unit 1040.

[0148] Here, the memory unit stores program code, which can be executed by the processing unit 1010 to perform steps in various embodiments of the disclosure as described in the “Examples of Methods” section above. For example, the processing unit 1010 can perform the method shown in Figure 2, where in step S210, it obtains the number of initial bullet items for the virtual firearm; in step S220, if the number of initial bullet items is greater than a first preset value and in response to a first touch operation acting on the bullet exchange control, it merges a first number of initial bullet items to generate a first bullet item, where the first number is less than or equal to the number of initial bullet items and the attack power of the first bullet item is higher than the attack power of the initial bullet items; and in step S230, in response to a use operation on the first bullet item, it controls the virtual firearm to use the first bullet item to interact with a virtual object in the virtual scene.

[0149] In exemplary embodiments of the present disclosure, based on the above-described technology, the initial number of bullet items is less than a second preset value, and in response to a second touch operation acting on the ammunition exchange control, the initial bullet items are divided to generate a second number of second bullet items, where the second number is less than or equal to the maximum number of bullet items loaded into the virtual firearm, the attack power of the second bullet items is lower than that of the initial bullet items, and in response to a use operation on the second bullet items, the virtual firearm is controlled to use the second bullet items to interact with virtual objects in the virtual scene.

[0150] In exemplary embodiments of the present disclosure, based on the above invention, the number of initial bullet items is greater than a first preset value, and in response to a first touch operation acting on the bullet exchange control, the first number of initial bullet items are merged to generate a first bullet item, and the number of initial bullet items is greater than a first preset value, and in response to a first touch operation acting on the bullet exchange control, a first number selection control is displayed on the graphical user interface, where the first number selection control includes a plurality of quantity nodes, and in response to a user operation, a target node is determined from the plurality of quantity nodes, and based on a first number corresponding to the target node, the first number of initial bullet items are merged to generate a first bullet item.

[0151] In exemplary embodiments of the present disclosure, displaying a first number selection control on a graphical user interface in response to a first touch operation acting on the ammunition exchange control, based on the above-described technical proposal, includes displaying a merge control in response to a first touch operation acting on the ammunition exchange control, and displaying a first number selection control on a graphical user interface in response to a touch operation acting on the merge control.

[0152] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a user interaction based on the above-described technical proposal includes determining a target node from a plurality of quantity nodes in response to a swipe operation that performs a merge control.

[0153] In exemplary embodiments of the present disclosure, displaying a first number selection control in a graphical user interface based on the above-described technical proposal includes displaying a plurality of quantity nodes in the first number selection control corresponding to the maximum number of bullet items loaded, based on the maximum number of bullet items loaded in a virtual firearm, wherein the plurality of quantity nodes include the same number of adjustable nodes as the initial number of bullet items, the adjustable nodes correspond to adjustable areas, and the adjustable areas are highlighted and displayed in a predetermined manner.

[0154] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a merge control-acting swipe operation based on the above invention includes determining a candidate target node from a plurality of quantity nodes in response to a merge control-acting swipe operation, wherein the plurality of quantity nodes include the candidate target node, and the duration in the graphical user interface of the swipe operation after the determination of the candidate target node is obtained, and if the duration is greater than or equal to a numerical value corresponding to the candidate target node, the candidate target node is determined to be the target node.

[0155] In exemplary embodiments of the present disclosure, displaying a merge control in response to a first touch operation acting on the ammunition exchange control, based on the above-described technical proposal, includes displaying a merge control and switching the ammunition exchange control to display a cancel control in response to the duration of the first touch operation acting on the ammunition exchange control being greater than a preset time length, wherein the cancel control cancels the merge process in response to a touch operation acting on the cancel control.

[0156] In exemplary embodiments of the present disclosure, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on a bullet exchange control, based on the above invention, includes merging initial bullet items in a virtual firearm to generate a first bullet item if the number of initial bullet items in the virtual firearm is equal to the maximum number of bullet items loaded in the virtual firearm, wherein the number of initial bullet items in the virtual firearm is a first number.

[0157] In exemplary embodiments of the present disclosure, based on the above-described technical concept, the attack power of the first bullet item is related to the first number.

[0158] In exemplary embodiments of the present disclosure, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on a bullet exchange control, based on the above-described technical concept, means generating a plurality of first bullet items by merging a first number of initial bullet items according to a preset merging scheme in response to a first touch operation acting on a bullet exchange control, wherein the preset merging scheme indicates the number of initial bullet items required to be merged to generate a single first bullet item.

[0159] In exemplary embodiments of the present disclosure, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on the bullet exchange control, based on the above-described technical concept, includes merging a first number of initial bullet items in response to a first touch operation acting on the bullet exchange control to generate a plurality of first candidate bullet items, and merging a plurality of first candidate bullet items in response to a third touch operation acting on the bullet exchange control to generate a first bullet item.

[0160] In exemplary embodiments of the present disclosure, merging a first number of initial bullet items to generate a first bullet item, based on the above-described technical concept, corresponds to the merge time length, where the first number is directly proportional to the merge time length.

[0161] In exemplary embodiments of the present disclosure, based on the above invention, the number of initial bullet items is less than a second preset value, and in response to a second touch operation acting on the bullet exchange control, the initial bullet items are divided to generate a second number of second bullet items, which includes the number of initial bullet items being less than a second preset value, and in response to a second touch operation acting on the bullet exchange control, a second number selection control being displayed on a graphical user interface, wherein the second number selection control includes a plurality of quantity nodes, and in response to a user operation, a target node is determined from the plurality of quantity nodes, and based on a second number corresponding to the target node, the initial bullet items are divided to generate a second number of second bullet items.

[0162] In exemplary embodiments of the present disclosure, displaying a second number selection control on a graphical user interface in response to a second touch operation acting on the ammunition replacement control, based on the above-described technical proposal, includes displaying a split control in response to a second touch operation acting on the ammunition replacement control, and displaying a second number selection control on a graphical user interface in response to a touch operation acting on the split control.

[0163] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a user interaction based on the above-described technical proposal includes determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control.

[0164] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control, based on the above-described technical concept, includes determining a candidate target node from a plurality of quantity nodes in response to a swipe operation acting on a split control, obtaining the duration of the swipe operation in the graphical user interface after determining the candidate target node, and determining the candidate target node as the target node if the duration is greater than or equal to the numerical value corresponding to the candidate target node.

[0165] In exemplary embodiments of the present disclosure, displaying a split control in response to a second touch operation acting on the ammunition exchange control, based on the above invention, includes displaying the split control in response to the duration of the second touch operation acting on the ammunition exchange control being greater than a preset time length, switching the ammunition exchange control to display a cancel control, wherein the cancel control cancels the split process in response to a touch operation acting on the cancel control.

[0166] In exemplary embodiments of this disclosure, based on the above-described technical proposal, a schematic diagram of nodes is displayed at the location corresponding to the candidate target node, and the numerical value of the duration is visualized and displayed using the schematic diagram of nodes based on the numerical value of the duration and the numerical value corresponding to the candidate target node.

[0167] In exemplary embodiments of the present disclosure, based on the above-described technical invention, the attack power of the second bullet item is related to the second number.

[0168] In exemplary embodiments of the present disclosure, based on the above-described technical method, dividing an initial bullet item to generate a second number of second bullet items corresponds to the division time length, where the second number is directly proportional to the division time length.

[0169] In some embodiments of the present disclosure, an electronic device obtains the number of initial bullet items for a virtual firearm, and if the number of initial bullet items is greater than a first preset value, it merges the first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on bullet exchange control, and in response to a use operation on the first bullet item, it controls the virtual firearm to use the first bullet item to interact with virtual objects in a virtual scene. Embodiments of the present disclosure allow, on the one hand, when the number of bullet items is greater than a first preset value, the bullet items can be merged to enhance a predetermined shooting attribute of the virtual firearm, and furthermore, a better interaction effect can be achieved without having to perform a large number of interaction operations, thereby improving interaction efficiency. On the other hand, the user can define the interaction mode of the virtual firearm, avoiding the limitation of being able to interact in only a single fixed mode, thereby improving the flexibility and freedom of the interaction process.

[0170] The memory unit 1020 may include a readable medium in the form of a volatile memory unit such as a random access memory unit (RAM) 1021 and / or a cache 1022, and may also include a read-only memory unit (ROM) 1023.

[0171] The memory unit 1020 also includes an operating system, one or more applications, other program modules, and program data, and may, but is not limited to, a program / utility 1024 having a set (at least one) of program modules 1025 which may include an implementation of a network environment.

[0172] Bus 1030 can represent one or more of several classes of bus structures, including a memory cell bus or a memory cell controller, a peripheral bus, a graphical acceleration port, a processing unit, or a local bus that uses any of the bus structures among a plurality of bus structures.

[0173] The electronic device 1000 can also communicate with one or more external devices 1070, such as a keyboard, pointing device, or Bluetooth device; it can communicate with one or more devices that allow a user to interact with the electronic device 1000; and / or with any device (such as a router or modem) that allows the electronic device 1000 to communicate with one or more other computing devices. This communication can be done via the input / output (I / O) interface 1050. The electronic device 1000 can also communicate with public networks such as a local area network (LAN), a wide area network (WAN), and / or the internet via the network adapter 1060. As shown in the figure, the network adapter 1060 communicates with other modules of the electronic device 1000 via the bus 1030. It should be understood that other hardware and / or software modules, including but not limited to microcode, device drives, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, can be used in combination with the electronic device 1000, although these are not shown.

[0174] As will be readily apparent to those skilled in the art from the above description of embodiments, the exemplary embodiments described herein can be implemented by software, or by merging the necessary hardware and software. Accordingly, the technical aspects of the embodiments of this disclosure may be embodied in the form of a software product which may be stored on a single non-volatile storage medium (which may be a CD-ROM, USB disk, mobile hard disk, etc.) and include several instructions for performing the methods of the embodiments of this disclosure.

[0175] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided that stores a program product capable of implementing the methods described herein. In some possible embodiments, various aspects of this disclosure may also be implemented as a program product configured to cause a terminal device to perform steps according to the various embodiments of this disclosure described in the “Examples of Methods” section above when the program product is running on the terminal device.

[0176] In exemplary embodiments of the present disclosure, a terminal device provides a graphical user interface, the graphical user interface displays at least partially a virtual scene and ammunition exchange controls, the virtual scene includes virtual objects, and the method includes: obtaining the number of initial ammunition items for a virtual firearm; if the number of initial ammunition items is greater than a first preset value, and in response to a first touch operation acting on the ammunition exchange controls, merging a first number of initial ammunition items to generate a first ammunition item, where the first number is less than or equal to the number of initial ammunition items, and the attack power of the first ammunition item is greater than the attack power of the initial ammunition items; and in response to a use operation on the first ammunition item, controlling the virtual firearm to use the first ammunition item to interact with virtual objects in the virtual scene.

[0177] In exemplary embodiments of the present disclosure, based on the above-described technology, the initial number of bullet items is less than a second preset value, and in response to a second touch operation acting on the ammunition exchange control, the initial bullet items are divided to generate a second number of second bullet items, where the second number is less than or equal to the maximum number of bullet items loaded into the virtual firearm, the attack power of the second bullet items is lower than that of the initial bullet items, and in response to a use operation on the second bullet items, the virtual firearm is controlled to use the second bullet items to interact with virtual objects in the virtual scene.

[0178] In exemplary embodiments of the present disclosure, based on the above-described technical proposal, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on the ammunition exchange control, where the number of initial bullet items is greater than a first preset value, includes displaying a first number selection control on a graphical user interface in response to a first touch operation acting on the ammunition exchange control, where the first number selection control includes a plurality of quantity nodes, and in response to a user operation, determining a target node from the plurality of quantity nodes, and generating a first bullet item by merging a first number of initial bullet items based on a first number corresponding to the target node.

[0179] In exemplary embodiments of the present disclosure, displaying a first number selection control on a graphical user interface in response to a first touch operation acting on the ammunition exchange control, based on the above-described technical proposal, includes displaying a merge control in response to a first touch operation acting on the ammunition exchange control, and displaying the first number selection control on a graphical user interface in response to a touch operation acting on the merge control.

[0180] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a user interaction based on the above-described technical proposal includes determining a target node from a plurality of quantity nodes in response to a swipe operation that performs a merge control.

[0181] In exemplary embodiments of the present disclosure, displaying a first number selection control in a graphical user interface based on the above-described technical proposal includes displaying a plurality of quantity nodes in the first number selection control corresponding to the maximum number of bullet items loaded, based on the maximum number of bullet items loaded in a virtual firearm, wherein the plurality of quantity nodes include the same number of adjustable nodes as the initial number of bullet items, the adjustable nodes correspond to adjustable areas, and the adjustable areas are highlighted and displayed in a predetermined manner.

[0182] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a merge control-acting swipe operation based on the above-described technical proposal includes determining a candidate target node from a plurality of quantity nodes in response to a merge control-acting swipe operation, wherein the plurality of quantity nodes include the candidate target node, obtaining the duration in the graphical user interface of the swipe operation after the candidate target node has been determined, and determining the candidate target node as the target node if the duration is greater than or equal to a numerical value corresponding to the candidate target node.

[0183] In exemplary embodiments of the present disclosure, displaying a merge control in response to a first touch operation acting on the ammunition exchange control, based on the above-described technical proposal, includes displaying a merge control and switching the ammunition exchange control to display a cancel control in response to the duration of the first touch operation acting on the ammunition exchange control being greater than a preset time length, wherein the cancel control cancels the merge process in response to a touch operation acting on the cancel control.

[0184] In exemplary embodiments of the present disclosure, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on a bullet exchange control, based on the above invention, includes merging initial bullet items in a virtual firearm to generate a first bullet item if the number of initial bullet items in the virtual firearm is equal to the maximum number of bullet items loaded in the virtual firearm, wherein the number of initial bullet items in the virtual firearm is a first number.

[0185] In exemplary embodiments of the present disclosure, based on the above-described technical concept, the attack power of the first bullet item is related to the first number.

[0186] In exemplary embodiments of the present disclosure, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on a bullet exchange control, based on the above-described technical concept, means generating a plurality of first bullet items by merging a first number of initial bullet items according to a preset merging scheme in response to a first touch operation acting on a bullet exchange control, wherein the preset merging scheme indicates the number of initial bullet items required to be merged to generate a single first bullet item.

[0187] In exemplary embodiments of the present disclosure, generating a first bullet item by merging a first number of initial bullet items in response to a first touch operation acting on the bullet exchange control, based on the above-described technical concept, includes merging a first number of initial bullet items in response to a first touch operation acting on the bullet exchange control to generate a plurality of first candidate bullet items, and merging a plurality of first candidate bullet items in response to a third touch operation acting on the bullet exchange control to generate a first bullet item.

[0188] In exemplary embodiments of the present disclosure, merging a first number of initial bullet items to generate a first bullet item, based on the above-described technical concept, corresponds to the merge time length, where the first number is directly proportional to the merge time length.

[0189] In exemplary embodiments of the present disclosure, based on the above-described technical proposal, the number of initial bullet items is less than a second preset value, and in response to a second touch operation acting on the bullet exchange control, the initial bullet items are divided to generate a second number of second bullet items, which includes the number of initial bullet items being less than a second preset value, and in response to a second touch operation acting on the bullet exchange control, a second number selection control being displayed on a graphical user interface, wherein the second number selection control includes a plurality of quantity nodes, a target node is determined from the plurality of quantity nodes in response to the user operation, and the initial bullet items are divided to generate a second number of second bullet items based on a second number corresponding to the target node.

[0190] In exemplary embodiments of the present disclosure, displaying a second number selection control on a graphical user interface in response to a second touch operation acting on the ammunition replacement control, based on the above-described technical proposal, includes displaying a split control in response to a second touch operation acting on the ammunition replacement control, and displaying a second number selection control on a graphical user interface in response to a touch operation acting on the split control.

[0191] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a user interaction based on the above-described technical proposal includes determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control.

[0192] In exemplary embodiments of the present disclosure, determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control, based on the above-described technical proposal, includes determining a candidate target node from a plurality of quantity nodes in response to a swipe operation acting on a split control, obtaining the duration of the swipe operation in the graphical user interface after determining the candidate target node, and determining the candidate target node as the target node if the duration is greater than or equal to a numerical value corresponding to the candidate target node.

[0193] In exemplary embodiments of the present disclosure, displaying a split control in response to a second touch operation acting on the ammunition exchange control, based on the above invention, includes displaying the split control in response to the duration of the second touch operation acting on the ammunition exchange control being greater than a preset time length, switching the ammunition exchange control to display a cancel control, wherein the cancel control cancels the split process in response to a touch operation acting on the cancel control.

[0194] In exemplary embodiments of the present disclosure, the present invention includes displaying a schematic diagram of nodes at locations corresponding to candidate target nodes based on the above-described invention, and visually displaying the numerical values ​​of the durations using the schematic diagram of nodes based on the numerical values ​​of the durations and the numerical values ​​corresponding to the candidate target nodes.

[0195] In exemplary embodiments of the present disclosure, based on the above-described technical invention, the attack power of the second bullet item is related to the second number.

[0196] In exemplary embodiments of the present disclosure, based on the above-described technical method, dividing an initial bullet item to generate a second number of second bullet items corresponds to the division time length, where the second number is directly proportional to the division time length.

[0197] A computer-readable signal medium provided by some embodiments of this disclosure can acquire the number of initial bullet items of a virtual firearm, and if the number of initial bullet items is greater than a first preset value, it can merge the first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the ammunition exchange control, and in response to a use operation on the first bullet item, it can control the virtual firearm to use the first bullet item to interact with virtual objects in the virtual scene. Embodiments of this disclosure can, on the one hand, merge bullet items to enhance a predetermined shooting attribute of the virtual firearm when the number of bullet items is greater than a first preset value, and can achieve better interaction effects and improve interaction efficiency without requiring a large number of interaction operations, and on the other hand, allow the user to define the interaction mode of the virtual firearm, avoiding the limitation of being able to interact in only a single fixed mode and improving the flexibility and freedom of the interaction process.

[0198] A computer-readable signaling medium may include data signals that are contained within a baseband carrying readable program code or propagated as part of a carrier wave. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination described above. The readable signaling medium may be any readable medium other than a readable storage medium capable of transmitting, propagating, or transmitting programs that are used by, or in combination with, a system, apparatus, or device.

[0199] Program code contained in a readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, or any suitable combination thereof.

[0200] The program code configured to perform the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​(such as Java and C++) and conventional procedural programming languages ​​such as the "C" language. The program code can run entirely on the user computing device, partially on the user device, run as a standalone package, run partially on the user computing device and partially on a remote computing device, or run entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can connect to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can connect to an external computing device (for example, it can connect via the Internet using an Internet service provider).

[0201] Furthermore, the aforementioned drawings are a schematic description of the processes included in the methods of exemplary embodiments of this disclosure and are not intended to limit them. It is also easy to understand that the processes shown in the aforementioned drawings do not represent or limit the timeline of these processes. It is also easy to understand that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0202] A person skilled in the art will readily come up with other embodiments of the Disclosure after considering the specification and practicing the inventions disclosed herein. This Disclosure aims to cover any variations, uses, or adaptations of the Disclosure, including common or conventional means known in the Art but not disclosed herein, in accordance with the general principles of the Disclosure. The Specification and Embodiments are for illustrative purposes only, and the true scope and spirit of the Disclosure are indicated by the Claims.

Claims

1. A method for interacting with a virtual firearm, comprising providing a graphical user interface on a terminal device, at least partially displaying a virtual scene and ammunition exchange controls on the graphical user interface, and including virtual objects in the virtual scene, Obtain the initial number of ammunition items for the virtual firearm, If the number of initial bullet items is greater than a first preset value, in response to a first touch operation acting on the bullet exchange control, a first number of initial bullet items are merged to generate a first bullet item, and the first number is less than or equal to the number of initial bullet items, and the attack power of the first bullet item is higher than the attack power of the initial bullet items, This includes controlling the virtual firearm in response to a usage operation corresponding to the first bullet item and using the first bullet item to interact with a virtual object in the virtual scene, The attack power of the first bullet item is related to the first number. A method for interacting with virtual firearms, characterized by the following:

2. The above method further, If the number of initial bullet items is less than a second preset value, in response to a second touch operation acting on the bullet exchange control, the initial bullet items are divided to generate a second number of second bullet items, provided that the second number is less than or equal to the maximum number of bullet items loaded for the virtual firearm, and the attack power of the second bullet items is lower than the attack power of the initial bullet items, This includes controlling the virtual firearm in response to a use operation on the second bullet item to use the second bullet item to interact with virtual objects in the virtual scene. The method for interacting with a virtual firearm according to feature 1.

3. If the number of initial bullet items is greater than a first preset value, then in response to a first touch operation acting on the bullet exchange control, the first number of initial bullet items may be merged to generate a first bullet item. If the number of initial bullet items is greater than a first preset value, in response to a first touch operation acting on the bullet exchange control, a first number selection control is displayed on the graphical user interface, and the first number selection control includes multiple number nodes. In response to user input, the system determines a target node from the aforementioned plurality of quantity nodes, This includes merging a first number of initial bullet items based on a first number corresponding to the target node to generate a first bullet item. The method for interacting with a virtual firearm according to feature 1.

4. Displaying a first number selection control on the graphical user interface in response to a first touch operation acting on the ammunition exchange control is: In response to a first touch operation acting on the ammunition exchange control, the merge control is displayed. This includes displaying a first number selection control on the graphical user interface in response to a touch operation acting on the merge control. The method for interacting with a virtual firearm according to feature 3.

5. In response to the user operation, determining the target node from the plurality of quantity nodes is: This includes determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the merge control. The method for interacting with a virtual firearm according to feature 3.

6. Displaying the first number selection control on the graphical user interface means Based on the maximum number of bullet items loaded for the virtual firearm, the first number selection control displays multiple quantity nodes corresponding to the maximum number of bullet items loaded, and the multiple quantity nodes include the same number of adjustable nodes as the initial number of bullet items, and the adjustable nodes correspond to adjustable areas. This includes highlighting and displaying the adjustable area in a predetermined manner. The method for interacting with a virtual firearm according to feature 3.

7. Determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the merge control is: In response to a swipe operation acting on the merge control, a candidate target node is determined from the plurality of quantity nodes, and the candidate target node is included in the plurality of quantity nodes. Obtain the duration of the swipe operation within the graphical user interface after determining the candidate target node, If the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node is determined to be the target node. The method for interacting with a virtual firearm according to feature 5.

8. Displaying merge control in response to a first touch operation acting on the ammunition exchange control is: In response to the duration of a first touch operation acting on the ammunition exchange control being longer than a preset time, the system includes displaying a merge control and switching the ammunition exchange control to display a cancel control. The cancel control is provided to cancel the merge process in response to a touch operation acting on the cancel control. The method for interacting with a virtual firearm according to feature 4.

9. In response to a first touch operation acting on the ammunition exchange control, merging a first number of initial bullet items to generate a first bullet item is: The process includes, when the initial number of bullet items in the virtual firearm is equal to the maximum number of bullet items that can be loaded into the virtual firearm, merging the initial bullet items in the virtual firearm to generate a first bullet item, The initial number of bullet items in the aforementioned virtual firearm is the first number. The method for interacting with a virtual firearm according to feature 1.

10. In response to a first touch operation acting on the ammunition exchange control, merging a first number of initial bullet items to generate a first bullet item is: The process includes, in response to a first touch operation acting on the ammunition exchange control, merging a first number of initial bullet items according to a predetermined merging scheme to generate a plurality of first bullet items, The aforementioned pre-configured merge method is provided to indicate the number of initial bullet items required to merge and generate one first bullet item. The method for interacting with a virtual firearm according to feature 1.

11. In response to a first touch operation acting on the ammunition exchange control, merging a first number of initial bullet items to generate a first bullet item is: In response to a first touch operation acting on the ammunition exchange control, a first number of initial bullet items are merged to generate a plurality of first candidate bullet items, This includes merging a plurality of first candidate bullet items to generate a first bullet item in response to a third touch operation acting on the bullet exchange control. The method for interacting with a virtual firearm according to feature 1.

12. The process of merging the first number of initial bullet items to generate a first bullet item corresponds to the merge time length, and the first number is directly proportional to the merge time length. The method for interacting with a virtual firearm according to feature 1.

13. If the number of initial bullet items is less than a second preset value, in response to a second touch operation acting on the bullet exchange control, the initial bullet items may be divided to generate a second number of second bullet items. If the number of initial bullet items is less than a second preset value, in response to a second touch operation acting on the bullet exchange control, a second number selection control is displayed on the graphical user interface, and the second number selection control includes multiple number nodes. In response to user input, the system determines a target node from the aforementioned plurality of quantity nodes, This includes dividing the initial bullet item based on a second number corresponding to the target node to generate a second number of second bullet items. The method for interacting with a virtual firearm according to feature 2.

14. Displaying a second number selection control on the graphical user interface in response to a second touch operation acting on the ammunition exchange control is: In response to a second touch operation acting on the ammunition exchange control, the split control is displayed. This includes displaying a second number selection control on the graphical user interface in response to a touch operation acting on the split control. The method for interacting with a virtual firearm according to feature 13.

15. In response to the user operation, determining the target node from the plurality of quantity nodes is: This includes determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the split control. The method for interacting with a virtual firearm according to feature 13.

16. In response to a swipe operation acting on the division control, determining a target node from the plurality of quantity nodes is: In response to a swipe operation acting on the division control, a candidate target node is determined from the plurality of quantity nodes, Obtain the duration of the swipe operation within the graphical user interface after determining the candidate target node, If the duration is greater than or equal to the numerical value corresponding to the candidate target node, the candidate target node is determined to be the target node. The method for interacting with a virtual firearm according to feature 15.

17. Displaying the split control in response to a second touch operation acting on the ammunition exchange control is: In response to the duration of a second touch operation acting on the ammunition exchange control being longer than a preset time, the system includes displaying a split control, switching the ammunition exchange control, and displaying a cancel control. The cancel control is provided to cancel the split process in response to a touch operation acting on the cancel control. The method for interacting with a virtual firearm according to feature 14.

18. The above method further, Display a schematic diagram of the node at the location corresponding to the candidate target node, This includes visualizing and displaying the numerical value of the duration using a node schematic diagram, based on the numerical value of the duration and the numerical value corresponding to the candidate target node. The method for interacting with a virtual firearm according to claim 11 or 16.

19. The attack power of the second bullet item is related to the second number. The method for interacting with a virtual firearm according to feature 2.

20. The process of dividing the initial bullet item to generate a second number of second bullet items corresponds to the division time length, and the second number is directly proportional to the division time length. The method for interacting with a virtual firearm according to feature 2.

21. An interaction device for a virtual firearm that provides a graphical user interface on a terminal device, displays a virtual scene and ammunition exchange controls at least partially on the graphical user interface, and includes virtual objects in the virtual scene, The virtual weapon interaction device includes an initial number acquisition module, an item merging module, and a firing interaction module. The aforementioned initial number acquisition module is configured to acquire the initial number of bullet items for the virtual firearm. The item merge module is configured to merge a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet exchange control, provided that the number of initial bullet items is greater than a first preset value, and the attack power of the first bullet item is higher than the attack power of the initial bullet items. The shooting interaction module is configured to control the virtual firearm in response to a usage operation corresponding to the first bullet item, and to use the first bullet item to interact with virtual objects in the virtual scene. The attack power of the first bullet item is related to the first number. A virtual firearm interaction device characterized by the following.

22. When the program is executed by the processor, it stores a computer program that implements the virtual firearm interaction method described in any one of claims 1 to 17 or 19 to 20. A computer-readable storage medium characterized by the following features.

23. An electronic device comprising one or more processors and a memory device, The memory device stores one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the virtual firearm interaction method described in any one of claims 1 to 17 or 19 to 20. An electronic device characterized by the following features.

Citation Information

Patent Citations

  • Method and device for processing props in game, equipment and storage medium

    CN113908549A

  • Program, game apparatus, and server system

    JP2015217021A

  • Game device and game device program

    JP2019051027A

  • Information processing program, information processing system, and information processor

    JP2019159762A

  • Computer system and game system

    JP2021159269A