Virtual-element decoration method and apparatus, and device, storage medium and program product
By setting element decoration areas in the virtual scene, the problem of cumbersome operation of decorating virtual elements for virtual objects in the prior art is solved, and efficiency and gaming experience are improved.
Patent Information
- Application Number
- PCT/CN2024/120605
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-21
- Filing Date
- 2024-09-24
- Publication Date
- 2025-06-26
AI Technical Summary
The operation steps for decorating virtual elements for virtual objects in existing games are cumbersome, and the human-computer interaction efficiency is low.
By setting the element dressing area in the virtual scene, players can directly decorate virtual elements for virtual objects in the virtual scene, avoiding entering the additional dressing page.
It significantly improves the efficiency of decorating virtual elements for virtual objects, improves human-computer interaction efficiency, and enriches the fun and diversity of the game.
Smart Images

Figure CN2024120605_26062025_PF_FP_ABST
Abstract
Description
Virtual element dressing method, device, equipment, storage medium and program product
[0001] This application claims priority to Chinese patent application No. 202311790767.4 filed on December 21, 2023, entitled “Virtual element dressing method, device, equipment, storage medium and program product”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of computer technology, and in particular to a virtual element dressing method, apparatus, device, storage medium, and program product. Background Art
[0003] As cultural and entertainment standards improve, people's experience and expectations of virtual world life are also becoming increasingly demanding. As a way to express the virtual world, games have become a way for many people to relieve stress. In current game applications, players can dress up virtual objects with various virtual elements, for example, players can dress up virtual objects with virtual fashion.
[0004] In the prior art, if a player wishes to dress a virtual object in virtual clothing, they typically need to enter a virtual mall, select a virtual item, and then purchase or preview it to see how the virtual object looks in it. However, this process is complex and cumbersome, resulting in low human-computer interaction efficiency.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a virtual element dressing method, apparatus, device, storage medium and program product, and the technical solution is as follows.
[0007] In one aspect, a virtual element dressing method is provided, which is executed by a computer device, and the method includes:
[0008] Displaying a first virtual object and an element dressing area in a virtual scene, wherein the element dressing area includes an area providing an element dressing function, and the element dressing function is used to provide dressing for the first virtual object;
[0009] receiving an object control operation for the first virtual object, wherein the object control operation is used to control the first virtual object to interact with the element dressing area in the virtual scene;
[0010] In response to the object control operation, the first virtual object dressed up with a first virtual element is displayed, the first virtual element being a virtual dressing element determined based on the object control operation and the element dressing area.
[0011] In another aspect, a virtual element dressing device is provided, the device comprising:
[0012] A display module, configured to display a first virtual object and an element dressing area in a virtual scene, wherein the element dressing area includes an area providing an element dressing function, and the element dressing function is configured to provide dressing for the first virtual object;
[0013] a receiving module, configured to receive an object control operation for the first virtual object, wherein the object control operation is used to control the first virtual object to interact with the element dressing area in the virtual scene;
[0014] The display module is configured to display the first virtual object dressed up with a first virtual element in response to the object control operation, where the first virtual element is a virtual dressing element determined based on the object control operation and the element dressing area.
[0015] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement any of the virtual element dressing methods described above.
[0016] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement any of the virtual element dressing methods described above.
[0017] In another aspect, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the aforementioned virtual element dressing methods.
[0018] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:
[0019] An element dressing area with an element dressing function is set up in the virtual scene. When the player controls the virtual object to interact with the element dressing area in the virtual scene, the virtual object is dressed with virtual elements. With the help of the element dressing area displayed in the virtual scene, the player can directly dress the virtual object with virtual elements in the virtual scene, avoiding the tedious operation of players triggering additional dressing pages (such as the virtual mall interface in the related art) and then dressing the virtual object. This significantly improves the efficiency of dressing the virtual object with virtual elements and improves the efficiency of human-computer interaction. In addition, after the virtual object is dressed with virtual elements, the virtual object will be displayed in the virtual scene with the image of the virtual element, allowing other players to view the dressing effect of the virtual object, enriching the fun and diversity of the game. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application;
[0021] FIG2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;
[0022] FIG3 is a flowchart of a virtual element dressing method provided by an exemplary embodiment of the present application;
[0023] FIG4 is a flowchart of a virtual element dressing method provided by another exemplary embodiment of the present application;
[0024] FIG5 is a schematic diagram of an interface of a virtual scene provided by an exemplary embodiment of the present application;
[0025] FIG6 is a schematic diagram of an interface of a virtual scene provided by another exemplary embodiment of the present application;
[0026] FIG7 is a schematic diagram of an interface of a preview sub-area and a dressing sub-area provided by an exemplary embodiment of the present application;
[0027] FIG8 is a schematic diagram of an interface of multiple dressing areas provided by an exemplary embodiment of the present application;
[0028] FIG9 is a schematic diagram of an interface of multiple dressing areas provided by another exemplary embodiment of the present application;
[0029] FIG10 is a schematic diagram of an interface for executing object control operations provided by an exemplary embodiment of the present application;
[0030] FIG11 is a schematic diagram of an interface of a dressing scene area provided by an exemplary embodiment of the present application;
[0031] FIG12 is a schematic diagram of an interface of a dressing scene area provided by another exemplary embodiment of the present application;
[0032] FIG13 is a schematic diagram of an interface of a first virtual object dressing up as a first virtual element provided by an exemplary embodiment of the present application;
[0033] FIG14 is a flowchart of a virtual element dressing method provided by another exemplary embodiment of the present application;
[0034] FIG15 is a schematic diagram of an interface for presetting a dressing duration provided by an exemplary embodiment of the present application;
[0035] FIG16 is a schematic diagram of an interface for presetting a dressing time period provided by another exemplary embodiment of the present application;
[0036] FIG17 is a schematic diagram of an interface of a related technology provided by an exemplary embodiment of the present application;
[0037] FIG18 is a schematic diagram of an interface of a related technology provided by another exemplary embodiment of the present application;
[0038] FIG19 is a technical flow chart of a method for performing virtual element dressing through a fashion preview wearing model provided by an exemplary embodiment of the present application;
[0039] FIG20 is a structural block diagram of a virtual element dressing device provided by an exemplary embodiment of the present application;
[0040] FIG21 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0041] First, a brief introduction is given to the terms involved in the embodiments of this application.
[0042] A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. This virtual scene can be a simulation of a real scene, a semi-simulation and semi-fictional scene, or a purely fictional scene. This application does not limit this. The following embodiments illustrate a 3D virtual scene as an example.
[0043] Virtual model: A model used in a virtual scene to simulate a real scene. Exemplarily, a virtual model occupies a certain volume in a virtual scene. Exemplarily, virtual models include: terrain models, building models, animal and plant models, virtual prop models, virtual vehicle models, and virtual object models. For example, terrain models include: ground, mountains, water, stones, steps, etc.; building models include: houses, walls, containers, and fixed facilities inside buildings: tables, chairs, cabinets, beds, etc.; animal and plant models include: trees, flowers, birds, etc.; virtual prop models include: virtual attack props, medicine boxes, airdrops, etc.; virtual vehicle models include: cars, ships, helicopters, etc.; virtual object models include: people, animals, cartoon characters, etc.
[0044] Virtual characters / virtual objects: These are movable objects within a virtual scene. These movable objects can be virtual objects, virtual animals, animated characters, and so on. For example, people, animals, plants, oil drums, walls, rocks, and so on displayed within a 3D virtual scene. Alternatively, virtual objects can be 3D models created using animation skeletal technology. Each virtual object has its own unique shape and volume within the 3D virtual scene and occupies a portion of the space within the 3D virtual scene.
[0045] The virtual element dressing method provided in this application can be applied to at least one of a variety of virtual scenes, such as a virtual shooting scene and a virtual battle scene. It is worth noting that the above application scenarios are merely illustrative examples, and the virtual element dressing method provided in this embodiment can also be applied to other scenarios, which are not limited by this embodiment of the application.
[0046] It should be noted that before collecting the user's relevant data and during the process of collecting the user's relevant data, this application can display a prompt interface, pop-up window or output voice prompt information. The prompt interface, pop-up window or voice prompt information is used to remind the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining the user's relevant data after obtaining the user's confirmation operation on the prompt interface or pop-up window. Otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the user's relevant data are terminated, that is, the user's relevant data is not obtained. In other words, all user data collected by this application are collected with the user's consent and authorization, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0047] In some embodiments, the virtual element dressing method provided in the present application is executed by a computer device, which can be a terminal. The terminal in the present application can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, etc. An application that supports a virtual environment (i.e., a virtual scene) is installed and running in the terminal, such as an application that supports a three-dimensional virtual environment. The application can be any one of a virtual reality application, a three-dimensional map program, a third-person shooter game (TPS), a first-person shooter game (FPS), and a multiplayer online tactical competitive game (MOBA). Optionally, the application can be a stand-alone application, such as a stand-alone three-dimensional game program, or a network-connected application.
[0048] Figure 1 shows a block diagram of an electronic device provided by an exemplary embodiment of the present application. The electronic device 100 includes an operating system 120 and an application 122. The electronic device 100 can be implemented as a computer device that executes the virtual element dressing method.
[0049] The operating system 120 is basic software that provides secure access to computer hardware for the application 122. The application 122 is an application that supports a virtual environment. Optionally, the application 122 is an application that supports a three-dimensional virtual environment.
[0050] Figure 2 shows a block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 200 includes a first device 220, a server 240, and a second device 260. Optionally, the first device 220 or the second device 260 can be implemented as a computer device that executes the virtual element dressing method.
[0051] The first device 220 has an application installed and running that supports the virtual environment. The first device 220 is used by a first player, who uses the first device 220 to control a first virtual object in the virtual environment to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, the first virtual object is a first virtual character, such as a simulated human or anime character. The first device 220 is connected to the server 240 via a wireless or wired network.
[0052] Server 240 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 240 provides backend services for applications supporting a three-dimensional virtual environment. Optionally, server 240 performs primary computing tasks, while first device 220 and second device 260 perform secondary computing tasks. Alternatively, server 240 performs secondary computing tasks, while first device 220 and second device 260 perform primary computing tasks. Alternatively, server 240, first device 220, and second device 260 utilize a distributed computing architecture for collaborative computing.
[0053] The second device 260 has an application installed and running that supports the virtual environment. Second device 260 is used by a second player, who uses it to control a second virtual object in the virtual environment to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, the second virtual object is a second virtual character, such as a realistic or animated character. Optionally, the first and second virtual characters reside in the same virtual environment. Optionally, the first and second virtual characters may belong to the same team or organization, have a friendship, or have temporary communication permissions. Optionally, the first and second virtual characters may belong to different teams, organizations, or even hostile groups. Optionally, the applications installed on the first and second devices 220 and 260 are the same, or the applications installed on the two devices are the same type of applications on different control system platforms. The first device 220 may generally refer to one of multiple devices, and the second device 260 may generally refer to one of multiple devices. This embodiment uses the first and second devices 220 and 260 as examples. The first device 220 and the second device 260 are of the same or different device types, and the device type includes at least one of a game console, a desktop computer, a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, and a laptop computer.
[0054] Those skilled in the art will appreciate that the number of the above-mentioned devices may be greater or lesser. For example, the above-mentioned device may be only one, or the above-mentioned devices may be dozens, hundreds, or even more. The embodiments of the present application do not limit the number and type of devices. It is worth noting that the above-mentioned server 240 may be implemented as a physical server, a cloud server in the cloud, or a node in a blockchain system.
[0055] In some embodiments, the method provided in the embodiments of the present application can be applied to cloud gaming scenarios, so that the calculation of data logic during the game process is completed by the cloud server, while the terminal is responsible for the display of the game interface.
[0056] In combination with the above-mentioned noun introduction and application scenarios, the virtual element dressing method provided in this application is explained. The method is executed by a computer device and is explained by taking the computer device as a terminal as an example. As shown in Figure 3, the method includes the following steps 310 to 330.
[0057] Step 310: Display the first virtual object and the element dressing area in the virtual scene.
[0058] Optionally, the virtual scene is the scene displayed when the application is running on the terminal device. The virtual scene can be a simulation of the real world, for example, a scene obtained by simulating the real world based on the real world; it can also be a semi-simulation and semi-fictional scene, for example, a virtual scene includes scenes that exist in the real world (such as traffic, roads, etc.) and fictional scenes (such as Island A and Volcano B that do not exist in the real world); it can also be a purely fictional scene, for example, scenes and objects in the virtual scene have no corresponding existence in the real world (such as monsters, demons, etc.). Optionally, the virtual scene is at least one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. During the virtual scene loading process, there may be a process of converting from a two-dimensional virtual scene to a three-dimensional virtual scene, or there may be a process of switching from a three-dimensional virtual scene to a two-dimensional virtual scene, etc. Schematically, the virtual scene includes the sky, land, ocean, etc., and the land may include environmental elements such as grassland, desert, and city. The player can control virtual objects to move in the virtual scene.
[0059] Optionally, a virtual object refers to the images of various people and objects that can interact in a virtual scene, or an object that can be moved in a virtual scene. The movable object can be a virtual person, a virtual animal, an anime character, etc. Schematically, a virtual object can be a virtual image in the virtual scene that is used to represent the player. It can also be a non-player character (NPC) such as a wild monster or a world boss. Schematically, a virtual scene includes multiple virtual objects, and the first virtual object is any one of the multiple virtual objects that is controlled by the player. For example: the player controls the first virtual object to perform actions such as walking, running, jumping, and shooting in the virtual scene.
[0060] Illustratively, the element dressing area is an area within a virtual scene used to perform the element dressing process. Optionally, the element dressing area can be implemented as a virtual fitting room, a virtual dressing wall, or a designated area within the virtual scene.
[0061] The element dressing area includes an area providing an element dressing function, which is used to dress up a first virtual object. Optionally, the element dressing area includes multiple dressing areas, each of which is used to dress up at least one virtual element. Optionally, the element dressing area provides multiple functions, including at least one of an element dressing function, an element preview function, and an element configuration function. Illustratively, the element dressing function is used to dress up a virtual object in a virtual scene through the element dressing area; the element configuration function is used to configure the virtual element targeted by the dressing; and the element preview function is used to preview the virtual element targeted by the dressing, etc.
[0062] Step 320: Receive an object control operation for the first virtual object.
[0063] Illustratively, in addition to displaying the first virtual object, receiving an operation of the player controlling the first virtual object through the terminal to perform a specific behavior is called an object control operation.
[0064] The object control operation is used to control the first virtual object to interact with the elemental decoration area in the virtual scene. For example, the player can control the first virtual object to perform movement operations such as walking and running in the virtual scene, attack operations such as punching, shooting, and using ultimate skills, and use virtual tools such as driving a vehicle and skateboarding in the virtual scene.
[0065] Optionally, the object control operation is used to dress up the first virtual object with elements; after determining that the virtual scene includes the first virtual object and the element dressing area, based on the element dressing effect of the element dressing area, the player can control the first virtual object to interact with the element dressing area to achieve the purpose of applying the element dressing function to the first virtual object.
[0066] In some embodiments, the operation form of the object control operation is determined based on the object dressing area, that is, the form of interaction between the first virtual object and the element dressing area is determined. Optionally, the element dressing area is a three-dimensional spatial area in the virtual scene, and the object control operation is used to control the first virtual object to interact with the three-dimensional spatial area where the element dressing area is located by moving. Illustratively, the player can control the movement of the first virtual object to cause the first virtual object to interact with the three-dimensional spatial area where the element dressing area is located. Illustratively, the form of controlling the first virtual object to interact with the three-dimensional spatial area where the element dressing area is located by moving is implemented as at least one of the following forms.
[0067] (1) The first virtual object passes through the element dressing area
[0068] Optionally, the elemental dressing area is a three-dimensional space with an entrance and an exit. When the first virtual object passes through the entrance of the area and moves within the area until it passes through the exit, the process of passing through the elemental dressing area is completed. Illustratively, the elemental dressing area is implemented as a virtual dressing wall, a virtual fitting room, a virtual dressing tunnel, or other areas. Controlling the first virtual object through the elemental dressing area by the player is considered to achieve the purpose of controlling the first virtual object to interact with the elemental dressing area.
[0069] (2) The first virtual object is in the element dressing area
[0070] Illustratively, the element dressing area is implemented as a set area in the virtual scene, and the player controls the first virtual object to enter the element dressing area, which is regarded as achieving the purpose of controlling the first virtual object to interact with the element dressing area.
[0071] Among them, the element dressing area can be realized as a virtual exhibition area, a virtual room, a virtual show, etc., which is not limited here.
[0072] It should be emphasized that the above-mentioned element dressing area is different from the three-dimensional model of the first virtual element described below. In the embodiment of the present application, the interaction between the first virtual object and the element dressing area is based on the interaction of the area, rather than the interaction based on the three-dimensional model of the first virtual element. It should be noted that the above-mentioned example of controlling the first virtual object to interact with the three-dimensional space area where the element dressing area is located in a moving manner is only an illustrative description, and the embodiment of the present application does not limit this. For example: the player controls the first virtual object to smoothly circle the element dressing area, which is regarded as achieving the purpose of controlling the first virtual object to interact with the element dressing area; or the player controls the first virtual object to fly or hover above the element dressing area, which is regarded as achieving the purpose of controlling the first virtual object to interact with the element dressing area; or the element dressing area is set high in the virtual scene, and the player controls the first virtual object to jump or climb to the element dressing area, which is regarded as achieving the purpose of controlling the first virtual object to interact with the element dressing area, etc. In the above embodiment, by setting the element dressing area as a three-dimensional space area and using the element dressing area as a medium for interacting with the first virtual object, the three-dimensional space area provides players with an intuitive sense of space. Players can clearly see the position and range of the element dressing area in the virtual scene, thereby reducing the possibility of misoperation. Players can complete interactive operations with the element dressing area more quickly and accurately, thereby improving the efficiency of human-computer interaction.
[0073] Step 330: Displaying a first virtual object decorated with a first virtual element based on the object control operation.
[0074] Optionally, in response to the object control operation, a first virtual object dressed up with a first virtual element is displayed.
[0075] Illustratively, after receiving an object control operation, based on the element dressing function corresponding to the element dressing area, a dressing element is provided for the first virtual object interacting with the element dressing area. The first virtual element is a virtual dressing element determined based on the object control operation and the element dressing area. Optionally, the virtual dressing element is used to indicate a decorative item that can be worn on the first virtual object. The virtual dressing element can be used to change the appearance of the first virtual object. The element types of virtual dressing elements include virtual fashion, virtual accessories, virtual equipment, virtual makeup (such as hairstyle, face shape, etc.), virtual facial decorations (such as glasses, masks, etc.), virtual special effects (such as virtual halos, virtual wings, etc.), virtual skin, etc., which are not limited here.
[0076] Illustratively, when a first virtual object is dressed up with a first virtual element using the element dressing function corresponding to the element dressing area, an object control operation instructs the first virtual object to interact with the element dressing area, thereby dressing the first virtual element onto the first virtual object. For example, if the first virtual element is virtual skin A, the object control operation controls the first virtual object to interact with the element dressing area, thereby dressing the first virtual object with virtual skin A.
[0077] In some embodiments, the element dressing function is used to provide the first virtual object with a way to try on virtual dressing elements. That is, the element dressing function enables the player to preview the visual effect of the first virtual object trying on the virtual dressing elements.
[0078] Optionally, in response to the object control operation, the first virtual object dressed up with the first virtual element in a try-on mode is displayed.
[0079] In some embodiments, the try-on mode refers to a mode in which the first virtual object temporarily dresses up the first virtual element. Schematically, after the element dressing function of the element dressing area is triggered in response to an object control operation, the dressing effect of the first virtual object trying on the first virtual element is displayed. After a preset dressing duration, the dressing effect of the first virtual object dressing up the first virtual element is canceled. Optionally, the preset dressing duration is a pre-set duration limit condition for limiting the duration of time the first virtual element is dressed up on the first virtual object. Schematically, the preset dressing duration is a fixed value, such as 1 minute; or, the preset dressing duration is a value determined according to the object level of the first virtual object, such as: the higher the object level of the first virtual object, the longer the preset dressing duration; the lower the object level of the first virtual object, the shorter the preset dressing duration, etc.
[0080] In the above embodiment, a try-on mode is used to provide a try-on experience of the first virtual element with a limited duration, and the player can instantly preview the effect of the first virtual element on the first virtual object. By setting a preset dressing duration, the resource consumption during the try-on process can be effectively controlled to avoid excessive occupation of server resources.
[0081] In other embodiments, the try-on mode refers to a mode in which a first virtual object attempts to partially dress up the first virtual element. For example, taking the first virtual element as a virtual dress, the virtual dress the first virtual object tries on is a streamlined version of the virtual dress. The streamlined version may only include the main features or key parts of the original virtual dress, allowing the player to quickly understand the overall style and characteristics of the dress. Once the first virtual object redeems the virtual dress, the virtual dress the first virtual object wears becomes the full version of the virtual dress.
[0082] In the above embodiment, partial dressing effects of the first virtual element are provided through the try-on mode, which reduces resource consumption and loading time during the try-on process of the first virtual object, allowing players to preview the element dressing effects more quickly.
[0083] In some embodiments, the element dressing area provides multiple virtual elements, where the element types of the multiple virtual elements can be the same or different. Illustratively, the multiple virtual elements can be implemented as virtual fashion 1 and virtual fashion 2; or the multiple virtual elements can be implemented as virtual fashion 1 and virtual necklace 1.
[0084] Optionally, in response to an object control operation, a first virtual object is randomly displayed, decorated with a first virtual element, where the first virtual element is randomly determined from multiple virtual elements. For example, in the example of an element decoration area implemented as a virtual decoration wall, when the player controls the first virtual object to pass through the virtual decoration wall, at least one virtual element is randomly determined from the multiple virtual elements to be decorated on the first virtual object. In this embodiment, since the first virtual element is randomly determined, the player may obtain a different decoration effect each time they pass through the virtual decoration wall, which increases the sense of surprise and exploration in the game.
[0085] Alternatively, in response to an object control operation, a first virtual object dressed in a first virtual element is displayed based on the length of time the first virtual object remains in the element dressing area, where the first virtual element is determined from multiple virtual elements based on the length of time. For example, taking the element equipment area as a dressing scene area as an example, when the player controls the first virtual object to enter the dressing scene area, the virtual object is dressed based on the length of time the first virtual object is displayed in the dressing scene area. For example, if the player remains in the dressing scene area for 1 second, virtual costume 1 is placed on the first virtual object; if the player remains in the dressing scene area for 5 seconds, virtual costume 1 is switched to virtual costume 2. Alternatively, if the player remains in the dressing scene area for 1 second, virtual costume 1 is placed on the first virtual object; if the player remains in the dressing scene area for 5 seconds, virtual necklace 1 is placed on the first virtual object. At this time, the first virtual object displayed in the virtual scene is wearing both virtual costume 1 and virtual necklace 1. In the above embodiment, in the element dressing area, different stay times correspond to different dressing effects. By setting the stay time, the dressing change is automatically triggered, which reduces the player's manual operation and improves the efficiency of human-computer interaction.
[0086] In some embodiments, a first virtual element is previewed and displayed in an element dressing area; an object control operation is received to control the first virtual object to interact with the first virtual element displayed in the element dressing area; and in response to the object control operation, the first virtual object dressed in the first virtual element is displayed. Illustratively, a virtual costume is displayed in a preview sub-area of the element dressing area, and when the first virtual object passes through the virtual costume display, the dressing effect of the first virtual object wearing the virtual costume is displayed.
[0087] In some embodiments, the element dressing area includes a preview sub-area and a dressing sub-area. The preview sub-area is used to preview the first virtual element, and the dressing sub-area is used to dress the first virtual element displayed in the preview sub-area to the first virtual object when interacting with the first virtual object.
[0088] Illustratively, the virtual fashion is displayed in the preview sub-area of the element dressing area, and when the first virtual object passes through the dressing sub-area or when the first virtual object is in the dressing sub-area, the dressing effect of the first virtual object wearing the virtual fashion is displayed.
[0089] In summary, with the element dressing area displayed in the virtual scene, players can dress virtual objects with virtual elements directly in the virtual scene, avoiding the tedious process of triggering additional dressing pages (such as the virtual mall interface in related technologies) and then dressing the virtual objects. This significantly improves the efficiency of dressing virtual objects with virtual elements and enhances the efficiency of human-computer interaction. In addition, after a virtual object is dressed with virtual elements, the virtual object will be displayed in the virtual scene with the virtual elements, allowing other players to view the virtual object's dressing effect, enriching the fun and diversity of the game.
[0090] Moreover, the related technology requires obtaining a large amount of dressing resources when opening a virtual mall in order to display the corresponding virtual dressing resources in the virtual mall. However, the virtual element dressing method provided in this application does not require loading a large amount of dressing resources to be displayed in the element dressing area, thereby reducing the resource transmission consumption between the server and the terminal.
[0091] In an optional embodiment, the element dressing area includes a preview sub-area and a dressing sub-area. The preview sub-area allows previewing of virtual elements, and the dressing sub-area allows dressing of virtual elements. As shown in FIG4 , the embodiment shown in FIG3 can also be implemented as follows: steps 410 to 440.
[0092] Step 410: Display the first virtual object and the element dressing area in the virtual scene.
[0093] The element dressing area includes an element dressing function for dressing up the first virtual object. Schematically, the element dressing function is used to dress up the first virtual element on the first virtual object to preview the dressing effect of the first virtual object dressing up the first virtual element.
[0094] Optionally, the element dressing area includes at least one of a virtual dressing wall, a dressing scene area, and the like.
[0095] In an optional embodiment, the element dressing area is a virtual dressing wall set up in the virtual scene. Schematically, the virtual dressing wall is a virtual medium set up in the virtual scene. Optionally, the number of virtual dressing walls in the virtual scene can be one or more. Optionally, the virtual dressing wall can be an independent real wall element in the virtual scene, or it can be a wall element in a virtual building in the virtual scene, which is not limited here. Optionally, the virtual dressing wall is content displayed through holographic projection, such as: setting the virtual dressing wall holographic projection to position A in the virtual scene, then the virtual dressing wall is displayed at position A in the virtual scene; or, the virtual dressing wall is content displayed after a function is triggered on virtual buildings and other content, such as: a virtual building B is displayed in the virtual scene, and virtual building B is composed of multiple virtual walls. Based on the game process, the player can adjust virtual wall b among the multiple virtual walls to a virtual dressing wall, etc. As shown in Figure 5, it is a schematic diagram of the interface of a virtual scene, in which multiple virtual objects are displayed, and a virtual dressing wall 510 (that is, an element dressing area) is also displayed. Taking any virtual object 520 among the multiple virtual objects as the first virtual object as an example, the player can control the virtual object 520 and use the virtual dressing function corresponding to the element dressing area to dress up the virtual element for the virtual object 520.
[0096] Illustratively, the position of the virtual dressing wall in the virtual scene can be fixed, configured by the player, or conditionally adjusted by the player based on the game process, which is not limited here.
[0097] In one optional embodiment, the element dressing area is a dressing scene area set within the virtual scene. The dressing scene area is used to indicate a scene area within a preset range of the virtual scene. Illustratively, the dressing scene area is a scene area set within the virtual scene. For example, if the virtual scene is a three-dimensional virtual space, the virtual scene area is the three-dimensional virtual space within the preset range of the virtual scene. The preset range is a pre-set range. The shape of the preset range can be circular, rectangular, or irregular, and the present embodiment does not limit the shape and size of the preset range. Optionally, the shape and size of the preset range are the shape and size of the dressing scene area. Optionally, the dressing scene area is a circular area with a fixed radius and a point in the virtual scene as the center; alternatively, the virtual scene area is a rectangular area with a fixed length as the center and a fixed length as the diagonal. Illustratively, the dressing scene area is a scene area pre-demarcated by the game backend; alternatively, the dressing scene area is a scene area expanded based on the gameplay process.
[0098] Optionally, the dressing scene area is an unowned scene area in the virtual scene, for example, the dressing scene area is a public space in the virtual scene; or, the dressing scene area is a scene area in the virtual scene that belongs to a certain virtual object, for example, the dressing scene area is a player's personal virtual room.
[0099] As shown in Figure 6, it is a schematic diagram of the interface of the virtual scene, in which multiple virtual objects are displayed, and a dressing scene area 610 (that is, the element dressing area) is also displayed. Taking any virtual object 620 among the multiple virtual objects as the first virtual object as an example, the player can control the virtual object 620 and use the virtual dressing function corresponding to the element dressing area to dress up the elements for the virtual object 620.
[0100] It is worth noting that the above-mentioned element dressing area is implemented as a virtual dressing wall or a dressing scene area for illustrative purposes only. The element dressing area can also be implemented in various forms existing in virtual scenes such as a virtual fitting room, which is not limited here.
[0101] In some embodiments, the element dressing area includes a preview sub-area and a dressing sub-area. The preview sub-area allows previewing of the effect of the virtual element, and the dressing sub-area allows performing element dressing for the virtual object.
[0102] Step 420: Display the first virtual element in the preview sub-area of the element decoration area.
[0103] Optionally, the element dressing area corresponds to the first virtual element. When the element dressing area is displayed, the first virtual element is displayed in the preview sub-area of the element dressing area. Through the preview sub-area, players can know the appearance of the virtual element to be dressed before dressing the virtual object, reducing erroneous operations caused by blind selection and avoiding unnecessary waste of resources and time. As shown in Figure 7, the element dressing area is implemented as a virtual dressing wall 710, which includes a preview sub-area 711 and a dressing sub-area 712; the preview sub-area 711 displays a first virtual element 720 for previewing the effect of the first virtual element 720.
[0104] Optionally, the element dressing area corresponds to multiple virtual elements, and the first virtual element is a virtual element that is configured and determined from the multiple virtual elements at the current moment. Schematically, the element dressing area is used to display popular virtual elements in a timely manner. Based on the configuration of the game background or the popularity of multiple virtual elements in the game background, at least one virtual element is determined from the multiple virtual elements as the first virtual element, wherein the popularity can be determined according to the number of times the virtual element is viewed, purchased, used or shared. The more times it is viewed, purchased, used or shared, the higher the popularity. Alternatively, the first virtual object is a virtual object associated with the first account, that is, the player uses the first account to control the first virtual object, then according to the dressing preference corresponding to the first account, at least one virtual element is determined from the multiple virtual elements as the first virtual element. For example, if the multiple virtual elements refer to virtual fashions and the dressing preference corresponding to the first account is retro clothing, then retro clothing is determined from the multiple virtual fashions as the first virtual element.
[0105] Illustratively, when the first virtual element is implemented as one of multiple virtual elements, the first virtual element is represented by a preview sub-area 711 and a dressing sub-area 712 , referring to the method shown in FIG. 7 .
[0106] Illustratively, when the first virtual element is implemented as two or more virtual elements among multiple virtual elements, a dressing area can be determined for each first virtual element from the element dressing area, and when displaying the preview sub-area and the dressing sub-area, the corresponding preview sub-area and dressing sub-area are displayed in each dressing area.
[0107] In an optional embodiment, the element dressing area includes dressing areas corresponding to multiple virtual elements, including a first dressing area corresponding to a first virtual element. The element dressing area can be implemented not only as an area where the element dressing process is performed using one virtual element, but also as an area where the element dressing process is performed using multiple virtual elements.
[0108] Optionally, when the element dressing area is implemented as an area for performing the element dressing process through multiple virtual elements, the element dressing area is divided into multiple dressing areas, such as the element dressing area includes dressing area 1, dressing area 2 and dressing area 3, dressing area 1 corresponds to virtual element A, dressing area 2 corresponds to virtual element B, and dressing area 3 corresponds to virtual element C; if the first virtual element is virtual element A, the first dressing area is dressing area 1, and so on.
[0109] As shown in Figure 8, the element dressing area is implemented as a virtual dressing wall 810, which includes a dressing area 811, a dressing area 812 and a dressing area 813; the dressing area 811 corresponds to the virtual element A, which is used to dress up the virtual element A for the virtual object; the dressing area 812 corresponds to the virtual element B, which is used to dress up the virtual element B for the virtual object; the dressing area 813 corresponds to the virtual element C, which is used to dress up the virtual element C for the virtual object.
[0110] In some embodiments, the dressing area includes a preview sub-area and a dressing sub-area. The preview sub-area is used to preview the virtual elements corresponding to the dressing area; the dressing sub-area is used to apply the virtual elements corresponding to the dressing area to the virtual object.
[0111] Illustratively, each dressing area includes a preview sub-area and a dressing sub-area. Based on the correspondence between the dressing areas and the virtual elements, the virtual elements corresponding to the preview sub-area and the dressing sub-area included in the dressing area are determined.
[0112] As shown in Figure 9, the element dressing area is implemented as a virtual dressing wall, which includes a dressing area 911, a dressing area 912, and a dressing area 913. Dressing area 911 corresponds to virtual element A, including a preview sub-area 9111 and a dressing sub-area 9112. Dressing area 912 corresponds to virtual element B, including a preview sub-area 9121 and a dressing sub-area 9122. Dressing area 913 corresponds to virtual element C, including a preview sub-area 9131 and a dressing sub-area 9132. Preview sub-area 9111 is used to preview the dressing effect of virtual element A, and dressing sub-area 9112 is used to apply virtual element A to a virtual object. Similarly, preview sub-area 9121 is used to preview the dressing effect of virtual element B, and dressing sub-area 9122 is used to apply virtual element B to a virtual object. It is worth noting that the above is only an illustrative example. The dressing area can also be implemented as an area that does not include a preview sub-area and is only used for dressing virtual elements, which is not limited here.
[0113] Step 430: Receive an object control operation for controlling the first virtual object to interact with a dressing sub-area in the element dressing area.
[0114] In an optional embodiment, the element dressing area is a virtual dressing wall set in the virtual scene; and a first movement operation for the first virtual object is received as an object control operation. The first movement operation is used to control the first virtual object to pass through the virtual dressing wall in the virtual scene. Schematically, the virtual dressing wall is a virtual medium that can be traversed, and the player controls the movement of the first virtual object in the virtual scene, and the movement operation of controlling the first virtual object from one side of the virtual dressing wall to the other side is called an object control operation. Optionally, when the player controls the first virtual object to interact with the element dressing area, the dressing process of the virtual element is performed based on the dressing sub-area within the element dressing area. Therefore, the player can control the interaction between the first virtual object and the dressing sub-area to achieve the object control operation of the first virtual object.
[0115] Schematically, the virtual dressing wall includes a preview sub-area and a dressing sub-area. The preview sub-area is a virtual medium on the virtual dressing wall that cannot be crossed, and the dressing sub-area is a virtual medium on the virtual dressing wall that can be crossed. The player controls the first virtual object to move in the virtual scene, and can control the first virtual object to perform a crossing movement process in the dressing sub-area. The movement operation performed during the crossing movement process from one side of the virtual dressing wall to the other side is called an object control operation, etc.
[0116] As shown in Figure 10, the element dressing area is implemented as a virtual dressing wall, which corresponds to the virtual element 1000. The virtual dressing wall includes a preview sub-area 1010 and a dressing sub-area 1020. The preview sub-area 1010 is used to display the virtual element 1000, and the dressing sub-area 1020 is used to dress up the virtual element 1000 for the virtual object. Taking the first virtual object as virtual object 1030 as an example, the virtual object 1030 is controlled to pass through the dressing sub-area 1020 in the virtual scene to achieve the purpose of dressing the virtual element A corresponding to the virtual dressing wall to the virtual object 1030.
[0117] In the above embodiment, the element dressing area is designed as a virtual dressing wall. Players can dress up virtual elements for virtual objects by simply controlling the virtual objects to pass through the virtual dressing wall. This operation method is simple and intuitive. Players only need to complete the process of dressing up virtual objects in one operation step, which improves the efficiency of human-computer interaction.
[0118] In one optional embodiment, the element dressing area is a dressing scene area set in the virtual scene; and a second movement operation directed at the first virtual object is received as an object control operation. The second movement operation is used to control the movement of the first virtual object into the dressing scene area. Illustratively, the dressing scene area is an accessible portion of the virtual scene, and the player controls the movement of the first virtual object within the virtual scene. The movement operation of controlling the first virtual object to enter the dressing scene area is referred to as an object control operation.
[0119] In some embodiments, the dressing scene area includes a preview sub-area and a dressing sub-area; and a second movement operation of controlling the first virtual object to move to the dressing sub-area is received as the object control operation.
[0120] Optionally, the preview sub-area and the dressing sub-area are implemented as overlapping areas, wherein the degree of overlap between the preview sub-area and the dressing sub-area can be implemented as either full overlap or partial overlap. Schematically, when the preview sub-area and the dressing sub-area are implemented as full overlap, the dressing scene area can be called either a preview sub-area or a dressing sub-area. As shown in FIG11 , the element dressing area is implemented as a dressing scene area 1100, and the preview sub-area and the dressing sub-area included in the dressing scene area 1100 are fully overlapping areas. The dressing scene area 1100 displays the preview effect of the virtual element 1110 based on the preview effect of the preview sub-area; the dressing scene area 1100 can dress up the virtual element 1110 for the virtual object within the dressing scene area 1100 based on the dressing effect of the dressing sub-area.
[0121] Optionally, the preview sub-area and the dressing sub-area are implemented as relatively independent areas, wherein the preview sub-area occupies a portion of the dressing scene area, and the dressing sub-area occupies another portion of the dressing scene area. As shown schematically in FIG12 , the element dressing area is implemented as a dressing scene area, which includes a preview sub-area 1210 and a dressing sub-area 1220 . Preview sub-area 1210 displays a preview effect of a virtual element 1230 ; dressing sub-area 1220 dresses virtual elements 1230 based on the dressing effect on virtual objects within dressing sub-area 1220 .
[0122] In some embodiments, when the element dressing area includes dressing areas corresponding to multiple virtual elements, and each dressing area corresponds to a preview sub-area and a dressing sub-area, the dressing area can be regarded as an element dressing area with reference to the above content, and the preview effect and dressing effect of the virtual element can be executed, which is not limited here.
[0123] In the above embodiment, the element dressing area is designed as a scene area in the virtual scene. There is no need to add other special elements in the virtual scene as the dressing area, which saves computer resources. Players only need to move to the designated area in the virtual scene to dress up virtual elements for virtual objects. This intuitive operation method reduces learning costs and improves human-computer interaction efficiency.
[0124] Step 440: Display the first virtual object decorated with the first virtual element based on the object control operation.
[0125] Optionally, in response to an object control operation, a first virtual object decorated with a first virtual element is displayed. The first virtual element is a virtual decoration element determined based on the object control operation and the element decoration area. Illustratively, after receiving the object control operation, the first virtual element is determined based on the object control operation and the element decoration area.
[0126] Optionally, when the element dressing area corresponds to a virtual element, the virtual element is determined to be the first virtual element based on the object control operation and the element dressing area. Optionally, when the element dressing area corresponds to multiple virtual elements, the virtual element corresponding to the dressing area is determined to be the first virtual element based on the object control operation and the dressing area in the element dressing area targeted by the object control operation. As shown in Figure 8, the element dressing area is implemented as a virtual dressing wall 810, which includes a dressing area 811 corresponding to virtual element A, a dressing area 812 corresponding to virtual element B, and a dressing area 813 corresponding to virtual element C; when an object control operation is received and it is determined that the object control operation is an operation performed on the dressing area 811, virtual element A is used as the first virtual element.
[0127] In some embodiments, based on the object control operation and the determination of the first virtual element, the first virtual element is applied to the first virtual object, thereby displaying the first virtual object with the first virtual element applied. As shown in FIG13 , the element dressing area is implemented as a virtual dressing wall, which corresponds to the first virtual element 1300 ; the virtual dressing wall includes a preview sub-area 1310 and a dressing sub-area 1320 ; a first movement operation of controlling the first virtual object 1330 through the dressing sub-area 1320 is used as an object control operation to apply the virtual element 1300 to the first virtual object 1330 , thereby displaying the first virtual object 1330 with the first virtual element 1300 dressed up.
[0128] In some embodiments, the element dressing area includes dressing areas corresponding to a plurality of virtual elements, including a first dressing area for dressing a first virtual element. Optionally, in response to an object control operation instructing the first virtual object to interact with the first dressing area in the element dressing area, the first virtual object dressed up with the first virtual element is displayed. The element dressing area includes dressing areas corresponding to a plurality of virtual elements, including a first dressing area corresponding to the first virtual element. Schematically, taking the first virtual element as virtual element A as an example, the dressing area corresponding to virtual element A is the first dressing area; when the object control operation instructs the first virtual object to interact with the first dressing area, the virtual element dressed up by the first virtual object is determined to be virtual element A, thereby displaying the first virtual object dressed up with virtual element A.
[0129] In some embodiments, the first dressing area includes a first preview sub-area and a first dressing sub-area; the first preview sub-area is used to preview the first virtual element. Optionally, in response to an object control operation instructing the first virtual object to interact with the first dressing sub-area, the first virtual object dressed up with the first virtual element is displayed.
[0130] In the embodiment of the present application, the content of the element dressing area, including the preview sub-area and the dressing sub-area, is described. The preview sub-area allows previewing the dressing of virtual elements, and the dressing sub-area allows execution of the virtual element dressing process, thereby providing a more fine-grained division of the functions of the element dressing area, facilitating quick viewing of virtual elements while simultaneously performing an efficient dressing process. In addition, the element dressing area can be implemented as multiple dressing areas, each corresponding to a different virtual element, and each dressing area can also have corresponding preview sub-areas and dressing sub-areas, thereby achieving the purpose of coordinated management and viewing of multiple virtual elements through the element dressing area, further improving the efficiency of virtual element dressing and improving the efficiency of human-computer interaction.
[0131] In an optional embodiment, after the first virtual object is dressed up with the first virtual element, a dressing time progress bar may be displayed. Schematically, as shown in FIG14 , the embodiment shown in FIG3 may also be implemented as follows: steps 1410 to 1450 .
[0132] Step 1410 : Display the first virtual object and the element dressing area in the virtual scene.
[0133] The element dressing area includes an element dressing function, which is used to provide dressing for the first virtual object.
[0134] In an optional embodiment, an element configuration operation for the element dressing area is received, where the element configuration operation is used to adjust the virtual element corresponding to the element dressing function to be the first virtual element.
[0135] Schematically, the virtual elements corresponding to the element dressing function are used to apply the virtual elements to the virtual objects; by performing element configuration operations on the element dressing area, the virtual elements applied in the element application process can be determined.
[0136] In some embodiments, a trigger operation for an element configuration control in an element dressing area is received to display an element display interface. Schematically, the element dressing area has, in addition to element dressing and element preview functions, an element configuration function for configuring virtual elements used in the element dressing process.
[0137] Optionally, different functions are implemented through different functional areas. Illustratively, the element configuration function is implemented through the functional area represented by the element configuration control. For example, the element dressing area includes an element configuration control, which is used to trigger the configuration operation of the virtual elements provided in the element dressing area. Based on at least one of the multiple triggering operations such as clicking, long pressing, and double-clicking the element configuration control, the element display interface is displayed. The element display interface includes multiple accessory elements, at least one of which is combined to obtain a virtual element corresponding to the element dressing function.
[0138] Optionally, a virtual element can be implemented as a single accessory element or as an element composed of multiple accessory elements. An accessory element is the smallest element unit used for application to a virtual object. Illustratively, an accessory element is implemented as at least one of a variety of elements, such as virtual clothing, virtual items, and virtual props. Virtual clothing includes virtual tops, virtual pants, virtual hats, and virtual shoes; virtual items include virtual glasses, virtual earrings, and virtual necklaces; and virtual props include virtual backpacks, virtual slingshots, and virtual medicine bottles.
[0139] In some embodiments, an element selection operation for at least one accessory element among a plurality of accessory elements is received as an element configuration operation. Illustratively, the element selection operation is an operation for selecting a plurality of accessory elements, and at least one accessory element is determined from the plurality of accessory elements based on the element selection operation. For example, the plurality of accessory elements include a virtual top C1, a virtual top C2, virtual pants T1, a virtual hat M1, a virtual hat M2, virtual shoes S1, virtual earrings E1, a virtual necklace N1, and a virtual backpack B1; an element selection operation is received for the virtual top C1, virtual pants T1, and virtual necklace N1, and the at least one accessory element is determined to include the virtual top C1, virtual pants T1, and virtual necklace N1.
[0140] Optionally, at least one accessory element is combined to form a virtual element corresponding to the elemental dressing function. For example, virtual top C1, virtual pants T1, and virtual necklace N1 form virtual element 1. Alternatively, virtual top C2, virtual pants T1, and virtual necklace N1 can form virtual element 2, and so on. This is not a limitation.
[0141] In an optional embodiment, in response to an element configuration operation, a first virtual element is displayed in the element dressing area. Illustratively, after the element configuration operation, a virtual element configured based on the element configuration operation can be displayed in the element dressing area. For example, based on the element configuration operation, a virtual top C1, virtual pants T1, and virtual necklace N1 are determined, thereby displaying virtual element 1, which is a combination of the virtual top C1, virtual pants T1, and virtual necklace N1, in the element dressing area; or, based on the element configuration operation, a virtual top C1 is determined, thereby displaying virtual top C1 as virtual element 2 in the element dressing area, etc.
[0142] Optionally, when a preview sub-area and a dressing sub-area exist in the element dressing area, a virtual element configured based on the element configuration operation, ie, a first virtual element, may be displayed in the preview sub-area of the element dressing area.
[0143] In the above embodiment, a scheme is introduced for adjusting virtual elements based on element configuration operations and displaying the adjusted virtual elements in the element dressing area, which allows players to select and combine different virtual elements from multiple accessory elements, enriching the content diversity of virtual dressing, and displaying the virtual elements obtained based on the element configuration operations in real time in the element dressing area, which not only allows players to see the dressing effect immediately, but also allows further adjustments and optimizations based on the effect feedback, which helps to improve the player's dressing efficiency of virtual objects.
[0144] In an optional embodiment, when there are multiple dressing areas in the element dressing area, an element configuration operation for at least one dressing area in the multiple dressing areas is received, and virtual elements corresponding to the multiple dressing areas are determined. Schematically, each of the multiple dressing areas corresponds to an element configuration control, and the virtual elements corresponding to the dressing area are configured based on the triggering operation of the element configuration control. For example: there are three dressing areas in the element dressing area, and each of the three dressing areas corresponds to an element configuration control. Based on the triggering operation of the element configuration control corresponding to dressing area 1, the virtual element corresponding to dressing area 1 is configured, such as configuring virtual element A to consist of accessory element a1 and accessory element a2; similarly, based on the triggering operation of the element configuration control corresponding to dressing area 2, the virtual element corresponding to dressing area 2 can also be configured, such as configuring virtual element B to include accessory element b1.
[0145] Step 1420: Receive an object control operation for the first virtual object.
[0146] The object control operation is used to control the first virtual object to interact with the element decoration area in the virtual scene.
[0147] Illustratively, when the element dressing area is implemented as a virtual dressing wall, a first movement operation for a first virtual object to pass through the virtual dressing wall is received as an object control operation; or, when the element dressing area is implemented as a dressing scene area, a second movement operation for the first virtual object to move into the dressing scene area is received as an object control operation, etc.
[0148] In an optional embodiment, the virtual scene includes multiple element dressing areas. Each of the multiple element dressing areas corresponds to at least one virtual element. Illustratively, when the virtual scene is displayed, multiple element dressing areas are displayed, each corresponding to at least one virtual element.
[0149] Optionally, each element dressing area corresponds to a virtual element. For example, a virtual scene includes element dressing area 1 and element dressing area 2. Element dressing area 1 corresponds to virtual element A, meaning element dressing area 1 is used to dress virtual element A for a virtual object; element dressing area 2 corresponds to virtual element B, meaning element dressing area 2 is used to dress virtual element B for a virtual object, and so on.
[0150] Optionally, each element dressing area corresponds to multiple virtual elements. Schematically, the virtual scene includes element dressing area 1 and element dressing area 2. Element dressing area 1 corresponds to virtual element A and virtual element B, meaning that element dressing area 1 can dress virtual element A for a virtual object, or virtual element B for a virtual object. For example, the element dressing area includes dressing area 11 corresponding to virtual element A and dressing area 12 corresponding to virtual element B. Element dressing area 2 corresponds to virtual element C and virtual element D, meaning that element dressing area 2 can dress virtual element C for a virtual object, or virtual element D for a virtual object, and so on.
[0151] In some embodiments, a first object control operation for a first virtual object is received. The first object control operation is used to control the first virtual object to interact with a first element dressing area in a virtual scene, and the first element dressing area is used to dress the first virtual object with a first virtual element. For example, taking the element dressing area as a virtual dressing wall as an example; the virtual scene includes a virtual dressing wall Q1 and a virtual dressing wall Q2. If the first element dressing area is the virtual dressing wall Q1, when the player controls the first virtual object to interact with the virtual dressing wall Q1 in the virtual scene, such as passing through the virtual dressing wall Q1, it is considered that the first object control operation for the first virtual object has been received; the first object control operation is used to dress the first virtual element corresponding to the first element dressing area on the first virtual object. For example, the element dressing area is implemented as a dressing scene area; the virtual scene includes the dressing scene area P1 and the dressing scene area P2. If the first element dressing area is the dressing scene area P1, when the player controls the first virtual object to interact with the dressing scene area P1 in the virtual scene, such as moving into the dressing scene area P1, it is deemed to have received a first object control operation for the first virtual object; the first object control operation is used to dress the first virtual element corresponding to the first element dressing area on the first virtual object.
[0152] In some embodiments, a second object control operation is received for the first virtual object.
[0153] The second object control operation is used to control the first virtual object to interact with the second element dressing area in the virtual scene. The second element dressing area is used to dress the first virtual object with a second virtual element, and the first virtual element and the second virtual element are different. For example, taking the element dressing area as a virtual dressing wall as an example; the virtual scene includes virtual dressing wall Q1 and virtual dressing wall Q2. If the second element dressing area is virtual dressing wall Q2, when the player controls the first virtual object to interact with virtual dressing wall Q2 in the virtual scene, such as passing through virtual dressing wall Q2, it is considered that the second object control operation for the first virtual object has been received. The second object control operation is used to dress the second virtual element corresponding to the second element dressing area on the first virtual object. For example, the element dressing area is implemented as a dressing scene area; the virtual scene includes the dressing scene area P1 and the dressing scene area P2. If the second element dressing area is the dressing scene area P2, when the player controls the first virtual object to interact with the dressing scene area P2 in the virtual scene, such as moving to the dressing scene area P2, it is deemed to have received a second object control operation for the first virtual object; the second object control operation is used to dress the second virtual element corresponding to the second element dressing area on the first virtual object.
[0154] In the above embodiment, there are multiple element dressing areas in the virtual scene, and different element dressing areas can be used to dress up different virtual elements. By introducing multiple element dressing areas, players are provided with a variety of dressing options. Players control virtual objects to interact with multiple element dressing areas in the virtual scene to preview the effects of virtual objects dressing up with multiple elements. The switching process of virtual objects switching between multiple dressing effects requires relatively simple operating steps, and does not require tedious saving and loading processes, so that players can quickly determine the required dressing elements from multiple dressing elements, thereby improving the efficiency of players dressing up virtual objects.
[0155] Step 1430: Based on the object control operation, display the first virtual object decorated with the first virtual element.
[0156] Optionally, in response to an object control operation, a first virtual object dressed up with a first virtual element is displayed. The first virtual element is a virtual element determined based on the object control operation and the element dressing area. Illustratively, when the object control operation indicates the first virtual element, the first virtual element is dressed up on the first virtual object, thereby displaying the first virtual object dressed up with the first virtual element.
[0157] In an optional embodiment, the first virtual object is decorated with a third virtual element. Schematically, the third virtual element is the virtual element that the first virtual object is decorated with before the first virtual element is decorated.
[0158] In some embodiments, in response to the object control operation, the first virtual object is displayed to perform an element dressing action of dressing up the first virtual element. Optionally, in response to the object control operation, an element switching animation is displayed, wherein the element switching animation includes the first virtual object performing an element switching action of switching the third virtual element to the first virtual element.
[0159] Optionally, when there is at least one different accessory element between the third virtual element and the first virtual element, in response to the object control operation, an element switching action is displayed to switch the different accessory element to the first virtual element. Schematically, the third virtual element is composed of accessory element a1 and accessory element b1, and the first virtual element is composed of accessory element a1 and accessory element b2. After the object control operation, the element switching action of the first virtual object switching accessory element b1 to accessory element b2 is displayed, thereby displaying the element switching animation. Alternatively, the third virtual element is composed of accessory element a1 and accessory element b1, and the first virtual element is composed of accessory element a2 and accessory element b2. After the object control operation, the element switching action of the first virtual object switching accessory element a1 and accessory element b1 to accessory element a2 and accessory element b2 is displayed, thereby displaying the element switching animation, etc.
[0160] Optionally, when the third virtual element is the same as the first virtual element, the element switching animation is not displayed. Schematically, when at least one accessory element constituting the third virtual element is the same as at least one accessory element constituting the first virtual element, the third virtual element is deemed to be the same as the first virtual element. For example: the third virtual element is composed of accessory element a1 and accessory element b1, and the first virtual element is also composed of accessory element a1 and accessory element b1, which means that the first virtual object has been dressed up with the first virtual element, so there is no need to dress up the first virtual element on the first virtual object, that is, the element switching animation of the first virtual object performing the element switching action is not displayed. In the above embodiment, by displaying the element switching action, the player can intuitively see the process of the first virtual object changing from dressing up the third virtual element to dressing up the first virtual element, wherein when there are different accessory elements between the third virtual element and the first virtual element, only the element switching action corresponding to the configuration element with the difference is displayed, thereby avoiding unnecessary visual rendering operations, saving rendering resources, and improving operation response speed and dressing efficiency.
[0161] In one optional embodiment, in response to an object control operation, the first virtual object is displayed to perform an element dressing action for dressing up the first virtual element. Optionally, in response to the object control operation, an element dressing animation is displayed, wherein the element dressing animation includes the first virtual object performing the element dressing action for dressing up the first virtual element. Illustratively, the first virtual object is not dressed up as any other virtual element. After the object control operation, the first virtual object performs the element dressing action for dressing up the first virtual element in the virtual scene, and an animation of the element dressing action is displayed as the element dressing animation.
[0162] In the above embodiment, by displaying the element dressing action, the first virtual object can automatically dress up the first virtual element, avoiding the player's manual operation of dressing up the first virtual object with the first virtual element, thereby improving the efficiency of human-computer interaction.
[0163] In an optional embodiment, when the object control operation represents the movement of the first virtual object from the first side to the second side of the element dressing area, the first virtual object dressed up with the first virtual element is displayed. Optionally, in response to the object control operation representing the movement of the first virtual object from the first side to the second side of the element dressing area, the first virtual object dressed up with the first virtual element is displayed. The first side and the second side are different. Schematically, the element dressing area is implemented as a virtual dressing wall, and the virtual dressing wall corresponds to a first side and a second side, and the first side and the second side are separated from each other by the virtual dressing wall; when the object control operation represents the player controlling the first virtual object to move from the first side to the second side of the element dressing area, it is regarded as a process of dressing the first virtual element on the first virtual object, that is, the first virtual object dressed up with the first virtual element is displayed.
[0164] Optionally, the first side and the second side may be pre-set directions, such as considering the left side of the virtual dressing wall as the first side and the right side of the virtual dressing wall as the second side; or considering the left side of the virtual dressing wall as the second side and the right side of the virtual dressing wall as the first side, etc. Illustratively, the element dressing area may also be implemented as a dressing scene area, and the first and second sides corresponding to the dressing scene area may be determined based on any area boundary within the dressing scene area, which is not limited herein.
[0165] In an optional embodiment, when an object control operation is received indicating that the first virtual object has moved from the second side to the first side of the element decoration area, the first virtual object without the first virtual element is restored to display. Optionally, when the first virtual object is decorated with the first virtual element and continues to receive object control operations, in response to the object control operation indicating that the first virtual object has moved from the second side to the first side of the element decoration area, the first virtual object without the first virtual element is restored to display. Illustratively, after the first virtual object is decorated with the first virtual element through an object control operation, if an object control operation is received again indicating that the first virtual object has moved from the second side to the first side of the virtual decoration wall, the first virtual element is removed from the first virtual object, thereby restoring the display of the first virtual object without the first virtual element.
[0166] In the above embodiment, when a player controls a virtual object to move from one side of the element dressing area to the other, the dressing effect is immediately displayed, significantly improving the efficiency of dressing virtual elements for the virtual object and enhancing human-computer interaction. Furthermore, allowing the player to undo a dressing with a simple reverse movement avoids the tedious process of re-dressing, further enhancing human-computer interaction efficiency.
[0167] In an optional embodiment, the first virtual object can interact with the element dressing area in a variety of interactive forms, and the interactive forms are used to represent the interaction between the first virtual object and the element dressing area. The various interactive forms include jumping interactive forms, moving interactive forms, specified posture interactive forms, crawling interactive forms, etc., which are not limited here. Optionally, the multiple interactive forms include a first interactive form, which represents the first virtual object interacting with the element dressing area in the first interactive form in response to the object control operation, and displays the first virtual object dressed with the first accessory element. The first interactive form is used to dress the first accessory element in the first virtual element on the first virtual object. The first interactive form is subordinate to multiple interactive forms. Optionally, different interactive forms correspond to at least one accessory element in the first virtual element, and are used to represent dressing the corresponding at least one accessory element on the first virtual object. Illustratively, the first interaction form is implemented as a jumping interaction form, which is used to dress a virtual hat in a virtual element on a first virtual object, and the virtual hat is used as the first accessory element corresponding to the jumping interaction form; if the object control operation represents that the first virtual object interacts with the element dressing area in a jumping interaction form, the first virtual object dressed with a virtual hat is displayed.
[0168] Optionally, the multiple interaction forms also include a second interaction form, which is different from the first interaction form. In response to the object control operation representing that the first virtual object interacts with the element dressing area in the second interaction form, the first virtual object dressed up with the second accessory element is displayed. The second interaction form is used to dress up the second accessory element in the first virtual element on the first virtual object. Schematically, the first accessory element and the second accessory element are different. For example: the second interaction form is implemented as a crawling interaction form, and the crawling interaction form is used to dress up the virtual shoes in the virtual element on the first virtual object, then the virtual shoes are used as the second accessory element corresponding to the crawling interaction form; if the object control operation represents that the first virtual object interacts with the element dressing area in the crawling interaction form, the first virtual object dressed up with the virtual shoes is displayed.
[0169] In the above embodiment, players can dress up different accessory elements by interacting with the element dressing area through different interactive forms, thereby improving the pertinence and diversity of virtual element dressing. On the other hand, the interactive form when displaying dressing elements can also reduce misoperation and avoid waste of resources caused by players performing unlimited dressing operations.
[0170] Step 1440: Display the dressing time progress bar.
[0171] The dress-up time progress bar represents the relationship between the dress-up duration and the preset dress-up duration. The dress-up duration represents the duration during which the first virtual object dresses up the first virtual element. Illustratively, the preset dress-up duration is a pre-set duration limit that limits the duration during which the first virtual element can dress up on the first virtual object. In other words, the dress-up time progress bar indicates the countdown to previewing the first virtual element's dress-up on the first virtual object.
[0172] Schematically, the types of dressing time progress bars include at least one of a linear time progress bar (a straight line is used to represent the preset dressing time, and the dressing time is displayed by filling or changing color), a circular / ring-shaped time progress bar (a circle / ring is used to represent the preset dressing time, and the dressing time is displayed by filling or changing color), a percentage digital time progress bar (a percentage digital is used to represent the ratio of the dressing time to the preset dressing time), etc., which are not limited here.
[0173] Optionally, the preset dressing-up duration is a fixed value, such as 1 minute, 3 minutes, etc. Optionally, the preset dressing-up duration is a value determined according to the virtual element. For example, different virtual elements each correspond to a preset dressing-up duration, such as the preset dressing-up duration corresponding to virtual element A is 2 minutes, the preset dressing-up duration corresponding to virtual element B is 3 minutes, the preset dressing-up duration corresponding to virtual element C is 2 minutes, etc. Optionally, the preset dressing-up duration is a value determined according to the object level of the first virtual object. For example, the higher the object level of the first virtual object, the longer the preset dressing-up duration, and the lower the object level of the first virtual object, the shorter the preset dressing-up duration, etc.
[0174] In some embodiments, when the first virtual element is a virtual element redeemed by the player, the dressing time progress bar may not be displayed after the first virtual object is dressed with the first virtual element. When the first virtual element is a virtual element that the player has not redeemed, after the first virtual object is dressed with the first virtual element, the preset dressing time corresponding to the first virtual element is determined, and the dressing time progress bar is displayed. Illustratively, the first virtual element is a virtual element that the player wishes the first virtual object to try on. After the first virtual object dressed with the first virtual element is displayed based on an object control operation, the preset dressing time corresponding to the first virtual element is determined, and the dressing time progress bar is displayed based on the preset dressing time and the dressing time duration of the first virtual object dressing the first virtual element.
[0175] Figure 15 shows a schematic diagram of an interface displaying a dressing time progress bar. It displays a first virtual object 1520 dressing up a first virtual element 1510, and the remaining try-on time 1530 represents the dressing time progress bar. The length of the bar is the preset dressing time. The white area represents the dressing time of the first virtual object 1520 dressing up the first virtual element, while the black area represents the difference between the preset dressing time and the dressing time, indicating the remaining time the first virtual object can dress up the first virtual element.
[0176] In some embodiments, an interactive animation is displayed in which the first virtual object dressed up in the first virtual element interacts with other virtual objects in a virtual scene. Schematically, object interaction is implemented as a variety of interactive forms such as greeting, high-five, and eye contact. For example: after dressing up in the first virtual element, the first virtual object moves in front of other virtual objects, and the animation generated by the movement process is regarded as an interactive animation, etc. As shown in Figure 16, it is a schematic diagram of the interface for object interaction with other virtual objects. Therein, the first virtual object 1620 dressed up in the first virtual element 1610 is displayed, and the remaining try-on time 1630 is used to represent the above-mentioned dressing time progress bar; compared with the above-mentioned Figure 15, the first virtual object moves in front of other virtual objects (such as virtual object 1640), and the movement process is regarded as a form of object interaction, and the animation generated by the movement process is regarded as an interactive animation.
[0177] In one optional embodiment, the element rating results of other virtual objects relative to the first virtual element are displayed. Illustratively, after displaying the first virtual object adorned with the first virtual element, a rating interface can be displayed on the terminal screens corresponding to the other virtual objects. The rating interface indicates the rating of the effect of the first virtual element adorning the first virtual object. Optionally, the player controlling the other virtual objects can perform a rating process on the rating interface, thereby displaying the element rating results on the terminal screen corresponding to the first virtual object. The element rating results are the result of rating the effect of the first virtual element adorning the first virtual object. Optionally, the element rating results include the rating results corresponding to the other virtual objects. For example, the element rating results include the rating results posted by virtual objects K1 and K2, where K1's rating is 8.5 and K2's rating is 7. Optionally, the element rating results are the result of combining the rating results corresponding to the other virtual objects. For example, an element rating of 8 is the average of the rating results posted by virtual objects K1, K2, and K3.
[0178] Step 1450 : When the dressing-up time corresponding to the first virtual object reaches a preset dressing-up time, the first virtual object that has been dressed up as the first virtual element is displayed to be cancelled.
[0179] Optionally, in response to the first virtual object's corresponding dressing duration reaching a preset dressing duration, the first virtual object is displayed without being dressed up with the first virtual element. Illustratively, when the first virtual object's dressing duration reaches the preset dressing duration, the application of the first virtual element to the first virtual object is canceled, thereby displaying the first virtual object without being dressed up with the first virtual element.
[0180] Optionally, when the first virtual object is not dressed up with other virtual elements before being dressed up with the first virtual element, when the first virtual object not dressed up with the first virtual element is displayed, the first virtual object not dressed up with other virtual elements is restored to display.
[0181] Optionally, when the first virtual object is dressed up as the third virtual element before being dressed up as the first virtual element, the first virtual object not dressed up as the first virtual element is displayed, and then the first virtual object dressed up as the third virtual element is restored to display, and so on.
[0182] The above content is explained by taking the implementation of the element dressing area as a virtual dressing wall as an example.
[0183] In an optional embodiment, when the element dressing area is implemented as a dressing scene area, when the first virtual object moves into the dressing scene area corresponding to the first virtual element, the first virtual object dressed with the first virtual element is displayed; when the first virtual object moves out of the dressing scene area corresponding to the first virtual element, the first virtual object is restored to display.
[0184] In an optional embodiment, when the first virtual object moves to the dressing scene area corresponding to the first virtual element, the first virtual object dressed with the first virtual element and a dressing time progress bar are displayed; in response to the dressing time corresponding to the first virtual object reaching a preset dressing time, a prompt message is displayed, and the prompt message is used to prompt the first virtual object to leave the dressing scene area; or, in response to the dressing time corresponding to the first virtual object reaching the preset dressing time, an object removal animation is displayed to automatically move the first virtual object outside the dressing scene area.
[0185] In an embodiment of the present application, a content displaying a dress-up time progress bar is introduced. When a first virtual object is dressed up with an unredeemed first virtual element, the dress-up time progress bar can be used to indicate to the player the relationship between the dress-up time and the preset dress-up time. This not only reminds the player of the dress-up time limit for the first virtual element, but also indirectly encourages the player to redeem the first virtual element. Furthermore, within the preset dress-up time, the player can display the first virtual object dressed up with the first virtual element to other players, thereby enhancing the interaction between the first virtual object and other virtual objects controlled by other players, increasing the player's enthusiasm for interaction, and indirectly encouraging other players to redeem the first virtual element, thereby improving the efficiency of human-computer interaction.
[0186] In an optional embodiment, the related art includes virtual costumes, allowing players to customize their virtual objects by redeeming them, making them more personalized. To encourage players to redeem virtual costumes, these virtual costumes often include previews, often displayed within a separate fashion display replacement model. Figure 17 illustrates a user interface for this related art. It shows the content of a costume 1710, including multiple virtual costumes, such as virtual costume 1711. Upon selecting a virtual costume 1711, a preview of the corresponding virtual costume is displayed in preview area 1720. Specifically, during the preview process, players must enter the fashion display replacement model, find the corresponding virtual costume, and then preview it. This preview is visible only to the player, not to other players. Therefore, exposure to new virtual costumes is very limited. Players who have already purchased and worn the virtual costume cannot see how others will look wearing it in the virtual scene. Furthermore, entering the preview model is cumbersome, and exiting the model automatically exits the preview process. Figure 18 illustrates another user interface for this related art. The recommendation hall 1810 includes content such as fashion, accessories, and props. Based on the selection of virtual fashion, a redemption process can be carried out. However, the virtual fashion cannot be applied to the virtual objects controlled by the player. In other words, the player cannot preview the virtual fashion and lacks the desire to redeem the virtual fashion. Based on this, the present application provides the above-mentioned virtual element dressing method. In an optional embodiment, the virtual elements can be implemented as virtual fashion. The above-mentioned virtual element dressing method can be referred to as a convenient fashion preview method for application in the open world. The following describes the virtual element dressing method from both the interface and technical aspects.
[0187] (1) Interface side
[0188] Schematically, an element dressing model is set up in a virtual scene. The element dressing model corresponds to two areas: one area is used to display virtual elements (such as the preview sub-area mentioned above), and the other area is a try-on area for dressing up virtual elements (such as the dressing sub-area mentioned above). As shown in Figure 7, the preview sub-area 711 displays a popular virtual fashion as the first virtual element 720; the dressing sub-area 712 allows users to quickly dress up the popular virtual fashion displayed in the preview sub-area.
[0189] Schematically, the fitting area is a fashion fitting judgment medium. When the first virtual object is controlled to pass through the fitting area, the judgment medium is triggered to replace the current fashion on the first virtual object with the currently displayed virtual fashion.
[0190] As shown in Figure 10, if the first virtual object 1030 passes through the dressing sub-area 1020 at the current moment, the judgment medium will be triggered to replace the current fashion on the first virtual object 1030 with the virtual element 1000 currently displayed in the preview sub-area 1010. Schematically, the fashion try-on has a duration (preset dressing duration), and after the duration expires, the virtual fashion will disappear. As shown in Figure 15, at the current moment, the first virtual object 1520 is dressed up as the first virtual element 1510, and the remaining try-on time 1530 is also displayed in the interface to remind the player of the effective duration of dressing up the first virtual element.
[0191] For example, the first virtual element of the first virtual object's outfit can be seen by other players during the try-on time. Furthermore, multiple players can simultaneously control their corresponding virtual objects to enter the try-on area, triggering the try-on effect and achieving a group display and promotional effect. Furthermore, after the countdown ends, the first virtual object returns to its original style.
[0192] (2) Technical side
[0193] Schematically, as shown in FIG19 , it is a technical flow chart of a method for executing a virtual element dressing method on a fashion preview wearing model (i.e., the above-mentioned fashion display replacement model).
[0194] Step 1910: Create a fashion preview wearing model.
[0195] Schematically, a fashion preview wearing model with an interactive area is set in the virtual scene, which is mainly divided into two parts, namely the display area (preview sub-area) and the try-on area (dressing sub-area).
[0196] The display area is an area that can carry images and is used to display fashion display pictures on the terminal. The display pictures can be transmitted to the terminal through the server for display and the display pictures can be replaced.
[0197] The try-on area is an area with a logical judgment mechanism, which implements the judgment process by identifying whether there are virtual objects.
[0198] Step 1920: Package the currently displayed virtual fashion into a medium and input it into the try-on area.
[0199] Schematically, after determining the display image corresponding to the virtual fashion that needs to be displayed, the server will also package the virtual fashion and input it into the try-on area so that the virtual object can try on the virtual fashion through the try-on area.
[0200] Step 1930: Determine whether the first virtual object enters the fitting area.
[0201] Illustratively, if no virtual object passes through the try-on area, the area will remain in a prompt state (e.g., prompting that the first virtual element can be tried on through the area), and the fashion replacement effect will not be triggered. If a virtual object passes through the area, a second judgment is performed. Illustratively, if it is determined that the first virtual object has not entered the try-on area, step 1941 is executed; if it is determined that the first virtual object has entered the try-on area, step 1942 is executed.
[0202] Step 1941, maintain the original appearance.
[0203] Illustratively, if the first virtual object does not enter the fitting area, the appearance of the first virtual object remains unchanged.
[0204] Step 1942: Determine whether the first virtual object is in the try-on countdown.
[0205] Illustratively, if the first virtual object enters the try-on area, the appearance of the first virtual object is adjusted.
[0206] Optionally, if the current virtual object is in a try-on state (i.e., the current virtual object has passed through the area and activated a wear preview effect, and the server has sent the corresponding fashion data to the terminal and completed the replacement of the external outfit), the try-on mechanism will not be triggered again. Optionally, if the outfit currently worn by the virtual object is a purchased and currently previewed outfit, the server determines whether the outfit worn by the player is completely consistent with the currently previewed outfit. If so, the preview replacement effect will not be triggered, and the outfit style currently purchased and worn by the player will be maintained. Optionally, if the player is not currently wearing the previewed outfit style, the corresponding try-on mechanism will be triggered. The server sends the relevant fashion data to the terminal, and the terminal compares the fashion data with the outfit worn by the player and replaces the corresponding part of the outfit with the style in the current preview. If the player is wearing some accessories of the currently tried-on outfit, such as a whole outfit consisting of a hat, clothes, shoes, pants, and gloves, and the player is currently only wearing a purchased hat, the server will identify the various parts of the outfit currently worn by the player and make a judgment. If there is a purchased try-on outfit, the part will not be replaced, and only the parts that are different from the currently previewed outfit will be replaced.
[0207] Alternatively, if the player is wearing a part of a costume that isn't included, such as an accessory for a specific area, the costume won't be replaced synchronously; only the included area will be replaced. Specifically, if the try-on mechanism is triggered and the player tries on at least one accessory area of the costume, a determination will be made as to whether the player is in the try-on countdown. For example, if the player is determined to be in the try-on countdown, step 1951 is executed; if the player is determined to be in the try-on countdown, step 1952 is executed.
[0208] Step 1951: Do not trigger the preview again.
[0209] Indicatively, if the player has already tried on the item, the preview will not be triggered again.
[0210] Step 1952, triggering the medium, and replacing the fashion with the try-on fashion.
[0211] Indicatively, if the player has not tried on the outfit yet, the accessory elements that do not belong to the outfit currently being tried on will be replaced.
[0212] Step 1960: Check whether the countdown is over.
[0213] Optionally, the terminal determines in real time whether the countdown has ended; alternatively, the server sends corresponding countdown data to the terminal, which then displays a player-visible countdown control that shows the expiration time of the currently worn preview outfit and determines whether to maintain the outfit preview based on the remaining time. Illustratively, if the countdown is determined to be ongoing, step 1971 is executed; if the countdown is determined to be completed, step 1972 is executed.
[0214] Step 1971, maintain the current appearance display.
[0215] Indicatively, when it is determined that the countdown has not ended, the first virtual object dressed in the current fashion item being tried on continues to be displayed.
[0216] That is: when the countdown time is greater than 0 seconds, the current fashion preview display is maintained.
[0217] Step 1972, restore the original appearance.
[0218] Indicatively, when it is determined that the countdown has ended, the first virtual object before the user tries on the fashion item is restored to display.
[0219] That is: when the countdown time is less than or equal to 0 seconds, the current fashion preview is canceled, and the terminal determines the fashion style that needs to be restored on the first virtual object and sends it to the server; the server returns the original fashion wearing data of the first virtual object to replace the corresponding parts, and after the replacement, the player returns to the fashion style before the preview.
[0220] In the embodiments of the present application, it is possible to effectively overcome the cumbersome preview methods of game fashions in related technologies and the inability to trigger sharing through external display. By leveraging the rapid interaction between the first virtual object and the elemental dressing area, the first virtual object can quickly preview the appearance of the fashion, and can also produce a group display effect by displaying it to other players. The elemental dressing area is not limited to a virtual dressing wall located in a single location, but can also be implemented as a dressing scene area with a regional scope, so that the first virtual object can enter the dressing scene area and continue to display the fashion try-on effect, and leave the area to restore the original fashion display; this greatly improves the efficiency and fun of fashion dressing during the game, and improves the efficiency of human-computer interaction.
[0221] FIG20 is a structural block diagram of a virtual element dressing device provided by an exemplary embodiment of the present application. As shown in FIG20 , the device includes the following parts:
[0222] The display module 2010 is used to display a first virtual object and an element dressing area located in a virtual scene, wherein the element dressing area includes an area providing an element dressing function, and the element dressing function is used to provide dressing for the first virtual object; the receiving module 2020 is used to receive an object control operation for the first virtual object, and the object control operation is used to control the first virtual object to interact with the element dressing area in the virtual scene; the display module 2010 is used to display the first virtual object dressed with a first virtual element in response to the object control operation, and the first virtual element is a virtual dressing element determined based on the object control operation and the element dressing area.
[0223] In an optional embodiment, the element dressing area is a three-dimensional spatial area in the virtual scene, and the object control operation is used to control the first virtual object to interact with the three-dimensional spatial area where the element dressing area is located in a moving manner. In an optional embodiment, the element dressing area includes a virtual dressing wall; the receiving module 2020 is further used to receive a first movement operation for the first virtual object, the first movement operation is used to control the first virtual object to pass through the virtual dressing wall in the virtual scene. In an optional embodiment, the element dressing area includes a dressing scene area; the receiving module 2020 is further used to receive a second movement operation for the first virtual object, the second movement operation is used to control the first virtual object to move into the dressing scene area.
[0224] In an optional embodiment, the element dressing area includes a preview sub-area and a dressing sub-area, the preview sub-area is used to preview the first virtual element, and the dressing sub-area is used to dress the first virtual element displayed in the preview sub-area to the first virtual object when interacting with the first virtual object.
[0225] In an optional embodiment, the element dressing area includes dressing areas corresponding to multiple virtual elements, including a first dressing area for dressing the first virtual element; the display module 2010 is also used to respond to the object control operation to instruct the first virtual object to interact with the first dressing area in the element dressing area, and display the first virtual object dressed with the first virtual element.
[0226] In an optional embodiment, the display module 2010 is further configured to display a dress-up time progress bar, wherein the dress-up time progress bar is configured to indicate the relationship between the dress-up time and a preset dress-up time; the preset dress-up time is configured to limit the time the first virtual element is dressed up on the first virtual object; and the dress-up time is configured to indicate the time the first virtual object is dressed up as the first virtual element. In an optional embodiment, the display module 2010 is further configured to display the first virtual object as having stopped dressing up as the first virtual element in response to the dress-up time corresponding to the first virtual object reaching the preset dress-up time.
[0227] In an optional embodiment, the receiving module 2020 is further used to receive an element configuration operation for the element dressing area, and the element configuration operation is used to adjust the virtual element corresponding to the element dressing function to the first virtual element. In an optional embodiment, the receiving module 2020 is further used to receive a trigger operation for an element configuration control in the element dressing area, display an element display interface, and the element display interface includes a plurality of accessory elements, wherein at least one accessory element is combined to obtain a virtual element corresponding to the element dressing function; and receive an element selection operation for at least one accessory element among the plurality of accessory elements as the element configuration operation.
[0228] In an optional embodiment, the display module 2010 is also used to respond to the object control operation representation of the first virtual object moving from the first side of the element dressing area to the second side, and display the first virtual object dressed up with the first virtual element, the first side and the second side being different; and respond to the object control operation representation of the first virtual object moving from the second side of the element dressing area to the first side, and restore the display of the first virtual object not dressed up with the first virtual element.
[0229] In an optional embodiment, the display module 2010 is also used to respond to the object control operation to represent that the first virtual object interacts with the element dressing area in a first interactive form, and displays the first virtual object dressed with a first accessory element, and the first interactive form is used to dress the first accessory element in the first virtual element on the first virtual object; or, respond to the object control operation to represent that the first virtual object interacts with the element dressing area in a second interactive form, and displays the first virtual object dressed with a second accessory element, and the second interactive form is used to dress the second accessory element in the first virtual element on the first virtual object; wherein, the first interactive form and the second interactive form are different, and the first accessory element and the second accessory element are different.
[0230] In an optional embodiment, the receiving module 2020 is also used to receive a first object control operation for the first virtual object, the first object control operation is used to control the first virtual object to interact with a first element dressing area in the virtual scene, and the first element dressing area is used to dress the first virtual object with the first virtual element; or, receive a second object control operation for the first virtual object, the second object control operation is used to control the first virtual object to interact with a second element dressing area in the virtual scene, and the second element dressing area is used to dress the first virtual object with a second virtual element, and the first virtual element and the second virtual element are different.
[0231] In an optional embodiment, the display module 2010 is also used to display the first virtual object performing an element switching action of switching a third virtual element to the first virtual element in response to the object control operation, and the third virtual element is the virtual element that the first virtual object dressed up before dressing up the first virtual element.
[0232] In an optional embodiment, the display module 2010 is further configured to display, in response to the object control operation, the first virtual object performing an element dressing action of dressing up the first virtual element.
[0233] In an optional embodiment, the element dressing function is used to provide the first virtual object with a try-on of virtual dressing elements; the element dressing area is provided with multiple virtual elements; the display module 2010 is also used to respond to the object control operation to display the first virtual object dressed with the first virtual element in a try-on mode, and the try-on mode refers to a mode in which the first virtual object temporarily dresses up the first virtual element.
[0234] It should be noted that the virtual element dressing device provided in the above embodiment is merely an example of the division of the aforementioned functional modules. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the virtual element dressing device provided in the above embodiment and the virtual element dressing method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0235] Figure 21 shows a block diagram of the structure of an electronic device 2100 provided by an exemplary embodiment of the present application. The electronic device 2100 can be a portable mobile terminal, such as a smart phone, a car terminal, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, a laptop computer or a desktop computer. The electronic device 2100 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names. Generally, the electronic device 2100 includes: a processor 2101 and a memory 2102. The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2101 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 2101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning. The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2102 is used to store at least one instruction, which is used to be executed by the processor 2101 to implement the virtual element dressing method provided in the method embodiment of the present application. In some embodiments, the electronic device 2100 also includes one or more sensors. The one or more sensors include, but are not limited to, a proximity sensor, a gyroscope sensor, and a pressure sensor.In some embodiments, the electronic device 2100 also includes other components. Those skilled in the art will understand that the structure shown in Figure 21 does not constitute a limitation on the electronic device 2100, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0236] An embodiment of the present application also provides a computer device, which can be implemented as a terminal or server as shown in Figure 2. The computer device includes a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the virtual element dressing method provided by the above-mentioned method embodiments. An embodiment of the present application also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the virtual element dressing method provided by the above-mentioned method embodiments. An embodiment of the present application also provides a computer program product or computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the virtual element dressing method described in any of the above-mentioned embodiments. Optionally, the computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0237] Those skilled in the art will appreciate that all or part of the steps in the above embodiments may be implemented by hardware or by programs instructing the relevant hardware to perform the steps. The programs may be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk. The above are merely optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A virtual element dressing method, executed by a computer device, comprising: Displaying a first virtual object and an element dressing area in a virtual scene, wherein the element dressing area includes an area providing an element dressing function, and the element dressing function is used to provide dressing for the first virtual object; receiving an object control operation for the first virtual object, wherein the object control operation is used to control the first virtual object to interact with the element dressing area in the virtual scene; In response to the object control operation, the first virtual object dressed up with a first virtual element is displayed, the first virtual element being a virtual dressing element determined based on the object control operation and the element dressing area.
2. The method according to claim 1, wherein: The element decoration area is a three-dimensional space area in the virtual scene, and the object control operation is used to control the first virtual object to interact with the three-dimensional space area where the element decoration area is located in a moving manner.
3. The method according to claim 1 or 2, wherein: The element dressing area includes a virtual dressing wall; The receiving an object control operation for the first virtual object includes: A first movement operation for the first virtual object is received, where the first movement operation is used to control the first virtual object to pass through the virtual decoration wall in the virtual scene.
4. The method according to any one of claims 1 to 3, wherein: The element dressing area includes a dressing scene area, and the dressing scene area is used to indicate a scene area within a preset range of the virtual scene; The receiving an object control operation for the first virtual object includes: A second movement operation for the first virtual object is received, where the second movement operation is used to control the first virtual object to move into the dressing scene area.
5. The method according to any one of claims 1 to 4, wherein: The element dressing area includes a preview sub-area and a dressing sub-area, the preview sub-area is used to preview the first virtual element, and the dressing sub-area is used to dress up the first virtual element displayed in the preview sub-area for the first virtual object when interacting with the first virtual object.
6. The method according to any one of claims 1 to 5, wherein: The element dressing area includes dressing areas corresponding to a plurality of virtual elements, including a first dressing area for dressing the first virtual element; The step of displaying the first virtual object dressed up with a first virtual element in response to the object control operation includes: In response to the object control operation indicating that the first virtual object interacts with the first dressing area in the element dressing area, the first virtual object dressed up with the first virtual element is displayed.
7. The method according to any one of claims 1 to 6, wherein: After displaying the first virtual object dressed up with the first virtual element, the method further includes: A dressing time progress bar is displayed, wherein the dressing time progress bar is used to represent the relationship between the dressing time and a preset dressing time; the preset dressing time is used to limit the time the first virtual element is dressed on the first virtual object; and the dressing time is used to represent the time the first virtual object dresses the first virtual element.
8. The method according to any one of claims 1 to 7, wherein: The method further comprises: In response to the dressing time length corresponding to the first virtual object reaching the preset dressing time length, the first virtual object that cancels dressing up the first virtual element is displayed.
9. The method according to any one of claims 1 to 8, wherein: Before displaying the first virtual object dressed up with the first virtual element in response to the object control operation, the method further includes: An element configuration operation for the element decoration area is received, where the element configuration operation is used to adjust the virtual element corresponding to the element decoration function to be the first virtual element.
10. The method according to any one of claims 1 to 9, wherein: The receiving of the element configuration operation for the element decoration area includes: Receive a trigger operation for an element configuration control in the element dressing area, display an element display interface, the element display interface includes a plurality of accessory elements, at least one of which is combined to obtain a corresponding element to the element dressing function. Virtual elements; An element selection operation on at least one accessory element among the plurality of accessory elements is received as the element configuration operation.
11. The method according to any one of claims 1 to 10, wherein: The step of displaying the first virtual object dressed up with a first virtual element in response to the object control operation includes: In response to the object control operation representing that the first virtual object moves from a first side to a second side of the element decoration area, displaying the first virtual object decorated with the first virtual element, the first side and the second side being different; After displaying the first virtual object dressed up with the first virtual element, the method further includes: In response to the object control operation representing that the first virtual object moves from the second side of the element decoration area to the first side, the first virtual object without being decorated with the first virtual element is restored to display.
12. The method according to any one of claims 1 to 11, wherein: The method further comprises: In response to the object control operation representation that the first virtual object interacts with the element decoration area in a first interactive form, the first virtual object decorated with a first accessory element is displayed, and the first interactive form is used to dress the first accessory element in the first virtual element on the first virtual object; or In response to the object control operation representation, the first virtual object interacts with the element dressing area in a second interactive form, and the first virtual object dressed with a second accessory element is displayed, wherein the second interactive form is used to dress the second accessory element in the first virtual element on the first virtual object; The first interaction form is different from the second interaction form, and the first accessory element is different from the second accessory element.
13. The method according to any one of claims 1 to 12, wherein: The receiving an object control operation for the first virtual object includes: receiving a first object control operation for the first virtual object, the first object control operation being used to control the first virtual object to interact with a first element dressing area in the virtual scene, the first element dressing area being used to dress the first virtual element for the first virtual object; or A second object control operation for the first virtual object is received, the second object control operation is used to control the first virtual object to interact with a second element dressing area in the virtual scene, the second element dressing area is used to dress up a second virtual element for the first virtual object, and the first virtual element and the second virtual element are different.
14. The method according to any one of claims 1 to 13, wherein: The step of displaying the first virtual object dressed up with the first virtual element in response to the object control operation includes: In response to the object control operation, the first virtual object is displayed to perform an element switching action of switching a third virtual element to the first virtual element, where the third virtual element is the virtual element that the first virtual object dresses up before dressing up the first virtual element.
15. The method according to any one of claims 1 to 14, wherein: The step of displaying the first virtual object dressed up with the first virtual element in response to the object control operation includes: In response to the object control operation, the first virtual object is displayed to perform an element dressing action of dressing up the first virtual element.
16. The method according to any one of claims 1 to 15, wherein: The element dressing function is used to provide the first virtual object with a way to try on virtual dressing elements; The step of displaying the first virtual object dressed up with a first virtual element in response to the object control operation includes: In response to the object control operation, the first virtual object dressed up with the first virtual element in a try-on mode is displayed, where the try-on mode refers to a mode in which the first virtual object temporarily dresses up as the first virtual element.
17. A virtual element dressing device, the device comprising: A display module, used for displaying a first virtual object and an element dressing area in a virtual scene, wherein the element dressing area includes an area providing an element dressing function, and the element dressing function is used for providing dressing for the first virtual object; A receiving module, configured to receive an object control operation for the first virtual object, wherein the object control operation is used to control the first virtual object to interact with the element dressing area in the virtual scene; The display module is configured to display the first virtual object dressed up with a first virtual element in response to the object control operation, where the first virtual element is a virtual dressing element determined based on the object control operation and the element dressing area.
18. A computer device, comprising a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the virtual element dressing method according to any one of claims 1 to 16.
19. A computer-readable storage medium, wherein at least one program is stored in the storage medium, and the at least one program is loaded and executed by a processor to implement the virtual element dressing method according to any one of claims 1 to 16.
20. A computer program product, comprising a computer program or an instruction, wherein when the computer program or the instruction is executed by a processor, the method for dressing up a virtual element as claimed in any one of claims 1 to 16 is implemented.
Citation Information
Patent Citations
Virtual character dress-up replacement method and device, computer equipment and storage medium
CN113144599A
Object control method and device, terminal and storage medium
CN114504824A
Game interaction control method and device and electronic equipment
CN115888075A
Virtual character image replacement method and device and computer storage medium
CN115888116A
Virtual object control method and device, equipment, medium and program product
CN116688501A
Cited By
Interface interaction method and device, equipment and storage medium
CN121326185A