Virtual firearm interaction method, apparatus, storage medium and electronic device

The method and device improve virtual firearm interaction efficiency and flexibility by merging or splitting bullet items based on user operations, addressing the limitations of fixed bullet interactions.

JP2025536941APending Publication Date: 2025-11-12NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2025522547
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-10-18
Filing Date
2023-03-24
Publication Date
2025-11-12

AI Technical Summary

Technical Problem

Existing virtual firearm interaction methods lack flexibility and efficiency, requiring users to perform multiple interactions with fixed bullets, leading to wasted bullets for users with advanced skills and inadequate practice for beginners.

Method used

A method and device that allow merging or splitting bullet items based on user-defined operations, enhancing attack power and improving interaction efficiency by generating a single high-power bullet item when multiple initial items exceed a preset value, or reducing power for better flexibility.

Benefits of technology

Enhances interaction efficiency and flexibility by eliminating the need for numerous interactions, allowing users to define the interaction mode and improving the effectiveness of virtual firearm interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025536941000001_ABST
    Figure 2025536941000001_ABST
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-Citation of Related Applications

[0001] This disclosure claims priority to a Chinese patent application bearing application number 202211274167.8, filed on October 18, 2022, entitled "Virtual Firearm Interaction Method, 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 technical field of virtual interaction, and in particular to a virtual firearm interaction method, a virtual firearm interaction apparatus, a computer-readable storage medium, and an electronic device. [Background technology]

[0003] The virtual scene can include a virtual character that can control the virtual character's shooting to interact with other virtual objects in the virtual scene, where the results of the interaction include changing attributes, such as a life value attribute.

[0004] The current shooting interaction method is to use a virtual firearm based on existing bullets to shoot at a virtual object, and the effect achieved by each interaction is exactly the same.

[0005] In the above configuration, users can only interact with the virtual firearm based on fixed bullets, and users with advanced shooting skills need to interact multiple times to achieve a relatively good result through accumulation, while users who are not familiar with shooting skills are likely to waste bullets and are unable to achieve more interactions for practice or other purposes.

[0006] It should be noted that the information disclosed in the above background art section is used only to enhance understanding of the background of the present disclosure and may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0007] An embodiment of the present disclosure aims to provide a virtual firearm interaction method, a virtual firearm interaction device, a computer-readable storage medium, and an electronic device, which improve the interaction efficiency and fault tolerance rate of virtual firearm interaction.

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

[0009] A second aspect of an embodiment of the present disclosure provides a virtual firearm interaction device, providing a graphical user interface on a terminal device, and at least partially displaying a virtual scene and a bullet replacement control in the graphical user interface, wherein the virtual scene includes a virtual object. The device includes: an initial number acquisition module, an item merging module, and a shooting interaction module. The initial number acquisition module is configured to acquire a number of initial bullet items for the virtual firearm. The item merging 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 replacement control when the number of initial bullet items is greater than a first preset value, the first number being less than or equal to the number of initial bullet items and the attack power of the first bullet item being greater than the attack power of the initial bullet items. The shooting interaction module is configured to control the virtual firearm to use the first bullet item to interact with the virtual object in the virtual scene in response to a use operation on the first bullet item.

[0010] A third aspect of an embodiment of the present disclosure provides a computer-readable storage medium having stored thereon a computer program that is executed by a processor to realize a virtual firearm interaction method such as that of the first aspect of the embodiment described above.

[0011] A fourth aspect of an embodiment of the present disclosure provides an electronic device including one or more processors and a memory device, wherein the memory device stores one or more programs, and the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a virtual firearm interaction method such as that of the first aspect of the embodiment above.

[0012] The technical solutions in the embodiments of the present disclosure may include the following beneficial effects:

[0013] According to some embodiments of the present disclosure, a technical solution may be provided to obtain the number of initial bullet items for a virtual firearm; if the number of initial bullet items is greater than a first preset value, a first number of initial bullet items may be merged to generate a first bullet item in response to a first touch operation on a bullet exchange control; and, in response to a use operation on the first bullet item, the virtual firearm may be controlled to use the first bullet item to interact with a virtual object in a virtual scene. According to some embodiments of the present disclosure, when the number of bullet items is greater than the first preset value, the bullet items may be merged to enhance a predetermined shooting attribute of the virtual firearm, thereby eliminating the need for a large number of interaction operations, achieving better interaction effects and improving interaction efficiency; and, on the other hand, the interaction mode of the virtual firearm may be defined by the user, avoiding the need for a single fixed interaction mode and improving the flexibility and freedom of the interaction process.

[0014] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. [Brief explanation of the drawings]

[0015] The drawings herein are incorporated into the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the drawings in the following description are merely some embodiments of the present disclosure, and those skilled in the art can obtain other drawings based on these drawings without paying creative labor. [Figure 1] 1 is a schematic diagram of an exemplary terminal device to which the virtual firearm interaction method and virtual firearm interaction device of the present disclosure can be applied; [Figure 2] FIG. 1 is a schematic diagram illustrating a flowchart of a virtual firearm interaction method according to one embodiment of the present disclosure. [Figure 3]FIG. 10 is a schematic interface diagram of a first number selection control including multiple quantity nodes in one embodiment of the present disclosure. [Figure 4] FIG. 10 is a schematic diagram of an interface for highlighting and displaying an adjustable area in a predetermined manner according to an embodiment of the present disclosure. [Figure 5] FIG. 10 is a schematic diagram of an interface for displaying a merge control and switching a bullet exchange control to a cancel control in one embodiment of the present disclosure. [Figure 6] 10 shows a schematic diagram of an interface for displaying a split control and switching a bullet replacement control to a cancel control in one embodiment of the present disclosure. [Figure 7] FIG. 10 is a schematic diagram of an interface for visualizing and displaying duration values ​​in accordance with one embodiment of the present disclosure. [Figure 8] FIG. 1 is a schematic diagram illustrating an application scene in an exemplary embodiment of the present disclosure. [Figure 9] 1 is a schematic diagram illustrating a configuration block diagram of a virtual firearm interaction device according to an embodiment of the present disclosure. [Figure 10] 1 illustrates a schematic block diagram of a computer system suitable for use in implementing a terminal device in accordance with an embodiment of the present disclosure. DETAILED DESCRIPTION OF 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 understood as being limited to the examples described herein. On the contrary, these embodiments are provided to make the present disclosure more comprehensive and complete and to fully convey the concept of the exemplary embodiments to those skilled in the art. In the following description, many specific details are provided to provide a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will recognize that the technical aspects of the present disclosure can be implemented without one or more of the specific details, or that other methods, components, devices, steps, etc. can be adopted. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0017] Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings indicate the same or similar parts, and redundant description will be omitted. Some of the block diagrams shown in the drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor and / or microcontroller devices.

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

[0019] 1, the terminal device 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, desktop computers, portable computers, smartphones, tablets, etc.

[0020] The virtual firearm interaction method in the embodiment of the present disclosure can run on a local terminal device or a server. If the virtual firearm interaction method runs on a server, the method can be implemented and executed based on a cloud interaction system including a server and a client device.

[0021] In an optional embodiment, various cloud applications, such as cloud games, can be executed under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game execution mode, the execution entity of the game program and the presentation entity of the game screen are separated. The virtual gun interaction method is stored and executed on the cloud game server, and the client device is used to receive and transmit data and present the game screen. For example, the client device may be a display device with data transmission capabilities close to the user, such as a mobile terminal, television, computer, or handheld computer, but information processing is performed by the cloud game server. When playing a game, the player operates the client device to send operation commands to the cloud game server. The cloud game server executes the game based on the operation commands, encodes and compresses data such as game screens, returns the data to the client device via the network, and finally decodes and outputs the game screens via the client device.

[0022] In an optional embodiment, the local terminal device stores a game program, e.g., a game, and is used to render a game screen. The local terminal device is used to interact with a player via a graphical user interface. That is, a game program is typically downloaded, installed, and executed via the terminal device. The local terminal device may provide the graphical user interface to the player in various ways, such as by rendering the interface on a display screen of the terminal or by projection mapping. For example, the local terminal device may include a display and a processor for presenting a graphical user interface, including a game screen, for executing a game, generating the graphical user interface, and controlling the display of the graphical user interface.

[0023] It should be noted that the computer-readable storage medium described in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. Meanwhile, in this disclosure, the computer-readable signal medium may include a baseband data signal 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 above embodiments, or may exist separately from the terminal device without being incorporated into the terminal device. The computer-readable storage medium carries one or more programs, which, when executed by a terminal device, cause the terminal device to implement the method of the following embodiments. For example, the terminal device may implement the steps shown in FIG. 2.

[0024] In an exemplary embodiment of the present disclosure, a virtual scene may be a digital scene rendered by a smart terminal device such as a computer, mobile phone, or tablet using digital communication technology. The digital scene may be displayed on the display screen of the smart terminal device or projected onto another display device. This virtual scene may include architecture or structures such as houses, buildings, gardens, bridges, and ponds, as well as natural landscapes such as mountains, rivers, and lakes, and any virtual objects such as weapons, tools, and living creatures, although this embodiment is not limited thereto. The virtual characters are 3D solid models created using 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 installed in the virtual scene. The virtual camera may capture the virtual scene screen based on a first angle of view, a second angle of view, or another angle of view, such as a planar view, where the virtual environment is observed from a plane as seen from the air. When a planar view is used, the virtual camera may be positioned above the virtual scene. Depending on the height of the virtual camera, if the virtual camera height is low, the captured image may be a local image of the virtual scene. For example, in a multiplayer online tactical game (MOBA), if the virtual camera height is high, the captured image may be a global image of the virtual scene.

[0026] An embodiment of the present disclosure provides a virtual firearm interaction method, as shown in FIG. 2 , comprising: providing a graphical user interface on a terminal device; at least partially displaying a virtual scene and a bullet exchange control on the graphical user interface; the virtual scene including a virtual object; and In step S210, obtaining the number of initial bullet items of the virtual firearm; In step S220, if the number of the initial bullet items is greater than a first preset value, in response to a first touch operation acting on the bullet replacement control, merge a first number of the initial bullet items to generate a first bullet item, where the first number is less than or equal to the number of the initial bullet items and the attack power of the first bullet item is greater than the attack power of the initial bullet item; In step S230, in response to a use operation on the first bullet item, controlling the virtual firearm to use the first bullet item to interact with a virtual object in the virtual scene.

[0027] The virtual firearm interaction method shown in FIG. 2 acquires the number of initial bullet items for the virtual firearm. 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 on the bullet exchange control. 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 a virtual object in a virtual scene. According to an embodiment of the present disclosure, when the number of bullet items is greater than the first preset value, the bullet items are merged to enhance a predetermined shooting attribute of the virtual firearm, thereby eliminating the need for a large number of interaction operations, achieving better interaction effects and improving interaction efficiency. Meanwhile, the virtual firearm's interaction mode can be defined by the user, avoiding the need for a single fixed interaction mode and improving the flexibility and freedom of the interaction process.

[0028] The above steps of the embodiment of the present disclosure are described in detail below.

[0029] In step S210, the number of initial bullet items of the virtual firearm is obtained.

[0030] In an exemplary embodiment of the present disclosure, a virtual firearm is a virtual item, and a user can use the virtual item to control a virtual character in a virtual scene through a terminal device. A bullet item is an item associated with a virtual firearm, for example, the number of bullet items limits the number of times a virtual firearm can be fired, and one type of bullet item matches a specific virtual firearm.

[0031] Note that, like the virtual firearms and bullets, the virtual longbows and arrows can also be applied to the embodiments of the present disclosure, as well as to combinations of other virtual items with similar usage patterns. The embodiments of the present disclosure are not limited thereto.

[0032] The initial number of bullet items of a virtual firearm may be the number of bullet items attached to the virtual firearm or in the magazine, or the number of bullet items present in a virtual warehouse or a virtual backpack. The embodiments of the present disclosure are not limited thereto.

[0033] 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 replacement control, the first number of initial bullet items are merged to generate a first bullet item.

[0034] In an exemplary embodiment of the present disclosure, the first preset value may be a value set according to actual needs, for example, 1 or 4. If the first preset value is 1, the bullet items can be merged when the number of bullet items is 2 or more.

[0035] The ammunition replacement control may be configured to, in response to a click touch operation, update the number of ammunition loaded in the virtual firearm to a maximum capacity value and accordingly reduce the number of ammunition items in the virtual storehouse or virtual backpack. In response to a first touch operation acting on the ammunition replacement control, merge 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.

[0036] For example, the first touch operation acting on the bullet exchange control is in response to a long press touch operation acting on the bullet exchange control. For example, the first number can be determined based on the duration of the long press touch operation, where if the duration is 1 second, the first number can be 1, and if the duration is 2 seconds, the first number can be 2. When the merging is complete, the first number of initial bullet items is decreased and the first number of bullet items is increased.

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

[0038] In an exemplary embodiment of the present disclosure, the attack power of the first bullet item is higher than the attack power of the initial bullet item. For example, two initial bullet items are merged into one first bullet item. When the virtual firearm interacts with a virtual object based on the initial bullet item, the life value attribute of the virtual object may be reduced by 20. When the virtual firearm interacts with a virtual object based on the first bullet item, the life value attribute of the virtual object may be reduced 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 a virtual object in the virtual scene.

[0040] In an exemplary embodiment of the present 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. In this interaction, a hit determination algorithm may be used to generate a firing line based on the firing angle and direction of the virtual firearm, calculate the intersection point between this firing line and a virtual object in the virtual scene, and determine the hit virtual object based on the intersection point. Alternatively, another hit determination algorithm may identify the 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 virtual object's movement speed attribute value or life attribute value may be reduced. This can be configured according to actual needs, and the embodiments of the present disclosure do not limit the interaction effects herein.

[0041] In an exemplary embodiment 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 replacement control, and a target node is determined from the plurality of quantity nodes in response to the user operation, and the first number of initial bullet items are merged based on the first number corresponding to the target node to generate a first bullet item. Merging the first number of initial bullet items based on the first number corresponding to the target node to generate a first bullet item includes the following steps S310 to S330: In step S310, if the number of the initial bullet items is greater than a first preset value, display a first number selection control on the graphical user interface in response to a first touch operation acting on the bullet replacement control, where the first number selection control includes a plurality of quantity nodes; In step S320, a target node is determined from the plurality of quantity nodes in response to a user operation; In step S330, based on a first number corresponding to the target node, a first number of initial bullet items are merged to generate a first bullet item.

[0042] In an exemplary embodiment 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 in the graphical user interface in response to a first touch operation acting on the bullet replacement control. The first number selection control may be a bar control with number nodes arranged in order. For example, the number nodes may correspond to positive integers 1, 2, 3, ..., and the largest positive integer of the number nodes may be used to indicate the number of initial bullet items. For example, if the number of initial bullet items is four, the first number selection control includes four nodes.

[0043] The first touch operation acting on the ammunition exchange control is a continuous left / right swipe operation after pressing the ammunition exchange control, which can move left / right to select different quantity nodes on the first number selection control. A movable cursor can also be displayed on the graphical user interface, and can be moved on the first number selection control in response to the left / right swipe touch operation to select different quantity nodes.

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

[0045] According to the above steps S310 to S330, 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 in response to the user operation, a target node is determined from the multiple quantity nodes, and based on the first number corresponding to the target node, the first number of initial bullet items is merged to generate a first bullet item.

[0046] In an exemplary embodiment of the present disclosure, a merge control is displayed in response to a first touch operation acting on the bullet 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 to S420: In step S410, in response to a first touch operation acting on the bullet exchange control, a merge control is displayed; In step S420, a first number selection control is displayed in the graphical user interface in response to a touch operation acting on the merge control.

[0047] In an exemplary embodiment of the present disclosure, a merge control can be displayed in response to a first touch operation acting on the bullet exchange control. Specifically, after receiving the first touch operation acting on the bullet exchange control, the 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] The present disclosure is not particularly limited to a specific form of merge control.

[0049] Further, the merge control may be displayed in response to a first touch operation acting on the bullet replacement control only if the initial bullet item is the target bullet type or if the virtual firearm is the target firearm type.

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

[0051] Note that the present disclosure is not particularly limited to a specific method for determining a target node from a plurality of quantity nodes.

[0052] The above steps S410 to S420 allow a merge control to be displayed in response to a first touch operation acting on the bullet exchange control, and a first number selection control to be displayed on the graphical user interface in response to a touch operation acting on the merge control.

[0053] In an exemplary embodiment of the present disclosure, based on the maximum bullet item load number of the virtual firearm, a plurality of quantity nodes corresponding to the maximum bullet item load number are displayed in the first number selection control, and the adjustable area is highlighted and displayed in a predetermined manner. Highlighting and displaying the adjustable area in a predetermined manner includes the following steps S510 to S520: In step S510, display a plurality of quantity nodes corresponding to the maximum ammunition item load in the first number selection control according to the maximum ammunition item load of the virtual firearm; In step S520, the adjustable area is highlighted and displayed in a predetermined manner.

[0054] In an exemplary embodiment of the present disclosure, based on the maximum bullet item load of the virtual firearm, a first number selection control may display a plurality of quantity nodes corresponding to the maximum bullet item load, where the plurality of quantity nodes includes the same number of adjustable nodes as the initial bullet items, and the adjustable nodes correspond to adjustable ranges.

[0055] Specifically, in addition to displaying the first number selection control, 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 loaded is 4, but the number of initial bullet items currently available for merging is 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] Through steps S510 to S520, multiple quantity nodes corresponding to the maximum bullet item load capacity of the virtual firearm are displayed in the first number selection control based on the maximum bullet item load capacity, and the adjustable area is highlighted in a predetermined manner. According to an embodiment of the present disclosure, the number for merging and the maximum number can be graphically displayed in the first number selection control. This allows the user to intuitively understand the merging process, improving interaction efficiency.

[0058] In an exemplary embodiment 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 quantity nodes, a duration of the swipe operation in the graphical user interface after determining the candidate target node can be obtained, and if the duration is equal to or greater than a numerical value corresponding to the candidate target node, the candidate target node can be determined as the target node. Determining the candidate target node as the target node if the duration is equal to or greater than a 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, determining a candidate target node from the plurality of quantity nodes, where the plurality of quantity nodes includes the candidate target node; In step S620, obtain a duration of the swipe operation in the graphical user interface after determining the candidate target node; In step S630, if the duration is greater than or equal to the value corresponding to the candidate target node, the candidate target node is determined as the target node.

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

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

[0061] In an exemplary embodiment of the present disclosure, in response to a first touch operation acting on the ammunition exchange control lasting longer than a predetermined time length, a merge control may be displayed, and the ammunition exchange control may be switched to and displayed as a cancel control, where the cancel control is configured to cancel the merge process in response to the touch operation acting on the cancel control.

[0062] For example, in response to a first touch operation acting on the bullet exchange control being a long press touch operation, when the duration of the long press touch operation is longer than a predetermined time length, for example, two seconds, a merge control is displayed, and the bullet exchange control is switched to and displayed as a cancel control, and the position where the merge control is displayed can be close to the cancel control.

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

[0064] In an exemplary embodiment of the present disclosure, when the number of initial bullet items in a virtual firearm is equal to the maximum number of bullet items loaded for 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, when the number of initial bullet items in the virtual firearm reaches the maximum number of bullet items loaded, all of the initial bullet items in the virtual firearm can be merged and generated as the first bullet item.

[0065] In an exemplary embodiment of the present disclosure, the attack power of the first bullet item is related to the first number. Specifically, the attack power of the first bullet item is directly proportional to the first number.

[0066] In an exemplary embodiment of the present disclosure, in response to a first touch operation acting on the bullet replacement control, a first number of initial bullet items are generated by merging multiple first bullet items using a preset merging scheme. Here, the preset merging scheme is used to indicate the number of initial bullet items required to merge and generate one first bullet item. For example, the preset merging scheme may merge two initial bullet items into one first bullet item. For example, if there are 12 initial bullet items, these 12 initial bullet items may be merged into six first bullet items.

[0067] The present disclosure is not particularly limited to the specific form of the preset merging method.

[0068] In an exemplary embodiment of the present disclosure, 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 plurality of first candidate bullet items, and in response to a third touch operation acting on the bullet exchange control, the plurality of first candidate bullet items are merged to generate the first bullet item. Merging the plurality of first candidate bullet items to generate the first bullet item in response to the third touch operation acting on the bullet exchange control includes the following steps S710 to S720: In step S710, in response to a first touch operation acting on the bullet replacement control, a first number of initial bullet items are merged to generate a plurality of first candidate bullet items; In step S720, in response to a third touch operation acting on the bullet exchange control, the plurality of first candidate bullet items are merged to generate a first bullet item.

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

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

[0071] It should be noted that this disclosure is not limited to merging a first number of initial bullet items to generate a plurality of first candidate bullet items, and merging a plurality of first candidate bullet items to generate a first bullet item.

[0072] Through the above steps S710 to S720, 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 plurality of first candidate bullet items, and in response to a third touch operation acting on the bullet exchange control, a first bullet item is generated by merging the plurality of first candidate bullet items.

[0073] In an exemplary embodiment of the present disclosure, merging a first number of initial bullet items to generate a first bullet item corresponds to a merging time length, and the first number is directly proportional to the merging time length. Specifically, the larger the value corresponding to the first number, the longer the merging time length required to merge the first number of initial bullet items to generate the first bullet item, and the smaller the value corresponding to the first number, the shorter the merging time length required to merge the first number of initial bullet items to generate the first bullet item.

[0074] In an exemplary embodiment of the present disclosure, if the number of the 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 split 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 a virtual object in the virtual scene, including the following steps S810 to S820: In step S810, if the number of the initial bullet items is less than a second preset value, in response to a second touch operation acting on the bullet replacement control, divide the initial bullet items 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 in the virtual firearm, and the attack power of the second bullet items is lower than the attack power of the initial bullet items; In an exemplary embodiment of the present disclosure, the second preset value may be a value set according to actual needs. For example, the second preset value may be 2, that is, the number of initial bullet items is 1, in which case the initial bullet items can be divided.

[0075] The ammunition exchange control may be configured to, in response to the click touch operation, update the number of ammunition loaded in the virtual firearm to a maximum capacity value and correspondingly reduce the number of ammunition items loaded in the virtual storehouse or virtual backpack. In response to a second touch operation acting on the ammunition exchange control, split the initial ammunition item to generate two second ammunition items, where the second number is less than or equal to the maximum number of ammunition items loaded in the virtual firearm and the second ammunition items have an attack power lower than the attack power of the initial ammunition item.

[0076] For example, the second touch operation acting on the bullet exchange control is in response to a long press touch operation acting on the bullet exchange control. For example, the second number can be determined based on the duration of the long press touch operation, where if the duration is 1 second, the second number can be 1, and if the duration is 2 seconds, the second number can be 2. When the division is complete, the initial bullet item is deleted and the second bullet item is increased.

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

[0078] In an exemplary embodiment of the present disclosure, the attack power of the second bullet item is lower than the attack power of the initial bullet item. For example, the initial bullet item is split to generate two second bullet items. When the virtual firearm interacts with a virtual object based on the initial bullet item, the life value attribute of the virtual object may be reduced by 40. When the virtual firearm interacts with a virtual object based on the second bullet item, the life value attribute of the virtual object may be reduced 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 a virtual object in the virtual scene.

[0080] In an exemplary embodiment of the present disclosure, in response to a use operation on the second bullet item, a virtual firearm is controlled to use the second bullet item to interact with a virtual object in the virtual scene. In this interaction, a hit determination algorithm may be used to generate a firing line based on the shooting angle and direction of the virtual firearm, calculate the intersection point between this firing line and a virtual object in the virtual scene, and determine the hit virtual object based on the intersection point. Alternatively, another hit determination algorithm may identify the 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 movement speed attribute value or life attribute value of the virtual object may be reduced. This can be configured according to actual needs, and the embodiments of the present disclosure do not limit the interaction effects herein.

[0081] According to the above steps S810 to S820, if the number of the initial bullet items is smaller than the 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 a virtual object in the virtual scene.

[0082] In an exemplary embodiment of the present disclosure, if the number of initial bullet items is smaller 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 replacement control, and 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 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 number of the initial bullet items is less than a second preset value, display a second number selection control on the graphical user interface in response to a second touch operation acting on the bullet replacement control, where the second number selection control includes a plurality of quantity nodes; In step S920, a target node is determined from the plurality of quantity nodes in response to a user operation; In step S930, the initial bullet item is divided to generate a second number of second bullet items based on a second number corresponding to the target node.

[0083] In an exemplary embodiment 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 in the graphical user interface in response to a second touch operation acting on the bullet replacement control. The second number selection control may be a bar-shaped control, with quantity nodes arranged in order on the second number selection control. For example, the multiple quantity nodes may correspond to positive integers 1, 2, 3, ..., and the largest positive integer of the multiple quantity nodes may be used to indicate the number of second bullet items to be generated by the division.

[0084] The second touch operation acting on the ammunition exchange control may be a touch operation of pressing the ammunition exchange control followed by successive left and right swipes to select different numbers of nodes by moving left and right on the second number selection control. A movable cursor may be displayed in the graphical user interface, and the cursor may be moved on the second number selection control in response to the left and right swipes to select different numbers of nodes.

[0085] According to the above steps S910 to S930, if the number of the initial bullet items is smaller 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 in response to the user operation, a target node is determined from the plurality of quantity nodes, and based on the second number corresponding to the target node, the initial bullet items are divided to generate a second number of second bullet items.

[0086] In an exemplary embodiment of the present disclosure, a split control is displayed in response to a second touch operation acting on the bullet 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: displaying a split control in response to a second touch operation acting on the bullet exchange control; Step S1020: In response to the touch operation acting on the split control, display a second number selection control on the graphical user interface.

[0087] In an exemplary embodiment of the present disclosure, a split control can be displayed in response to a second touch operation acting on the bullet exchange control. Specifically, after receiving a second touch operation acting on the bullet exchange control, the split control is displayed on the graphical user interface. Here, the split control is used to receive the touch operation to display a second number selection control on the graphical user interface.

[0088] It should be noted that the present disclosure is not particularly limited to a specific form of division control.

[0089] Additionally, the split control may be displayed in response to a second touch operation acting on the bullet replacement control only if the initial bullet item is the target bullet type or if the virtual firearm is the target firearm type.

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

[0091] Note that the present disclosure is not particularly limited to a specific method for identifying a target node from a plurality of quantity nodes.

[0092] The above steps S1010 to S1020 allow a split control to be displayed in response to a second touch operation acting on the bullet exchange control, and a second number selection control to be displayed in the graphical user interface in response to a touch operation acting on the split control.

[0093] In an exemplary embodiment 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 quantity nodes, a duration in a graphical user interface of the swipe operation after determining the candidate target node is obtained, and if the duration is equal to or greater than a numerical value corresponding to the candidate target node, the candidate target node is determined as the target node. Determining the candidate target node as the target node if the duration is equal to or greater than a numerical value corresponding to the candidate target node includes the following steps S1110 to S1130: In step S1110, determining a candidate target node from the plurality of quantity nodes in response to a swipe operation acting on the split control; In step S1120, obtain a duration of the swipe operation in the graphical user interface after determining the candidate target node; In step S1130, if the duration is greater than or equal to the value corresponding to the candidate target node, the candidate target node is determined as the target node.

[0094] In an exemplary embodiment of the present disclosure, in the process of determining a target node, a candidate target node is first determined from a plurality of quantity nodes, and then the duration of the swipe operation in the graphical user interface after determining the candidate target node is obtained, and the candidate target node is determined 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 determining the candidate target node is obtained, and if the swipe operation is held for 2 seconds, the candidate target node is further determined as the target node.

[0095] Through the above steps S1110 to S1130, in response to a swipe operation acting on the split control, a candidate target node can be determined from a plurality of quantity nodes, the duration of the swipe operation in the graphical user interface after determining the candidate target node can be obtained, and if the duration is equal to or greater than 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 duration of the second touch operation acting on the ammunition exchange control being greater than a preset time length, a split control is displayed and the ammunition exchange control is switched to display a cancel control, where the cancel control is configured to cancel the split process in response to the touch operation acting on the cancel control.

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

[0098] For example, as shown in FIG. 6 , the cancel control 601 is displayed in response to the duration of a second touch operation acting on the bullet exchange control being greater than a preset time, and simultaneously generates and displays a split control 602, which can cancel the unmerge process in response to a touch operation acting on the cancel control 601 again.

[0099] In an exemplary embodiment of the present disclosure, a node schematic diagram is displayed at a position corresponding to the candidate target node, and the node schematic diagram is used to visualize and display the duration value 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, display a node schematic diagram at a position corresponding to the candidate target node; In step S1220, based on the duration value and the values ​​corresponding to the candidate target nodes, a node schematic diagram is used to visualize and display the duration value.

[0100] In an exemplary embodiment of the present disclosure, a node schematic diagram is displayed at a position corresponding to the candidate target node. For example, the node schematic diagram may be a circle or a ring.

[0101] Specifically, based on the duration values ​​and the values ​​corresponding to the candidate target nodes, a node schematic diagram can be utilized to visualize and display the duration values.

[0102] For example, a circular filling rate or circular display rate can be calculated from the duration values ​​and the values ​​corresponding to the candidate target nodes.

[0103] For example, as shown in Figure 7, the 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 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 the time progression and once progression is complete, the cancel control 701 allows the merge or burst process to be canceled.

[0104] According to the above steps S1210 to S1220, a node schematic diagram is displayed at a position corresponding to the candidate target node, and the node schematic diagram can be used to visualize and display the duration value based on the duration value and the value corresponding to the candidate target node. The embodiment of the present disclosure can visualize and display the time progress in the process of determining, merging, and splitting target nodes, and can visually display progress information, thereby improving interaction efficiency and intuitive information transmission.

[0105] In an exemplary embodiment of the present disclosure, the attack power of the second bullet item is related to the second number. Specifically, the attack power of the second bullet item can be inversely proportional to the second number.

[0106] In an exemplary embodiment of the present disclosure, splitting an initial bullet item to generate a second number of second bullet items corresponds to a splitting time length, and the second number is directly proportional to the splitting time length. Specifically, the larger the value corresponding to the second number, the longer the splitting time length required to split the initial bullet item into the second bullet items, and the smaller the value corresponding to the second number, the shorter the splitting time length required to split the initial bullet item into the second bullet items.

[0107] Next, an application scenario of this embodiment is provided. A schematic diagram of a graphical user interface is shown in FIG. 8. This interface includes a game scene and virtual objects in the game scene, which are not shown in FIG. 8. A player controls the movement of the virtual objects within the game scene. The interface in FIG. 8 shows multiple controls displayed above the game scene.

[0108] Here, 800 is a backpack control, and a touch operation acting on this control triggers the display of a backpack interface in the graphical user interface, configured to display item(s) in the backpack sack, including, but not limited to, items such as medicines, weapons, parts, and armor. In an optional embodiment, an edge line is configured around the edge of the backpack control to indicate the amount of items in the backpack. Here, touch operations acting on the backpack control can include clicking, double-clicking, long pressing, swiping, and the like.

[0109] Reference numeral 802 denotes a movement control, and the shaded circle is the rocker of the movement control. In an optional embodiment, the movement control constitutes a movement response area, where the movement response area may be the same size as the movement control, i.e., the area in the graphical user interface corresponding to the movement control, 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 set within the movement response area, and the graphical user interface is divided into left and right areas from the center in terms of distance, 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 the movement direction of the virtual object is controlled 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 clicking, double-clicking, long-pressing, or swiping.

[0110] When it is detected that the touch operation triggering the movement control command satisfies a preset condition, a "sprint" command is triggered, and the virtual object is controlled to automatically continue running within the game scene. As shown in FIG. 8 , in an optional embodiment, when the touch operation triggering the movement control command satisfies a preset condition, the touch operation acting on the rocker area swipes along a preset direction to a preset distance or a preset area (e.g., the position indicated by the up arrow on the rocker). For example, when the touch operation drags the rocker lever upward, the sprint control 806 is displayed, and when this sprint control is triggered, the virtual object enters high-speed running mode. At the same time, the 830 control is also a sprint control, and when the 830 control is clicked, the virtual object enters high-speed running mode. In an alternative embodiment, when the touch operation triggering the movement control command satisfies a preset condition, the touch operation acting on the rocker area satisfies a preset time, a preset pressure, or the like.

[0111] Both 804 and 814 are attack controls. A touch operation acting on the attack response area of ​​the attack control triggers an attack command, and the virtual character is controlled based on the attack command to perform an attack operation in the game scene. Here, the attack action performed by the attack control corresponds to the current assembly state of the virtual object. For example, if a ranged weapon is assembled on the virtual object, the attack control triggers a shooting action of the attack action, i.e., the left hand triggers a shooting operation using the trigger 804 control, and the right hand triggers a shooting operation using the trigger 814 control. If the virtual character is equipped with a melee weapon, the attack control triggers a slashing action of the attack action. In an optional embodiment, only one of the attack controls 804 and 814 is displayed. However, the display position of the attack control can be adjusted based on a position setting command triggered either in the setting interface or during the game. Touch operations acting on the attack control include clicking, double-clicking, long pressing, swiping, etc.

[0112] Reference numerals 808 and 810 denote attitude controls, and touch operations acting on the attitude controls trigger attitude adjustment commands to adjust the attitude of a virtual object in a game scene. Here, trigger 808 control can control a weapon to be positioned at the left arm of the virtual object and cause the virtual object to stand with its head turned to the left, while trigger 810 control can control a weapon to be positioned at the right arm of the virtual object and cause the virtual object to stand with its head turned to the right. 808 and 810 are often configured to control the attitude of a virtual object after avoiding obstacles such as walls or large trees. Here, touch operations acting on the attitude controls can include clicking, double-clicking, long-pressing, swiping, and the like.

[0113] 812 is the weapon slot, and triggering it allows the player to switch weapons. The "Rapid Fire" button on the left indicates the current firing mode, which fires multiple shots in rapid succession. In addition to the "Rapid Fire" mode, the player can also switch to "Single Fire," which fires a single bullet. The shadow bar below indicates the amount of bullets in the weapon. When firing, the amount of bullets decreases continuously. When the amount of bullets reaches zero, the weapon automatically replaces the bullets, at which point the amount of bullets is at its maximum. Control 816 is the bullet replacement control. Triggering a bullet replacement adds bullets to the currently used weapon, and after the bullet replacement, the amount of bullets is at its maximum. Touch operations that affect the weapon slot include clicking, double-clicking, long-pressing, and swiping.

[0114] Controls 818 and 820 are action controls, and touch operations acting on the action controls cause a virtual object to perform a corresponding action in a game scene. For example, triggering 818 can cause the virtual object to squat, and triggering 820 can cause the virtual object to take a ground position. Control 822 can control the virtual object to perform a jump. Here, touch operations acting on the action controls can include clicking, double-clicking, long-pressing, swiping, etc.

[0115] The 824 control is configured to control the current game scene to enter a sight display mode. When a first touch operation acting on the control 824 is detected, the control enters the sight display mode, which displays a sight lens on the game scene and also displays the game scene as seen by the virtual object through the sight lens, thereby improving shooting accuracy. When a second touch operation acting on the control 824 is detected, the control exits the sight display mode. In an optional embodiment, the first touch operation and the second touch operation are independent touch operations. For example, clicking the 824 control controls the current game scene to enter the sight display mode, and clicking the 824 control again exits the sight display and again displays the game scene captured by the virtual camera together with the virtual object. In an optional embodiment, the first touch operation and the second touch operation may be a touch operation start operation and an end operation that control the game scene to enter the aiming display mode when the control of the touch operation 824 is detected, control the game scene to continue in the aiming display mode during a sustained press, and control the game scene to exit the aiming display mode when a touch-off that triggers the touch operation is detected leaving the touch detection area.

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

[0117] The 828 control is a marker control, and a touch operation acting on the marker control marks a virtual object in the game scene. The 832 control is a setting control, and clicking the 832 control displays a setting menu to set the basic functions of the current game. The touch operation acting on the 828 control can be a click, double-click, long press, swipe, etc.

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

[0119] In addition to the above application scenarios, the virtual firearm interaction method of the present disclosure can be implemented by obtaining a number of initial bullet items for the virtual firearm, merging the first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement 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 a virtual object in the virtual scene in response to a use operation on the first bullet item.

[0120] In addition to the above application scenarios, the player can trigger the virtual firearm interaction method of this embodiment through the bullet replacement control 816.

[0121] Some embodiments of the present disclosure provide a technical solution that obtains the number of initial bullet items for a virtual firearm, and when the number of initial bullet items is greater than a first preset value, merges 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, and controls the virtual firearm to use the first bullet item in response to a use operation on the first bullet item. According to the embodiments of the present disclosure, when the number of bullet items is greater than the first preset value, the bullet items can be merged to enhance a predetermined shooting attribute of the virtual firearm, thereby eliminating the need for a large number of interaction operations, achieving better interaction effects and improving interaction efficiency; and allowing the user to define the interaction mode of the virtual firearm, avoiding the need for a single fixed interaction mode and improving the flexibility and freedom of the interaction process.

[0122] Furthermore, an embodiment of the present disclosure provides a virtual firearm interaction device 900. The virtual firearm interaction device 900 provides a graphical user interface on a terminal device, and at least partially displays a virtual scene and a bullet exchange control on the graphical user interface, and the virtual scene includes a virtual object. As shown in FIG. 9 , the virtual firearm interaction device 900 includes an initial number acquisition module 910 and an item merge module 920. The initial number acquisition module 910 is configured to acquire a number of initial bullet items for the 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 bullet 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 greater than the attack power of the initial bullet item; and the shooting interaction module 930 is configured to control the virtual firearm to utilize the first bullet item to interact with a virtual object in the virtual scene in response to a use operation on the first bullet item.

[0123] In an exemplary embodiment of the present disclosure, the device further includes a second preset value comparison unit, which is configured to, when the number of the initial bullet items is smaller than a second preset value, divide the initial bullet items to generate a second number of second bullet items in response to a second touch operation acting on the bullet replacement control, where the second number is equal to or smaller than a 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; and a second use operation response unit, which is configured to, in response to a use operation on the second bullet items, control the virtual firearm to utilize the second bullet items to interact with a virtual object in the virtual scene.

[0124] In an exemplary embodiment of the present disclosure, as the step of merging the first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control when the number of initial bullet items is greater than a first preset value, the device further includes a first preset value comparison unit, which is configured to display a first number selection control on the graphical user interface in response to a first touch operation acting on the bullet replacement control when the number of initial bullet items is greater than the first preset value, wherein the first number selection control includes a plurality of quantity nodes, the 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 the first number reference unit is configured to merge the first number of initial bullet items to generate the first bullet item based on a first number corresponding to the target node.

[0125] In an exemplary embodiment of the present disclosure, as a step of displaying a first number selection control on the graphical user interface in response to a first touch operation acting on the bullet replacement control, the device further includes a merge control display unit and a merge touch response unit, wherein the merge control display unit is configured to display the merge control in response to a first touch operation acting on the bullet replacement control, and the merge touch response unit is configured to display the first number selection control on the graphical user interface in response to a touch operation acting on the merge control.

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

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

[0128] In an exemplary embodiment 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 the merge control, the apparatus 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 the plurality of quantity nodes in response to a swipe operation acting on the merge control, where the plurality of quantity nodes include the candidate target node, the first duration acquisition unit is configured to acquire a duration in the graphical user interface of the swipe operation after determining the candidate target node, and the first duration comparison unit is configured to determine 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.

[0129] In an exemplary embodiment of the present disclosure, as the step of displaying the 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 the 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 predetermined time length, wherein the cancel control is configured to cancel the merging process in response to the touch operation acting on the cancel control.

[0130] In an exemplary embodiment of the present disclosure, in response to a first touch operation acting on the bullet replacement control, a first number of initial bullet items are merged to generate a first bullet item, and the device further includes a maximum load number merging unit configured to merge the initial bullet items in the virtual firearm to generate the first bullet item when the number of initial bullet items in the virtual firearm is equal to the maximum load number of bullet items for the virtual firearm, where the number of initial bullet items in the virtual firearm is the first number.

[0131] In an exemplary embodiment of the present disclosure, the offensive power of the first projectile item is related to the first number.

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

[0133] In an exemplary embodiment of the present disclosure, merging 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 includes a first candidate bullet item merging unit and a first bullet item re-merging unit, where the first candidate bullet item merging unit is configured to merge the first number of initial bullet items to generate a plurality of first candidate bullet items in response to the first touch operation acting on the bullet exchange control, and the first bullet item re-merging unit is configured to merge the plurality of first candidate bullet items to generate the first bullet item in response to a third touch operation acting on the bullet exchange control.

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

[0135] In an exemplary embodiment of the present disclosure, as the 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 bullet replacement control when the number of the initial bullet items is smaller 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 the graphical user interface in response to a second touch operation acting on the bullet replacement control when the number of the initial bullet items is smaller than the second preset value, wherein the second number selection control includes a plurality of quantity nodes, and 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 the second number of second bullet items based on the second number corresponding to the target node.

[0136] In an exemplary embodiment of the present disclosure, as the step of displaying a second number selection control on the graphical user interface in response to a second touch operation acting on the bullet replacement control, the device further includes a split control display unit and a split control touch unit, where the split control display unit is configured to display the split control in response to a second touch operation acting on the bullet replacement control, and the split control touch unit is configured to display the second number selection control on the graphical user interface in response to a touch operation acting on the split control.

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

[0138] In an exemplary embodiment of the present disclosure, as a step of determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the split control, the apparatus 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 the plurality of quantity nodes in response to a swipe operation acting on the split control, the second duration acquisition unit is configured to acquire a duration in the graphical user interface of the swipe operation after determining the candidate target node, and the second duration comparison unit is configured to determine 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.

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

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

[0141] In an exemplary embodiment of the present disclosure, the offensive power of the second projectile item is related to the second number.

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

[0143] It should be noted that although the above detailed description describes several modules or units of an apparatus configured to perform operations, such division is not mandatory. In fact, according to embodiments of the present disclosure, features and functions of two or more of the above-described modules or units may be embodied in a single module or unit. Conversely, features and functions of a single module or unit may be further divided and embodied in multiple modules or units.

[0144] An exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-described virtual firearm interaction method.

[0145] Those skilled in the art will appreciate that various aspects of the present disclosure may be embodied as a system, method, or program product. Accordingly, various aspects of the present disclosure may be referred to herein collectively as a "circuit," "module," or "system" in the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.), or an embodiment that merges hardware and software aspects.

[0146] An electronic device 1000 according to such an embodiment of the present disclosure will now be described with reference to Fig. 10. The electronic device 1000 shown in Fig. 10 is merely an example and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.

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

[0148] Here, the storage unit stores program code, and the processing unit 1010 can execute the program code to perform steps in various embodiments of the present disclosure described in the "Example Method" section above. For example, the processing unit 1010 can execute the method shown in FIG. 2 , in which, in step S210, the number of initial bullet items of a virtual firearm is obtained; in step S220, the number of initial bullet items is greater than a first preset value, and in response to a first touch operation acting on a bullet replacement control, the first number of initial bullet items is 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 greater than the attack power of the initial bullet item; and 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 a virtual object in a virtual scene.

[0149] In an exemplary embodiment of the present disclosure, based on the above technical proposal, when the number of initial bullet items is smaller than a second preset value, and in response to a second touch operation acting on the bullet replacement control, the initial bullet items are divided to generate a second number of second bullet items, where the second number is equal to or smaller than the maximum number of bullet items loaded in the virtual firearm and the attack power of the second bullet items is lower than the attack power 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 a virtual object in the virtual scene.

[0150] In an exemplary embodiment of the present disclosure, based on the above technical solution, when the number of initial bullet items is greater than a first preset value, in response to a first touch operation acting on the bullet replacement control, merging the first number of initial bullet items to generate a first bullet item; when the number of initial bullet items is greater than the first preset value, in response to a first touch operation acting on the bullet replacement control, displaying a first number selection control on the graphical user interface, where the first number selection control includes a plurality of quantity nodes, in response to a user operation, determining a target node from the plurality of quantity nodes, and merging the first number of initial bullet items based on a first number corresponding to the target node to generate the first bullet item.

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

[0152] In an exemplary embodiment of the present disclosure, based on the above technical proposal, determining a target node from a plurality of quantity nodes in response to a user operation includes determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a merge control.

[0153] In an exemplary embodiment of the present disclosure, based on the above technical solution, displaying a first number selection control in the graphical user interface includes: displaying a plurality of quantity nodes corresponding to the maximum number of bullet items in the first number selection control based on the maximum number of bullet items loaded in the virtual firearm, where the plurality of quantity nodes include the same number of adjustable nodes as the initial bullet items, and the adjustable nodes correspond to adjustable areas, and highlighting and displaying the adjustable areas in a predetermined manner.

[0154] In an exemplary embodiment of the present disclosure, based on the above technical proposal, determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a merge control includes determining a candidate target node from a plurality of quantity nodes in response to a swipe operation acting on a merge control, where the candidate target node is included in the plurality of quantity nodes, obtaining a duration in the graphical user interface of the swipe operation 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.

[0155] In an exemplary embodiment of the present disclosure, based on the above technical solution, displaying a merge control in response to a first touch operation acting on the bullet exchange control includes displaying the merge control and switching the bullet exchange control to display a cancel control in response to the duration of the first touch operation acting on the bullet exchange control being greater than a preset time length, where the cancel control includes canceling the merge process in response to the touch operation acting on the cancel control.

[0156] In an exemplary embodiment of the present disclosure, based on the above technical proposal, merging a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control includes: merging the initial bullet items in the virtual firearm to generate the first bullet item when the number of initial bullet items in the virtual firearm is equal to the maximum number of bullet items loaded for the virtual firearm, wherein the number of initial bullet items in the virtual firearm is the first number.

[0157] In an exemplary embodiment of the present disclosure, based on the above technical solution, the attack power of the first bullet item is related to the first number.

[0158] In an exemplary embodiment of the present disclosure, based on the above technical solution, merging 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 includes: merging the first number of initial bullet items according to a preset merging scheme to generate a plurality of first bullet items in response to the first touch operation acting on the bullet exchange control, where the preset merging scheme indicates the number of initial bullet items required to be merged to generate one first bullet item.

[0159] In an exemplary embodiment of the present disclosure, based on the above technical proposal, merging 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 includes: merging the first number of initial bullet items to generate a plurality of first candidate bullet items in response to a first touch operation acting on the bullet exchange control; and merging the plurality of first candidate bullet items to generate the first bullet item in response to a third touch operation acting on the bullet exchange control.

[0160] In an exemplary embodiment of the present disclosure, based on the above technical proposal, merging a first number of initial bullet items to generate a first bullet item corresponds to a merging time length, and the first number is directly proportional to the merging time length.

[0161] In an exemplary embodiment of the present disclosure, based on the above technical solution, when the number of initial bullet items is smaller than a second preset value, dividing the initial bullet items to generate a second number of second bullet items in response to a second touch operation acting on the bullet replacement control includes: when the number of initial bullet items is smaller than the second preset value, displaying a second number selection control on the graphical user interface in response to a second touch operation acting on the bullet replacement control, wherein the second number selection control includes a plurality of quantity nodes; in response to a user operation, determining a target node from the plurality of quantity nodes; and dividing the initial bullet items to generate the second number of second bullet items based on a second number corresponding to the target node.

[0162] In an exemplary embodiment of the present disclosure, based on the above technical proposal, displaying a second number selection control on the graphical user interface in response to a second touch operation acting on the bullet exchange control includes displaying a split control in response to a second touch operation acting on the bullet exchange control, and displaying a second number selection control on the graphical user interface in response to a touch operation acting on the split control.

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

[0164] In an exemplary embodiment of the present disclosure, based on the above technical proposal, determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control includes: determining a candidate target node from a plurality of quantity nodes in response to a swipe operation acting on the split control; obtaining a duration in the graphical user interface of the swipe operation 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.

[0165] In an exemplary embodiment of the present disclosure, based on the above technical solution, displaying a split control in response to a second touch operation acting on the bullet exchange control includes displaying the split control in response to the duration of the second touch operation acting on the bullet exchange control being greater than a preset time length, and switching the bullet exchange control to display a cancel control, where the cancel control includes canceling the split process in response to a touch operation acting on the cancel control.

[0166] In an exemplary embodiment of the present disclosure, based on the above technical proposal, a node schematic diagram is displayed at a position corresponding to the candidate target node, and the node schematic diagram is used to visualize and display the duration numerical value based on the duration numerical value and the numerical value corresponding to the candidate target node.

[0167] In an exemplary embodiment of the present disclosure, based on the above technical solution, the attack power of the second bullet item is related to the second number.

[0168] In an exemplary embodiment of the present disclosure, based on the above technical proposal, 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.

[0169] In some embodiments of the present disclosure, an electronic device may acquire a number of initial bullet items for a virtual firearm, and, when the number of initial bullet items is greater than a first preset value, merge 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. In response to a use operation on the first bullet item, control the virtual firearm to use the first bullet item to interact with a virtual object in a virtual scene. According to some embodiments of the present disclosure, when the number of bullet items is greater than the first preset value, the bullet items may be merged to enhance a predetermined shooting attribute of the virtual firearm, thereby eliminating the need for a large number of interaction operations, achieving better interaction effects and improving interaction efficiency. Furthermore, the electronic device may define an interaction mode for the virtual firearm, avoiding the need for a single fixed interaction mode and improving the flexibility and freedom of the interaction process.

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

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

[0172] Bus 1030 may represent one or more of several classes of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphical acceleration port, a processing unit, or a local bus using any of a number of bus structures.

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

[0174] From the above description of the embodiments, it is easy for those skilled in the art to understand that the exemplary embodiments described herein can be realized by software, or by combining necessary hardware and software. Therefore, the technical aspects of the embodiments of the present disclosure may be embodied in the form of a software product that may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB disk, a mobile hard disk, etc.) and includes instructions for performing the methods of the embodiments of the present disclosure.

[0175] Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the methods described herein. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product configured to cause a terminal device to perform steps according to various embodiments of the present disclosure described in the "Example Method" section above of this specification when the program product is executed on the terminal device.

[0176] In an exemplary embodiment of the present disclosure, a graphical user interface is provided on a terminal device, and a virtual scene and a bullet replacement control are at least partially displayed on the graphical user interface, and the virtual scene includes a virtual object, and the method includes: obtaining a number of initial bullet items for a virtual firearm; 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 replacement control, merging the 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 an attack power of the first bullet item is greater than the attack power of the initial bullet item; and in response to a use operation on the first bullet item, controlling the virtual firearm to utilize the first bullet item to interact with the virtual object in the virtual scene.

[0177] In an exemplary embodiment of the present disclosure, based on the above technical proposal, when the number of initial bullet items is smaller than a second preset value, and in response to a second touch operation acting on the bullet replacement control, the initial bullet items are divided to generate a second number of second bullet items, where the second number is equal to or smaller than the maximum number of bullet items loaded in the virtual firearm and the attack power of the second bullet items is lower than the attack power 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 a virtual object in the virtual scene.

[0178] In an exemplary embodiment of the present disclosure, based on the above technical solution, when the number of initial bullet items is greater than a first preset value, merging the first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control includes: when the number of initial bullet items is greater than the first preset value, displaying a first number selection control on a graphical user interface in response to a first touch operation acting on the bullet replacement control, wherein the first number selection control includes a plurality of quantity nodes; in response to a user operation, determining a target node from the plurality of quantity nodes; and merging the first number of initial bullet items to generate the first bullet item based on a first number corresponding to the target node.

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

[0180] In an exemplary embodiment of the present disclosure, based on the above technical proposal, determining a target node from a plurality of quantity nodes in response to a user operation includes determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a merge control.

[0181] In an exemplary embodiment of the present disclosure, based on the above technical solution, displaying a first number selection control in the graphical user interface includes: displaying a plurality of quantity nodes corresponding to the maximum number of bullet items in the first number selection control based on the maximum number of bullet items loaded in the virtual firearm, where the plurality of quantity nodes include the same number of adjustable nodes as the initial bullet items, and the adjustable nodes correspond to adjustable areas, and highlighting and displaying the adjustable areas in a predetermined manner.

[0182] In an exemplary embodiment of the present disclosure, based on the above technical proposal, determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a merge control includes: determining a candidate target node from a plurality of quantity nodes in response to a swipe operation acting on a merge control, where the candidate target node is included in the plurality of quantity nodes; obtaining a duration in the graphical user interface of the swipe operation 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.

[0183] In an exemplary embodiment of the present disclosure, based on the above technical solution, displaying a merge control in response to a first touch operation acting on the bullet exchange control includes displaying the merge control and switching the bullet exchange control to display a cancel control in response to the duration of the first touch operation acting on the bullet exchange control being greater than a preset time length, where the cancel control includes canceling the merge process in response to the touch operation acting on the cancel control.

[0184] In an exemplary embodiment of the present disclosure, based on the above technical proposal, merging a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control includes: merging the initial bullet items in the virtual firearm to generate the first bullet item when the number of initial bullet items in the virtual firearm is equal to the maximum number of bullet items loaded for the virtual firearm, wherein the number of initial bullet items in the virtual firearm is the first number.

[0185] In an exemplary embodiment of the present disclosure, based on the above technical solution, the attack power of the first bullet item is related to the first number.

[0186] In an exemplary embodiment of the present disclosure, based on the above technical solution, merging 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 includes: merging the first number of initial bullet items according to a preset merging scheme to generate a plurality of first bullet items in response to the first touch operation acting on the bullet exchange control, where the preset merging scheme indicates the number of initial bullet items required to be merged to generate one first bullet item.

[0187] In an exemplary embodiment of the present disclosure, based on the above technical proposal, merging 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 includes: merging the first number of initial bullet items to generate a plurality of first candidate bullet items in response to a first touch operation acting on the bullet exchange control; and merging the plurality of first candidate bullet items to generate the first bullet item in response to a third touch operation acting on the bullet exchange control.

[0188] In an exemplary embodiment of the present disclosure, based on the above technical proposal, merging a first number of initial bullet items to generate a first bullet item corresponds to a merging time length, and the first number is directly proportional to the merging time length.

[0189] In an exemplary embodiment of the present disclosure, based on the above technical solution, when the number of initial bullet items is less than a second preset value, dividing the initial bullet items to generate a second number of second bullet items in response to a second touch operation acting on the bullet replacement control includes: when the number of initial bullet items is less than the second preset value, displaying a second number selection control on the graphical user interface in response to a second touch operation acting on the bullet replacement control, wherein the second number selection control includes a plurality of quantity nodes; determining a target node from the plurality of quantity nodes in response to a user operation; and dividing the initial bullet items to generate the second number of second bullet items based on a second number corresponding to the target node.

[0190] In an exemplary embodiment of the present disclosure, based on the above technical proposal, displaying a second number selection control on the graphical user interface in response to a second touch operation acting on the bullet exchange control includes: displaying a split control in response to a second touch operation acting on the bullet exchange control; and displaying a second number selection control on the graphical user interface in response to a touch operation acting on the split control.

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

[0192] In an exemplary embodiment of the present disclosure, based on the above technical proposal, determining a target node from a plurality of quantity nodes in response to a swipe operation acting on a split control includes: determining a candidate target node from a plurality of quantity nodes in response to a swipe operation acting on the split control; obtaining a duration in the graphical user interface of the swipe operation 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 an exemplary embodiment of the present disclosure, based on the above technical solution, displaying a split control in response to a second touch operation acting on the bullet exchange control includes displaying the split control in response to the duration of the second touch operation acting on the bullet exchange control being greater than a preset time length, and switching the bullet exchange control to display a cancel control, where the cancel control includes canceling the split process in response to a touch operation acting on the cancel control.

[0194] In an exemplary embodiment of the present disclosure, based on the above technical proposal, the method includes displaying a node schematic diagram at a position corresponding to the candidate target node, and visualizing and displaying the duration numerical value using the node schematic diagram based on the duration numerical value and the numerical value corresponding to the candidate target node.

[0195] In an exemplary embodiment of the present disclosure, based on the above technical solution, the attack power of the second bullet item is related to the second number.

[0196] In an exemplary embodiment of the present disclosure, based on the above technical proposal, 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.

[0197] Some embodiments of the present disclosure provide a computer-readable signal medium for acquiring the number of initial bullet items for a virtual firearm, and, when the number of initial bullet items is greater than a first preset value, 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. In response to a use operation on the first bullet item, controlling the virtual firearm to use the first bullet item to interact with a virtual object in a virtual scene. According to embodiments of the present disclosure, when the number of bullet items is greater than the first preset value, the bullet items can be merged to enhance a predetermined shooting attribute of the virtual firearm, thereby eliminating the need for a large number of interaction operations, achieving better interaction effects and improving interaction efficiency. Also, the user can define the interaction mode of the virtual firearm, avoiding the need for a single fixed interaction mode and improving the flexibility and freedom of the interaction process.

[0198] A computer-readable signal medium may include a propagated data signal, either contained in baseband or as part of a carrier wave, carrying readable program code. Such a propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A readable signal medium may be any readable medium other than a readable storage medium that can transmit, propagate, or transmit a program of instructions for use by or in connection with a system, apparatus, or device.

[0199] The program code contained in the readable medium may be transmitted over any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0200] Program code configured to perform the operations of the present disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​(e.g., Java, C++, etc.) and conventional procedural programming languages ​​such as "C." The program code can execute entirely on the user computing device, partially on the user device, as a separate package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. When referring to a remote computing device, the remote computing device can be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., connected via the Internet using an Internet Service Provider).

[0201] It is also understood that the above-mentioned drawings are schematic illustrations of the processes included in the method in the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is also understood that the processes shown in the above-mentioned drawings do not indicate or limit the time sequence of these processes. It is also understood that these processes may be performed synchronously or asynchronously in multiple modules, for example.

[0202] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure in accordance with the general principles of the present disclosure, including common knowledge or customary technical means known in the art but not disclosed herein. The specification and embodiments are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.

Claims

1. 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 a bullet exchange control on the graphical user interface; and the virtual scene including a virtual object, the method comprising: Obtaining the number of initial bullet items for the virtual firearm; When the number of the initial bullet items is greater than a first preset value, in response to a first touch operation acting on the bullet replacement control, merge a first number of the initial bullet items to generate a first bullet item, the first number being less than or equal to the number of the initial bullet items, and the attack power of the first bullet item being greater than the attack power of the initial bullet item; and in response to a use operation corresponding to the first bullet item, controlling the virtual firearm to use the first bullet item to interact with a virtual object in a virtual scene. A method for interacting with a virtual firearm.

2. The method further comprises: If the number of the initial bullet items is smaller than a second preset value, in response to a second touch operation acting on the bullet replacement control, split the initial bullet items to generate a second number of second bullet items, the second number being equal to or less than a maximum number of bullet items loaded for the virtual firearm, and the attack power of the second bullet items being lower than the attack power of the initial bullet items; and in response to a use operation on the second bullet item, controlling the virtual firearm to use the second bullet item to interact with a virtual object in a virtual scene.

2. The virtual firearm interaction method of claim 1.

3. merging a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control when the number of the initial bullet items is greater than a first preset value; If the number of the initial bullet items is greater than a first preset value, displaying a first number selection control in the graphical user interface in response to a first touch operation acting on the bullet replacement control, the first number selection control including a plurality of quantity nodes; determining a target node from the plurality of quantity nodes in response to a user operation; and generating a first bullet item by merging the first number of initial bullet items based on a first number corresponding to the target node.

2. The virtual firearm interaction method of claim 1.

4. Displaying a first number selection control on the graphical user interface in response to a first touch operation acting on the bullet replacement control includes: displaying a merge control in response to a first touch operation acting on the bullet exchange control; and displaying a first number selection control in the graphical user interface in response to a touch operation acting on the merge control.

4. The virtual firearm interaction method of claim 3.

5. Determining a target node from the plurality of quantity nodes in response to the user operation includes: determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the merge control.

4. The virtual firearm interaction method of claim 3.

6. Displaying a first number selection control in the graphical user interface includes: Displaying a plurality of quantity nodes corresponding to the maximum number of bullet items loaded in the first number selection control based on the maximum number of bullet items loaded in the virtual firearm, the plurality of quantity nodes including the same number of adjustable nodes as the number of the initial bullet items, and the adjustable nodes corresponding to adjustable regions; and highlighting and displaying the adjustable area in a predetermined manner.

4. The virtual firearm interaction method of claim 3.

7. Determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the merge control includes: determining a candidate target node from the plurality of quantity nodes in response to a swipe operation acting on the merge control, the candidate target node being included in the plurality of quantity nodes; obtaining a duration of the swipe operation within the graphical user interface after determining the candidate target node; and determining the candidate target node as a target node if the duration is greater than or equal to a value corresponding to the candidate target node.

6. The method of claim 5, wherein the virtual firearm interaction method comprises:

8. Displaying a merge control in response to a first touch operation acting on the bullet exchange control includes: In response to a first touch operation acting on the bullet exchange control having a duration longer than a predetermined time length, displaying a merge control and switching the bullet 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.

5. The virtual firearm interaction method of claim 4.

9. Merging a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control includes: merging the initial bullet items in the virtual firearm to generate a first bullet item when the number of initial bullet items in the virtual firearm is equal to a maximum number of bullet items loaded for the virtual firearm; The number of initial bullet items in the virtual firearm is a first number.

2. The virtual firearm interaction method of claim 1.

10. The attack power of the first bullet item is related to the first number.

2. The virtual firearm interaction method of claim 1.

11. Merging a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control includes: merging a first number of initial bullet items according to a preset merging scheme to generate a plurality of first bullet items in response to a first touch operation acting on the bullet replacement control; The preset merging method is set to indicate the number of initial bullet items required to merge and generate one first bullet item.

2. The virtual firearm interaction method of claim 1.

12. Merging a first number of initial bullet items to generate a first bullet item in response to a first touch operation acting on the bullet replacement control includes: merging a first number of initial bullet items to generate a plurality of first candidate bullet items in response to a first touch operation acting on the bullet replacement control; and generating a first bullet item by merging a plurality of first candidate bullet items in response to a third touch operation acting on the bullet exchange control.

2. The virtual firearm interaction method of claim 1.

13. Merging the first number of initial bullet items to generate a first bullet item corresponds to a merge time length, and the first number is directly proportional to the merge time length.

2. The virtual firearm interaction method of claim 1.

14. dividing the initial bullet items to generate a second number of second bullet items in response to a second touch operation acting on the bullet replacement control when the number of the initial bullet items is less than a second preset value; If the number of the initial bullet items is less than a second preset value, displaying a second number selection control in the graphical user interface in response to a second touch operation acting on the bullet replacement control, the second number selection control including a plurality of quantity nodes; determining a target node from the plurality of quantity nodes in response to a user operation; and dividing the initial bullet items to generate a second number of second bullet items based on a second number corresponding to the target node.

3. The virtual firearm interaction method of claim 2.

15. displaying a second number selection control on the graphical user interface in response to a second touch operation acting on the bullet replacement control; displaying a split control in response to a second touch operation acting on the bullet exchange control; and displaying a second number selection control in the graphical user interface in response to a touch operation acting on the split control.

15. The method of claim 14, wherein the method comprises:

16. Determining a target node from the plurality of quantity nodes in response to the user operation includes: determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the split control.

15. The method of claim 14, wherein the method comprises:

17. Determining a target node from the plurality of quantity nodes in response to a swipe operation acting on the split control includes: determining a candidate target node from the plurality of quantity nodes in response to a swipe operation acting on the split control; obtaining a duration of the swipe operation within the graphical user interface after determining the candidate target node; and determining the candidate target node as a target node if the duration is greater than or equal to a value corresponding to the candidate target node.

17. The method of virtual firearm interaction of claim 16.

18. Displaying a split control in response to a second touch operation acting on the bullet exchange control includes: In response to a second touch operation acting on the bullet exchange control having a duration longer than a predetermined time length, displaying a split control and switching the bullet exchange control to display a cancel control; The cancel control is provided to cancel the division process in response to a touch operation acting on the cancel control.

16. The method of virtual firearm interaction of claim 15.

19. The method further comprises: displaying a node schematic at a location corresponding to the candidate target node; and visualizing and displaying the duration values ​​using a node schematic diagram based on the duration values ​​and values ​​corresponding to the candidate target nodes.

18. A method for interacting with a virtual firearm according to claim 12 or 17.

20. The attack power of the second bullet item is related to the second number.

3. The virtual firearm interaction method of claim 2.

21. Dividing the initial bullet item to generate a second number of second bullet items corresponds to a division time length, and the second number is directly proportional to the division time length.

3. The virtual firearm interaction method of claim 2.

22. An interaction device for a virtual firearm, comprising: a terminal device providing a graphical user interface; a virtual scene and a bullet exchange control being at least partially displayed on the graphical user interface; and a virtual object being included in the virtual scene; The virtual firearm interaction device includes: an initial number acquisition module, an item merging module, and a shooting interaction module; The initial number acquisition module is configured to acquire a number of initial 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 when the number of the initial bullet items is greater than a first preset value, the first number being less than or equal to the number of the initial bullet items, and an attack power of the first bullet item being greater than an attack power of the initial bullet items; The shooting interaction module is configured to control the virtual firearm and use the first bullet item to interact with a virtual object in a virtual scene in response to a use operation corresponding to the first bullet item. A virtual firearm interaction device comprising:

23. A computer program is stored which, when executed by a processor, implements the virtual firearm interaction method according to any one of claims 1 to 21. A computer-readable storage medium comprising:

24. 1. An electronic device comprising one or more processors and a memory device, the storage device stores one or more programs; The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the virtual firearm interaction method of any one of claims 1 to 21. An electronic device characterized by:

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