Method, apparatus, electronic device, and computer program for processing virtual items

The method enhances virtual tool processing efficiency by enabling direct transitions between processing interfaces within the virtual scene, addressing the inefficiencies of frequent navigation in existing technologies.

JP2025516236AActive Publication Date: 2025-05-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024563693
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-08-12
Filing Date
2023-06-27
Publication Date
2025-05-27
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

Existing human-computer interaction technologies in virtual scenes require frequent navigation between the interface of the entire virtual tool and the processing interface of its components, leading to reduced processing efficiency.

Method used

A method and apparatus for processing virtual tools that display a processing entry in a virtual scene, triggering a first processing interface with a processing control, and switching to a second processing interface upon a trigger operation, allowing direct processing of multiple components without returning to the main interface.

Benefits of technology

This approach significantly improves the processing efficiency of virtual tools by allowing quick transitions between processing interfaces, reducing operation time, and enhancing user interaction in virtual environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025516236000001_ABST
    Figure 2025516236000001_ABST
Patent Text Reader

Abstract

This application includes a method, apparatus, electronic device, and storage medium for processing virtual items. The method includes: displaying a processing entry for a virtual item in a virtual scene; in response to a trigger operation on the processing entry, displaying a first processing interface, where the first processing interface includes at least a processing control; in response to a trigger operation on the processing control, displaying the processed virtual item to replace displaying the virtual item before processing; and in response to a trigger operation for interface jump, switching from displaying the first processing interface to displaying a second processing interface different from the first processing interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] (Cross - reference to related applications) This application claims the priority of a Chinese patent application with the application number 202210971198.2, which was filed with the Chinese Patent Office on August 12, 2022, and all of its content is incorporated herein by reference.

[0002] This application relates to the technical field of human - computer interaction, and particularly to a method, apparatus, electronic device, storage medium, and program product for processing virtual props.

Background Art

[0003] The technology of human - computer interaction in virtual scenes based on graphic processing hardware can realize various interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has broad practical value. For example, in virtual scenes such as games, a realistic combat process between virtual objects can be simulated.

[0004] Taking a shooting game as an example, most shooting games have a firearm processing system. Taking this processing system as an example, since a firearm has multiple members that can be processed, when a player performs processing on multiple members of one firearm, the following processing needs to be repeatedly executed: at the interface of the entire firearm, select the member that needs to be processed (for example, the muzzle) and enter the processing interface of the muzzle. After completing the processing of the muzzle at the processing interface of the muzzle, return to the interface of the entire firearm. At the interface of the entire firearm, select the member that needs to be processed again (for example, the handguard) and enter the processing interface of the handguard. After completing the handguard processing at the processing interface of the handguard, return to the interface of the entire firearm and select other members that need to be processed again.

[0005] As described above, in the related art, in the process of processing a firearm, it is necessary to frequently go back and forth between the interface of the entire gun and the processing interface of the corresponding component, which reduces the processing efficiency of the virtual tool. Summary of the Invention [Means for solving the problem]

[0006] SUMMARY OF THE DISCLOSURE The embodiments of the present application provide a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for processing a virtual tool, which can improve the processing efficiency of the virtual tool.

[0007] The technical solution of the embodiments of the present application is realized as follows.

[0008] An embodiment of the present application provides a method for processing a virtual tool, executed by an electronic device, the method for processing a virtual tool comprising: displaying a processing entry for a virtual tool in a virtual scene; displaying a first processing interface in response to a trigger operation on the processing entry, the first processing interface including at least a processing control; in response to a trigger operation on the processing control, displaying the virtual tool after processing instead of displaying the virtual tool before processing; and switching, in response to a trigger operation of an interface jump, from displaying the first processing interface to displaying a second processing interface different from the first processing interface.

[0009] An embodiment of the present application provides a virtual tool processing device, the virtual tool processing device comprising: a display module; and a switching module; the display module is configured to display a process entry for a virtual tool in a virtual scene; The display module is further configured to display a first processing interface in response to a trigger operation on the processing entry, and the first processing interface includes at least processing control. The display module is further configured to display the processed virtual item in response to a trigger operation on the processing control, thereby replacing the display of the virtual item before processing. The switching module is configured to switch from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to a trigger operation for interface jump.

[0010] Embodiments of the present application provide an electronic device, and the electronic device includes a memory for storing executable instructions, a processor that, when executing the executable instructions stored in the memory, implements the method for processing virtual items provided by the embodiments of the present application.

[0011] Embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions, and when the computer-executable instructions are executed by a processor, the processor is caused to implement the method for processing virtual items provided by the embodiments of the present application.

[0012] Embodiments of the present application provide a computer program product including a computer program or computer-executable instructions, and when the computer program or computer-executable instructions are executed by a processor, the processor is caused to implement the method for processing virtual items provided by the embodiments of the present application.

[0013] Embodiments of the present application have the following beneficial effects.

[0014] When receiving a trigger operation for interface jump at the first processing interface corresponding to the first member, it is possible to jump from the first processing interface to the second processing interface corresponding to the second member. Compared with the case of returning to the upper level first, selecting the second member, and entering the corresponding processing interface, after one member processing is completed, the processing of another member can be quickly performed, so the operation time is saved, and furthermore, the processing efficiency of virtual props is improved.

Brief Description of Drawings

[0015]

Figure 1A

Figure 1B

Figure 2

Figure 3

Figure 4A

Figure 4B

Figure 4C

Figure 5

Figure 6

Figure 7A

Figure 7B

Figure 8

Figure 9

Embodiments for Carrying Out the Invention

[0016] To make the objectives, technical solutions, and advantages of the present application clearer, the present application will be described in more detail below with reference to the drawings. The described embodiments do not limit the present application, and all other embodiments that can be obtained without creative efforts by those skilled in the art are included in the protection scope of the present application.

[0017] In the following, the description of "some embodiments" explains a subset of all possible embodiments. Understandably, "some embodiments" can be the same subset or a different subset of all possible embodiments and can be combined with each other without contradiction.

[0018] Understandably, in the embodiments of the present application, it is related to data such as user information (for example, related data of virtual items owned by virtual objects controlled by the user). When applying the embodiments of the present application to specific products or technologies, the permission or consent of the user is required, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0019] Terms such as "first / second / ..." in the specification of the present application do not limit a specific order but distinguish similar objects. Understandably, since "first / second / ..." can convert a specific order or the front-back order when appropriate, it can be understood that the embodiments of the present application described in this specification can be executed in an order other than those illustrated or described in this specification.

[0020] Unless otherwise specified, all technical terms and scientific terms used in the present application have the same meaning as those commonly understood by those skilled in the art of the present application. The terms used in the present application are only adopted to explain the embodiments of the present application and are not intended to limit the present application.

[0021] Before describing the embodiments of the present application in detail, nouns and terms related to the embodiments of the present application will be described. The descriptions of the nouns and terms related to the embodiments of the present application are as follows.

[0022] 1) Respond to ~: Represents a condition or state on which the operation to be executed depends. When the dependent condition or state is satisfied, one or more operations to be executed may be in real time or may have a set delay. Without special description, there is no limitation on the execution order of multiple operations to be executed.

[0023] 2) Virtual scene: A scene that is displayed (or provided) when an application is executed on a terminal device. The virtual scene may be a simulation environment for the real world, a semi-simulated and semi-fictional virtual environment, or a completely fictional virtual environment. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiments of the present application do not limit the dimension of the virtual scene. For example, the virtual scene may include sky, land, sea, etc. The land may include environmental elements such as deserts and cities. The user can control the virtual object to move within the virtual scene.

[0024] 3) Virtual prop (virtual item): A prop that can be used by a virtual object within a virtual scene and is structurally composed of a plurality of members. For example, it may be a virtual shooting prop used to attack other virtual objects, such as a virtual firearm, a virtual bow and arrow, etc., or a virtual vehicle used for a virtual object to drive within the virtual scene, such as a virtual vehicle, a virtual ship, a virtual airplane, a virtual bicycle, etc.

[0025] 4) Virtual Object: It is an image of various people and objects that can interact within a virtual scene, or a movable object within the virtual scene. The movable object can be a virtual person, a virtual animal, an animation character, etc., and for example, it can be a person or an animal displayed in the virtual scene. The virtual object can be a virtual image used to represent a user within the virtual scene. The virtual scene can include multiple virtual objects, and each virtual object has its own shape and volume within the virtual scene and occupies a part of the space of the virtual scene.

[0026] 5) Scene Data: It is data representing the characteristics of a virtual scene, and for example, it may be the area of the building area within the virtual scene, the current building style of the virtual scene, etc., or it may be the position of the virtual building within the virtual scene, and the floor area of the virtual building, etc.

[0027] 6) Client: It is an application that provides various services and is executed on a terminal device. For example, it can be a video playback client, a game client, etc.

[0028] 7) Virtual Prop Processing: It is a change made to a virtual prop, including updating the color, modifying the structure, etc. Taking the modification of a virtual prop as an example, the modification is an operation to change the structure of the virtual prop and includes operations such as removing, attaching, and replacing components of the virtual prop. For example, it may be replacing the original muzzle of a virtual firearm with a new muzzle, or attaching components such as a front grip and a laser device to a handguard.

[0029] Embodiments of the present application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for virtual items, which can improve the processing efficiency of virtual items. To more easily understand the method for processing virtual items provided by the embodiments of the present application, first, an exemplary implementation scenario of the method for processing virtual items provided by the embodiments of the present application will be described. The virtual scenario in the method for processing virtual items provided by the embodiments of the present application may be output entirely based on a terminal device, or may be output based on the cooperation between a terminal device and a server.

[0030] In some embodiments, the virtual scenario may be an environment for virtual objects (such as game characters) to interact. For example, it may be for game characters to conduct battles within the virtual scenario. By controlling the actions of the game characters, two-way interactions can be carried out within the virtual scenario, whereby the user can relieve the stress of life during the game.

[0031] In one implementation scenario, referring to FIG. 1A, FIG. 1A is a schematic diagram showing an application mode of the method for processing virtual items according to an embodiment of the present application. It is completely dependent on the computing ability of the graphic processing hardware of the terminal device 400 to complete the calculation of the relevant data of the virtual scenario 100. For example, it is applicable to some application modes such as stand-alone / offline mode games, etc., and the output of the virtual scenario is completed by various different types of terminal devices 400 such as smartphones, tablets, and virtual reality / augmented reality devices.

[0032] As an example, the types of graphic processing hardware include a central processing unit (CPU) and a graphics processing unit (GPU).

[0033] When forming the visual perception of the virtual scene 100, the terminal device 400 calculates the data required for display by means of graphics computing hardware, completes the loading, analysis, and rendering of the display data, and outputs a video frame capable of forming a visual perception in the virtual scene with the graphics output hardware. For example, a two-dimensional video frame is displayed on the display screen of a smartphone, or a video frame realizing a three-dimensional display effect is projected onto the lens of augmented reality / virtual reality glasses. Also, in order to enrich the perceptual effect, the terminal device 400 can also use different hardware to form one or more of auditory perception, tactile perception, kinesthetic perception, and olfactory perception.

[0034] As an example, a client 410 (for example, a stand-alone game application) is executed on the terminal device 400, and a virtual scene including role-playing is output during the execution of the client 410. The virtual scene can be an environment for game characters to interact, for example, it can be a plain, a street, a valley, etc. where game characters engage in battles. Taking the case of displaying the virtual scene 100 from the first-person perspective as an example, a virtual object 101 is displayed in the virtual scene 100, where the virtual object 101 can be a game character controlled by the user, that is, the virtual object 101 is controlled by the actual user and moves in the virtual scene 100 in response to the actual user's operations on a controller (such as a touch panel, a sound switch, a keyboard, a mouse, and a joystick, etc.). For example, when the actual user moves the joystick to the right, the virtual object 101 moves to the right within the virtual scene 100, and the actual user can also control the virtual object 101 to stay still at the original position, jump, and perform shooting operations.

[0035] For example, taking the case where the virtual item is a virtual firearm as an example, in the virtual scene 100, a virtual object 101 and a virtual firearm 102 held by the virtual object 101 are displayed. Also, in the virtual scene 100, a processing entry (also referred to as a "processing entry") 103 of the virtual firearm 102 is displayed. When the client 410 receives a user's trigger operation on the processing entry 103, the virtual scene 100 displayed on the human-computer interaction interface is switched to a first processing interface 104 (for example, a muzzle processing interface). Here, on the first processing interface 104, a first member 105 (for example, a muzzle) of the virtual firearm 102 and a processing control 106 of the first member 105 (for example, a modification control for replacing the new muzzle of the first member 105) are displayed. Next, in response to a trigger operation on the processing control 106 of the first member 105, the client 410 can complete the processing of the muzzle by replacing the display of the first member 105 before processing with the display of the processed first member 105 (for example, a new muzzle). After that, in response to a trigger operation for an interface jump based on the first processing interface 104, the client 410 can directly switch from displaying the first processing interface 104 to displaying a second processing interface 107 (for example, a handguard processing interface). Here, on the second processing interface 107, a second member 108 (for example, a handguard) of the virtual firearm 102 and a processing control 109 of the second member 108 (for example, a right rail attachable to the second member 108) are displayed. In this way, after processing one member, it is possible to directly perform a quick jump from the processing interface of one member to the processing interface of another member, without the need to repeatedly return to a higher level (for example, the interface of the entire firearm) to select a new processing member, thus saving operation time and further improving the processing efficiency of the virtual item.

[0036] In another implementation scenario, referring to FIG. 1B, FIG. 1B is a schematic diagram showing an application mode of the virtual prop processing method according to an embodiment of the present application, which is applied to the terminal device 400 and the server 200, and depends on the computing power of the server 200 to complete the calculation of the virtual scene and is applied to the application mode of outputting the virtual scene on the terminal device 400.

[0037] Taking the case of forming the visual perception of the virtual scene 100 as an example, the server 200 calculates the display data (e.g., scene data) related to the virtual scene, transmits it to the terminal device 400 via the network 300, and the terminal device 400 depends on the graphics computing hardware to complete the loading, analysis, and rendering of the display data, and depends on the graphics output hardware to output the virtual scene to form a visual perception. For example, a two-dimensional video frame is displayed on the display screen of a smartphone, or a video frame realizing a three-dimensional display effect is projected onto the lens of an augmented reality / virtual reality glasses. It is understandable that for the perception of the form of the virtual scene, it can be output using the corresponding hardware of the terminal device 400. For example, a microphone is used to form an auditory perception, or a vibrator is used to form a tactile perception.

[0038] As an example, a client 410 (for example, an online game application) is executed on the terminal device 400, and by connecting to a server 200 (for example, a game server), the terminal device 400 conducts game interactions with other users and outputs a virtual scene 100 of the client 410. Taking the case of displaying the virtual scene 100 from a first-person perspective as an example, a virtual object 101 is displayed in the virtual scene 100. Here, the virtual object 101 can be a game character controlled by the user, that is, the virtual object 101 is controlled by the actual user and moves in the virtual scene 100 in response to the actual user's operations on a controller (such as a touch panel, a sound switch, a keyboard, a mouse, and a joystick, etc.). For example, when the actual user moves the joystick to the right, the virtual object 101 moves to the right within the virtual scene 100, and the actual user can also control the virtual object 101 to stay stationary at the original position, jump, and perform shooting operations.

[0039] For example, taking the case where the virtual item is a virtual firearm as an example, in the virtual scene 100, a virtual object 101 and a virtual firearm 102 held by the virtual object 101 are displayed. Also, in the virtual scene 100, a processing entry 103 of the virtual firearm 102 is displayed. When the client 410 receives a user's trigger operation on the processing entry 103, the virtual scene 100 displayed on the human-computer interaction interface is switched to the first processing interface 104 (for example, the muzzle processing interface). Here, on the first processing interface 104, a first member 105 of the virtual firearm 102 (for example, the muzzle) and a processing control 106 of the first member 105 (for example, used to replace the new muzzle of the first member 105) are displayed. Next, in response to a trigger operation on the processing control 106 of the first member 105, the client 410 can complete the processing of the muzzle by replacing the display of the first member 105 before processing with the processed first member 105 (for example, the new muzzle). After that, in response to a trigger operation for an interface jump based on the first processing interface 104, the client 410 can directly switch from displaying the first processing interface 104 to displaying the second processing interface 107 (for example, the handguard processing interface). Here, on the second processing interface 107, a second member 108 of the virtual firearm 102 (for example, the handguard) and a processing control 109 of the second member 108 (for example, the right rail attachable to the second member 108) are displayed. In this way, after processing one member, it is possible to directly perform a quick jump from the processing interface of one member to the processing interface of another member, without the need to repeatedly return to a higher level (for example, the interface of the entire firearm) to select a new processing member, thus saving operation time and further improving the processing efficiency of the virtual item.

[0040] In some embodiments, the terminal device 400 can implement the processing method of the virtual props provided by the embodiments of the present application by executing a computer program. For example, the computer program may be a native program or software module in the operating system, or may be a native application (APP: Application), that is, a program that cannot be executed unless installed in the operating system, such as a first-person shooting game APP (i.e., the above-mentioned client 410), or may be a widget, that is, a program that can be executed only by being downloaded in a browser environment. In short, the above computer program may be an application, module, or plugin in any form.

[0041] Taking the case where the computer program is an application as an example, in actual implementation, an application that supports a virtual scene is installed and executed on the terminal device 400. The application is any one of a first-person shooting game (FPS: First-Person Shooting game), a third-person shooting game, a virtual reality application, a 3D map program, or a multiplayer online battle arena game. The user operates the terminal device 400 to make the virtual object located in the virtual scene active, and the activities include at least one of adjusting the body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, building a virtual building, etc., but are not limited thereto. Exemplarily, the virtual character may be a virtual person such as a simulated character or an anime character.

[0042] In some other embodiments, the embodiments of the present application can also be implemented using cloud technology. Cloud technology is a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or local area network to realize data calculation, storage, processing, and sharing.

[0043] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application. It constitutes a resource pool, can be used as needed, and is flexible and convenient. Cloud computing technology is an important support. The background services of the technical network system require a large amount of computing and storage resources.

[0044] Exemplarily, the server 200 in FIG. 1B may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), big data, and artificial intelligence platforms. The terminal device 400 may be a smartphone, tablet, notebook computer, desktop computer, smart speaker, smart watch, etc., but is not limited thereto. The terminal device 400 and the server 200 can be directly or indirectly connected via wired or wireless communication, and the embodiments of the present application do not limit this.

[0045] The following describes the configuration of the electronic device provided by the embodiments of the present application. Taking the case where the electronic device is a terminal device as an example, referring to FIG. 2, FIG. 2 is a schematic diagram showing the configuration of the electronic device 500 according to the embodiments of the present application. The electronic device 500 shown in FIG. 2 includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. Each component in the electronic device 500 is coupled via a bus system 540. It is understandable that the bus system 540 realizes the connection and communication between these components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity in the description, various buses are represented as the bus system 540 in FIG. 2.

[0046] The processor 510 may be, for example, an integrated circuit chip with signal processing functions such as a general-purpose processor, a digital signal processor (DSP), a programmable logic device, discrete gate or transistor logic devices, discrete hardware components, etc. Here, the general-purpose processor may be a microprocessor or any conventional processor, etc.

[0047] The user interface 530 includes one or more output devices 531 that enable the display of media content, including one or more speakers and / or one or more visual displays. The user interface 530 further includes one or more input devices 532 that include user interface members that facilitate user input such as a keyboard, a mouse, a microphone, a touch screen display, a camera, and other input buttons and controls.

[0048] Memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 550 optionally includes one or more storage devices physically remote from processor 510.

[0049] Memory 550 may include volatile memory, non-volatile memory, or both volatile and non-volatile memory. The non-volatile memory may be read only memory (ROM), and the volatile memory may be random access memory (RAM). Memory 550, as described in the embodiments of the present application, includes any suitable type of memory.

[0050] In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0051] Operating system 551 includes system programs for processing various basic system services, such as a frame layer, a core library layer, a driver layer, etc., and for performing hardware-related tasks, and is configured to implement various basic operations and process hardware-based tasks.

[0052] Network communication module 552 is configured to reach other computing devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include Bluetooth, wireless compatibility authentication (Wi-Fi), and universal serial bus (USB).

[0053] The display module 553 is configured to display information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 531 (e.g., a display, a speaker) associated with the user interface 530.

[0054] The input processing module 554 is configured to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected input or interaction.

[0055] In some embodiments, the apparatus provided by the embodiments of the present application may be implemented in the form of software. FIG. 2 shows a virtual prop processing apparatus 555 stored in the memory 550. The virtual prop processing apparatus 555 may be software in the form of a program or a plugin, and includes the following software modules, namely, a display module 5551, a switching module 5552, an acquisition module 5553, a determination module 5554, a dot multiplication module 5555, a control module 5556, a detection module 5557, a transition module 5558, an adjustment module 5559, a shooting module 55510, a loading module 55511, an interpolation module 55512, and an insertion module 55513. Since these modules are logical, they can be arbitrarily combined or further divided according to the functions to be realized. It should be noted that in FIG. 2, for the sake of easy representation, all the above modules are shown at once, but in the virtual prop processing apparatus 555, an implementation including only the display module 5551 and the switching module 5552 should not be regarded as excluded, and the functions of each module will be described later.

[0056] Hereinafter, the virtual prop processing method provided by the embodiments of the present application will be specifically described in relation to exemplary applications and implementations of the terminal device provided by the embodiments of the present application.

[0057] Referring to FIG. 3, FIG. 3 is a flowchart of a method for processing virtual props according to an embodiment of the present application, and will be described with reference to the steps shown in FIG. 3.

[0058] It should be noted that the method shown in FIG. 3 can be executed by various forms of computer programs executed on a terminal device, and is not limited to a client. For example, it may be the above-mentioned operating system, software module, script, and widget, etc. Therefore, the examples of the client in the following text should not be regarded as limiting the embodiments of the present application. Also, for the sake of simplicity of description, the terminal device and the client executed on the terminal device will not be specifically distinguished in the following text.

[0059] In step 301, a processing entry for a virtual prop in the virtual scene is displayed.

[0060] In some embodiments, a client that supports a virtual scene (for example, when the virtual scene is a game, the corresponding client is a shooting game APP) is installed on the terminal device. When the user opens the client installed on the terminal device (for example, clicks on the icon corresponding to the shooting game APP displayed on the user interface of the terminal device) and the terminal device executes the client, a virtual object (for example, virtual object A controlled by user 1) and a virtual prop (for example, a virtual shooting prop, a virtual throwing prop, etc.) that the virtual object A holds with a holding part (for example, a hand) can be displayed in the virtual scene displayed on the human-computer interaction interface of the client. Further, a processing entry for the virtual prop can be further displayed in the virtual scene. For example, when the virtual prop is a virtual firearm, a processing entry for the virtual firearm can be displayed in the virtual scene.

[0061] In step 302, in response to a trigger operation on the processing entry, a first processing interface is displayed.

[0062] In some embodiments, the first processing interface includes at least processing control. In some other embodiments, the first processing interface may further include a first member of the virtual item, and the first member may be any one of the members to be modified within the virtual item. In the first processing interface, the members of the virtual item excluding the first member can be not displayed, partially displayed, or fully displayed. The number of displayed members excluding the first member can depend on the scaling ratio of the first processing interface (i.e., the ratio between the size of the virtual item and the size of the first processing interface). The larger the scaling ratio, the fewer the number of displayed members, making it easier to observe the details of the members. The smaller the scaling ratio, the more the number of displayed members, making it easier to observe the overall structure of the virtual item.

[0063] As an example, the types of processing controls within the first processing interface may include color controls for changing colors and modification controls for modification. The processing control may be dedicated to the processing of the first member, that is, one processing control corresponds to each different member. The processing control may also be general-purpose, that is, it is used for batch processing of a plurality of members including the first member within the virtual item.

[0064] In some embodiments, the terminal device can further execute the steps of displaying a virtual item browsing interface before displaying the first processing interface, where the virtual item browsing interface includes a plurality of members of the virtual item, and in response to a selection operation on the first member within the virtual item browsing interface, migrating to the process of displaying the first processing interface.

[0065] Exemplarily, taking the case where the virtual item is a virtual firearm as an example, when the terminal device receives a click operation of the user on the processing entry of the virtual firearm, first, the virtual firearm browsing interface (for example, the interface of the entire firearm, in which the panoramic view of the main body of the virtual firearm is displayed, and the interaction buttons of all processable members are also displayed) can be displayed. Next, in response to a selection operation of the user on the first member (for example, the muzzle) within the virtual firearm browsing interface (such as receiving a click operation of the user on the interaction button of the muzzle), the terminal device displays the first processing interface (that is, the processing interface of the muzzle). Here, the first processing interface may display the first member of the virtual firearm (for example, the muzzle) and the processing control of the muzzle (for example, a new muzzle for replacing the original muzzle).

[0066] Exemplarily, referring to FIG. 4A, FIG. 4A is a schematic diagram showing an application scenario of a virtual prop processing method according to an embodiment of the present application. As shown in FIG. 4A, in a human-computer interaction interface, a virtual scene 400 is displayed. In the virtual scene 400, a virtual object 401 (for example, a game character A controlled by user 1) and a virtual firearm 402 held by the virtual object 401 are displayed. Also, a processing entry 403 of the virtual firearm 402 is displayed in the virtual scene 400. When a click operation on the processing entry 403 of the virtual firearm 402 is received, the virtual scene 400 displayed on the human-computer interaction interface is switched to a virtual firearm browsing interface 404 (that is, an interface of the entire firearm). In the virtual firearm browsing interface 404, a plurality of members that can be processed by the virtual firearm 402 are displayed, for example, including a firearm body 405, a handguard 406, a magazine 407, and an optical sight 408, etc. When a click operation on the handguard 406 in the virtual firearm browsing interface 404 is received, the virtual firearm browsing interface 404 displayed on the human-computer interaction interface is switched to a handguard processing interface 409. In the handguard processing interface 409, a handguard 410 of the virtual firearm 402 and a processing control 411 of the handguard 410 (for example, including a left rail and a right rail that can be attached to the handguard 410) are displayed.

[0067] In step 303, in response to a trigger operation on the processing control, instead of displaying the virtual prop before processing, the processed virtual prop is displayed.

[0068] In some embodiments, taking the case where the processing control is a general-purpose control as an example, in response to a trigger operation on the processing control, some or all members of the virtual prop are batch-processed, and after displaying the processed virtual prop, the display of the virtual prop before processing is replaced. Here, after batch-processing some members in the virtual prop, some members in the virtual prop before processing are alternatively displayed, and after batch-processing all members in the virtual prop, all members in the virtual prop before processing are alternatively displayed.

[0069] In some embodiments, taking the case where the first processing interface further includes a first member of the virtual prop and a processing control dedicated to the first member as an example, step 303 can be realized in the following manner: in response to a trigger operation on the processing control, the first member is processed, and after displaying the processed first member, the display of the first member before processing is replaced. Here, when the processed virtual prop is displayed on the first processing interface, in addition to displaying the processed first member, the members of the virtual prop excluding the first member can be not displayed, partially displayed, or fully displayed, and the number of displayed members excluding the first member can depend on the scaling ratio of the first processing interface (i.e., the ratio between the size of the virtual prop and the size of the first processing interface). The larger the scaling ratio, the fewer the number of displayed members, and the easier it is to observe the details of the members. The smaller the scaling ratio, the more the number of displayed members, and the easier it is to observe the overall structure of the virtual prop.

[0070] In some embodiments, when the terminal device receives a user's trigger operation for the processing control of the first member, it can display the processed first member to replace the display of the first member before processing. For example, taking the case where the first member is the muzzle of a virtual firearm as an example, when the terminal device receives a user's trigger operation (such as a selection operation for a new muzzle) for the muzzle processing control, it can display a new muzzle at the position of the muzzle of the virtual firearm to replace the display of the previous muzzle, thereby completing the processing for the muzzle. Further, taking the case where the first member is the handguard of a virtual firearm as an example, when the terminal device receives a user's trigger operation (such as a selection operation for a front grip among a plurality of parts that can be additionally attached to the handguard) for the handguard processing control, it can realize the processing for the handguard by additionally attaching the selected front grip to the handguard of the virtual firearm.

[0071] In step 304, in response to the trigger operation of the interface jump, switch from the display of the first processing interface to the display of a second processing interface different from the first processing interface.

[0072] It should be noted that the display method of the second processing interface is the same as that of the first processing interface. For example, processing controls can be displayed on the second processing interface. In some embodiments, a second member can also be displayed on the second processing interface. The second member can be any one of the members to be modified excluding the first member among the virtual props. The processing controls in the second processing interface can be general-purpose, that is, used for batch processing of a plurality of members including the second member in the virtual prop, or the processing controls can be dedicated controls for modifying the second member, that is, the processing controls of the second member.

[0073] In some embodiments, the first processing interface may further include a second member of the virtual item, and the trigger operation for the interface jump may be a trigger operation on the second member. In this case, the terminal device can implement step 304 in the following manner: In response to a trigger operation on the second member within the first processing interface (for example, a click operation or an operation of drawing a specific graphic), switch from the display of the first processing interface to the display of the second processing interface.

[0074] Exemplarily, taking the case where the first member is the rear grip of a virtual firearm as an example, referring to FIG. 4B, FIG. 4B is a schematic diagram showing an application scenario of the method for processing a virtual item according to an embodiment of the present application. As shown in FIG. 4B, in addition to the rear grip 413 of the virtual firearm, other members of the virtual firearm such as a magazine 414, a stock 415, and a sight 416 are also displayed on the processing interface 412 of the rear grip. When receiving a click operation of the player on the magazine 414 (i.e., the second member) displayed on the processing interface 412 of the rear grip, directly switch the processing interface 412 of the rear grip displayed on the human-computer interaction interface to the processing interface 417 of the magazine. On the processing interface 417 of the magazine, the magazine 414 of the virtual firearm and the processing control 418 of the magazine 414 (for example, a new magazine for expanding the magazine 414) are displayed. In this way, by clicking on the members of the firearm model, it is possible to directly perform a quick jump from the processing interface of one member to the processing interface of another member, improving the processing efficiency of the virtual item.

[0075] In some other embodiments, the first processing interface may further include browsing controls respectively corresponding to at least one direction, and the trigger operation for interface jump may be a trigger operation on the browsing control. In this case, the terminal device can implement step 304 in the following manner: In response to a trigger operation on the browsing control in the first direction in the first processing interface, switch from the display of the first processing interface to the display of the second processing interface, where the distribution direction of the second member with respect to the first member is the reverse direction of the first direction and is the member closest to the first member in the reverse direction.

[0076] Exemplarily, taking the case where the first member is the muzzle of a virtual firearm as an example, referring to FIG. 4C, FIG. 4C is a schematic diagram showing an application scenario of the virtual prop processing method according to an embodiment of the present application. As shown in FIG. 4C, on the muzzle processing interface 419 of the muzzle, in addition to the muzzle 420 and the processing control 421 of the muzzle 420 (for example, a new muzzle replacing the muzzle 420), a browsing control 422 including four directions of up, down, left, and right is also displayed. When receiving a click operation of the user on the left direction key of the browsing control 422 (since the handguard is located on the right side of the muzzle in the virtual firearm and is the member closest to the muzzle), the terminal device directly switches the muzzle processing interface 419 displayed on the human-computer interaction interface to the handguard processing interface 409. On the handguard processing interface 409, a handguard 410 and a processing control 411 of the handguard 410 (for example, left and right rails for attaching to the handguard 410) are displayed. In this way, through the trigger operation on the browsing control, a quick jump from the processing interface of one member to the processing interface of another member can be directly achieved, improving the processing efficiency of virtual props.

[0077] In some embodiments, the trigger operation for interface jump can also be a slide operation. In this case, the terminal device can implement step 304 in the following manner: a slide operation on the first processing interface, and the slide direction of the slide operation is located in the first direction section of the first member (that is, it is a sub-section of the direction section where the first member slides outward by 0 to 360 degrees starting from the first member. For example, perpendicular to the muzzle, with the upward direction as 0 degrees, 0 degrees to 360 degrees can be divided into different direction sections. Here, the first direction section is 225 degrees to 315 degrees, that is, the section centered on the directly left direction of the muzzle (that is, 270 degrees)). In response, the display is switched from the first processing interface to the second processing interface. Here, the reverse direction section of the first direction section is the section formed by the reverse directions of the two boundary directions of the first direction section. For example, assuming that the first direction section is 225 degrees to 315 degrees, the reverse direction section is 45 degrees to 135 degrees. That is, the second member of the virtual prop is distributed in the section centered on the directly right direction of the muzzle (that is, 90 degrees), and the distance between the second member and the first member is proportional to the slide distance of the slide operation. That is, the greater the slide distance of the slide operation, the greater the distance between the second member and the first member.

[0078] Exemplarily, taking the case where the virtual item is a virtual firearm as an example, since the handguard, receiver, and stock are sequentially distributed on the right side of the muzzle in order of increasing distance from the muzzle, two different level distance thresholds of L1 (for example, 1 cm) and L2 (for example, 2 cm) can be preset respectively. When the slide distance of the slide operation is less than or equal to L1 (for example, 0.7 cm), the terminal device directly switches the processing interface of the muzzle displayed on the human-computer interaction interface to the processing interface of the handguard. When the slide distance of the slide operation is greater than L1 and less than or equal to L2 (for example, 1.4 cm), the terminal device directly switches the processing interface of the muzzle displayed on the human-computer interaction interface to the processing interface of the receiver. When the slide distance of the slide operation is greater than L2 (for example, 2.3 cm), the terminal device directly switches the processing interface of the muzzle displayed on the human-computer interaction interface to the processing interface of the stock. In this way, according to the slide distance of the slide operation, it is possible to flexibly jump from the processing interface of the muzzle to the processing interfaces of different members. That is, the user can control the slide distance of the slide operation according to their own needs and jump to the processing interface of the corresponding member, so that the processing efficiency of the virtual firearm is greatly improved.

[0079] In some embodiments, the trigger operation for interface jump can be a slide operation. In this case, the terminal device can implement step 304 in the following manner: In response to a slide operation on the first processing interface (for example, the processing interface of the muzzle) and the slide direction of the slide operation being located in the first direction interval of the first member (for example, it can be 225 degrees to 315 degrees of the muzzle), switch from the display of the first processing interface to the display of the second processing interface. Here, in the reverse direction interval of the first direction interval (for example, 45 degrees to 135 degrees of the muzzle), the second member of the virtual item is distributed, and the second member is the member closest to the first member in the reverse direction interval (for example, the handguard).

[0080] Exemplarily, taking the case where the virtual item is a virtual firearm as an example, on the right side of the muzzle, a handguard, a receiver, and a stock are sequentially distributed in the order of decreasing distance from the muzzle (i.e., the handguard is the member closest to the muzzle). In response to a slide operation on the muzzle processing interface and the slide direction of the slide operation being located in the first direction section of the muzzle (for example, in the range of 225 degrees to 315 degrees of the muzzle, i.e., in the section centered on the directly left direction of the muzzle (i.e., 270 degrees)), and in the reverse direction section of the first direction section, for example, in the range of 45 degrees to 135 degrees of the muzzle, i.e., in the section centered on the directly right direction of the muzzle (i.e., 90 degrees), where the handguard closest to the muzzle is distributed), the terminal device can directly switch the muzzle processing interface displayed on the human-computer interaction interface to the handguard processing interface. In this way, through the slide operation, it is possible to directly perform a quick jump from the processing interface of one member to the processing interface of another member, thereby improving the processing efficiency of the virtual firearm and enhancing the user's gaming experience.

[0081] In some other embodiments, corresponding processing interfaces for respective members may be pre-configured with corresponding slide parameters. In this case, the terminal device includes steps of obtaining a first slide parameter configured for a first processing interface, where the first slide parameter includes at least one direction interval of a first member, the at least one direction interval of the first member includes a first direction interval, and one member of a virtual tool is distributed in a reverse direction interval of each direction interval; obtaining an angle value of a slide operation in response to the slide operation in the first processing interface; and switching from the display of the first processing interface to the display of a second processing interface in response to the angle value of the slide operation being located in the first direction interval within at least one direction interval, thereby realizing the step of switching from the display of the first processing interface to the display of the second processing interface in response to the slide operation in the first processing interface described above and the slide direction of the slide operation being located in the first direction interval of the first member.

[0082] Exemplarily, taking the case where the virtual item is a virtual rifle as an example, referring to FIG. 5, FIG. 5 is a schematic diagram showing the structure of a virtual rifle according to an embodiment of the present application. As shown in FIG. 5, in one virtual rifle, the muzzle, handguard, receiver, magazine, sight, rear grip, and stock can be processed. Here, the handguard is located on the right side of the muzzle, the receiver is located on the right side of the handguard, the sight is located above the right side of the handguard, the magazine is located below the right side of the handguard, the rear grip is located below the receiver, and the stock is located on the right side of the receiver. Taking the muzzle as an example, since there is only a member called the handguard on the right side of the muzzle, only one direction section of the muzzle can be configured for the processing interface of the muzzle. For example, taking the center point of the muzzle as the starting point, the angle corresponding to the direction perpendicular to the muzzle and upward (here, upward means above the screen) is set to 0 degrees, and 0 degrees to 360 degrees can be divided into different direction sections of the muzzle clockwise. For example, for the slide operation received at the processing interface of the muzzle, when the slide direction of the slide operation is located in the first direction section of the muzzle (for example, 225 degrees to 315 degrees of the muzzle, and the handguard is distributed in the reverse direction section of the first direction section of the muzzle), the processing interface of the muzzle is switched to the processing interface of the handguard.

[0083] Furthermore, taking the handguard as an example, among the virtual rifles, there are four members adjacent to the handguard (including the muzzle, receiver, sight, and magazine). Therefore, for the processing interface of the handguard, four directional intervals of the handguard can be configured. For example, taking the center point of the handguard as the starting point, the upward direction perpendicular to the handguard can be set as 0 degrees, and 0 degrees to 360 degrees can be divided into different directional intervals of the handguard in a clockwise direction. For example, for the slide operation received at the processing interface of the handguard, when the slide direction of the slide operation is located in the first directional interval of the handguard (for example, 45 degrees to 135 degrees of the handguard, and the muzzle is distributed in the reverse directional interval of the first directional interval of the handguard), switch from the processing interface of the handguard to the processing interface of the muzzle. When the slide direction of the slide operation is located in the second directional interval of the handguard (for example, 180 degrees to 225 degrees of the handguard, and the sight is distributed in the reverse directional interval of the second directional interval of the handguard), switch the processing interface of the handguard to the processing interface of the sight. When the slide direction of the slide operation is located in the third directional interval of the handguard (for example, 225 degrees to 315 degrees of the handguard, and the receiver is distributed in the reverse directional interval of the third directional interval of the handguard), switch from the processing interface of the handguard to the processing interface of the receiver. When the slide direction of the slide operation is located in the fourth directional interval of the handguard (for example, 315 degrees to 360 degrees of the handguard, and the magazine is distributed in the reverse directional interval of the fourth directional interval of the handguard), switch from the processing interface of the handguard to the processing interface of the magazine.

[0084] It should be noted that the method of configuring the slide parameter for the processing interface of other members of the virtual rifle is the same as the method of configuring the slide parameter for the processing interfaces of the muzzle and the handguard, and the embodiments of the present application will not be repeatedly described here.

[0085] In some other embodiments, the terminal device can obtain the angular value of the slide operation in the following manner: obtain the starting point (assumed as point A(x1, y1)) and the ending point (assumed as point B(x2, y2)) of the slide operation, and determine the slide direction of the slide operation based on the starting point and the ending point. For example, the direction in which the starting point points to the ending point is set as the slide direction of the slide operation, and the dot product operation can be performed between the vector of the slide direction and the vector of the reference direction, which is Base(0, 1). The dot product operation is an operation of multiplying and adding the corresponding bits of two vectors one by one. The result of the dot product is a scalar, and the obtained dot product result is used as the angular value of the slide operation.

[0086] For example, assume that the vector of the slide direction is (3, 4), and perform the dot product with the above-mentioned Base(0, 1). Specifically, perform the dot product of 3 and 0 to obtain 0, and perform the dot product of 4 and 1 to obtain 4. Thus, the dot product result is 4 (i.e., the sum of 0 and 4).

[0087] In some embodiments, following the above example, the terminal device can further execute the step of controlling the virtual prop to rotate on the first processing interface in response to the angular value of the slide operation not being located in any of at least one angular interval of the first member. The rotation angle is a fixed value. For example, every time the user performs a slide operation, the virtual prop rotates by 30 degrees, or the rotation angle is proportional to the slide distance of the slide operation. For example, a ratio coefficient can be configured in advance, and the multiplication result of the slide distance and the ratio coefficient is determined as the rotation angle. In this way, the user can control the slide distance of the slide operation according to their own needs.

[0088] Exemplarily, taking the case where the first member is the muzzle of a virtual rifle as an example, a corresponding first slide parameter is configured for the muzzle processing interface. Here, the first slide parameter includes a first direction interval of the muzzle (for example, 225 degrees to 315 degrees of the muzzle). When the slide direction of the user's slide operation is not within the first direction interval of the muzzle (for example, assuming that the user slides the screen to the right and the angle value of the slide operation is 80 degrees), it can be determined that the current slide operation is not for triggering an interface jump, but simply for swiping the screen back and forth to convert the angle to view the appearance of the virtual rifle. Therefore, the virtual rifle can be controlled to rotate at the muzzle processing interface. Here, the rotation angle of the virtual rifle is proportional to the slide distance of the slide operation. For example, when the slide distance of the slide operation is 1 cm, the corresponding rotation angle of the virtual rifle is 50 degrees; when the slide distance of the slide operation is 2 cm, the corresponding rotation angle of the virtual rifle is 100 degrees.

[0089] In some other embodiments, before obtaining the angle value of the slide operation, the terminal device further performs a detection on the slide operation based on the first slide parameter to obtain a detection result, and in response to the detection result indicating that the slide operation is a trigger operation for interface jump, proceeds to the process of obtaining the angle value of the slide operation, and in response to the detection result indicating that the slide operation is a virtual prop viewing operation, controls the virtual prop to be selected at the first processing interface, where the rotation angle is a fixed value or the rotation angle is proportional to the slide distance of the slide operation.

[0090] Exemplarily, the first slide parameter may include at least one parameter among a set slide time length (which may be, for example, a minimum slide time length or a maximum slide time length), a set slide distance (which may be, for example, a minimum slide distance or a maximum slide distance), a set pressure parameter (which may be, for example, a minimum pressure value or a maximum pressure value), and a set number of contact points (also referred to as "contact points") (which may be, for example, a trigger operation for a one-point corresponding interface jump or a trigger operation for a two-point corresponding interface jump).

[0091] Taking the case where the first slide parameter is a set slide time length as an example, the terminal device obtains the slide time length of the slide operation, compares the slide time length with the set slide time length to obtain a comparison result, and when the comparison result indicates that the slide time length satisfies the time length condition, determines the slide operation as a trigger operation for interface jump, and when the comparison result indicates that the slide time length does not satisfy the time length condition, determines the slide operation as a virtual prop browsing operation, thereby realizing the step of detecting the slide operation based on the above-mentioned first slide parameter and obtaining a detection result. For example, if the set slide time length is the minimum slide time length (for example, 1 second) and it is detected that the slide time length of the slide operation is equal to or greater than the minimum slide time length, it is determined that the time length condition is satisfied. If the set slide time length is the maximum slide time length (for example, 2 seconds) and it is detected that the slide time length of the slide operation is less than the maximum slide time length, it is determined that the time length condition is satisfied.

[0092] Taking the case where the first slide parameter is the set slide distance as an example, the terminal device obtains the slide distance of the slide operation, compares the slide distance with the set slide distance, and obtains a comparison result. When the comparison result indicates that the slide distance meets the distance condition, the slide operation is determined as the trigger operation for interface jump. When the comparison result indicates that the slide distance does not meet the distance condition, the slide operation is determined as the virtual item browsing operation. By this step, detection is performed on the slide operation based on the above-mentioned first slide parameter, and the detection result can be obtained. For example, if the set slide distance is the minimum slide distance (e.g., 1 cm) and the slide distance of the slide operation is detected to be greater than or equal to the minimum slide distance, it is determined that the distance condition is met. If the set slide distance is the maximum slide distance (e.g., 2 cm) and the slide distance of the slide operation is detected to be less than the maximum slide distance, it is determined that the distance condition is met.

[0093] Taking the case where the first slide parameter is the set pressure parameter as an example, the terminal device obtains the pressure parameter of the slide operation, compares the pressure parameter with the set pressure parameter, and obtains a comparison result. When the comparison result indicates that the pressure parameter meets the pressure condition, the slide operation is determined as the trigger operation for interface jump. When the comparison result indicates that the pressure parameter does not meet the pressure condition, the slide operation is determined as the virtual item browsing operation. By this step, detection is performed on the slide operation based on the above-mentioned first slide parameter, and the detection result can be obtained. For example, if the set pressure parameter is the minimum pressure value threshold and the pressure value of the slide operation is detected to be greater than or equal to the minimum pressure value threshold, it is determined that the pressure condition is met. If the set pressure parameter is the maximum pressure value threshold and the pressure value of the slide operation is detected to be less than or equal to the maximum pressure value threshold, it is determined that the pressure condition is met.

[0094] It should be noted that the above-mentioned minimum pressure threshold and maximum pressure threshold are configurable. For example, different minimum pressure value thresholds or maximum pressure value thresholds can be configured for different members of the virtual item, and the embodiments of the present application do not specifically limit this.

[0095] Taking the case where the first slide parameter is the set number of contact points as an example, the terminal device obtains the number of contact points of the slide operation, compares the number of contact points with the set number of contact points, and obtains a comparison result. When the comparison result indicates that the two are the same, the slide operation is determined as the trigger operation for interface jump. When the comparison result indicates that the two are different, the slide operation is determined as the virtual item browsing operation. By this step, the detection of the slide operation can be performed based on the above-mentioned first slide parameter, and the detection result can be obtained. For example, assuming that the set number of contact points is 1, when the number of contact points of the slide operation is also 1, the slide operation is determined as the trigger operation for interface jump. When the number of contact points of the slide operation is multiple, the slide operation is determined as the virtual item browsing operation.

[0096] In some embodiments, the first processing interface and the second processing interface may be obtained by shooting with a virtual camera. Camera parameters corresponding to the virtual camera are configured for each member of the virtual item. In this case, before the terminal device switches from the display of the first processing interface to the display of the second processing interface, it further executes the steps of obtaining the second camera parameters configured for the second member, adjusting the posture of the virtual camera in the virtual scene based on the second camera parameters, calling the adjusted virtual camera to shoot the virtual item, and loading the processing control of the second member on the obtained screen to obtain the second processing interface.

[0097] Exemplarily, the camera parameters may include at least one of a member corresponding to the camera (for example, when the camera parameters are camera parameters configured for the muzzle of a virtual rifle, the member corresponding to the camera is the muzzle), the rotation angle of the camera, the offset of the camera with respect to the starting point of the member (for example, when the camera parameters are camera parameters configured for the muzzle of a virtual rifle, here the offset refers to the offset value with respect to the starting point of the muzzle), the distance between the camera and the focus, and the parameters of the camera's field of view angle.

[0098] In some other embodiments, following the above example, the terminal device may further execute the steps of: obtaining first camera parameters configured for a first member; performing interpolation processing based on the first camera parameters and second camera parameters to obtain at least one intermediate camera parameter, where each intermediate camera parameter is used to adjust the pose of a virtual camera, call the adjusted virtual camera to capture a virtual prop, and obtain a corresponding intermediate interface; and inserting at least one intermediate interface during the process of switching from the display of the first processing interface to the display of the second processing interface.

[0099] It should be noted that the number of intermediate interfaces inserted during the switching process may be fixed or may be proportional to the frame rate when displaying the virtual scene. That is, the higher the frame rate, the more intermediate interfaces are inserted, thereby realizing a smooth switch from the first processing interface to the second processing interface and improving the user's visual experience.

[0100] Also, it should be noted that, even when directly switching from the first processing interface to the second processing interface, or when adding a transition animation (i.e., inserting an intermediate interface), the essence is to jump from the display of the processing interface of one member to that of another member, and no third-party functional interface (for example, the interface of the entire gun) is inserted in the middle.

[0101] Exemplarily, the terminal device can realize the step of obtaining at least one intermediate camera parameter by performing interpolation processing based on the above-described first camera parameter and second camera parameter, through the steps of multiplying the second camera parameter by t to obtain a first multiplication result, where t is the length of time elapsed since the start of the switching, the value range of t satisfies 0 ≦ t ≦ T, T is the total length of time for switching from the first processing interface to the second processing interface, and T is a real number greater than 0; the step of multiplying the subtraction result of T and t by the first camera parameter to obtain a second multiplication result; and the step of determining the addition result of the first multiplication result and the second multiplication result as at least one intermediate camera parameter.

[0102] In some other embodiments, referring to FIG. 6, FIG. 6 is a flowchart of a method for processing a virtual prop according to an embodiment of the present application. As shown in FIG. 6, after executing step 304 shown in FIG. 3, step 305 shown in FIG. 6 can also be executed, and the description will be made with reference to the steps shown in FIG. 6.

[0103] As described above, in relation to triggering the trigger operations for different types of interface jumps based on the first processing interface, step 304 has been described. It should be noted that although the above-described trigger operations for interface jumps are all triggered based on the first processing interface, it should not be considered that the trigger operations for interface jumps can only be performed based on the first processing interface. Below, other situations of the trigger operations for interface jumps will be continuously described.

[0104] In some embodiments, the trigger operation for interface jump may be a voice command. The voice command can indicate the switching direction from the first member. For example, the voice command may be to switch to the left. In this case, the display is switched to the second processing interface including the second member, where the second member is located on the left side of the first member and is the member closest to the first member. The voice command can further indicate the number of jumps. For example, the voice command may be to switch two members to the left. In this case, the display is switched to the second processing interface including the second member, where the second member is located on the left side of the first member and is separated from the first member by the interval of two members.

[0105] In some other embodiments, the trigger operation for interface jump may be a somatosensory operation. The somatosensory operation may be an operation of shaking the terminal device in a certain direction. For example, the somatosensory operation may be to shake to the left. In this case, the display is switched to the second processing interface including the second member, where the second member is located on the left side of the first member and is the member closest to the first member. The somatosensory operation can also indicate the number of jumps. For example, the amplitude of shaking to the left may be positively correlated with the number of members switched to the left. The greater the amplitude, the more members are switched to the left.

[0106] In step 305, in response to the third member of the virtual prop satisfying the processing conditions, the display is switched from the display of the second processing interface to the display of a third processing interface different from the second processing interface.

[0107] The display method of the third processing interface is the same as that of the first processing interface. In some embodiments, the third processing interface includes at least processing control. In some other embodiments, the third processing interface may further include a third member of the virtual prop, and the third member may be any one of the members to be modified excluding the first and second members of the virtual prop.

[0108] As an example, the types of processing controls in the third processing interface may include a color control for changing colors and a modification control for modification. The processing control may be dedicated to the processing of the third member, that is, it may be the processing control of the third member, or the processing control may be general-purpose, that is, it is used for batch processing of a plurality of members including the third member in the virtual prop.

[0109] In the third processing interface, the members excluding the third member of the virtual prop may not be displayed, may be partially displayed, or may be fully displayed. The number of displayed members excluding the third member can depend on the scaling ratio of the third processing interface (i.e., the ratio between the size of the virtual prop and the size of the third processing interface). The larger the scaling ratio, the smaller the number of displayed members, making it easier to observe the details of the members. The smaller the scaling ratio, the larger the number of displayed members, making it easier to observe the overall structure of the virtual prop.

[0110] In some embodiments, the interface jump operation may be automatically realized. For example, when the terminal device detects that the third member of the virtual item meets the processing conditions, it can automatically jump from the second processing interface to the third processing interface. Here, the processing conditions include at least one of the following: the degree of loss of the third member (for example, as the user uses the virtual item for a longer time, the third member of the virtual item is gradually lost, or when the third member of the user's virtual item is attacked by another player, the third member of the virtual item is also lost, and when the degree of loss of the third member is greater than the loss degree threshold, it affects the normal use of the virtual item. Taking the case where the third member is the stock of a virtual firearm as an example, as the user uses the virtual firearm in the game for a longer time, the stock gradually undergoes virtual losses such as damage and deformation, resulting in abnormal recoil and affecting the user's shooting experience) being greater than or equal to the loss degree threshold (for example, 30%), and obtaining at least one new part that can be used with the third member. For example, taking the case where the third member is the stock of a virtual rifle as an example, when the terminal device detects that the degree of loss of the stock of the virtual rifle is greater than the loss degree threshold (for example, it has already affected the user's use of the virtual rifle in the game), it can automatically jump from the second processing interface (for example, the processing interface of the handguard) to the processing interface of the stock, thereby facilitating the user's processing of the stock. In this way, the processing efficiency of the virtual item is improved, and the user's game experience is further improved.

[0111] In the virtual item processing method provided by the embodiments of the present application, when receiving a trigger operation for interface jump at the first processing interface corresponding to the first member, it can directly jump from the first processing interface to the second processing interface corresponding to the second member, without the need to first return to the upper level and select the second member. In this way, the processing efficiency of the virtual item can be greatly improved, and the user's game experience is improved.

[0112] In the following, an exemplary application example will be described by taking the case where the virtual item is a virtual firearm and the process is a modification process as an example.

[0113] The embodiments of the present application provide a method for processing virtual items. According to the relative positions between the members of the virtual firearm, by means of a slide operation in different directions or directly clicking on the corresponding members, a direct quick jump can be made from the modification interface quick jump of one member to the modification interface of another member (for example, directly jump from the modification interface of the muzzle to the modification interface of the handguard). Since there is no need to repeatedly return to the upper level (for example, the interface of the entire firearm) to select a new modified member, the modification efficiency of the virtual firearm is greatly improved.

[0114] In the following, the method for processing virtual items provided by the embodiments of the present application will be specifically described.

[0115] In some embodiments, the user can quickly jump to the modification interface of the corresponding member by clicking on the member in the virtual firearm that needs to be modified.

[0116] Exemplarily, as shown in FIG. 4B, in the modification interface 412 of the rear grip, in addition to the rear grip 413, other members of the virtual firearm such as the magazine 414, the stock 415, and the sight 416 are also displayed. Each firearm member has its own envelope box. When a click operation on the envelope box of the magazine 414 by the user is received, a direct jump is made from the modification interface 412 of the rear grip to the modification interface 417 of the magazine.

[0117] In some other embodiments, the user can also realize the jump between the modification interfaces of different members by sliding the screen.

[0118] Exemplarily, as shown in FIG. 5, in one virtual rifle, the muzzle, handguard, receiver, sight, magazine, rear grip, and stock can be modified, and there is a relative positional distribution among these members. For example, the handguard is to the right of the muzzle, the receiver is to the right of the handguard, the sight is above and to the right of the handguard, and the magazine is below and to the right of the handguard. Therefore, as shown in FIG. 7A, assuming that the modification interface 701 of the muzzle is displayed on the human-computer interaction interface, the user can jump from the modification interface 701 of the muzzle to the modification interface 702 of the handguard just by sliding the finger to the left. This is because, as a visual recognition, since the handguard is to the right of the muzzle, when the user slides the screen to the left, it should move from the position of the muzzle to the position of the handguard, that is, it should jump from the modification interface 701 of the muzzle to the modification interface 702 of the handguard. Similarly, when receiving the slide operation of the user who slides the screen to the upper left corner, it jumps from the modification interface 702 of the handguard to the modification interface 703 of the magazine. Similarly, the jump from the modification interface of the handguard to the modification interface of the sight slides the screen to the lower left corner.

[0119] In some other embodiments, by setting a direction interval, it is possible to determine whether a specific slide direction can trigger an interface jump. Continuing to refer to FIG. 5, taking the muzzle as an example, for example, from the muzzle to the handguard, the set direction interval can be 225 degrees to 315 degrees. In this case, the client can trigger an interface jump just by detecting a swipe operation within this direction interval.

[0120] In addition, in order to distinguish whether the user wants to trigger an interface jump or simply swipe back and forth to change the angle and appreciate the appearance of the firearm, a time limit for one slide operation can be set. For example, if the duration of the slide operation exceeds a duration threshold (e.g., 2 seconds), the interface jump operation is not triggered and is regarded as an operation to appreciate the appearance of the firearm.

[0121] In some embodiments, for different types of firearms, since the modifiable members are different, by individually setting the parameter set, the jump order and the angular interval parameters of the swipe direction can be determined.

[0122] It should be noted that members such as a handguard and a sight can continue to have an operation of additionally attaching a sub-member (or sub-component) to the member. For example, one front grip, one flashlight, or a laser device can be additionally attached to the handguard. In this case, the handguard and all the sub-components on the handguard can be collectively placed on the modification interface of the handguard, and on this modification interface, the handguard and its sub-components can be modified together, and when jumping, the handguard and its sub-components can be treated as a whole.

[0123] Exemplarily, referring to FIG. 7B, FIG. 7B is a schematic diagram showing an application scenario of a method for modifying a virtual prop provided by an embodiment of the present application. As shown in FIG. 7B, on the modification interface 702 of the handguard, in addition to the handguard 704 for replacing the original handguard of the firearm, sub-components that can continue to be additionally attached to the handguard are also displayed, for example, including a left rail 705, a right rail 706, and a front grip 707. In this way, the handguard and its sub-components can be modified together on one modification interface, and the modification efficiency of the virtual firearm is improved.

[0124] Hereinafter, with reference to FIG. 8, the method for processing a virtual prop provided by an embodiment of the present application will be specifically described.

[0125] Exemplarily, referring to FIG. 8, FIG. 8 is a flowchart of a method for processing virtual tools according to an embodiment of the present application, and will be described with reference to the steps shown in FIG. 8.

[0126] In step 801, the client receives a swipe operation of the player.

[0127] In some embodiments, taking the case where the currently displayed modification interface is the muzzle modification interface as an example, the client receives a swipe operation triggered by the player on the muzzle modification interface.

[0128] In step 802, the client calculates the swipe angle of the swipe operation.

[0129] In some embodiments, taking the muzzle as an example, as shown in FIG. 5, before calculating the swipe angle, the client takes the center point of the muzzle as the starting point, is perpendicular to the muzzle, sets the upward angle to 0 degrees, divides 0 degrees to 360 degrees into 8 quadrants shown in FIG. 9, and then the 6th and 7th quadrants (i.e., 225 degrees to 315 degrees) among them can be determined as the first direction interval of the muzzle. That is, when the angle value of the player's swipe direction P falls into the 6th or 7th quadrant (i.e., the first direction interval), the jump from the muzzle modification interface to the handguard modification interface is triggered.

[0130] Next, the client obtains the starting point A(x1, y1) and the ending point B(x2, y2) of the player's swipe operation, calculates the swipe direction P from point A to point B (P is a vector pointing from A to B), and then performs a dot product operation on the swipe direction P and the vector Base(0, 1) of the reference direction, and the obtained dot product result can be used as the angle value of the player's swipe direction P, and the quadrant into which the player's swipe direction P falls can be determined by the angle value.

[0131] In step 803, the client reads the swipe parameter.

[0132] In some embodiments, for the modification interface corresponding to each member of the virtual firearm, a set of swipe parameters (corresponding to the slide parameters described above) can be preconfigured to control the player's swipe jump. Here, the swipe parameter may include Min(float) and Max(float) representing the swipe section (i.e., direction section) required for member modification. For example, when jumping from the muzzle to the handguard, the corresponding Min(float) and Max(float) are 225 degrees and 315 degrees respectively (corresponding to the 6th and 7th quadrants shown in FIG. 9, that is, when the angle value of the player's swipe direction P falls within the 6th or 7th quadrant, the jump from the muzzle modification interface to the handguard modification interface is triggered), MinDist(float) represents the required minimum slide distance, MaxDuration(float) represents the maximum slide time to trigger the interface jump, and PointType(enum) represents the modification member corresponding to the camera. The swipe parameters corresponding to the modification interfaces of each member can be preconfigured respectively.

[0133] In step 804, the client determines the type of the swipe operation based on the swipe parameter. If the swipe operation is a virtual firearm browsing operation, step 805 is executed. If the swipe operation is a trigger operation for interface jump, steps 806 to 807 are executed.

[0134] In step 805, the client rotates the virtual firearm at the current member's modification interface.

[0135] In some embodiments, taking the case where the currently displayed modified interface is the muzzle modified interface as an example, when the client determines that the type of the swipe operation is a virtual firearm browsing operation based on the swipe parameter, the virtual firearm can be rotated at the muzzle modified interface and the rotated virtual firearm can be displayed, so as to satisfy the needs of players who appreciate the appearance of the firearm.

[0136] In step 806, the client acquires the target camera parameters.

[0137] In some embodiments, a set of camera parameters can be pre-configured for each member of the virtual firearm to describe the camera corresponding to the member. Here, the camera parameters may include a PointType (enum) representing the corresponding modified member, a Rotation (Vector3) representing the rotation angle of the camera, an Offset (Vector2) representing the offset of the camera from the initial point, a CameraDis (float) representing the distance between the camera and the focus, a FOV (float) representing the camera field of view, and a LerpSpeed (float) representing the speed of the interpolation transition to the next camera.

[0138] Exemplarily, taking the case where the currently displayed modified interface is the muzzle modification interface as an example, after the client reads the swipe parameters configured for the muzzle modification interface, first, it determines whether the slide distance of the current player's swipe operation is greater than the minimum slide distance (MinDist). If it is less than MinDist, it determines that this swipe operation is a virtual firearm browsing operation. The client can rotate the virtual firearm on the muzzle modification interface, display the rotated virtual firearm, and satisfy the player's need to appreciate the appearance of the firearm. If it is greater than MinDist, it continues to determine whether the slide time length of the swipe operation is greater than the maximum slide time (MaxDuration). If it is greater than MaxDuration, it determines that this swipe operation is a virtual firearm browsing operation. The client can rotate the virtual firearm on the muzzle modification interface, display the rotated virtual firearm, and satisfy the player's need to appreciate the appearance of the firearm. If it is less than MaxDuration, it determines that this swipe operation is a trigger operation for interface jumping, and based on the quadrant into which the player's swipe direction P enters, it obtains the corresponding target camera parameters. For example, when the angle value of the player's swipe direction P enters the 6th quadrant or the 7th quadrant, it obtains the camera parameters configured for the handguard (i.e., the target camera parameters).

[0139] In step 807, the client performs interpolation processing based on the initial camera parameters and the target camera parameters, and sequentially displays the screens captured by each camera.

[0140] In some embodiments, after obtaining the target camera parameters, the client can also perform linear interpolation processing on each parameter in the initial camera parameters (i.e., the camera parameters corresponding to the currently displayed modified interface) and the target camera parameters. Here, the interpolation formula for performing the linear interpolation processing can be as follows.

[0141]

Equation

[0142] Here, DeltaTime represents the length of time elapsed since the start of the switch, A represents the camera parameters corresponding to the current retrofit interface, B represents the target camera parameters, and P represents the intermediate camera parameters obtained after the interpolation process. In this way, the pose of the virtual camera is adjusted sequentially based on the initial camera parameters, the intermediate camera parameters, and the target camera parameters, and the adjusted virtual camera is called to shoot the virtual firearm, and a screen obtained by shooting with virtual cameras in different poses (that is, a screen obtained by shooting with a camera when the virtual camera is in different poses) is obtained. Finally, by sequentially displaying a plurality of screens obtained by shooting, a smooth switch from the retrofit interface of the muzzle to the retrofit interface of the handguard can be realized.

[0143] In the method for retrofitting virtual props provided by the embodiments of the present application, according to the relative positions between the members of the virtual firearm, by means of a swipe operation in different directions or directly clicking on the model, a quick jump can be directly made from the retrofit interface quick jump of one member to the retrofit interface of another member, and there is no need to repeatedly return to a higher level (for example, the interface of the entire firearm) to select a new retrofit member. Therefore, the retrofit efficiency of the virtual firearm is improved, and the user's gaming experience is further improved.

[0144] Next, a configuration example in which the virtual prop processing device 555 provided by the embodiments of the present application is implemented as a software module will be described. In some embodiments, as shown in FIG. 2, the software module in the virtual prop processing device 555 stored in the memory 550 may include a display module 5551 and a switching module 5552.

[0145] The display module 5551 is configured to display a modification entry (processing entry) for a virtual item in a virtual scene. The display module 5551 is further configured to display a first processing interface in response to a trigger operation on the processing entry. The first processing interface includes at least a processing control. The display module 5551 is further configured to display the processed virtual item in response to a trigger operation on the processing control, thereby replacing the display of the virtual item before processing. The switching module 5552 is configured to switch from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to a trigger operation for interface jump.

[0146] In some embodiments, the first processing interface further includes a first member of the virtual item. The display module 5551 is further configured to display the processed first member in response to a trigger operation on the processing control, thereby replacing the display of the first member before processing. Among the processed virtual items, the members other than the first member are not displayed or are at least partially displayed.

[0147] In some embodiments, the first processing interface further includes a second member of the virtual item. The trigger operation for interface jump is a trigger operation on the second member. The switching module 5552 is further configured to switch from the display of the first processing interface to the display of the second processing interface in response to a trigger operation on the second member in the first processing interface.

[0148] In some embodiments, the first processing interface further includes browsing controls respectively corresponding to at least one direction, the triggering operation of the interface jump is a triggering operation on the browsing control, and the switching module 5552 is further configured to switch from the display of the first processing interface to the display of the second processing interface in response to a triggering operation on the browsing control in the first direction of the first processing interface. The second member has a distribution direction with respect to the first member that is opposite to the first direction and is the member closest to the first member in the opposite direction.

[0149] In some embodiments, the triggering operation of the interface jump is a slide operation, and the switching module 5552 is further configured to switch from the display of the first processing interface to the display of the second processing interface in response to a slide operation in the first processing interface and the slide direction of the slide operation being located in the first direction section of the first member. The second member is distributed in the reverse direction section of the first direction section, and the distance between the second member and the first member is proportional to the slide distance of the slide operation.

[0150] In some embodiments, the triggering operation of the interface jump is a slide operation, and the switching module 5552 is further configured to switch from the display of the first processing interface to the display of the second processing interface in response to a slide operation in the first processing interface and the slide direction of the slide operation being located in the first direction section of the first member. The second member is distributed in the reverse direction section of the first direction section, and the second member is the member closest to the first member in the reverse direction section.

[0151] In some embodiments, the virtual item processing device 555 further includes an acquisition module 5553. The acquisition module 5553 is configured to acquire a first slide parameter configured for a first processing interface. The first slide parameter includes at least one direction interval of a first member. At least one direction interval of the first member includes a first direction interval. In the reverse direction interval of each direction interval, one member of the virtual item is distributed. The acquisition module 5553 is further configured to acquire an angle value of the slide operation in response to a slide operation on the first processing interface. The switching module 5552 is further configured to switch from the display of the first processing interface to the display of the second processing interface in response to the angle value of the slide operation being located in the first direction interval within at least one direction interval.

[0152] In some embodiments, the acquisition module 5553 is further configured to acquire a start point and an end point of the slide operation. The virtual item processing device 555 further includes a determination module 5554 and a dot multiplication module 5555. The determination module 5554 is configured to determine the slide direction of the slide operation based on the start point and the end point. The dot multiplication module 5555 is configured to perform a dot multiplication process on the slide direction and a reference direction to obtain an angle value of the slide operation.

[0153] In some embodiments, the virtual item processing device 555 further includes a control module 5556. The control module 5556 is configured to control the virtual item to rotate on the first processing interface in response to the angle value of the slide operation not being located in any of at least one angle interval. The rotation angle is a fixed value, or the rotation angle is proportional to the slide distance of the slide operation.

[0154] In some embodiments, the virtual item processing device 555 further includes a detection module 5557 and a transition module 5558. The detection module 5557 is configured to perform detection on a slide operation based on a first slide parameter and obtain a detection result before the acquisition module 5553 acquires the angle value of the slide operation. The transition module 5558 is configured to transition to the process of acquiring the angle value of the slide operation in response to the detection result indicating that the slide operation is a trigger operation for interface jump. The control module 5556 is further configured to control the virtual item to rotate on the first processing interface in response to the detection result indicating that the slide operation is a virtual item browsing operation. The rotation angle is a fixed value, or the rotation angle is proportional to the slide distance of the slide operation.

[0155] In some embodiments, the first slide parameter further includes at least one parameter among a set slide time duration, a set slide distance, a set pressure parameter, and a set number of contact points. The detection module 5557 further performs the steps of obtaining the slide time duration of the slide operation, comparing the slide time duration with the set slide time duration to obtain a comparison result, determining the slide operation as a trigger operation for interface jump when the comparison result indicates that the slide time duration meets the time duration condition, and determining the slide operation as a virtual prop browsing operation when the comparison result indicates that the slide time duration does not meet the time duration condition; obtaining the slide distance of the slide operation, comparing the slide distance with the set slide distance to obtain a comparison result, determining the slide operation as a trigger operation for interface jump when the comparison result indicates that the slide distance meets the distance condition, and determining the slide operation as a virtual prop browsing operation when the comparison result indicates that the slide distance does not meet the distance condition; obtaining the pressure parameter of the slide operation, comparing the pressure parameter with the set pressure parameter to obtain a comparison result, determining the slide operation as a trigger operation for interface jump when the comparison result indicates that the pressure parameter meets the pressure condition, and determining the slide operation as a virtual prop browsing operation when the comparison result indicates that the pressure parameter does not meet the pressure condition; obtaining the number of contact points of the slide operation, comparing the number of contact points with the set number of contact points to obtain a comparison result, determining the slide operation as a trigger operation for interface jump when the comparison result indicates that the two are the same, and determining the slide operation as a virtual prop browsing operation when the comparison result indicates that the two are not the same.

[0156] In some embodiments, the first processing interface and the second processing interface are obtained by shooting with a virtual camera. Camera parameters corresponding to the virtual camera are configured for each member of the virtual prop. The acquisition module 5553 is further configured to acquire the second camera parameters configured for the second member before the switching module 5552 switches from the display of the first processing interface to the display of the second processing interface. The processing device 555 of the virtual prop further includes an adjustment module 5559, a shooting module 55510, and a loading module 55511. The adjustment module 5559 is configured to adjust the posture of the virtual camera in the virtual scene based on the second camera parameters. The shooting module 55510 is configured to call the adjusted virtual camera to shoot the virtual prop. The loading module 55511 is configured to load the processing control of the second member onto the captured screen to obtain the second processing interface.

[0157] In some embodiments, the camera parameters include at least one of a member corresponding to the camera, the rotation angle of the camera, the offset of the camera from the starting point of the member, the distance between the camera and the focus, and the viewing angle of the camera.

[0158] In some embodiments, the acquisition module 5553 is further configured to acquire the first camera parameters configured for the first member. The processing device 555 of the virtual prop further includes an interpolation module 55512 and an insertion module 55513. The interpolation module 55512 is configured to perform interpolation processing based on the first camera parameters and the second camera parameters to obtain at least one intermediate camera parameter. Each intermediate camera parameter is used to adjust the posture of the virtual camera, call the adjusted virtual camera to shoot the virtual prop, and obtain a corresponding intermediate interface. The insertion module 55513 is configured to insert at least one intermediate interface during the process in which the switching module 5552 switches from the display of the first processing interface to the display of the second processing interface.

[0159] In some embodiments, the interpolation module 55512 is further configured to perform a multiplication operation on the second camera parameter and t to obtain a first multiplication result, where t is the length of time elapsed since the start of the switching, and the value range of t satisfies 0 ≦ t ≦ T, and T is the total length of time for switching from the first processing interface to the second processing interface, and T is a real number greater than 0; perform a multiplication operation on the subtraction result of T and t and the first camera parameter to obtain a second multiplication result; and determine the addition result of the first multiplication result and the second multiplication result as at least one intermediate camera parameter.

[0160] In some embodiments, the display module 5551 is further configured to display a virtual item browsing interface before displaying the first processing interface. The virtual item browsing interface includes a plurality of members of the virtual item. The transition module 5558 is further configured to transition to a process of displaying the first processing interface in response to a selection operation on a first member within the virtual item browsing interface.

[0161] In some embodiments, the switching module 5552 is further configured to switch from displaying the second processing interface to displaying the third processing interface in response to the third member of the virtual item satisfying the processing conditions. The third processing interface includes the third member and the processing control of the third member.

[0162] In some embodiments, the processing conditions include at least one of the degree of loss of the third member being greater than or equal to a loss degree threshold, and obtaining a new part that can be used with the third member.

[0163] It should be noted that the description of the apparatus in the embodiments of the present application is the same as the description of the embodiments of the above method, and has the same beneficial effects as the embodiments of the method. Therefore, it will not be repeated here. The technical details not yet described in the virtual prop transformation processing apparatus provided by the embodiments of the present application can be understood from the description of any of the drawings in FIG. 3 or FIG. 6.

[0164] The embodiments of the present application provide a computer program product, the computer program product includes a computer program or computer-executable instructions, and the computer program or computer-executable instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer-executable instructions from the computer-readable storage medium, and the processor executes the computer-executable instructions to cause the computer device to execute the virtual prop transformation processing method provided by the embodiments of the present application.

[0165] The embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions, and when the computer-executable instructions are executed by a processor, the processor is caused to execute the virtual prop transformation processing method provided by the embodiments of the present application, for example, the virtual prop transformation processing method shown in FIG. 3 or FIG. 6.

[0166] In some embodiments, the computer-readable storage medium may be a memory such as FRAM (registered trademark), ROM, PROM, EPROM, EEPROM, flash memory, magnetic memory, optical disk, or CD-ROM, and may be various devices including one or any combination of the above memories.

[0167] In some embodiments, the executable instructions may be in the form of a program, software, software module, script, or code, and may be described in any form of programming language (including compiled or interpreted languages, declarative or procedural languages), and may be arranged in any form, including being arranged as an independent program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0168] As an example, the executable instructions may be arranged to be executed on one electronic device, may be arranged to be executed on multiple electronic devices located at one location, or may be executed on multiple electronic devices distributed at multiple locations and interconnected via a communication network.

[0169] The above are only examples of the embodiments of the present application and do not limit the protection scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present application shall be included within the protection scope of the present application.

Description of Reference Numerals

[0170] 100 Virtual Scene 101 Virtual Object 102 Virtual Firearm 103 Processing Entrance 104 First Processing Interface 105 First Member 106 Processing Control of the First Member 107 Second Processing Interface 108 Second Member 109 Processing Control of the Second Member 200 Server 300 Network 400 Terminal Device 410 Client 500 Electronic Device 510 Processor 520 Network Interface 530 User Interface 531 Output Device 532 Input Device 540 Bus System 550 Memory 551 Operating System 552 Network Communication Module 553 Display Module 554 Input Processing Module 555 Virtual Prop Processing Device 5551 Display Module 5552 Switching Module 5553 Acquisition Module 5554 Decision Module 5555 Dot Multiplication Module 5556 Control Module 5557 Detection Module 5558 Transition Module 5559 Adjustment Module 55510 Shooting Module 55511 Loading Module 55512 Interpolation Module 55513 Insertion Module 400 Virtual Scene 401 Virtual Object 402 Virtual Firearm 403 Processing Entry 404 Virtual Firearm Browsing Interface 405 Barrel 406 Handguard 407 Magazine 408 Optical Sight 409 Handguard Processing Interface 410 Handguard 411 Handguard Processing Control 412 Rear Grip Processing Interface 413 Rear Grip 414 Magazine 415 Stock 416 Sight Processing Interface of 417 Magazine Processing Control of 418 Magazine Processing Interface of 419 Muzzle 420 Muzzle Processing Control of 421 Muzzle 422 Browsing Control 701 Muzzle Modification Interface 702 Handguard Modification Interface 703 Magazine Modification Interface 704 Handguard 705 Left Rail 706 Right Rail 707 Front Grip

Claims

1. A method for processing virtual items executed by an electronic device, comprising: displaying a processing entry for a virtual item in a virtual scene; displaying a first processing interface in response to a trigger operation on the processing entry, the first processing interface including at least a processing control; displaying the processed virtual item in response to a trigger operation on the processing control, thereby replacing the display of the virtual item before processing; switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to a trigger operation for interface jump.

2. The first processing interface further includes a first member of the virtual item, The step of displaying the processed virtual item in response to a trigger operation on the processing control, thereby replacing the display of the virtual item before processing, includes: displaying the processed first member in response to a trigger operation on the processing control, thereby replacing the display of the first member before processing, and among the processed virtual items, the members other than the first member are not displayed or are at least partially displayed. The method for processing a virtual item according to Claim 1.

3. The first processing interface further includes a second member of the virtual item, and the trigger operation for interface jump is a trigger operation on the second member. The step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to a trigger operation for interface jump includes: switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to a trigger operation on the second member in the first processing interface. The method for processing a virtual item according to Claim 1 or 2.

4. The first processing interface further includes browsing controls respectively corresponding to at least one direction, and the trigger operation for interface jump is a trigger operation on the browsing controls. In response to a trigger operation for interface jump, the step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface is including a step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to a trigger operation on the browsing control in the first direction in the first processing interface, wherein the first processing interface includes a second member whose distribution direction with respect to the first member is opposite to the first direction and which is the member closest to the first member in the opposite direction. The method for processing a virtual item according to claim 1 or 2.

5. The trigger operation for interface jump is a slide operation. In response to a trigger operation for interface jump, the step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface is including a step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to the slide operation in the first processing interface and the slide direction of the slide operation being located in the first direction section of the first member, wherein a second member is distributed in the reverse direction section of the first direction section, and the distance between the second member and the first member is proportional to the slide distance of the slide operation. The method for processing a virtual item according to claim 1 or 2.

6. The trigger operation for interface jump is a slide operation. In response to a trigger operation for interface jump, the step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface is including a step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to the slide operation in the first processing interface and the slide direction of the slide operation being located in the first direction section of the first member, wherein a second member is distributed in the reverse direction section of the first direction section, and the second member is the member closest to the first member within the reverse direction section. The method for processing a virtual item according to any one of claims 1 to 3.

7. The second processing interface includes the second member and the processing control of the second member. The method for processing a virtual item according to any one of claims 3 to 6.

8. In response to the slide operation in the first processing interface and the slide direction of the slide operation being located in the first direction section of the first member, the step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface is A step of obtaining a first slide parameter configured for the first processing interface, where the first slide parameter includes at least one direction section of the first member, at least one direction section of the first member includes the first direction section, and in the reverse direction section of each direction section, one member of the virtual item is distributed; A step of obtaining an angle value of the slide operation in response to the slide operation in the first processing interface; In response to the angle value of the slide operation being located in the first direction section within the at least one direction section, a step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface, including. The method for processing a virtual item according to claim 6.

9. The step of obtaining the angle value of the slide operation is A step of obtaining a start point and an end point of the slide operation; A step of determining the slide direction of the slide operation based on the start point and the end point; A step of performing a dot product operation on the slide direction and a reference direction to obtain the angle value of the slide operation, including. The method for processing a virtual item according to claim 8.

10. The method for processing a virtual item is Further including a step of controlling the virtual item to rotate in the first processing interface in response to the angle value of the slide operation not being located in any of at least one angle section, where the rotation angle is a fixed value or the rotation angle is proportional to the slide distance of the slide operation. The method for processing a virtual item according to claim 8 or 9.

11. Before obtaining the angle value of the slide operation, the method for processing a virtual item is Detecting the slide operation based on the first slide parameter and obtaining a detection result; In response to the detection result indicating that the slide operation is a trigger operation for the interface jump, migrating to a process of obtaining an angular value of the slide operation; In response to the detection result indicating that the slide operation is a virtual item browsing operation, controlling the virtual item to rotate in the first processing interface, wherein the rotation angle is a fixed value or the rotation angle is proportional to the slide distance of the slide operation; and further including The method for processing a virtual item according to any one of claims 8 to 10.

12. The first slide parameter further includes at least one parameter among a set slide time length, a set slide distance, a set pressure parameter, and a set number of contact points; The step of detecting the slide operation based on the first slide parameter and obtaining a detection result is Obtaining a slide time length of the slide operation, comparing the slide time length with the set slide time length to obtain a comparison result, and when the comparison result indicates that the slide time length satisfies a time length condition, determining the slide operation as a trigger operation for interface jump, and when the comparison result indicates that the slide time length does not satisfy the time length condition, determining the slide operation as a virtual item browsing operation; Obtaining a slide distance of the slide operation, comparing the slide distance with the set slide distance to obtain a comparison result, and when the comparison result indicates that the slide distance satisfies a distance condition, determining the slide operation as a trigger operation for interface jump, and when the comparison result indicates that the slide distance does not satisfy the distance condition, determining the slide operation as a virtual item browsing operation; A step of obtaining the pressure parameter of the slide operation, comparing the pressure parameter with the set pressure parameter, and obtaining a comparison result. When the comparison result indicates that the pressure parameter satisfies the pressure condition, determining the slide operation as a trigger operation for interface jump; when the comparison result indicates that the pressure parameter does not satisfy the pressure condition, determining the slide operation as a virtual prop browsing operation. A step of obtaining the number of contact points of the slide operation, comparing the number of contact points with the set number of contact points, and obtaining a comparison result. When the comparison result indicates that the two are the same, determining the slide operation as a trigger operation for interface jump; when the comparison result indicates that the two are different, including a step of executing at least one of the steps of determining the slide operation as a virtual prop browsing operation. The method for processing virtual props according to claim 11.

13. The first processing interface and the second processing interface are obtained by shooting with a virtual camera, and camera parameters corresponding to the virtual camera are configured for each member of the virtual prop. Before the step of switching from the display of the first processing interface to the display of a second processing interface different from the first processing interface, the method for processing the virtual prop is as follows. A step of obtaining the second camera parameter configured for the second member. Adjusting the posture of the virtual camera in the virtual scene based on the second camera parameter, and calling the adjusted virtual camera to shoot the virtual prop. Further including a step of loading the processing control of the second member on the captured screen to obtain the second processing interface. The method for processing virtual props according to any one of claims 1 to 12.

14. The camera parameter includes at least one of a member corresponding to the camera, a rotation angle of the camera, an offset of the camera from the starting point of the member, a distance between the camera and the focus, and a parameter of the camera's field of view. The method for processing virtual props according to claim 13.

15. The method for processing the virtual prop is as follows. A step of obtaining the first camera parameter configured for the first member. Performing an interpolation process based on the first camera parameter and the second camera parameter to obtain at least one intermediate camera parameter, wherein each of the intermediate camera parameters is used to adjust the pose of the virtual camera, call the adjusted virtual camera to capture the virtual prop, and obtain a corresponding intermediate interface, and steps; Further including the step of inserting at least one of the intermediate interfaces during the process of switching from the display of the first processing interface to the second processing interface; The method for processing a virtual prop according to claim 13 or 14.

16. The step of performing an interpolation process based on the first camera parameter and the second camera parameter to obtain at least one intermediate camera parameter includes: Multiplying the second camera parameter by t to obtain a first multiplication result, where t is the length of time elapsed since the start of the switch, the value range of t satisfies 0 ≦ t ≦ T, and T is the total length of time for switching from the first processing interface to the second processing interface, and T is a real number greater than 0, and steps; Multiplying the subtraction result of T and t by the first camera parameter to obtain a second multiplication result; Determining the addition result of the first multiplication result and the second multiplication result as the at least one intermediate camera parameter; The method for processing a virtual prop according to claim 15.

17. Before displaying the first processing interface, the method for processing a virtual prop includes: Displaying a virtual prop browsing interface, where the virtual prop browsing interface includes a plurality of members of the virtual prop; Further including the step of transitioning to the process of displaying the first processing interface in response to a selection operation on the first member in the virtual prop browsing interface; The method for processing a virtual prop according to any one of claims 1 to 16.

18. The method for processing a virtual prop includes: Further including the step of switching from the display of the second processing interface to the display of a third processing interface different from the second processing interface in response to the third member of the virtual prop satisfying a processing condition, where the third processing interface includes the third member and the processing control of the third member; The method for processing virtual items according to any one of claims 1 to 16.

19. The processing conditions are that the degree of loss of the third member is equal to or greater than a loss degree threshold, and at least one of obtaining a new part that can be used with the third member. The method for processing virtual items according to claim 18.

20. A virtual item processing apparatus, comprising a display module and a switching module, wherein the display module is configured to display a processing entry for a virtual item in a virtual scene, the display module is further configured to display a first processing interface in response to a trigger operation on the processing entry, and the first processing interface includes at least processing control, the display module is further configured to display the processed virtual item in response to a trigger operation on the processing control, and the switching module is configured to switch from the display of the first processing interface to the display of a second processing interface different from the first processing interface in response to a trigger operation for interface jump.

21. a memory storing executable instructions, and a processor that, when executing the executable instructions stored in the memory, implements the method for processing virtual items according to any one of claims 1 to 19.

22. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, cause the processor to implement the method for processing virtual items according to any one of claims 1 to 19.

23. A computer program product including a computer program or computer-executable instructions that, when executed by a processor, cause the processor to implement the method for processing virtual items according to any one of claims 1 to 19.

Citation Information

Patent Citations

  • Virtual shooting prop configuration method and device, storage medium and electronic equipment

    CN114504817A

  • Game system and program

    JP2021010476A

  • Electronic device for providing shooting mode based on virtual character and operation method thereof

    US20210383119A1