Virtual prop modification processing method and device, electronic equipment, and storage medium

By allowing direct navigation between the virtual item modification interfaces, the problem of frequent navigation during the virtual item modification process is solved, resulting in a more efficient modification workflow.

CN117618919BActive Publication Date: 2026-08-04TENCENT TECH (CHENGDU) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECH (CHENGDU) CO LTD
Filing Date
2022-08-12
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In existing technologies, the process of modifying virtual props requires frequent switching between the overall gun interface and the component modification interface, resulting in low modification efficiency.

Method used

A method for modifying virtual props is provided, which directly switches to the second modification interface by responding to the trigger operation in the first modification interface, avoiding returning to the previous level to select parts, and directly modifying the next part.

Benefits of technology

It improves the efficiency of virtual prop modification, saves operation time, and enhances the convenience and efficiency of the modification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117618919B_ABST
    Figure CN117618919B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, electronic device, and storage medium for modifying virtual props. The method includes: displaying a modification entry for virtual props in a virtual scene; displaying a first modification interface in response to a trigger operation on the modification entry, wherein the first modification interface includes at least a first component of the virtual prop and modification controls for the first component; displaying the modified first component in response to a setting operation in the modification controls of the first component, replacing the display of the unmodified first component; and switching from displaying the first modification interface to displaying a second modification interface in response to an interface jump trigger operation based on the first modification interface, wherein the second modification interface includes a second component of the virtual prop and modification controls for the second component. This application improves the efficiency of modifying virtual props.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer human-computer interaction technology, and in particular to a method, apparatus, electronic device and storage medium for modifying virtual props. Background Technology

[0002] Human-computer interaction technology based on graphics processing hardware in virtual scenes can realize diverse 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, it can simulate the realistic combat process between virtual objects.

[0003] Taking shooting games as an example, most shooting games have a weapon modification system. Since firearms have multiple modifiable parts, when a player modifies multiple parts of a gun, they need to repeatedly perform the following process: In the overall gun interface, select the part to be modified (e.g., muzzle) to enter the muzzle modification interface; after modifying the muzzle in the muzzle modification interface, return to the overall gun interface; in the overall gun interface, reselect the part to be modified (e.g., handguard) to enter the handguard modification interface; after modifying the handguard in the handguard modification interface, return to the overall gun interface and select other parts to be modified again.

[0004] It can be seen that the relevant technology requires frequent switching between the overall gun interface and the modification interface of the corresponding parts during the process of modifying firearms, resulting in low efficiency of virtual item modification. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for modifying virtual props, which can improve the efficiency of modifying virtual props.

[0006] The technical solution of this application embodiment is implemented as follows:

[0007] This application provides a method for modifying virtual items, including:

[0008] Displays the entry point for modifying virtual props in the virtual scene;

[0009] In response to a trigger operation on the modification entry, a first modification interface is displayed, wherein the first modification interface includes at least a first component of the virtual prop and modification controls for the first component;

[0010] In response to a setting operation in the modification control of the first component, the modified first component is displayed instead of the unmodified first component;

[0011] In response to an interface jump trigger operation based on the first modification interface, the display switches from the first modification interface to the second modification interface, wherein the second modification interface includes the second component of the virtual prop and modification controls for the second component.

[0012] This application provides a device for modifying virtual items, comprising:

[0013] The display module is used to show the modification entry for virtual props in the virtual scene;

[0014] The display module is further configured to display a first modification interface in response to a trigger operation on the modification entry, wherein the first modification interface includes at least a first component of the virtual prop and modification controls for the first component;

[0015] The display module is further configured to respond to a setting operation in the modification control of the first component, and display the modified first component instead of displaying the first component before modification;

[0016] A switching module is used to switch from displaying the first modification interface to displaying the second modification interface in response to an interface jump trigger operation based on the first modification interface, wherein the second modification interface includes the second component of the virtual prop and modification controls for the second component.

[0017] This application provides an electronic device, including:

[0018] Memory, used to store executable instructions;

[0019] The processor, when executing executable instructions stored in the memory, implements the virtual item modification processing method provided in the embodiments of this application.

[0020] This application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the virtual item modification processing method provided in this application.

[0021] This application provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, implements the virtual item modification processing method provided in this application.

[0022] The embodiments of this application have the following beneficial effects:

[0023] When a screen jump trigger operation is received in the first modification interface corresponding to the first component, the user can jump from the first modification interface to the second modification interface corresponding to the second component without having to return to the previous level to select the second component. This allows for the rapid modification of another component after the modification of one component is completed, saving operation time and improving the modification efficiency of virtual props. Attached Figure Description

[0024] Figure 1A This is a schematic diagram illustrating the application mode of the virtual prop modification processing method provided in the embodiments of this application;

[0025] Figure 1B This is a schematic diagram illustrating the application mode of the virtual prop modification processing method provided in the embodiments of this application;

[0026] Figure 2 This is a schematic diagram of the structure of the electronic device 500 provided in the embodiments of this application;

[0027] Figure 3 This is a flowchart illustrating the method for modifying virtual props provided in the embodiments of this application;

[0028] Figures 4A to 4C This is a schematic diagram illustrating an application scenario of the virtual prop modification method provided in the embodiments of this application;

[0029] Figure 5 This is a schematic diagram of the structure of the virtual rifle provided in the embodiments of this application;

[0030] Figure 6 This is a flowchart illustrating the method for modifying virtual props provided in the embodiments of this application;

[0031] Figure 7A and Figure 7B This is a schematic diagram illustrating an application scenario of the virtual prop modification method provided in the embodiments of this application;

[0032] Figure 8 This is a flowchart illustrating the method for modifying virtual props provided in the embodiments of this application;

[0033] Figure 9 This is a quadrant diagram provided in the embodiments of this application. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0035] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0036] It is understood that in the embodiments of this application, data related to user information (such as data related to virtual items owned by virtual objects controlled by the user) are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent 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.

[0037] In the following description, the terms “first, second, ...” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first, second, ...” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0039] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0040] 1) Responding to: used to indicate the conditions or states on which the operation is performed depends. When the conditions or states on which it depends are met, one or more operations can be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.

[0041] 2) Virtual Scene: This refers to the scene displayed (or provided) by the application while it is running on the terminal device. The virtual scene can be a simulation of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any of a two-dimensional, 2.5-dimensional, or three-dimensional virtual scene; this application does not limit the dimension of the virtual scene. For example, a virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. Users can control virtual objects to move within the virtual scene.

[0042] 3) Virtual props: Props that can be used by virtual objects in a virtual scene, and are structurally composed of multiple parts. For example, they can be virtual shooting props used to attack other virtual objects (such as virtual guns, virtual bows and arrows), or virtual vehicles used by virtual objects to drive in a virtual scene (such as virtual vehicles, virtual ships, virtual airplanes, etc.).

[0043] 4) Virtual Objects: These are interactive images of people and objects within a virtual scene, or movable objects within the virtual scene. These movable objects can be virtual characters, virtual animals, anime characters, etc., such as people or animals displayed in a virtual scene. A virtual object can be a virtual avatar representing the user within the virtual scene. A virtual scene can include multiple virtual objects, each with its own shape and volume, occupying a portion of the space within the virtual scene.

[0044] 5) Scene data: This represents the characteristic data of the virtual scene, such as the area of ​​the construction area in the virtual scene, the current architectural style of the virtual scene, etc.; it can also include the location of the virtual building in the virtual scene, and the area occupied by the virtual building, etc.

[0045] 6) Client: An application running on a terminal device that provides various services, such as a video playback client, a game client, etc.

[0046] 7) Modification: Disassembling, installing, or replacing parts of virtual props. For example, replacing the original muzzle of a virtual firearm with a new muzzle, or installing accessories such as a foregrip or laser device on the handguard.

[0047] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for modifying virtual props, which can improve the efficiency of modifying virtual props. To facilitate a clearer understanding of the method for modifying virtual props provided in this application, exemplary implementation scenarios of the method are first described. The virtual scene in the method for modifying virtual props provided in this application can be entirely output based on a terminal device, or based on a collaborative output between a terminal device and a server.

[0048] In some embodiments, a virtual scene can be an environment for virtual objects (such as game characters) to interact. For example, it can be a place where game characters can fight each other. By controlling the actions of the game characters, the two parties can interact in the virtual scene, thereby allowing users to relieve life stress during the game.

[0049] In one implementation scenario, see Figure 1A , Figure 1AThis is a schematic diagram of the application mode of the virtual prop modification and processing method provided in the embodiments of this application. It is applicable to some application modes that can complete the relevant data calculation of the virtual scene 100 by relying entirely on the graphics processing hardware computing power of the terminal device 400, such as single-player / offline mode games, and the output of the virtual scene is completed by various types of terminal devices 400 such as smartphones, tablets and virtual reality / augmented reality devices.

[0050] As an example, types of graphics processing hardware include central processing units (CPUs) and graphics processing units (GPUs).

[0051] When visual perception of virtual scene 100 is formed, terminal device 400 calculates the data required for display through graphics computing hardware, and completes the loading, parsing and rendering of display data. The graphics output hardware outputs video frames that can form visual perception of virtual scene. For example, two-dimensional video frames are presented on the display screen of a smartphone, or video frames that achieve three-dimensional display effect are projected on the lenses of augmented reality / virtual reality glasses. In addition, in order to enrich the perception effect, terminal device 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.

[0052] As an example, a client 410 (e.g., a standalone game application) runs on the terminal device 400. During the operation of the client 410, the output includes a virtual scene for role-playing. The virtual scene can be an environment for game characters to interact with, such as a plain, street, valley, etc., for game characters to fight. Taking the virtual scene 100 displayed in a first-person perspective as an example, a virtual object 101 is displayed in the virtual scene 100. The virtual object 101 can be a game character controlled by the user. That is, the virtual object 101 is controlled by the real user and will move in the virtual scene 100 in response to the real user's operation on the controller (e.g., touch screen, voice switch, keyboard, mouse, and joystick). For example, when the real user moves the joystick to the right, the virtual object 101 will move to the right in the virtual scene 100. It can also remain stationary, jump, and be controlled to shoot.

[0053] For example, taking a virtual firearm as a virtual prop, a virtual object 101 and a virtual firearm 102 held by the virtual object 101 are displayed in the virtual scene 100. Furthermore, a modification entry 103 for the virtual firearm 102 is also displayed in the virtual scene 100. When the client 410 receives a user's trigger operation on the modification entry 103, the virtual scene 100 displayed in the human-computer interaction interface will switch to a first modification interface 104 (e.g., a muzzle modification interface). The first modification interface 104 displays the first component 105 of the virtual firearm 102 (e.g., the muzzle) and modification controls 106 for the first component 105 (e.g., a new muzzle for replacing the first component 105). Then, the client 410 can respond to the setting operation in the modification controls 106 of the first component 105, displaying the modified first component 105 (e.g., the new muzzle) instead of the unmodified first component 105, thus completing the modification of the muzzle. Subsequently, the client 410... In response to an interface jump trigger operation based on the first modification interface 104, the system can directly switch from displaying the first modification interface 104 to displaying the second modification interface 107 (e.g., the handguard modification interface). The second modification interface 107 displays the second component 108 of the virtual weapon 102 (e.g., the handguard) and the modification controls 109 of the second component 108 (e.g., the right rail that can be installed on the second component 108). In this way, after modifying one component, one can quickly jump from the modification interface of one component to the modification interface of another component without having to repeatedly return to the previous level (e.g., the whole weapon interface) to select a new modification component, saving operation time and thus improving the modification efficiency of virtual props.

[0054] In another implementation scenario, see Figure 1B , Figure 1B This is a schematic diagram of the application mode of the virtual prop modification processing method provided in the embodiments of this application. It is applied to the terminal device 400 and the server 200, and is suitable for the application mode that relies on the computing power of the server 200 to complete the virtual scene calculation and output the virtual scene on the terminal device 400.

[0055] Taking the visual perception of virtual scene 100 as an example, server 200 calculates display data related to the virtual scene (such as scene data) and sends it to terminal device 400 via network 300. Terminal device 400 relies on graphics computing hardware to load, parse, and render the calculated display data, and relies on graphics output hardware to output the virtual scene to form visual perception. For example, two-dimensional video frames can be displayed on the screen of a smartphone, or video frames with a three-dimensional display effect can be projected onto the lenses of augmented reality / virtual reality glasses. As for the perception of the form of the virtual scene, it can be understood that it can be achieved with the help of the corresponding hardware output of terminal device 400, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.

[0056] As an example, a client 410 (e.g., a network-based game application) runs on a terminal device 400. It interacts with other users in a game by connecting to a server 200 (e.g., a game server). The terminal device 400 outputs a virtual scene 100 from the client 410. Taking the virtual scene 100 as an example, virtual objects 101 are displayed in the virtual scene 100. The virtual object 101 can be a game character controlled by the user. That is, the virtual object 101 is controlled by the real user and will move in the virtual scene 100 in response to the real user's operation on the controller (e.g., touch screen, voice switch, keyboard, mouse, and joystick). For example, when the real user moves the joystick to the right, the virtual object 101 will move to the right in the virtual scene 100. It can also remain stationary, jump, and be controlled to shoot.

[0057] For example, taking a virtual firearm as a virtual prop, a virtual object 101 and a virtual firearm 102 held by the virtual object 101 are displayed in the virtual scene 100. Furthermore, a modification entry 103 for the virtual firearm 102 is also displayed in the virtual scene 100. When the client 410 receives a user's trigger operation on the modification entry 103, the virtual scene 100 displayed in the human-computer interaction interface will switch to a first modification interface 104 (e.g., a muzzle modification interface). The first modification interface 104 displays the first component 105 of the virtual firearm 102 (e.g., the muzzle) and modification controls 106 for the first component 105 (e.g., a new muzzle for replacing the first component 105). Then, the client 410 can respond to the setting operation in the modification controls 106 of the first component 105, displaying the modified first component 105 (e.g., the new muzzle) instead of the unmodified first component 105, thus completing the modification of the muzzle. Subsequently, the client 410... In response to the interface jump trigger operation based on the first modification interface 104, the system directly switches from displaying the first modification interface 104 to displaying the second modification interface 107 (e.g., the handguard modification interface). The second modification interface 107 displays the second component 108 of the virtual firearm 102 (e.g., the handguard) and the modification controls 109 of the second component 108 (e.g., the right rail that can be installed on the second component 108). In this way, after modifying one component, one can quickly jump from the modification interface of one component to the modification interface of another component without having to repeatedly return to the previous level (e.g., the whole gun interface) to select a new modification component, saving operation time and thus improving the modification efficiency of virtual props.

[0058] In some embodiments, the terminal device 400 can also implement the virtual item modification processing method provided in this application embodiment by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run, such as a shooting game APP (i.e., the client 410 mentioned above); it can also be a mini-program, that is, a program that only needs to be downloaded into the browser environment to run; or it can be a game mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plugin.

[0059] Taking a computer program as an example, in actual implementation, the terminal device 400 has an application that supports virtual scenes installed and running. This application can be any of the following: a first-person shooter (FPS) game, a third-person shooter game, a virtual reality application, a 3D map application, or a multiplayer shooting survival game. Users use the terminal device 400 to manipulate virtual objects located in the virtual scene, and these activities include, but are not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up items, shooting, attacking, throwing, and constructing virtual buildings—at least one of these. Illustratively, the virtual character can be a virtual persona, such as a realistic character or an anime character.

[0060] In other embodiments, the embodiments of this application can also be implemented with the aid of cloud technology, which refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize the computation, storage, processing, and sharing of data.

[0061] Cloud technology is a general term encompassing network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form resource pools, allowing for on-demand use with flexibility and convenience. Cloud computing technology will become a crucial support. The backend services of cloud computing systems require substantial computing and storage resources.

[0062] Example, Figure 1B The server 200 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing 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 networks (CDNs), and big data and artificial intelligence platforms. The terminal device 400 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal device 400 and the server 200 can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.

[0063] The structure of the electronic device provided in the embodiments of this application will be further described below. Taking the electronic device as a terminal device as an example, see... Figure 2 , Figure 2 This is a schematic diagram of the structure of the electronic device 500 provided in the embodiments of this application. Figure 2The illustrated electronic device 500 includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to implement communication between these components. In addition to a data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 540.

[0064] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

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

[0066] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices physically located away from the processor 510.

[0067] The memory 550 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 550 described in this application embodiment is intended to include any suitable type of memory.

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

[0069] Operating system 551 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;

[0070] The network communication module 552 is used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.

[0071] Presentation module 553 is configured to enable the presentation of 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 screen, a speaker, etc.) associated with user interface 530;

[0072] The input processing module 554 is used to detect and translate one or more user inputs or interactions from one or more input devices 532.

[0073] In some embodiments, the apparatus provided in this application can be implemented in software. Figure 2 A modification processing device 555 for virtual props stored in memory 550 is shown. This device can be software in the form of programs and plugins, and includes the following software modules: display module 5551, switching module 5552, acquisition module 5553, determination module 5554, multiplication module 5555, control module 5556, detection module 5557, transfer module 5558, adjustment module 5559, shooting module 55510, loading module 55511, interpolation module 55512, and insertion module 55513. These modules are logically connected and can therefore be arbitrarily combined or further separated according to the functions implemented. It should be noted that... Figure 2 For ease of explanation, all the above modules are shown at once, but this should not be considered as excluding the implementation of the virtual prop modification processing device 555 which may only include the display module 5551 and the switching module 5552. The functions of each module will be explained below.

[0074] The following will provide a detailed description of the virtual item modification method provided in this application embodiment, in conjunction with exemplary applications and implementations of the terminal devices provided in this application embodiment.

[0075] See Figure 3 , Figure 3 This is a flowchart illustrating the method for modifying virtual props provided in this application embodiment, which will be combined with... Figure 3 The steps shown are explained.

[0076] It should be noted that, Figure 3The method illustrated can be executed by various forms of computer programs running on the terminal device, and is not limited to a client. For example, it can also be the operating system, software module, script, and applet mentioned above. Therefore, the client-side examples used below should not be considered as limiting the embodiments of this application. Furthermore, for ease of description, no specific distinction will be made between the terminal device and the client running on the terminal device below.

[0077] In step 301, an entry point for modifying virtual props in the virtual scene is displayed.

[0078] In some embodiments, a client supporting virtual scenes is installed on the terminal device (e.g., when the virtual scene is a game, the corresponding client could be a shooting game app). When a user opens the client installed on the terminal device (e.g., the user clicks on the icon corresponding to the shooting game app displayed on the user interface of the terminal device), and the terminal device runs the client, virtual objects (e.g., virtual object A controlled by user 1) and virtual props (e.g., virtual shooting props, virtual throwing props, etc.) held by virtual object A through a gripping part (e.g., hand) can be displayed in the virtual scene. Furthermore, modification entry points for virtual props can also be displayed in the virtual scene; for example, when the virtual prop is a virtual firearm, modification entry points for the virtual firearm can be displayed in the virtual scene.

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

[0080] Here, the first modification interface includes at least the first component of the virtual prop and the modification controls for the first component.

[0081] In some embodiments, before displaying the first modification interface, the terminal device may also perform the following processes: displaying a virtual item viewing interface, wherein the virtual item viewing interface includes multiple components of virtual items; and in response to a selection operation on a first component in the virtual item viewing interface, proceeding to the process of displaying the first modification interface.

[0082] For example, taking a virtual firearm as a virtual prop, when the terminal device receives a user's click operation on the modification entry of the virtual firearm, it can first display the virtual firearm viewing interface (e.g., the whole gun interface, which displays the full view of the virtual firearm and also displays interactive buttons for all the parts that can be modified). Then, in response to the user's selection operation on the first part (e.g., the muzzle) in the virtual firearm viewing interface (e.g., receiving a user's click operation on the interactive button for the muzzle), the terminal device displays the first modification interface (i.e., the muzzle modification interface). In the first modification interface, the first part of the virtual firearm (e.g., the muzzle) and the muzzle modification controls (e.g., a new muzzle for replacing the original muzzle) can be displayed.

[0083] For example, see Figure 4A , Figure 4A This is a schematic diagram illustrating an application scenario of the virtual prop modification method provided in the embodiments of this application, such as... Figure 4A As shown, a virtual scene 400 is displayed in the human-computer interaction interface. Within the virtual scene 400, a virtual object 401 (e.g., a game character A controlled by user 1) and a virtual firearm 402 held by the virtual object 401 are displayed. Furthermore, a modification entry 403 for the virtual firearm 402 is also displayed in the virtual scene 400. When a click operation is received on the modification entry 403 for the virtual firearm 402, the virtual scene 400 displayed in the human-computer interaction interface switches to a virtual firearm viewing interface 404 (i.e., the complete firearm interface). The virtual firearm viewing interface 404 displays multiple components of the virtual firearm 402 that can be modified, such as the barrel 405, handguard 406, magazine 407, and optical sight 408. When a click operation is received on the handguard 406 in the virtual weapon viewing interface 404, the virtual weapon viewing interface 404 displayed in the human-computer interaction interface will switch to the handguard modification interface 409. The handguard modification interface 409 displays the handguard 410 of the virtual weapon 402 and the modification controls 411 of the handguard 410 (such as the left and right guide rails that can be installed on the handguard 410).

[0084] In step 303, in response to the setting operation in the modification control of the first component, the modified first component is displayed instead of the unmodified first component.

[0085] In some embodiments, when the terminal device receives a setting operation from the user in the modification control of the first component, it can display the modified first component instead of the original first component. For example, taking the muzzle of a virtual firearm as the first component, when the terminal device receives a setting operation from the user in the muzzle modification control (e.g., a selection operation for a new muzzle), it can display the new muzzle at the position of the virtual firearm's muzzle, replacing the previous muzzle, thereby completing the modification of the muzzle. As another example, taking the handguard of a virtual firearm as the first component, when the terminal device receives a setting operation from the user in the handguard modification control (e.g., a selection operation for a foregrip among multiple accessories that can be attached to the handguard), it can attach the selected foregrip to the virtual firearm's handguard, thereby modifying the handguard.

[0086] In step 304, in response to the interface jump trigger operation based on the first modified interface, the display of the first modified interface is switched to the display of the second modified interface.

[0087] In some embodiments, the first modification interface may further include a second component of virtual props, and the interface jump trigger operation may be a trigger operation for the second component. Then, the terminal device can implement step 304 in the following way: in response to the trigger operation for the second component in the first modification interface (e.g., a click operation or an operation to draw a specific graphic), switch from displaying the first modification interface to displaying the second modification interface.

[0088] For example, taking the rear grip of a virtual firearm as the first component, see [link / reference]. Figure 4B , Figure 4B This is a schematic diagram illustrating an application scenario of the virtual prop modification method provided in the embodiments of this application, such as... Figure 4B As shown, in addition to displaying the virtual firearm's rear grip 413, the rear grip modification interface 412 also displays other virtual firearm components, such as the magazine 414, stock 415, and sights 416. When a player clicks on the magazine 414 (the second component) displayed in the rear grip modification interface 412, the rear grip modification interface 412 displayed in the human-computer interaction interface will directly switch to the magazine modification interface 417. The magazine modification interface 417 displays the virtual firearm's magazine 414 and the magazine 414 modification controls 418 (such as a new magazine for expanding the magazine 414's capacity). In this way, by clicking on the firearm model's components, one can quickly jump from one component's modification interface to another, improving the efficiency of modifying virtual items.

[0089] In some other embodiments, the first modified interface may further include browsing controls corresponding to at least one direction. The interface jump trigger operation may be a trigger operation for the browsing controls. Then, the terminal device can implement the above step 304 in the following way: in response to the trigger operation of the browsing controls for the first direction in the first modified interface, switch from displaying the first modified interface to displaying the second modified interface, wherein the distribution direction of the second component relative to the first component is the opposite direction of the first direction, and it is the component that is closest to the first component in the opposite direction.

[0090] For example, taking the muzzle of a virtual firearm as the first component, see [link to example]. Figure 4C , Figure 4C This is a schematic diagram illustrating an application scenario of the virtual prop modification method provided in the embodiments of this application, such as... Figure 4C As shown, in addition to displaying the muzzle 420 and its modification control 421 (e.g., a new muzzle for replacing the muzzle 420) in the muzzle modification interface 419, a browsing control 422 with four directions (up, down, left, and right) is also displayed. When the user clicks the left directional key on the browsing control 422 (since the handguard is the part located to the right of the muzzle in the virtual firearm and is closest to the muzzle), the terminal device will directly switch from the muzzle modification interface 419 displayed in the human-computer interaction interface to the handguard modification interface 409. The handguard modification interface 409 displays the handguard 410 and its modification control 411 (e.g., left and right guide rails for mounting on the handguard 410). In this way, by triggering the browsing control, one can quickly jump from the modification interface of one part to the modification interface of another part, improving the modification efficiency of virtual props.

[0091] In some embodiments, the interface jump trigger operation can also be a swipe operation. Then, the terminal device can implement the above step 304 in the following way: In response to the swipe operation in the first modification interface, and the swipe direction of the swipe operation is located in the first direction interval of the first component (that is, a sub-interval of the 0-360 degree direction interval slid outward from the first component, for example, the direction perpendicular to the muzzle and upward can be taken as 0 degrees, so that 0 degrees to 360 degrees can be divided into different direction intervals, wherein the first direction interval can be 225 degrees to 315 degrees, that is, the interval centered on the left side of the muzzle (i.e., 270 degrees)), directly switch from displaying the first modification interface to displaying the second modification interface. The second component of the virtual prop is distributed in the reverse interval of the first direction interval (for example, assuming the first direction interval is 225 degrees to 315 degrees, then the reverse interval is 45 degrees to 135 degrees, that is, the interval centered on the right side of the muzzle (i.e., 90 degrees)). The distance between the second component and the first component is directly proportional to the swipe distance of the swipe operation (that is, the farther the swipe distance of the swipe operation, the farther the distance between the second component and the first component).

[0092] For example, taking a virtual firearm as a virtual prop, the handguard, receiver, and stock are arranged in order of distance from the muzzle to the right side of the gun. Therefore, two different distance thresholds can be preset: L1 (e.g., 1 cm) and L2 (e.g., 2 cm). When the sliding distance of the operation is less than or equal to L1 (e.g., 0.7 cm), the terminal device will directly switch from the muzzle modification interface to the handguard modification interface in the human-computer interaction interface; when the sliding distance is greater than L1 but less than or equal to L2 (e.g., 1.4 cm), the operation will proceed as follows: The terminal device will directly switch from the muzzle modification interface displayed in the human-computer interaction interface to the receiver modification interface; when the sliding distance of the sliding operation is greater than L2 (e.g., 2.3 cm), the terminal device will directly switch from the muzzle modification interface displayed in the human-computer interaction interface to the stock modification interface. In this way, users can flexibly jump from the muzzle modification interface to the modification interface of different parts according to the sliding distance of the sliding operation. That is, users can control the sliding distance of the sliding operation according to their own needs to jump to the modification interface of the corresponding part, which greatly improves the modification efficiency of virtual firearms.

[0093] In some embodiments, the interface jump trigger operation can be a swipe operation. Then, the terminal device can implement the above step 304 in the following way: In response to a swipe operation in the first modification interface (e.g., the muzzle modification interface), and the swipe direction of the swipe operation is located in the first direction range of the first component (e.g., 225 degrees to 315 degrees of the muzzle), the device directly switches from displaying the first modification interface to displaying the second modification interface. In this case, the second component of the virtual prop is distributed in the reverse range of the first direction range (e.g., 45 degrees to 135 degrees of the muzzle), and the second component is the component (e.g., the handguard) that is closest to the first component in the reverse range.

[0094] For example, taking a virtual firearm as a virtual prop, on the right side of the muzzle, the handguard, receiver, and stock are arranged in order of distance from the muzzle to the farthest point (i.e., the handguard is the component closest to the muzzle). Responding to a sliding operation in the muzzle modification interface, and if the sliding direction is within the first directional range of the muzzle (e.g., 225 to 315 degrees of the muzzle, centered on the left side of the muzzle (270 degrees), and the handguard is located in the opposite direction, e.g., 45 to 135 degrees of the muzzle, centered on the right side of the muzzle (90 degrees), then the terminal device can directly switch from the muzzle modification interface displayed in the human-computer interaction interface to the handguard modification interface. Thus, through a sliding operation, users can quickly jump from one component modification interface to another, improving the efficiency of virtual firearm modification and enhancing the user's gaming experience.

[0095] In other embodiments, corresponding sliding parameters can be pre-configured for the modification interface corresponding to each component. Then, the terminal device can switch from displaying the first modification interface to displaying the second modification interface in response to the sliding operation in the first modification interface, where the sliding direction of the sliding operation is located in the first direction interval of the first component, by: obtaining the first sliding parameters configured for the first modification interface, wherein the first sliding parameters include at least one direction interval of the first component, the at least one direction interval includes the first direction interval, and a component of the virtual prop is distributed in the reverse interval of each direction interval; in response to the sliding operation in the first modification interface, obtaining the angle value of the sliding operation; in response to the angle value of the sliding operation being located in the first direction interval of the at least one direction interval, switching from displaying the first modification interface to displaying the second modification interface.

[0096] For example, using a virtual rifle as a virtual prop, see [link / reference]. Figure 5 , Figure 5 This is a schematic diagram of the structure of the virtual rifle provided in the embodiments of this application, as shown below. Figure 5 As shown, the following components of a virtual rifle can be modified: muzzle, handguard, receiver, magazine, sights, rear grip, and stock. The handguard is located to the right of the muzzle, the receiver to the right of the handguard, the sights to the upper right of the handguard, the magazine to the lower right of the handguard, the rear grip to the lower part of the receiver, and the stock to the right of the receiver. Taking the muzzle as an example, since the right side of the muzzle only has the handguard, the modification interface for the muzzle can be configured with only one directional range. For example, starting from the center point of the muzzle, the direction perpendicular to the muzzle and upward can be set to 0 degrees, and 0 degrees to 360 degrees can be divided into different directional ranges for the muzzle. For instance, when a sliding operation is received in the muzzle modification interface, if the sliding direction is within the first directional range of the muzzle (e.g., 225 degrees to 315 degrees of the muzzle, with the handguard distributed in the opposite range of the first directional range), the modification interface will switch from the muzzle modification interface to the handguard modification interface.

[0097] Taking the handguard as an example again, since there are four components adjacent to the handguard in a virtual rifle (including the muzzle, receiver, sights, and magazine), the handguard modification interface can be configured with four directional zones. For example, starting from the center point of the handguard, the direction perpendicular to the handguard and upward can be set to 0 degrees, and 0 degrees to 360 degrees can be divided into different directional zones. For example, for a sliding operation received in the handguard modification interface, when the sliding direction of the operation is within the first directional zone of the handguard (e.g., 45 degrees to 135 degrees of the handguard, with the muzzle distributed in the opposite zone of the first directional zone of the handguard), the modification interface will switch from the handguard modification interface to the muzzle modification interface; when the sliding direction of the operation is within the first directional zone of the handguard, the modification interface will switch from the handguard modification interface to the muzzle modification interface. When the direction of the sliding operation is located in the second direction range of the handguard (e.g., 180 degrees to 225 degrees of the handguard, with sights distributed in the reverse range of the second direction range of the handguard), the modification interface will switch from the handguard to the sight modification interface; when the sliding operation is located in the third direction range of the handguard (e.g., 225 degrees to 315 degrees of the handguard, with the receiver distributed in the reverse range of the third direction range of the handguard), the modification interface will switch from the handguard to the receiver modification interface; when the sliding operation is located in the fourth direction range of the handguard (e.g., 315 degrees to 360 degrees of the handguard, with magazines distributed in the reverse range of the fourth direction range of the handguard), the modification interface will switch from the handguard to the magazine modification interface.

[0098] It should be noted that the method of configuring sliding parameters for the modification interface of other parts of the virtual rifle is similar to the method of configuring sliding parameters for the modification interface of the muzzle and handguard, and will not be described again in this embodiment.

[0099] In other embodiments, the terminal device can obtain the angle value of the sliding operation in the following ways: obtain the starting point (assumed to be point A(x1, y1)) and the ending point (assumed to be point B(x2, y2)) of the sliding operation; determine the sliding direction of the sliding operation based on the starting point and the ending point, for example, the slope can be calculated based on the coordinates of the starting point and the ending point, and the slope can be used as the sliding direction of the sliding operation; perform a dot product operation between the sliding direction and the reference direction (i.e., Base(0, 1)) to obtain the angle value of the sliding operation.

[0100] In some embodiments, following the above examples, the terminal device may further perform the following processing: in response to the angle value of the sliding operation not being located in any angle range of at least one angle range of the first component, controlling the virtual prop to rotate in the first modified interface; wherein the rotation angle is a fixed value, for example, the virtual prop rotates 30 degrees each time the user performs a sliding operation; or, the rotation angle is directly proportional to the sliding distance of the sliding operation. For example, a proportional coefficient can be pre-configured, and the result of multiplying the sliding distance by the proportional coefficient is determined as the rotation angle, so that the user can control the sliding distance of the sliding operation according to their needs.

[0101] For example, taking the muzzle of a virtual rifle as the first component, the interface for modifying the muzzle is configured with corresponding first sliding parameters. These first sliding parameters include a first direction range of the muzzle (e.g., 225 degrees to 315 degrees). When the user's sliding operation is not within the first direction range of the muzzle (e.g., assuming the user slides the screen to the right, the angle of the sliding operation is 80 degrees), it can be determined that the current sliding operation is not used to trigger an interface jump, but simply to slide back and forth to change the angle to appreciate the appearance of the virtual rifle. Therefore, the virtual rifle can be controlled to rotate in the muzzle modification interface. The rotation angle of the virtual rifle can be proportional to the sliding distance of the sliding operation. For example, when the sliding distance of the sliding operation is 1 cm, the corresponding rotation angle of the virtual rifle is 50 degrees, and when the sliding distance of the sliding operation is 2 cm, the corresponding rotation angle of the virtual rifle is 100 degrees.

[0102] In other embodiments, before acquiring the angle value of the sliding operation, the terminal device may also perform the following processing: detect the sliding operation based on the first sliding parameter and obtain a detection result; in response to the detection result indicating that the sliding operation is an interface jump trigger operation, proceed to the processing of acquiring the angle value of the sliding operation; in response to the detection result indicating that the sliding operation is a virtual prop viewing operation, control the virtual prop to be selected in the first modification interface, wherein the rotation angle is a fixed value, or the rotation angle is proportional to the sliding distance of the sliding operation.

[0103] For example, the first sliding parameter may include at least one of the following parameters: the set sliding duration (e.g., the minimum sliding duration or the maximum sliding duration), the set sliding distance (e.g., the minimum sliding distance or the maximum sliding distance), the set pressure parameter (e.g., the minimum pressure value or the maximum pressure value), and the set number of touch points (e.g., a single point corresponds to an interface jump trigger operation, or two points correspond to an interface jump trigger operation).

[0104] Taking the set sliding duration as the first sliding parameter as an example, the terminal device can detect the sliding operation based on the first sliding parameter and obtain the detection result in the following way: obtain the sliding duration of the sliding operation, compare the sliding duration with the set sliding duration, and obtain the comparison result. When the comparison result indicates that the sliding duration meets the duration condition, the sliding operation is determined to be an interface jump trigger operation; when the comparison result indicates that the sliding duration does not meet the duration condition, the sliding operation is determined to be a virtual item viewing operation. For example, when the set sliding duration is the minimum sliding duration (e.g., 1 second), and the detected sliding duration of the sliding operation is greater than or equal to the minimum sliding duration, the duration condition is determined to be met; when the set sliding duration is the maximum sliding duration (e.g., 2 seconds), and the detected sliding duration of the sliding operation is less than the maximum sliding duration, the duration condition is determined to be met.

[0105] Taking a set sliding distance as the first sliding parameter as an example, the terminal device can detect the sliding operation based on the first sliding parameter and obtain the detection result in the following way: Obtain the sliding distance of the sliding operation, compare the sliding distance with the set sliding distance, and obtain the comparison result. When the comparison result indicates that the sliding distance meets the distance condition, the sliding operation is determined to be an interface jump trigger operation; when the comparison result indicates that the sliding distance does not meet the distance condition, the sliding operation is determined to be a virtual item viewing operation. For example, when the set sliding distance is the minimum sliding distance (e.g., 1 cm), and the detected sliding distance of the sliding operation is greater than or equal to the minimum sliding distance, the distance condition is determined to be met; when the set sliding distance is the maximum sliding distance (e.g., 2 cm), and the detected sliding distance of the sliding operation is less than the maximum sliding distance, the distance condition is determined to be met.

[0106] Taking the first sliding parameter as the set pressure parameter as an example, the terminal device can detect the sliding operation based on the first sliding parameter and obtain the detection result in the following way: Obtain the pressure parameter of the sliding operation, compare the pressure parameter with the set pressure parameter, and obtain the comparison result. Wherein, when the comparison result indicates that the pressure parameter meets the pressure condition, the sliding operation is determined to be an interface jump trigger operation; when the comparison result indicates that the pressure parameter does not meet the pressure condition, the sliding operation is determined to be a virtual item viewing operation. For example, when the set pressure parameter is the minimum pressure threshold, and the detected pressure value of the sliding operation is greater than or equal to the minimum pressure threshold, the pressure condition is determined to be met; when the set pressure parameter is the maximum pressure threshold, and the detected pressure value of the sliding operation is less than or equal to the maximum pressure threshold, the pressure condition is determined to be met.

[0107] It should be noted that the minimum pressure threshold and the maximum pressure threshold mentioned above can be configured. For example, different minimum pressure thresholds or maximum pressure thresholds can be configured for different parts of virtual props. This application embodiment does not specifically limit this.

[0108] Taking a set number of touch points as the first sliding parameter as an example, the terminal device can detect the sliding operation based on the first sliding parameter and obtain the detection result in the following way: obtain the number of touch points of the sliding operation, compare the number of touch points with the set number of touch points, and obtain the comparison result. When the comparison result indicates that the two are consistent, the sliding operation is determined to be an interface jump trigger operation; when the comparison result indicates that the two are inconsistent, the sliding operation is determined to be a virtual item viewing operation. For example, assuming the set number of touch points is single-point, if the number of touch points in the sliding operation is also single-point, the sliding operation is determined to be an interface jump trigger operation; if the number of touch points in the sliding operation is multi-point, the sliding operation is determined to be a virtual item viewing operation.

[0109] In some embodiments, the first modification interface and the second modification interface can be obtained by shooting with a virtual camera, and each component of the virtual prop is configured with lens parameters corresponding to the virtual camera. Before switching from displaying the first modification interface to displaying the second modification interface, the terminal device can also perform the following processing: obtain the second lens parameters configured for the second component; adjust the posture of the virtual camera in the virtual scene based on the second lens parameters, and call the adjusted virtual camera to shoot the virtual prop; load the modification control of the second component into the captured image to obtain the second modification interface.

[0110] For example, the lens parameters may include at least one of the following parameters: the component corresponding to the lens (e.g., when the lens parameters are lens parameters configured for the muzzle of a virtual rifle, the component corresponding to the lens is the muzzle), the rotation angle of the lens, the offset of the lens relative to the starting point of the component (e.g., when the lens parameters are lens parameters configured for the muzzle of a virtual rifle, the offset refers to the offset value relative to the starting point of the muzzle), the distance between the lens and the focus, and the field of view of the lens.

[0111] In other embodiments, following the examples above, the terminal device may also perform the following processing: obtaining first lens parameters configured for the first component; performing interpolation processing based on the first lens parameters and the second lens parameters to obtain at least one intermediate lens parameter, wherein each intermediate lens parameter is used to adjust the posture of the virtual camera and call the adjusted virtual camera to shoot the virtual prop to obtain a corresponding intermediate interface; inserting at least one intermediate interface during the process of switching from displaying the first modification interface to displaying the second modification interface.

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

[0113] In addition, it should be noted that whether switching directly from the first modification interface to the second modification interface, or adding a transition animation during the switching process (i.e. inserting an intermediate interface), the essence is to jump from the modification interface displaying one component to the modification interface displaying another component, without inserting any third-party function interfaces (such as the complete gun interface) in between.

[0114] For example, the terminal device can implement the above-mentioned interpolation processing based on the first lens parameter and the second lens parameter to obtain at least one intermediate lens parameter in the following way: multiply the second lens parameter by t to obtain a first multiplication result, where t is the elapsed time after the start of the switch, and the value range of t satisfies: 0≤t≤T, T is the total time for switching from the first modification interface to the second modification interface, and T is a real number greater than 0; multiply the result of subtracting T from t by the first lens parameter to obtain a second multiplication result; and determine the sum of the first multiplication result and the second multiplication result as at least one intermediate lens parameter.

[0115] In other embodiments, see Figure 6 , Figure 6 This is a flowchart illustrating the method for modifying virtual props provided in this application embodiment, as shown below. Figure 6 As shown, after execution Figure 3 After step 304 shown, the following steps can also be performed: Figure 6 Step 305 shown will combine Figure 6 The steps shown are explained.

[0116] In step 305, in response to the third component of the virtual prop meeting the modification conditions, the display switches from the second modification interface to the third modification interface.

[0117] Here, the third modification interface includes the third component and the modification controls for the third component.

[0118] In some embodiments, the interface switching operation can also be implemented automatically. For example, when the terminal device detects that the third part of the virtual item meets the modification conditions, it can automatically switch from the second modification interface to the third modification interface. The modification conditions may include at least one of the following: the degree of wear and tear of the third part (for example, as the user uses the virtual item for a longer time, the third part of the virtual item will slowly wear out; or when the user's virtual item is attacked by other players, it will also cause the third part of the virtual item to wear out. When the degree of wear and tear of the third part is greater than the degree of wear and tear threshold, it will affect the normal use of the virtual item. For example, taking the stock of a virtual gun as the third part, as the user uses the virtual gun in the game for a longer time, the stock will slowly wear out, which will make the recoil abnormal and affect the user's shooting experience) is greater than or equal to the degree of wear and tear threshold (e.g., 30%); or new accessories that can be used with the third part are obtained. For example, taking the stock of a virtual rifle as the third component, when the terminal device detects that the wear and tear of the stock of the virtual rifle exceeds the wear 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 modification interface (such as the handguard modification interface) to the stock modification interface, so that the user can modify the stock. In this way, the modification efficiency of virtual props is improved, which in turn enhances the user's gaming experience.

[0119] The virtual item modification method provided in this application embodiment can directly jump from the first modification interface to the second modification interface corresponding to the second component when a screen jump trigger operation is received in the first modification interface corresponding to the first component, without having to return to the previous level to select the second component. This can greatly improve the modification efficiency of virtual items and enhance the user's gaming experience.

[0120] The following example uses virtual firearms as a case study to illustrate an exemplary application.

[0121] This application provides a method for modifying virtual props. Based on the relative positions of various parts on a virtual firearm, users can quickly jump from one part's modification interface to another (e.g., directly from the muzzle modification interface to the handguard modification interface) by sliding in different directions or directly clicking on the corresponding parts, without having to repeatedly return to the previous level (e.g., the overall firearm interface) to select new modification parts, thus greatly improving the efficiency of modifying virtual firearms.

[0122] The following is a detailed description of the method for modifying virtual props provided in the embodiments of this application.

[0123] In some embodiments, users can quickly jump to the modification interface of the corresponding part by clicking on the part that needs to be modified in the virtual gun.

[0124] For example, such as Figure 4B As shown, in addition to the rear grip 413, the rear grip modification interface 412 also displays other virtual firearm components, such as magazine 414, stock 415, and sight 416. Each firearm component has its own envelope box. When the user clicks on the envelope box of magazine 414, the user will be directly redirected from the rear grip modification interface 412 to the magazine modification interface 417.

[0125] In other embodiments, users can also switch between different component modification interfaces by swiping the screen.

[0126] For example, such as Figure 5 As shown, the following components of a virtual rifle can be modified: muzzle, handguard, receiver, sights, magazine, rear grip, and stock. These components have a relative positional distribution; for example, the handguard is to the right of the muzzle, the receiver is to the right of the handguard, the sights are to the upper right of the handguard, and the magazine is to the lower right of the handguard. Therefore, as... Figure 7A As shown, assuming the human-computer interaction interface displays the muzzle modification interface 701, the user only needs to swipe their finger to the left to jump from the muzzle modification interface 701 to the handguard modification interface 702. This is because visually, the handguard is on the right side of the muzzle; therefore, when the user swipes the screen to the left, they should move from the muzzle position to the handguard position, i.e., jump from the muzzle modification interface 701 to the handguard modification interface 702. Similarly, when the user swipes the screen to the upper left corner, the user will jump from the handguard modification interface 702 to the magazine modification interface 703. Likewise, the jump from the handguard modification interface to the sight modification interface is achieved by swiping the screen to the lower left corner.

[0127] In other embodiments, a directional range can be set to determine whether a specific swipe direction can trigger a screen transition; see further. Figure 5 Taking the muzzle as an example, the directional range from the muzzle to the handguard can be set to 225 degrees to 315 degrees. As long as the client detects a swipe operation within this directional range, it can trigger a screen jump.

[0128] In addition, to distinguish whether a user wants to trigger an interface jump or is simply swiping back and forth to change the angle to appreciate the appearance of the gun, a duration limit for the swiping operation can be set. For example, if the duration of the swiping operation exceeds the duration threshold (e.g., 2 seconds), the interface jump operation will not be triggered, and it will be regarded as an operation to appreciate the appearance of the gun.

[0129] In some embodiments, for different types of guns, since the components that can be modified are different, a separate set of parameters can be configured to determine the angle range parameters of the jump sequence and the swipe direction.

[0130] It should be noted that components such as handguards and sights can have sub-components (or sub-accessories) added to them. For example, a foregrip, a flashlight, or a laser device can be added to the handguard. The handguard and all its sub-accessories can then be placed in the handguard modification interface. In this interface, the handguard and its sub-accessories can be modified together. When you switch to the next screen, the handguard and its sub-accessories will be treated as a single unit.

[0131] For example, see Figure 7B , Figure 7B This is a schematic diagram illustrating an application scenario of the virtual prop modification method provided in the embodiments of this application, such as... Figure 7B As shown, in the handguard modification interface 702, in addition to the handguard 704 which is used to replace the original handguard of the firearm, sub-accessories that can be added to the handguard are also displayed, such as the left rail 705, the right rail 706, and the foregrip 707. In this way, the handguard and its sub-accessories can be modified together in one modification interface, which improves the modification efficiency of the virtual firearm.

[0132] The following will combine Figure 8 The modification and processing method of virtual props provided in the embodiments of this application will be described in detail.

[0133] For example, see Figure 8 , Figure 8 This is a flowchart illustrating the method for modifying virtual props provided in this application embodiment, which will be combined with... Figure 8 The steps shown are explained.

[0134] In step 801, the client receives the player's swipe gesture.

[0135] In some embodiments, taking the muzzle modification interface as an example, the client receives the swipe operation triggered by the player in the muzzle modification interface.

[0136] In step 802, the client calculates the swipe angle for the swipe operation.

[0137] In some embodiments, taking the muzzle of a gun as an example, the client can perform the following before calculating the swipe angle: Figure 5 As shown, taking the center point of the muzzle as the starting point, the angle perpendicular to the muzzle and upward is set to 0 degrees, and the range from 0 degrees to 360 degrees is divided into... Figure 9 The eight quadrants are shown, and then the sixth and seventh quadrants (i.e., 225 degrees to 315 degrees) are determined as the first direction interval of the muzzle. That is, if the angle value of the player's swipe direction P falls in the sixth quadrant or the sixth quadrant (i.e. the first direction interval), a jump from the muzzle modification interface to the handguard modification interface will be triggered.

[0138] Next, the client can obtain the starting point A(x1, y1) and ending point B(x2, y2) of the player's swipe operation, calculate the swipe direction P from point A to point B, and then perform a dot product of the swipe direction P with the base direction Base(0, 1) to obtain the angle value of the player's swipe direction P. The angle value can be used to determine which quadrant the player's swipe direction P falls in.

[0139] In step 803, the client reads the swipe parameters.

[0140] In some embodiments, for each component of the virtual firearm, a set of swipe parameters (corresponding to the swipe parameters mentioned above) can be pre-configured to control the player's swipe navigation. These swipe parameters may include: Min(float) and Max(float) representing the required swipe range (i.e., directional range) for the modified component. For example, for jumping from the muzzle to the handguard, the corresponding Min(float) and Max(float) are 225 degrees and 315 degrees respectively (corresponding to...). Figure 9 The parameters are defined as follows: Quadrant 6 and Quadrant 7 (i.e., if the angle value of the player's swipe direction P falls within Quadrant 6 or 7, a jump from the muzzle modification interface to the handguard modification interface will be triggered); MinDist (float) represents the minimum required swipe distance; MaxDuration (float) represents the maximum swipe time to trigger the interface jump; and PointType (enum) represents the modification part corresponding to the camera. Designers can pre-configure the swipe parameters corresponding to the modification interface of each part.

[0141] In step 804, the client determines the type of swipe operation based on the swipe parameters. When the swipe operation is a virtual weapon viewing operation, step 805 is executed. When the swipe operation is an interface jump trigger operation, steps 806 to 807 are executed.

[0142] In step 805, the client rotates the virtual weapon in the modification interface of the current component.

[0143] In some embodiments, taking the muzzle modification interface as an example, when the client determines that the type of swipe operation is a virtual weapon viewing operation based on the swipe parameters, the virtual weapon can be rotated in the muzzle modification interface and the rotated virtual weapon can be displayed to meet the player's need to appreciate the appearance of the weapon.

[0144] In step 806, the client obtains the target lens parameters.

[0145] In some embodiments, for each component of a virtual firearm, a set of lens parameters can be pre-configured to describe the lens corresponding to the component. The lens parameters may include: PointType (enum) representing the modified component corresponding to the lens, Rotation (Vector3) representing the rotation angle of the lens, Offset (Vector2) representing the offset of the lens relative to the initial point, CameraDis (float) representing the distance of the lens from the focal point, FOV (float) representing the lens angle of view, and LerpSpeed ​​(float) representing the speed of interpolation transition with the next lens.

[0146] For example, taking the currently displayed modification interface as the muzzle modification interface, after the client reads the swiping parameters configured by the designers for the muzzle modification interface, it first determines whether the swipe distance of the current player's swipe operation is greater than the minimum swipe distance (MinDist). If it is less than MinDist, the swipe operation is determined to be a virtual weapon viewing operation, and the client can rotate the virtual weapon in the muzzle modification interface and display the rotated virtual weapon to satisfy the player's need to appreciate the weapon's appearance; if it is greater than MinDist, it continues to determine whether the swipe duration is less than the maximum swipe time (…). If the swipe operation is greater than MaxDuration, it is determined to be a virtual weapon viewing operation. The client rotates the virtual weapon in the muzzle modification interface and displays the rotated virtual weapon to satisfy the player's need to appreciate the weapon's appearance. If the swipe operation is less than MaxDuration, it is determined to be an interface jump trigger operation. Based on the quadrant where the player's swipe direction P falls, the corresponding target lens parameters are obtained. For example, if the angle value of the player's swipe direction P falls in the sixth quadrant, the lens parameters for the handguard configuration (i.e., the target lens parameters) are obtained.

[0147] In step 807, the client performs interpolation based on the initial lens parameters and the target lens parameters, and sequentially displays the images captured by each lens.

[0148] In some embodiments, after obtaining the target lens parameters, the client can also perform linear interpolation between each parameter in the initial lens parameters (i.e., the lens parameters corresponding to the current modification interface) and the target lens parameters. The interpolation formula for linear interpolation can be:

[0149] P=(1-DeltaTime)*A+DeltaTime*B

[0150] In this context, DeltaTime represents the elapsed time since the switch began, A represents the lens parameters corresponding to the current modification interface, B represents the target lens parameters, and P represents the intermediate lens parameters obtained through interpolation. Thus, the virtual camera's posture can be adjusted sequentially based on the initial lens parameters, intermediate lens parameters, and target lens parameters. The adjusted virtual camera can then be used to capture images of the virtual weapon, resulting in images captured by the virtual camera in different postures (i.e., images captured by the lens when the virtual camera is in different postures). Finally, the multiple captured images are displayed sequentially, thus achieving a smooth switch from the muzzle modification interface to the handguard modification interface.

[0151] The virtual item modification method provided in this application embodiment allows users to quickly jump from one component's modification interface to another's modification interface by swiping in different directions or directly clicking on the model, based on the relative positions of the various components on the virtual weapon. This eliminates the need to repeatedly return to the previous level (e.g., the overall weapon interface) to select new modification components, thereby improving the efficiency of virtual weapon modification and enhancing the user's gaming experience.

[0152] The following description continues to illustrate the exemplary structure of the virtual prop modification processing device 555 provided in the embodiments of this application as a software module. In some embodiments, such as... Figure 2 As shown, the software modules in the virtual prop modification processing device 555 stored in the memory 550 may include: a display module 5551 and a switching module 5552.

[0153] Display module 5551 is used to display an entry point for modifying virtual props in a virtual scene; display module 5551 is also used to display a first modification interface in response to a trigger operation on the modification entry point, wherein the first modification interface includes at least a first component of the virtual prop and modification controls for the first component; display module 5551 is also used to display the modified first component in response to a setting operation in the modification controls of the first component, replacing the display of the first component before modification; switching module 5552 is used to switch from displaying the first modification interface to displaying a second modification interface in response to an interface jump trigger operation based on the first modification interface, wherein the second modification interface includes a second component of the virtual prop and modification controls for the second component.

[0154] In some embodiments, the first modification interface further includes a second component of virtual props, and the interface jump trigger operation is a trigger operation for the second component; the switching module 5552 is also used to switch from displaying the first modification interface to displaying the second modification interface in response to the trigger operation for the second component in the first modification interface.

[0155] In some embodiments, the first modified interface further includes browsing controls corresponding to at least one direction, and the interface jump trigger operation is a trigger operation for the browsing controls; the switching module 5552 is also used to switch from displaying the first modified interface to displaying the second modified interface in response to the trigger operation of the browsing controls for the first direction in the first modified interface, wherein the distribution direction of the second component relative to the first component is the opposite direction of the first direction, and it is the component that is closest to the first component in the opposite direction.

[0156] In some embodiments, the interface jump trigger operation is a swipe operation; the switching module 5552 is also used to respond to the swipe operation in the first modified interface, and the swipe direction of the swipe operation is located in the first direction interval of the first component, to switch from displaying the first modified interface to displaying the second modified interface, wherein the second component is distributed in the reverse interval of the first direction interval, and the distance between the second component and the first component is proportional to the swipe distance of the swipe operation.

[0157] In some embodiments, the interface jump trigger operation is a swipe operation; the switching module 5552 is further configured to respond to the swipe operation in the first modified interface, and the swipe direction of the swipe operation is located in the first direction interval of the first component, to switch from displaying the first modified interface to displaying the second modified interface, wherein the second component is distributed in the reverse interval of the first direction interval, and the second component is the component closest to the first component in the reverse interval.

[0158] In some embodiments, the virtual prop modification processing device 555 further includes an acquisition module 5553, configured to acquire a first sliding parameter configured for the first modification interface, wherein the first sliding parameter includes at least one direction interval of the first component, the at least one direction interval includes the first direction interval, and a component of the virtual prop is distributed in the reverse interval of each direction interval; and configured to acquire the angle value of the sliding operation in response to the sliding operation in the first modification interface; the switching module 5552 is further configured to switch from displaying the first modification interface to displaying the second modification interface in response to the angle value of the sliding operation being located in the first direction interval of the at least one direction interval.

[0159] In some embodiments, the acquisition module 5553 is further configured to acquire the starting point and the ending point of the sliding operation; the virtual prop modification processing device 555 further includes a determination module 5554 and a dot product module 5555, wherein the determination module 5554 is configured to determine the sliding direction of the sliding operation based on the starting point and the ending point; the dot product module 5555 is configured to perform a dot product operation on the sliding direction and the reference direction to obtain the angle value of the sliding operation.

[0160] In some embodiments, the virtual prop modification processing device 555 further includes a control module 5556, which controls the virtual prop to rotate in the first modification interface in response to the angle value of the sliding operation not being located in any angle range of at least one angle range, wherein the rotation angle is a fixed value, or the rotation angle is proportional to the sliding distance of the sliding operation.

[0161] In some embodiments, the virtual prop modification processing device 555 further includes a detection module 5557 and a transfer module 5558. The detection module 5557 is used to detect the sliding operation based on the first sliding parameter before the acquisition module 5553 acquires the angle value of the sliding operation, and obtain a detection result. The transfer module 5558 is used to transfer to the processing of acquiring the angle value of the sliding operation in response to the detection result indicating that the sliding operation is an interface jump trigger operation. The control module 5556 is also used to control the virtual prop to rotate in the first modification interface in response to the detection result indicating that the sliding operation is a virtual prop viewing operation, and the rotation angle is a fixed value, or the rotation angle is proportional to the sliding distance of the sliding operation.

[0162] In some embodiments, the first sliding parameter further includes at least one of the following parameters: a set sliding duration, a set sliding distance, a set pressure parameter, and a set number of contact points; the detection module 5557 is further configured to perform at least one of the following processes: acquiring the sliding duration of the sliding operation, comparing the sliding duration with the set sliding duration, and obtaining a comparison result, wherein when the comparison result indicates that the sliding duration meets the duration condition, the sliding operation is determined to be an interface jump trigger operation, and when the comparison result indicates that the sliding duration does not meet the duration condition, the sliding operation is determined to be a virtual prop viewing operation; acquiring the sliding distance of the sliding operation, comparing the sliding distance with the set sliding distance, and obtaining a comparison result, wherein when the comparison result indicates that the sliding distance meets the distance condition, the sliding operation is determined to be a virtual prop viewing operation. As a screen navigation trigger operation, if the comparison result indicates that the sliding distance does not meet the distance condition, the sliding operation is determined to be a virtual item viewing operation. The pressure parameter of the sliding operation is obtained and compared with the set pressure parameter to obtain a comparison result. If the comparison result indicates that the pressure parameter meets the pressure condition, the sliding operation is determined to be a screen navigation trigger operation; if the comparison result indicates that the pressure parameter does not meet the pressure condition, the sliding operation is determined to be a virtual item viewing operation. The number of touch points of the sliding operation is obtained and compared with the set number of touch points to obtain a comparison result. If the comparison result indicates that the two are the same, the sliding operation is determined to be a screen navigation trigger operation; if the comparison result indicates that the two are not the same, the sliding operation is determined to be a virtual item viewing operation.

[0163] In some embodiments, the first modification interface and the second modification interface are obtained by capturing images with a virtual camera, and each component of the virtual prop is configured with lens parameters corresponding to the virtual camera; the acquisition module 5553 is also used to acquire the second lens parameters configured for the second component before the switching module 5552 switches from displaying the first modification interface to displaying the second modification interface; the modification processing device 555 for virtual props also includes an adjustment module 5559, a shooting module 55510 and a loading module 55511, wherein the adjustment module 5559 is used to adjust the posture of the virtual camera in the virtual scene based on the second lens parameters; the shooting module 55510 is used to call the adjusted virtual camera to shoot the virtual prop; the loading module 55511 is used to load the modification control of the second component into the captured image to obtain the second modification interface.

[0164] In some embodiments, the lens parameters include at least one of the following parameters: the component corresponding to the lens, the rotation angle of the lens, the offset of the lens relative to the starting point of the component, the distance between the lens and the focal point, and the angle of view of the lens.

[0165] In some embodiments, the acquisition module 5553 is further configured to acquire first lens parameters configured for the first component; the virtual prop modification processing device 555 further includes an interpolation module 55512 and an insertion module 55513, wherein the interpolation module 55512 is configured to perform interpolation processing based on the first lens parameters and the second lens parameters to obtain at least one intermediate lens parameter, wherein each intermediate lens parameter is used to adjust the posture of the virtual camera and call the adjusted virtual camera to shoot the virtual prop to obtain a corresponding intermediate interface; the insertion module 55513 is configured to insert at least one intermediate interface during the switching module 5552's switching from displaying the first modification interface to displaying the second modification interface.

[0166] In some embodiments, the interpolation module 55512 is further configured to multiply the second lens parameter with t to obtain a first multiplication result, wherein t is the elapsed time after the start of the switch, and the value range of t satisfies: 0≤t≤T, T is the total time for switching from the first modification interface to the second modification interface, and T is a real number greater than 0; multiply the subtraction result of T and t with the first lens parameter to obtain a second multiplication result; and determine the sum of the first multiplication result and the second multiplication result as at least one intermediate lens parameter.

[0167] In some embodiments, the display module 5551 is further configured to display a virtual item viewing interface before displaying the first modification interface, wherein the virtual item viewing interface includes multiple components of virtual items; the transfer module 5558 is further configured to transfer to the process of displaying the first modification interface in response to a selection operation on the first component in the virtual item viewing interface.

[0168] In some embodiments, the switching module 5552 is further configured to switch from displaying the second modification interface to displaying the third modification interface in response to the third component of the virtual prop meeting the modification conditions, wherein the third modification interface includes the third component and modification controls for the third component.

[0169] In some embodiments, the modification conditions include at least one of the following: the degree of wear of the third component is greater than or equal to the degree of wear threshold; or a new accessory that can be used with the third component is obtained.

[0170] It should be noted that the description of the device in this application embodiment is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, therefore it will not be repeated. For any technical details not covered in the virtual prop modification processing device provided in this application embodiment, please refer to... Figure 3 ,or Figure 6 The meaning is understood in accordance with the description of any of the accompanying drawings.

[0171] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the computer device to perform the virtual item modification processing method described above in this application.

[0172] This application provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are executed by a processor, they cause the processor to execute the virtual item modification processing method provided in this application. For example, ... Figure 3 ,or Figure 6 The method for modifying and processing virtual props is shown.

[0173] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.

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

[0175] As an example, executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located in one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.

[0176] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A virtual prop modification processing method characterized by, The method includes: Displays the entry point for modifying virtual props in the virtual scene; In response to a trigger operation on the modification entry, a first modification interface is displayed, wherein the first modification interface includes at least a first component of the virtual prop and modification controls for the first component; In response to a setting operation in the modification control of the first component, the modified first component is displayed instead of the unmodified first component; Obtain a first sliding parameter configured for the first modified interface, wherein the first sliding parameter includes at least one directional interval of the first component, the at least one directional interval includes a first directional interval, and a component of the virtual prop is distributed in the reverse interval of each directional interval; In response to a sliding operation in the first modified interface, the sliding direction of the sliding operation is obtained; In response to the sliding operation, if the sliding direction is located in the first direction interval of the at least one direction interval, the display of the first modification interface is switched to the display of the second modification interface; The second component is distributed in the reverse section of the first directional section; the distance between the second component and the first component is proportional to the sliding distance of the sliding operation, or the second component is the component closest to the first component in the reverse section, and the second modification interface includes the second component of the virtual prop and the modification control of the second component; When the second component can be equipped with a sub-component, the sub-component and its modification controls are displayed in the second modification interface.

2. The method of claim 1, wherein, The method further includes: In response to the sliding operation in the first modified interface, the angle value of the sliding operation is obtained; In response to the angle value of the sliding operation being located in the first direction interval of the at least one direction interval, the display switches from the first modification interface to the second modification interface.

3. The method according to claim 2, characterized in that, Obtaining the angle value of the sliding operation includes: Obtain the start and end points of the sliding operation; The sliding direction of the sliding operation is determined based on the starting point and the ending point; The sliding direction and the reference direction are multiplied to obtain the angle value of the sliding operation.

4. The method according to claim 2, characterized in that, The method further includes: In response to the fact that the angle value of the sliding operation is not located in any of the at least one direction interval, the virtual prop is controlled to rotate in the first modification interface, wherein the rotation angle is a fixed value, or the rotation angle is proportional to the sliding distance of the sliding operation.

5. The method according to claim 2, characterized in that, Before obtaining the angle value of the sliding operation, the method further includes: The sliding operation is detected based on the first sliding parameter to obtain the detection result; In response to the detection result indicating that the sliding operation is a screen jump triggered operation, the process of obtaining the angle value of the sliding operation is initiated. In response to the detection result indicating that the sliding operation is a virtual prop viewing operation, the virtual prop is controlled to rotate in the first modification interface, and the rotation angle is a fixed value, or the rotation angle is proportional to the sliding distance of the sliding operation.

6. The method according to claim 5, characterized in that, The first sliding parameter also includes at least one of the following parameters: a set sliding duration, a set sliding distance, a set pressure parameter, and a set number of contact points; The step of detecting the sliding operation based on the first sliding parameter to obtain the detection result includes: Perform at least one of the following processes: The sliding duration of the sliding operation is obtained, and the sliding duration is compared with the set sliding duration to obtain a comparison result. When the comparison result indicates that the sliding duration meets the duration condition, the sliding operation is determined to be an interface jump trigger operation. When the comparison result indicates that the sliding duration does not meet the duration condition, the sliding operation is determined to be a virtual prop viewing operation. The sliding distance of the sliding operation is obtained, and the sliding distance is compared with the set sliding distance to obtain a comparison result. When the comparison result indicates that the sliding distance meets the distance condition, the sliding operation is determined to be an interface jump trigger operation. When the comparison result indicates that the sliding distance does not meet the distance condition, the sliding operation is determined to be a virtual prop viewing operation. The pressure parameters of the sliding operation are obtained, and the pressure parameters are compared with the set pressure parameters to obtain a comparison result. When the comparison result indicates that the pressure parameters meet the pressure conditions, the sliding operation is determined to be an interface jump trigger operation. When the comparison result indicates that the pressure parameters do not meet the pressure conditions, the sliding operation is determined to be a virtual prop viewing operation. The number of touch points for the sliding operation is obtained, and the number of touch points is compared with the set number of touch points to obtain a comparison result. When the comparison result indicates that the two are consistent, the sliding operation is determined to be an interface jump trigger operation. When the comparison result indicates that the two are inconsistent, the sliding operation is determined to be a virtual prop viewing operation.

7. The method according to claim 1, characterized in that, The first and second modification interfaces are obtained by shooting with a virtual camera, and each component of the virtual prop is configured with lens parameters corresponding to the virtual camera. Before switching from displaying the first modification interface to displaying the second modification interface, the method further includes: Obtain the second lens parameters configured for the second component; The posture of the virtual camera in the virtual scene is adjusted based on the second lens parameters, and the adjusted virtual camera is used to film the virtual props; The modification controls for the second component are loaded into the captured image to obtain the second modification interface.

8. The method according to claim 7, characterized in that, The lens parameters include at least one of the following parameters: the component corresponding to the lens, the rotation angle of the lens, the offset of the lens relative to the starting point of the component, the distance between the lens and the focal point, and the angle of view of the lens.

9. The method according to claim 7 or 8, characterized in that, The method further includes: Obtain the first lens parameters configured for the first component; Interpolation is performed based on the first lens parameters and the second lens parameters to obtain at least one intermediate lens parameter. Each intermediate lens parameter is used to adjust the posture of the virtual camera and call the adjusted virtual camera to shoot the virtual prop to obtain a corresponding intermediate interface. During the process of switching from displaying the first modification interface to displaying the second modification interface, at least one of the intermediate interfaces is inserted.

10. The method according to claim 9, characterized in that, The interpolation process based on the first lens parameters and the second lens parameters to obtain at least one intermediate lens parameter includes: The second lens parameter is multiplied with t to obtain the first multiplication result, where t is the elapsed time after the start of the switch, and the value range of t satisfies: 0≤t≤T, T is the total time from the first modification interface to the second modification interface, and T is a real number greater than 0. The result of subtracting T from t is multiplied by the first lens parameter to obtain the second multiplication result; The sum of the first multiplication result and the second multiplication result is determined as the at least one intermediate lens parameter.

11. The method according to claim 1, characterized in that, Before displaying the first modified interface, the method further includes: Display a virtual item viewing interface, wherein the virtual item viewing interface includes multiple components of the virtual item; In response to the selection operation of the first component in the virtual prop viewing interface, the process of displaying the first modification interface is initiated.

12. The method according to claim 1, characterized in that, The method further includes: In response to the third component of the virtual prop meeting the modification conditions, the display switches from the second modification interface to the third modification interface, wherein the third modification interface includes the third component and modification controls for the third component.

13. The method according to claim 12, characterized in that, The modification conditions include at least one of the following: The degree of wear of the third component is greater than or equal to the wear threshold. A new accessory that can be used with the third component is obtained.

14. A device for modifying and processing virtual props, characterized in that, The device includes: The display module is used to show the modification entry for virtual props in the virtual scene; The display module is further configured to display a first modification interface in response to a trigger operation on the modification entry, wherein the first modification interface includes at least a first component of the virtual prop and modification controls for the first component; The display module is further configured to respond to a setting operation in the modification control of the first component, and display the modified first component instead of displaying the first component before modification; A switching module is configured to acquire a first sliding parameter configured for the first modification interface, wherein the first sliding parameter includes at least one direction interval of the first component, the at least one direction interval includes a first direction interval, and a component of the virtual prop is distributed in the reverse interval of each direction interval; in response to a sliding operation in the first modification interface, the module acquires the sliding direction of the sliding operation; in response to the sliding direction of the sliding operation being located in the first direction interval of the at least one direction interval, the module switches from displaying the first modification interface to displaying the second modification interface. The second component is distributed in the reverse section of the first directional section; the distance between the second component and the first component is proportional to the sliding distance of the sliding operation, or the second component is the component closest to the first component in the reverse section; the second modification interface includes the second component of the virtual prop and the modification control of the second component; when the second component can be equipped with a sub-component, the sub-component and the modification control of the sub-component are displayed in the second modification interface.

15. The apparatus according to claim 14, characterized in that, The device further includes: The acquisition module is used to acquire the angle value of the sliding operation in response to the sliding operation in the first modified interface; The switching module is further configured to switch from displaying the first modification interface to displaying the second modification interface in response to the angle value of the sliding operation being located in the first direction interval of the at least one direction interval.

16. The apparatus according to claim 15, characterized in that, The acquisition module is also used to acquire the start point and end point of the sliding operation; The device further includes: The determining module is used to determine the sliding direction of the sliding operation based on the starting point and the ending point; The dot product module is used to perform a dot product of the sliding direction and the reference direction to obtain the angle value of the sliding operation.

17. The apparatus according to claim 15, characterized in that, The device further includes: A control module is configured to control the virtual prop to rotate in the first modification interface in response to the angle value of the sliding operation not being located in any of the at least one direction interval, wherein the rotation angle is a fixed value, or the rotation angle is proportional to the sliding distance of the sliding operation.

18. The apparatus according to claim 15, characterized in that, The device further includes: The detection module is used to detect the sliding operation based on the first sliding parameter before obtaining the angle value of the sliding operation, and to obtain the detection result; The module is configured to, in response to the detection result indicating that the sliding operation is an interface jump trigger operation, switch to the processing of obtaining the angle value of the sliding operation; and in response to the detection result indicating that the sliding operation is a virtual prop viewing operation, control the virtual prop to rotate in the first modification interface, wherein the rotation angle is a fixed value, or the rotation angle is proportional to the sliding distance of the sliding operation.

19. The apparatus according to claim 14, characterized in that, The first and second modification interfaces are obtained by shooting with a virtual camera, and each component of the virtual prop is configured with lens parameters corresponding to the virtual camera. The device further includes: an acquisition module, configured to acquire second lens parameters configured for the second component before switching from displaying the first modification interface to displaying the second modification interface; An adjustment module is used to adjust the posture of the virtual camera in the virtual scene based on the second lens parameters; The shooting module is used to call the adjusted virtual camera to shoot the virtual props; The loading module is used to load the modification controls of the second component into the captured image to obtain the second modification interface.

20. The apparatus according to claim 19, characterized in that, The acquisition module is further configured to acquire first lens parameters configured for the first component; The device further includes: An interpolation module is used to perform interpolation processing based on the first lens parameters and the second lens parameters to obtain at least one intermediate lens parameter. Each intermediate lens parameter is used to adjust the posture of the virtual camera and call the adjusted virtual camera to shoot the virtual prop to obtain a corresponding intermediate interface. An insertion module is used to insert at least one of the intermediate interfaces during the process of switching from displaying the first modified interface to displaying the second modified interface.

21. An electronic device, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the virtual prop modification processing method according to any one of claims 1 to 13.

22. A computer-readable storage medium storing computer-executable instructions, characterized in that, When the computer-executable instructions are executed by the processor, the virtual prop modification processing method according to any one of claims 1 to 13 is implemented.

23. A computer program product, comprising a computer program or computer-executable instructions, characterized in that, When the computer program or computer-executable instructions are executed by the processor, the method for modifying virtual props as described in any one of claims 1 to 13 is implemented.