Virtual component configuration method and device, equipment, medium and program product

By using accompanying association relationships in virtual scenes to make the virtual components and adjustment controls appear in a fit-to-display, the problem of low adjustment efficiency and poor accuracy of players in virtual scenes is solved, and more efficient human-computer interaction is achieved.

CN119548832APending Publication Date: 2025-03-04TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311138932.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-04
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In virtual scenes, players need to frequently switch to pay attention to virtual components and functional controls, resulting in low adjustment efficiency and difficulty in precise adjustment, affecting human-computer interaction efficiency.

Method used

By accompanying associations, virtual components and adjustment controls are displayed more in line with each other, allowing players to view and trigger adjustment controls more efficiently when observing virtual components.

Benefits of technology

It improves the adjustment efficiency and accuracy of virtual components, reduces the operation complexity of players in virtual scenes, and improves human-computer interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119548832A_ABST
    Figure CN119548832A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual component configuration method and device, equipment, a medium and a program product, and relates to the technical field of animation generation. The method comprises the following steps: displaying a virtual component; receiving a selection operation on the virtual component; and in response to the selection operation, displaying at least one adjustment control having an accompanying association relationship with the virtual component based on the component position of the virtual component in the virtual scene, the accompanying association relationship being used for representing the relationship of the at least one adjustment control along with the change of the component position. Through the accompanying association relationship, the virtual component and at least one adjustment control are displayed in a more fit manner, so that a player can check and trigger the adjustment control more efficiently when observing the virtual component, the problem of low adjustment efficiency caused by the fact that the adjustment control is fixedly displayed in a virtual scene is avoided, and the man-machine interaction efficiency is improved. The method can be applied to various scenes such as cloud technology, artificial intelligence and intelligent transportation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of animation generation technology, and in particular to a configuration method, device, equipment, medium and program product of a virtual component. Background Art

[0002] With the improvement of cultural and entertainment living standards, people's life experience and requirements for virtual scenes are getting higher and higher. Games, as a way of expressing virtual scenes, have become a channel for many people to release stress. In current game applications, players use virtual props to make the game process more interesting.

[0003] In the related art, a virtual scene includes various virtual components, and players sometimes have the need to adjust the virtual components, such as adjusting the position and size of the virtual components. Function controls for implementing the corresponding adjustment functions are usually displayed at a certain position of the interface, so that the corresponding adjustment functions can be implemented based on the player's triggering operation on the function controls.

[0004] In the above process, the function controls are usually located at a fixed position in the interface. When players adjust virtual components through the function controls, they need to frequently switch their attention between the virtual components and the positions of the function controls. Not only is the adjustment efficiency of the virtual components low, it is also not conducive to the players' precise adjustment of the virtual components, thus affecting the efficiency of human-computer interaction. Summary of the invention

[0005] The embodiments of the present application provide a configuration method, device, equipment, medium and program product of a virtual component, which enables the virtual component to be displayed more closely with at least one adjustment control through an accompanying association relationship, which is conducive to the player to more efficiently view and trigger the adjustment control when observing the virtual component, avoids the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene, and improves the efficiency of human-computer interaction. The technical solution is as follows.

[0006] In one aspect, a method for configuring a virtual component is provided, the method comprising:

[0007] Displaying a virtual component, wherein the virtual component is a component element located in a virtual scene;

[0008] receiving a selection operation on the virtual component;

[0009] In response to the selection operation, based on the component position of the virtual component in the virtual scene, at least one adjustment control that has an accompanying association relationship with the virtual component is displayed, and the accompanying association relationship is used to characterize the relationship between the at least one adjustment control and the change of the component position, and the adjustment control is used to adjust the display state of the virtual component in the virtual scene.

[0010] In another aspect, a virtual component configuration device is provided, the device comprising:

[0011] A display module, used for displaying virtual components, wherein the virtual components are component elements located in a virtual scene;

[0012] A receiving module, used for receiving a selection operation on the virtual component;

[0013] The display module is also used to respond to the selection operation and, based on the component position of the virtual component in the virtual scene, display at least one adjustment control that has an accompanying association relationship with the virtual component, wherein the accompanying association relationship is used to characterize the relationship between the at least one adjustment control and the change of the component position, and the adjustment control is used to adjust the display state of the virtual component in the virtual scene.

[0014] 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 a configuration method of a virtual component as described in any of the above-mentioned embodiments of the present application.

[0015] 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, and 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 a configuration method of a virtual component as described in any of the above-mentioned embodiments of the present application.

[0016] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the configuration method of the virtual component described in any of the above embodiments.

[0017] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0018] After receiving a selection operation on a virtual component, at least one adjustment control having an accompanying association relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene. The accompanying association relationship is used to characterize the relationship between the change in the component position of the at least one adjustment control. Therefore, the position where the at least one adjustment control is displayed is more closely aligned with the component position of the virtual component, which is beneficial for the player to view the adjustment control while observing the virtual component. In addition, the adjustment control is used to adjust the display status of the virtual component in the virtual scene. Therefore, by using at least one adjustment control that is displayed more closely to the virtual component, a more efficient adjustment process of the virtual component can be achieved, thereby avoiding the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene. With the help of the display effect of the accompanying association relationship, the efficiency of human-computer interaction is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application;

[0021] Figure 2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;

[0022] Figure 3 is a flowchart of a method for configuring a virtual component provided by an exemplary embodiment of the present application;

[0023] Figure 4 is a flowchart of a method for configuring a virtual component provided by another exemplary embodiment of the present application;

[0024] Figure 5 is a schematic diagram of an interface of a virtual scene provided by an exemplary embodiment of the present application;

[0025] Figure 6 It is a schematic diagram of an interface showing at least one adjustment control of a virtual component having a concomitant association relationship provided by an exemplary embodiment of the present application;

[0026] Figure 7 is a schematic diagram of an interface for moving a virtual component by moving a control provided by an exemplary embodiment of the present application;

[0027] Figure 8 is a schematic diagram of an interface for adjusting the component size of a virtual component through a size adjustment control provided by an exemplary embodiment of the present application;

[0028] Fig. 9 is a schematic diagram of an interface for adjusting the rotation angle of a virtual component through an angle adjustment control provided by an exemplary embodiment of the present application;

[0029] Fig.10 is a flowchart of a method for configuring a virtual component provided by yet another exemplary embodiment of the present application;

[0030] Fig.11 This is a schematic diagram of an interface for moving a virtual component and moving a component adjustment area provided by an exemplary embodiment of the present application;

[0031] Fig.12 is a schematic diagram of an interface for adjusting the component size of a virtual component and adjusting the area size of a component adjustment area provided by yet another exemplary embodiment of the present application;

[0032] Fig.13 is a flowchart of a method for configuring a virtual component provided by another exemplary embodiment of the present application;

[0033] Fig.14 is a schematic diagram of an interface of a virtual scene provided by an exemplary embodiment of the present application;

[0034] Fig.15 is a schematic diagram of an interface of a display component coordinate system provided by an exemplary embodiment of the present application;

[0035] Fig.16 It is a schematic diagram of an interface of a related technology provided by an exemplary embodiment of the present application;

[0036] Fig.17 is a schematic diagram of an interface for moving a virtual component to a second position provided by an exemplary embodiment of the present application;

[0037] Fig.18 It is a schematic diagram of a layer showing a virtual component after movement provided by an exemplary embodiment of the present application;

[0038] Fig.19 is a flowchart of a method for configuring a virtual component provided by another exemplary embodiment of the present application;

[0039] Fig. 20 is a structural block diagram of a virtual component configuration device provided by an exemplary embodiment of the present application;

[0040] Fig.21 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0042] First, a brief introduction is given to the terms involved in the embodiments of the present application.

[0043] Virtual scene: a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of a real scene, a semi-simulation and semi-fictitious scene, or a purely fictitious scene. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene, and this application does not limit this. The following embodiments are illustrated by taking a three-dimensional virtual scene as an example.

[0044] Virtual model: a model used to simulate a real scene in a virtual 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.

[0045] Virtual character / virtual object: refers to an active object in a virtual scene. The active object can be a virtual object, a virtual animal, an animated character, etc., such as a person, an animal, a plant, an oil drum, a wall, a stone, etc. displayed in a three-dimensional virtual scene. Optionally, the virtual object is a three-dimensional stereo model created based on animation skeleton technology. Each virtual object has its own shape and volume in a three-dimensional virtual scene and occupies a part of the space in the three-dimensional virtual scene.

[0046] In the related art, the virtual scene includes various virtual components, and players sometimes have the need to adjust the virtual components, such as adjusting the position and size of the virtual components. The function control that implements the corresponding adjustment function is usually displayed at a certain position in the interface, so that the corresponding adjustment function can be implemented based on the player's triggering operation on the function control. In the above process, the function control is usually located at a fixed position in the interface. In the process of adjusting the virtual component by the function control, the player needs to frequently switch his attention between the virtual component and the position of the function control. Not only is the adjustment efficiency of the virtual component low, but it is also not conducive to the player's precise adjustment of the virtual component, affecting the efficiency of human-computer interaction.

[0047] In an embodiment of the present application, a method for configuring a virtual component is provided, which enables the virtual component to be displayed more closely with at least one adjustment control through an accompanying association relationship, so that the player can more efficiently view and trigger the adjustment control when observing the virtual component, avoid the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene, and improve the efficiency of human-computer interaction. The method for configuring a virtual component of the present application, when applied, includes 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 only illustrative examples, and the method for configuring a virtual component provided in this embodiment can also be applied to other scenarios, and the embodiment of the present application does not limit this.

[0048] It should be noted that before collecting relevant data of users and during the process of collecting relevant data of users, this application can display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of users after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of users are terminated, that is, the relevant data of users are not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of the relevant regions.

[0049] 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. The terminal has installed and runs an application that supports a virtual environment, 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.

[0050] Figure 1 The electronic device 100 includes an operating system 120 and an application 122 .

[0051] The operating system 120 is the underlying software that provides application programs 122 with secure access to the computer's hardware.

[0052] 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. The application 122 may be any one of a virtual reality application, a three-dimensional map program, a TPS game, an FPS game, a MOBA game, and a multiplayer gunfight survival game. The application 122 may be a stand-alone application, such as a stand-alone three-dimensional game program, or a network-connected application.

[0053] Figure 2 The computer system 200 includes a first device 220 , a server 240 , and a second device 260 .

[0054] The first device 220 is installed and runs an application that supports a virtual environment. The application may be any one of a virtual reality application, a three-dimensional map program, a TPS game, an FPS game, a MOBA game, and a multiplayer shooter survival game. The first device 220 is a device used by a first user, and the first user uses the first device 220 to control a first virtual object in a virtual environment to perform an activity, the activity including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Schematically, the first virtual object is a first virtual character, such as a simulated character or an anime character.

[0055] The first device 220 is connected to the server 240 via a wireless network or a wired network.

[0056] The server 240 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 240 is used to provide background services for applications that support a three-dimensional virtual environment. Optionally, the server 240 undertakes the main computing work, and the first device 220 and the second device 260 undertake the secondary computing work; or, the server 240 undertakes the secondary computing work, and the first device 220 and the second device 260 undertake the main computing work; or, the server 240, the first device 220, and the second device 260 adopt a distributed computing architecture to perform collaborative computing.

[0057] The second device 260 is installed and runs an application that supports a virtual environment. The application can be any one of a virtual reality application, a three-dimensional map program, an FPS game, a MOBA game, and a multiplayer shooter survival game. The second device 260 is a device used by a second user, and the second user uses the second device 260 to control a second virtual object in the virtual environment to perform an activity, and the activity includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Schematically, the second virtual object is a second virtual character, such as a simulated character or an anime character.

[0058] Optionally, the first virtual character and the second virtual character are in the same virtual environment. Optionally, the first virtual character and the second virtual character may belong to the same team, the same organization, have a friend relationship, or have temporary communication permissions. Optionally, the first virtual character and the second virtual character may also belong to different teams, different organizations, or two hostile groups.

[0059] Optionally, the applications installed on the first device 220 and the second device 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 a plurality of devices, and the second device 260 may generally refer to one of a plurality of devices. This embodiment is only illustrated by the first device 220 and the second device 260. The device types of the first device 220 and the second device 260 are the same or different, and the device types include: 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. The following embodiments are illustrated by the device being a desktop computer.

[0060] Those skilled in the art will appreciate that the number of the above devices may be more or less. For example, the above device may be only one, or the above devices may be dozens or hundreds, or more. The embodiment of the present application does not limit the number and type of devices.

[0061] It is worth noting that the server 240 can be implemented as a physical server or a cloud server in the cloud, where cloud technology refers to a hosting technology that unifies hardware, software, network and other resources in a wide area network or a local area network to achieve data computing, storage, processing and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application, which can form a resource pool and be used on demand, which is flexible and convenient.

[0062] In some embodiments, the method provided in the embodiments of the present application can be applied to a cloud gaming scenario, so that the calculation of data logic during the game is completed through the cloud server, while the terminal is responsible for the display of the game interface.

[0063] In some embodiments, the server 240 may also be implemented as a node in a blockchain system.

[0064] In combination with the above-mentioned noun introduction and application scenarios, the configuration method of the virtual component provided by the present application is described, and the method is applied to a terminal as an example. Figure 3 As shown, the method includes the following steps 310 to 330.

[0065] Step 310, display the virtual component.

[0066] Among them, the virtual component is a component element located in the virtual scene.

[0067] Optionally, the virtual components are implemented as various items existing in the virtual scene, such as virtual props, virtual buildings, virtual vehicles, virtual pets, etc.

[0068] Illustratively, the virtual scene is a scene corresponding to a role-playing game, and the virtual components are implemented as virtual costumes, virtual equipment, virtual parts, etc. in the role-playing game; or, the virtual scene is a scene corresponding to a sandbox game, and the virtual components are implemented as virtual buildings, virtual roads, virtual jungles, etc. in the sandbox game; or, the virtual scene is a scene corresponding to a combat game, and the virtual components are implemented as virtual combat props, virtual first aid kits, virtual magazines, virtual bows and arrows, etc. in the combat game.

[0069] In some embodiments, the virtual component is a component displayed while displaying the virtual scene.

[0070] Schematically, when a player enters the game, a virtual scene is displayed, and the virtual scene includes multiple virtual components.

[0071] In some embodiments, a virtual component is a component generated based on task completion.

[0072] Indicatively, when a player enters the game, a virtual scene is displayed, in which various game tasks are arranged. Players can complete various game tasks by participating in the game, and then generate virtual components in the virtual scene based on the completion of the game tasks. For example, a virtual scene is arranged with game tasks A and B. If the game task A with a higher task level is completed, a relatively rare virtual component 1 is generated; if the game task B with a higher task level is completed, a virtual component 2 with a lower degree of rarity is generated, and so on.

[0073] In some embodiments, a virtual component is a component that is displayed based on a component trigger operation.

[0074] In an illustrative manner, a virtual scene is displayed when a player enters the game, and a virtual store includes a variety of component accessories. For example, a variety of component accessories are displayed in a preset display area of ​​the game interface, and the player's trigger operation on the component accessories is used as a component trigger operation. Through the player's trigger operations such as placement, combination, copying, and stacking of the component accessories, a virtual component composed of the component accessories is generated.

[0075] In an optional embodiment, the virtual component corresponds to shape information, and the shape information is used to characterize the component shape of the virtual component. Schematically, when the virtual scene is a three-dimensional scene, the virtual component is implemented as a cube shape, a cylinder shape, a semi-cylinder shape, a cone shape, a fan shape, a sphere shape, a slide shape, a step shape, a switch shape, and other three-dimensional shapes, and can also be implemented as a rectangle, a square, a trapezoid, a triangle, a parallelogram, a circle, and other two-dimensional plane shapes; when the virtual scene is a two-dimensional scene, the virtual component can be implemented as a rectangle, a square, a trapezoid, a triangle, a parallelogram, a circle, and other two-dimensional plane shapes.

[0076] Optionally, the component shape of the virtual component can be implemented as a preset shape or various shapes based on a combination of preset shapes. That is, the shape information corresponding to the virtual component can represent various regular shapes and irregular shapes of the virtual component.

[0077] Schematically, the preset shapes include cube shapes, cylindrical shapes, semi-cylindrical shapes, conical shapes, fan shapes, spherical shapes, slide shapes, etc. The preset shapes can be regarded as shapes corresponding to component accessories, and at least two of the preset shapes are combined to obtain a virtual component based on the component accessories.

[0078] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0079] Step 320: receiving a selection operation for a virtual component.

[0080] Schematically, a plurality of virtual components are displayed in the virtual scene, and a selection operation is performed on any one of the virtual components.

[0081] Optionally, the selection operation is implemented as at least one of a plurality of operation modes such as a click operation, a long press operation, a voice trigger operation, etc.

[0082] Illustratively, the player's selection operation on any virtual component is taken as an example to illustrate that the player's single click operation on the virtual component in the virtual scene is regarded as the selection operation; or, the player's long press operation on the virtual component in the virtual scene is regarded as the selection operation, etc.

[0083] Step 330 : In response to the selection operation, at least one adjustment control having an accompanying association relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene.

[0084] The component position is used to represent the position information of the virtual component in the virtual scene.

[0085] Optionally, the component position is a position determined based on the component center of the virtual component. Schematically, the component center is the component center of gravity of the virtual component; or, the component center is the intersection of the diagonals of the component geometry of the virtual component; or, the component center is the center point of the component bottom of the virtual component, etc., and the component bottom is the contact surface of the virtual component placed on the virtual ground in the virtual scene.

[0086] Optionally, the component position is position information determined based on a component bounding box corresponding to the virtual component.

[0087] Schematically, a virtual component is a term used in the field of computer graphics and computational geometry, and a component bounding box is used to represent a closed space that encloses a virtual component. The shape of the bounding box approximates the geometric shape of a complex virtual component, so that the virtual component can be analyzed more quickly. The spatial position occupied by the component bounding box in the virtual scene is used as the component position corresponding to the virtual component; or, the contact area between the component bounding box and the virtual ground in the virtual scene is used as the component position corresponding to the virtual component, etc.

[0088] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0089] In an optional embodiment, within a preset area corresponding to the component position, at least one adjustment control distributed according to a preset control distribution rule is displayed with the virtual component as the center.

[0090] There is a companion association relationship between at least one adjustment control and the virtual component.

[0091] Schematically, a region size and a region shape are predetermined as a region range for displaying at least one adjustment control, and after determining a component position corresponding to a virtual component, a preset region range corresponding to the virtual component is displayed in combination with the component position and the preset region range.

[0092] For example: the preset area range is a circular area with a radius of a. After the component position corresponding to the virtual component is determined, the preset area range corresponding to the virtual component is determined by combining the component position and the circular area with a radius of a; or, the preset area range is a rectangular area with a diagonal of b. After the component position corresponding to the virtual component is determined, the preset area range corresponding to the virtual component is determined by combining the component position and the rectangular area with a diagonal of b, etc.

[0093] Schematically, the preset control distribution rule is a pre-set distribution rule used to constrain the display of at least one adjustment control. For example, a rectangular coordinate system is established with the virtual component as the center, and the preset control distribution rule indicates that adjustment control 1 is displayed at position coordinate (1, 1); adjustment control 2 is displayed at position coordinate (1, 2), etc.

[0094] The accompanying association relationship is used to characterize the relationship between at least one adjustment control and the change of the component position.

[0095] Schematically, the accompanying association relationship is implemented as at least one of the following situations: (1) at least one adjustment control accompanies the position change of the virtual component; (2) at least one adjustment control accompanies the angle change of the virtual component; (3) at least one adjustment control accompanies the size change of the virtual component; (4) at least one adjustment control accompanies the appearance change of the component center of the virtual component, such as: color change, shape change, etc.

[0096] The adjustment control is used to adjust the display status of the virtual component in the virtual scene.

[0097] Optionally, the display state is used to characterize the effect of the virtual component being presented in the virtual scene. Schematically, the display state includes at least one of a position display state, an angle display state, a size display state, and an appearance display state.

[0098] In some embodiments, different adjustment controls correspond to different adjustment functions, and the adjustment process of the virtual component is implemented by triggering the adjustment control with the adjustment function corresponding to the adjustment control.

[0099] Schematically, adjustment control 1 corresponds to a position adjustment function, which is used to adjust the position of the virtual component in the virtual scene; adjustment control 2 corresponds to a size adjustment function, which is used to adjust the size of the virtual component in the virtual scene, and so on.

[0100] In an optional embodiment, based on the component type of the virtual component, an adjustment component corresponding to the component type is displayed with an accompanying association relationship as the at least one adjustment component mentioned above.

[0101] Optionally, the component type of the virtual component is a kind of attribute information of the virtual component, which is information predetermined based on the type of the virtual component.

[0102] Schematically, the component types are pre-set to be divided into environment types and prop types. Virtual buildings and virtual roads are classified as environment types, that is, the component types of virtual buildings, virtual roads, and virtual jungles are environment types; virtual clothing and virtual equipment are classified as prop types, that is, the component types of virtual clothing and virtual equipment are prop types, etc.

[0103] In some embodiments, adjustment controls corresponding to different component types are pre-set, and when displaying at least one adjustment control that has an accompanying association relationship with a virtual component, the adjustment control corresponding to the component type is displayed as the at least one adjustment control corresponding to the virtual component based on the component type of the selected virtual component.

[0104] Schematically, the adjustment controls corresponding to the pre-set component type M (such as: environment type) include adjustment control 1 and adjustment control 2; the adjustment controls corresponding to the component type N (such as: prop component) include adjustment control 1, adjustment control 3 and adjustment control 4; when the player performs a selection operation on the virtual equipment n belonging to the component type N, at least one adjustment component among the adjustment control 1, adjustment control 3 and adjustment control 4 corresponding to the component type N is displayed as at least one adjustment control corresponding to the virtual equipment n, and the above-mentioned accompanying association relationship exists between the at least one adjustment control and the virtual component.

[0105] It is worth noting that the above-mentioned component types are only illustrative examples. Component types may also include various types such as building types, vehicle types, clothing types, daily necessities types, furniture types, etc. The adjustment controls corresponding to different component types may be either default configuration information or custom configuration information, and the embodiments of the present application do not limit this.

[0106] In some embodiments, the attribute information of the virtual component includes not only the above-mentioned component type but also other information characterizing the state of the virtual component.

[0107] Illustratively, the attribute information also includes at least one of the shape information, size information, orientation information, appearance information, quality information, motion information, and annotation information of the virtual component.

[0108] The shape information is used to characterize the component shape of the virtual component, for example, a cube shape, a cylinder shape, a semi-cylinder shape, a cone shape, etc.

[0109] The dimension information is used to characterize the dimension (or size) of the virtual component. For example, the dimension information is implemented as the component volume, component perimeter, component cross-sectional area, etc. of the virtual component.

[0110] The orientation information is used to characterize the orientation of the virtual component in the virtual scene. For example, a certain side of the virtual component is preset as the front of the component, and the orientation information is used to characterize the direction in which the front of the virtual component faces, such as northeast, southeast, etc. Optionally, the orientation information can also be determined by a direction indicator bar (including angles, direction indicators, positioning marks, etc.) displayed in the virtual scene, which is not limited here.

[0111] The appearance information is used to characterize the appearance of the virtual component in the virtual scene. For example, the appearance information is implemented as the component color, component skin, component grayscale, etc. of the virtual component.

[0112] The mass information is used to characterize the mass of the virtual component. For example, different virtual components correspond to a preset weight, or the mass of the virtual component is determined based on the sum of the masses of the component parts that make up the virtual component.

[0113] The motion information is used to represent the information when the virtual component moves in the virtual scene. Schematically, the motion information includes motion conditions, average motion speed, motion acceleration, and the duration of motion.

[0114] The annotation information is used to characterize the annotation of the virtual component in the virtual scene. For example, annotation information is attached around the virtual component to indicate the display duration, acquisition conditions or other relevant information (such as any one or more of the above-mentioned attribute information) of the virtual component. Optionally, the annotation information can be implemented as default configuration information or manually added information.

[0115] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0116] To summarize, after receiving a selection operation on a virtual component, at least one adjustment control having an accompanying association relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene. The accompanying association relationship is used to characterize the relationship between the change in the component position of the at least one adjustment control. Therefore, the position where the at least one adjustment control is displayed is more closely aligned with the component position of the virtual component, which is beneficial for the player to view the adjustment control while observing the virtual component. In addition, the adjustment control is used to adjust the display status of the virtual component in the virtual scene. Therefore, by using at least one adjustment control that is displayed more closely to the virtual component, a more efficient adjustment process of the virtual component can be achieved, thereby avoiding the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene. With the help of the display effect of the accompanying association relationship, the efficiency of human-computer interaction is improved.

[0117] In an optional embodiment, at least one adjustment control associated with the virtual component is used to implement different adjustment functions, so that the display state of the virtual component in the virtual scene can be adjusted by triggering the corresponding adjustment control. Figure 4 As shown above Figure 3 The illustrated embodiment may also be implemented as steps 410 to 472 as follows.

[0118] Step 410, display the virtual component.

[0119] Among them, the virtual component is a component element located in the virtual scene.

[0120] Indicatively, Figure 5 As shown, it is a schematic diagram of the interface of a virtual scene, in which a virtual component 510 is displayed; in addition, the virtual scene also includes functional controls for realizing different game functions.

[0121] Alternatively, if Figure 5 As shown, the virtual component 510 is a component element composed of component parts of different shapes presented in the shape selection area 520. For example, a cube 521 and a cuboid (the shape selection area 520 is not shown) in the shape selection area 520 together form the virtual component 510; or, a plurality of cubes 521 in the shape selection area 520 together form the virtual component 510, etc.

[0122] It is worth noting that the above-mentioned virtual scene is implemented as a three-dimensional scene, and the virtual components are implemented as three-dimensional component elements are only illustrative examples. The virtual scene can also be implemented as a three-dimensional scene, and the virtual components can be implemented as two-dimensional component elements; or, the virtual scene can be implemented as a two-dimensional scene, and the virtual components can be implemented as two-dimensional component elements, etc. The embodiments of the present application are not limited to this.

[0123] Step 420: Receive a selection operation for a virtual component.

[0124] Optionally, the selection operation is implemented as at least one of a plurality of operation modes such as a click operation, a long press operation, a voice trigger operation, etc.

[0125] Indicatively, Figure 5 As shown, a click operation of the player on the virtual component 510 is regarded as a selection operation; or, a long press operation of the player on the virtual component 510 is regarded as a selection operation, for example: long pressing the virtual component 510 for a preset time of 2 seconds is regarded as triggering a selection operation, etc.

[0126] Step 430 , in response to the selection operation, based on the component position of the virtual component in the virtual scene, display at least one adjustment control that has an accompanying association relationship with the virtual component.

[0127] The accompanying association relationship is used to characterize the relationship between at least one adjustment control and the change of the position of the accompanying component, and the adjustment control is used to adjust the display state of the virtual component in the virtual scene.

[0128] In an optional embodiment, at least one adjustment control that has an accompanying association relationship with the virtual component is displayed within a preset area corresponding to the component position.

[0129] Optionally, the preset area range is an area range determined by combining a preset area shape and a preset area size. Schematically, the area shape includes at least one of a plurality of shapes such as a circular area, a rectangular area, a triangular area, an irregular area, etc.; the area size is a size set based on the area shape, for example: the area shape is implemented as a circular area, and the radius corresponding to the circular area is set to determine the area size; or the area shape is implemented as a rectangular area, and the length and width corresponding to the rectangular area are set to determine the area size, etc.

[0130] Indicatively, the preset area range and the component position of the virtual component are comprehensively considered to determine the preset area range corresponding to the component position.

[0131] Optionally, the component position is a position determined based on the component center of the virtual component; or, the component position is a position determined based on an arbitrary point on the virtual component; or, the component position is a position determined based on a component bounding box corresponding to the virtual component, etc.

[0132] In some embodiments, the component center of the virtual component is taken as the component position, and at least one adjustment control that has an accompanying association relationship with the virtual component is displayed within a preset area.

[0133] Schematically, taking the component position as the component center of the virtual component as an example, the component center is used as the display center of the preset area range, so as to determine the preset area range corresponding to the component position, and at least one adjustment control that has an accompanying association relationship with the virtual component is displayed within the preset area range corresponding to the component position.

[0134] In an optional embodiment, a preset area range corresponding to the virtual component is displayed in the virtual scene.

[0135] In an illustrative manner, in response to a selection operation, a preset area range corresponding to the virtual component is displayed based on the component position of the virtual component in the virtual scene, and at least one adjustment control associated with the virtual component is displayed within the preset area range. That is, the preset area range is displayed on the interface in a concrete manner.

[0136] In some embodiments, there is an accompanying association relationship between the preset area range and the virtual component, that is, when the preset area range used to display at least one adjustment control is displayed concretely, the accompanying association relationship is also used to characterize the relationship between the preset area range and the component position change.

[0137] In some embodiments, taking the preset area range as a circular area as an example, when the preset area range corresponding to the virtual component is displayed based on the component position of the virtual component in the virtual scene, the circular area corresponding to the virtual component is displayed.

[0138] Optionally, a circular area with the virtual component as the center and a preset length as the radius is displayed as the preset area range corresponding to the virtual component.

[0139] Illustratively, based on the component position of the virtual component in the virtual scene, the component center of the virtual component is determined, and then a circular area with the component center of the virtual component as the center and a preset length as the radius is displayed as the preset area range corresponding to the virtual component.

[0140] For example: establish a world coordinate system with a certain point in the virtual scene, determine the component position of the virtual component in the virtual scene according to the coordinates of the virtual component in the virtual scene, and determine the position coordinates corresponding to the component center of the virtual component, so as to use the position coordinates as the center of the circle and display a circular area with a preset length as the radius.

[0141] Schematically, when the virtual scene is a two-dimensional scene, the circular area is parallel to the world coordinate system; when the virtual scene is a three-dimensional scene, the circular area is parallel to the plane corresponding to the display interface, and so on.

[0142] Optionally, when the virtual scene is a three-dimensional scene, a spherical area with the virtual component as the center and a preset length as the radius is displayed as the spherical area corresponding to the virtual component.

[0143] Illustratively, based on the component position of the virtual component in the virtual scene, the component center of the virtual component is determined, and then a spherical area with the component center of the virtual component as the center of the sphere and a preset length as the radius is displayed as a preset area range corresponding to the virtual component.

[0144] In some embodiments, at least one adjustment control that has a companion association relationship with the virtual component is displayed in the circular area.

[0145] Illustratively, at least one adjustment control is arranged according to a preset control distribution, so that at least one adjustment control is displayed in a circular area.

[0146] In some embodiments, at least one adjustment control that has an accompanying association relationship with the virtual component is displayed on the circular outline corresponding to the circular area.

[0147] Schematically, taking the preset area range as a circular area as an example, when at least one adjustment control that has an accompanying association relationship with the virtual component is displayed, the at least one adjustment control is displayed on the circular outline; when multiple adjustment controls are displayed, the multiple adjustment controls are displayed on the circular outline without overlapping each other.

[0148] Indicatively, Figure 5 As shown, the player selects the virtual component 510, and the following is displayed: Figure 6The game interface shown includes a virtual component 610. Based on the component position of the virtual component 610 in the virtual scene, at least one adjustment control that has an accompanying association relationship with the virtual component is displayed, including adjustment component 621, adjustment component 622, adjustment component 623 and adjustment component 624.

[0149] Alternatively, if Figure 6 As shown, based on the component position of the virtual component 610 in the virtual scene, a circular area 620 that has an accompanying association relationship with the virtual component is displayed as a preset area range corresponding to the virtual component, and adjustment components 621, 622, 623 and 624 are displayed on the circular outline of the circular area 620.

[0150] In an optional embodiment, at least one adjustment control includes a movement control, and the movement control is used to adjust the display position of the virtual component in the virtual scene.

[0151] Illustratively, the process in which a player triggers a mobile control and displays a corresponding interface is implemented as follows: steps 441 to 442.

[0152] Step 441: Receive a first trigger operation on a mobile control.

[0153] The first trigger operation is used to move the virtual component from a first position to a second position in the virtual scene. Schematically, the first position and the second position are implemented as positions in the virtual scene, and the first position and the second position are different.

[0154] Optionally, the first trigger operation is implemented as at least one of a single-click operation, a double-click operation, and a long-press operation.

[0155] In an illustrative manner, the first trigger operation is implemented as a long press operation, and the mobile control is dragged during the long press operation on the mobile control, and the movement process of the virtual component is realized based on the accompanying association relationship between the adjustment control and the virtual component. The position of the virtual component before dragging the mobile control is the first position, and the position of the virtual component after dragging and releasing the mobile control is the second position.

[0156] Schematically, the first trigger operation is implemented as a single-click operation, and the first single-click operation on the mobile control is used as the start of the process of moving the virtual component, and the position of the virtual component at this time is the first position; the second single-click operation on the mobile control is used as the end of the process of moving the virtual component, and the position targeted by the second single-click operation is used as the second position after the virtual component moves; or, the position targeted by the second single-click operation is used as the position of the mobile control after the virtual component moves, and then based on the accompanying association relationship between the adjustment control and the virtual component, the second position of the virtual component after the movement is determined, such as: the distance and direction between the mobile control and the virtual component are pre-set, so that the second position of the virtual component can be determined based on the position of the mobile control.

[0157] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0158] Step 442, in response to the first trigger operation, based on the accompanying association relationship between the virtual component and at least one adjustment control, when displaying the movement animation of the virtual component moving from the first position to the second position, displaying the movement following animation of at least one adjustment control following the movement of the virtual component.

[0159] Illustratively, based on the first trigger operation being used to move the virtual component from the first position to the second position, during the execution of the first trigger operation, a moving animation of the virtual component moving from the first position to the second position is displayed on the interface.

[0160] The first position is the position of the virtual component in the virtual scene before the first trigger operation is performed, and the second position is the position of the virtual component in the virtual scene after the first trigger operation is performed.

[0161] In an optional embodiment, based on the accompanying association relationship between the virtual component and the at least one adjustment control, a movement following animation of the at least one adjustment control following the movement of the virtual component is displayed.

[0162] Optionally, the accompanying association relationship between the virtual component and the at least one adjustment control includes a preset distance relationship and a preset direction relationship respectively corresponding to the virtual component and the at least one adjustment component.

[0163] Schematically, there is an accompanying association relationship between the virtual component and the adjustment control 1 and the adjustment control 2, and the accompanying association relationship includes a first preset distance relationship between the virtual component and the adjustment component 1 being 1 unit, and a first preset direction relationship being that the adjustment control 1 is located 30° diagonally above the virtual component; and also includes a second preset distance relationship between the virtual component and the adjustment component 12 being 1.5 units, and a second preset direction relationship being that the adjustment control 2 is located 45° diagonally above the virtual component, etc.

[0164] Optionally, when the virtual component moves in the virtual scene based on the first trigger operation, based on the preset distance relationship and preset direction relationship represented by the accompanying association relationship, while keeping the preset distance relationship and preset direction relationship between the virtual component and each adjustment component unchanged, at least one adjustment control is displayed to follow the movement of the virtual component.

[0165] In an optional embodiment, in response to receiving the first trigger operation, at least one adjustment control is hidden; in response to the virtual component being located at the second position, at least one adjustment control that has an accompanying association relationship with the virtual component is restored to be displayed.

[0166] Illustratively, when a first trigger operation for a mobile control is received, at least one adjustment control is hidden and displayed on the interface until the virtual component is moved to a second position at the end of the first trigger operation, and then at least one adjustment control that has an accompanying association with the virtual component is restored to display, thereby avoiding interference of at least one adjustment component with the selection of the second position.

[0167] In an optional embodiment, in response to receiving the first trigger operation, other adjustment controls except the mobile control are hidden; in response to the virtual component being located at the second position, other adjustment controls that have an accompanying association relationship with the virtual component are restored to display.

[0168] Schematically, the adjustment controls that are associated with the virtual component include multiple adjustment controls. When a first trigger operation is received for a mobile control among the multiple adjustment controls, other adjustment controls except the mobile control are hidden and displayed on the interface until the virtual component is moved to a second position when the first trigger operation ends, and then the other adjustment controls are restored to display.

[0169] In some embodiments, Figure 7 As shown, it is a schematic diagram of the interface for performing the first trigger operation on the mobile control. In interface 701, virtual component 710 and virtual component 720 are included, and virtual component 710 is located at the first position; based on the selection operation of virtual component 710, at least one adjustment control with an accompanying association relationship with virtual component 710 is displayed, including mobile control 730; based on the first trigger operation of mobile control 730, the moving process shown in interface 702 is displayed, such as the purpose of the first trigger operation is to move virtual component 710 above virtual component 720; after virtual component 710 is moved from the first position to the second position (a position above virtual component 720), the moving completion process shown in interface 703 is displayed.

[0170] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0171] In an optional embodiment, at least one adjustment control includes a size adjustment control, and the size adjustment control is used to adjust the component size of the virtual component in the virtual scene.

[0172] Illustratively, the process in which the player triggers the size adjustment control and displays the corresponding interface is implemented as follows: steps 451 to 452.

[0173] Step 451: Receive a second trigger operation on the size adjustment control.

[0174] The second trigger operation is used to adjust the virtual component from the first component size to the second component size.

[0175] Optionally, the component size is used to characterize the area occupied by the virtual component in the virtual scene. For example, if the virtual component is a two-dimensional component element, the component size is used to characterize the component area of ​​the virtual component; or if the virtual component is a three-dimensional component element, the component size is used to characterize the area occupied by the virtual component in the virtual scene.

[0176] Optionally, the component size is used to characterize the area volume occupied by the virtual component in the virtual scene. For example, if the virtual component is a three-dimensional component element, the component size is used to characterize the space volume occupied by the virtual component in the virtual scene.

[0177] In an illustrative manner, the first component size and the second component size adopt the same measurement standard. For example, the first component size and the second component size both represent the area volume occupied by the virtual component in the virtual scene; or the first component size and the second component size both represent the area (the area of ​​the component itself or the floor space) occupied by the virtual component in the virtual scene.

[0178] In some embodiments, if the first component size is smaller than the second component size, the first trigger operation is an operation of enlarging the virtual component; or, if the first component size is larger than the second component size, the first trigger operation is an operation of shrinking the virtual component.

[0179] Optionally, the second trigger operation is implemented as at least one of a single-click operation, a double-click operation, and a long-press operation.

[0180] In some embodiments, the virtual component includes a first component reference point as reference information during the virtual size adjustment process. Schematically, the first component reference point is the component center of the virtual component; or, the first reference point is the component vertex of the virtual component; or, the first component reference point is any point on the virtual component, etc.

[0181] Step 452, in response to the second trigger operation, based on the accompanying association relationship between the virtual component and at least one adjustment control, when displaying the size adjustment animation of the virtual component adjusting from a first component size to a second component size, display a first accompanying animation of at least one adjustment component moving along with the first component reference point.

[0182] Illustratively, based on the second trigger operation for adjusting the virtual component from the first component size to the second component size, during the execution of the second trigger operation, a size adjustment animation of the virtual component adjusting from the first component size to the second component size is displayed on the interface.

[0183] The first component size is the component size of the virtual component displayed in the virtual scene before the second trigger operation is performed, and the second component size is the component size of the virtual component displayed in the virtual scene after the second trigger operation is performed.

[0184] Illustratively, the size of a virtual component may change during the component resizing process, and the position of a predetermined first component reference point in the virtual scene may also change; therefore, in addition to displaying the resizing animation, at least one first accompanying animation of the adjustment component accompanying the movement of the first component reference point is displayed.

[0185] For example: taking the first component reference point as the center point, at least one moving animation formed by adjusting the component serves as the first accompanying animation.

[0186] In an optional embodiment, based on the accompanying association relationship between the virtual component and the at least one adjustment control, a size change animation of the at least one adjustment control accompanying the size adjustment of the virtual component is displayed.

[0187] Illustratively, during the process of changing the size of a first component to the size of a second component, the size adjustment ratios at different times are determined in real time, and at least one adjustment control is adjusted according to the size adjustment ratios at corresponding times, thereby displaying a size change animation of at least one adjustment control accompanying the size adjustment of the virtual component.

[0188] In an optional embodiment, in response to receiving the second trigger operation, at least one adjustment control is hidden; in response to the virtual component being adjusted to the second component size, at least one adjustment control that has an accompanying association relationship with the virtual component is restored to be displayed.

[0189] Illustratively, when a second trigger operation is received for a size adjustment control, at least one adjustment control is hidden from display on the interface until the component size of the virtual component is adjusted to the second component size when the second trigger operation ends, and then at least one adjustment control that has an accompanying association with the virtual component is restored to display, thereby avoiding interference of at least one adjustment component with the size adjustment process.

[0190] In an optional embodiment, in response to receiving the second trigger operation, other adjustment controls except the size adjustment control are hidden; in response to the virtual component being adjusted to the second component size, other adjustment controls that are associated with the virtual component are restored to be displayed.

[0191] Schematically, the adjustment controls that are associated with the virtual component include multiple adjustment controls. When a second trigger operation is received on a size adjustment control among the multiple adjustment controls, other adjustment controls except the size adjustment control are hidden and displayed on the interface until the component size of the virtual component is adjusted to the second component size when the second trigger operation ends, and then the other adjustment controls are restored to display.

[0192] In some embodiments, Figure 8 As shown, it is a schematic diagram of the interface for performing the second trigger operation on the size adjustment control. In interface 801, virtual component 810 and virtual component 820 are included, and virtual component 810 corresponds to the first component size; based on the selection operation of virtual component 810, at least one adjustment control with an accompanying association relationship with virtual component 810 is displayed, including size adjustment control 830; based on the second trigger operation of size adjustment control 830, the size adjustment process shown in interface 802 is displayed, such as the purpose of the second trigger operation is to change the first component size of virtual component 810 to a larger second component size; after the virtual component 810 is adjusted from the first component size to the second component size, the size adjustment completion process shown in interface 803 is displayed.

[0193] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0194] In an optional embodiment, at least one adjustment control includes an angle adjustment control, and the angle adjustment control is used to adjust the display angle of the virtual component relative to the virtual scene.

[0195] Illustratively, the process in which the player triggers the angle adjustment control and displays the corresponding interface is implemented as follows: steps 461 to 462.

[0196] Step 461: Receive a third trigger operation on the angle adjustment control.

[0197] The third trigger operation is used to adjust the virtual component from the first rotation angle to the second rotation angle.

[0198] Optionally, the rotation angle is implemented as the rotation of the virtual component relative to at least one coordinate axis in the virtual scene. Schematically, the virtual scene is a three-dimensional scene, and the virtual scene corresponds to the world coordinate system, including the horizontal axis, the vertical axis, and the vertical axis; the rotation angle can be implemented as the rotation of the virtual component relative to the horizontal axis, the vertical axis, or the vertical axis in the virtual scene, and can also be implemented as the rotation of the virtual component relative to any two coordinate axes of the horizontal axis, the vertical axis, and the vertical axis in the virtual scene, and can also be implemented as the rotation of the virtual component relative to the horizontal axis, the vertical axis, and the vertical axis in the virtual scene.

[0199] Schematically, the first rotation angle and the second rotation angle are implemented as different angles.

[0200] Optionally, the third trigger operation is implemented as at least one of a single-click operation, a double-click operation, and a long-press operation.

[0201] In some embodiments, the virtual component includes a second component reference point as reference information during the rotation angle adjustment process. Schematically, the second component reference point is the component center of the virtual component; or, the second component reference point is the component vertex of the virtual component; or, the first component reference point is any point on the virtual component, etc.

[0202] Optionally, the first component reference point and the second component reference point may be the same reference point or different reference points.

[0203] Step 462, in response to the third trigger operation, based on the accompanying association relationship between the virtual component and at least one adjustment control, when displaying the component rotation animation of the virtual component adjusting from the first rotation angle to the second rotation angle, display a second accompanying animation of at least one adjustment component accompanying the movement of the second component reference point.

[0204] Illustratively, based on the third trigger operation for adjusting the virtual component from the first rotation angle to the second rotation angle, during the execution of the third trigger operation, a component rotation animation of the virtual component moving from the first rotation angle to the second rotation angle is displayed on the interface.

[0205] Among them, the first rotation angle is used to show the angle presentation of the virtual component in the virtual scene before executing the third trigger operation (such as: front viewing angle, etc.), and the second rotation angle is used to show the angle presentation of the virtual component in the virtual scene after executing the third trigger operation (such as: side viewing angle, etc.).

[0206] Schematically, the virtual component will change in size during the rotation angle adjustment process, and the position of the predetermined second component reference point in the virtual scene will also change; therefore, in addition to displaying the component rotation animation, at least one second accompanying animation of adjusting the component accompanying the movement of the second component reference point is displayed.

[0207] For example: taking the second component reference point as the center point, at least one moving animation formed by adjusting the component serves as the second accompanying animation.

[0208] In an optional embodiment, based on the accompanying association relationship between the virtual component and the at least one adjustment control, a movement following animation of the at least one adjustment control following the movement of the virtual component is displayed.

[0209] In some embodiments, Fig. 9 As shown, it is a schematic diagram of the interface for performing the third trigger operation on the angle adjustment control. In interface 901, virtual component 910 and virtual component 920 (wherein virtual component 920 is shielded by virtual component 910 in interface 901), virtual component 910 corresponds to the first rotation angle; based on the selection operation of virtual component 910, at least one adjustment control with an accompanying association relationship with virtual component 910 is displayed, including angle adjustment control 930; based on the third trigger operation on angle adjustment control 930, the angle adjustment process shown in interface 902 is displayed, such as the purpose of the third trigger operation is to change the first rotation angle of virtual component 910 to the second rotation angle; after virtual component 910 is adjusted from the first rotation angle to the second rotation angle, the angle adjustment completion process shown in interface 903 is displayed.

[0210] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0211] In an optional embodiment, at least one adjustment control includes a function expansion control, and the function expansion control is used to expand and display other function controls.

[0212] Illustratively, the process in which a player triggers a function expansion control and displays a corresponding interface is implemented as follows: steps 471 to 472.

[0213] Step 471, receiving a fourth trigger operation on the function expansion control.

[0214] The fourth trigger operation is used to expand and display other functional controls. The other functional controls are different from the at least one functional control and are used to implement adjustment functions different from the at least one functional control.

[0215] Optionally, other functional controls include color adjustment controls, skin dressing controls, display setting controls and other controls for implementing other functions.

[0216] In principle, the color adjustment control is used to adjust the color of the virtual component, such as: adjusting the color of the virtual component through the preset color option; or, adjusting the color of the virtual component through the operation of the color palette, etc.; the skin decoration control is used to adjust the component skin of the virtual component, such as: purchasing skin for the virtual component decoration; or, randomly changing the skin of the virtual component, etc.; the display setting control is used to make targeted settings for the display duration, display transparency and other contents of the virtual component, etc.

[0217] Step 472: In response to the fourth trigger operation, display a list of function controls.

[0218] Among them, the function control list includes other function controls.

[0219] Optionally, a corresponding configuration interface is displayed for triggering operations on other functional controls, and a more detailed adjustment process of the virtual component is achieved through the configuration process of the configuration interface.

[0220] In some embodiments, based on the control selection operation, other functional controls are displayed in the functional control list.

[0221] Indicatively, the player can change other function controls displayed in the function control list through the control selection operation. For example, in the default configuration, the function control list includes function control 1 and function control 2. The player changes the function controls displayed in the function control list through the control selection operation, such as adding the function control 3 that the player often uses to the function control list; or adjusting the function control 1 to the function control 3 that the player often uses, etc.

[0222] In some embodiments, based on the historical adjustment data, at least one adjustment control having a concomitant association relationship with the virtual component is displayed.

[0223] Illustratively, the historical adjustment data is used to characterize the triggering conditions of multiple adjustment controls in a historical time period. The multiple adjustment controls are used to screen and obtain at least one adjustment control.

[0224] Optionally, the historical adjustment data includes the number of times the plurality of adjustment controls are triggered within a historical time period.

[0225] For example: 10 adjustment controls are preset, and based on historical adjustment data, it is shown that players trigger adjustment control 1 and adjustment control 2 more frequently and other adjustment controls less frequently during a historical time period. Then, when displaying at least one adjustment control that has an accompanying association relationship with a virtual component, adjustment control 1 and adjustment control 2 will be used as at least one adjustment control that has an accompanying association relationship with the virtual component.

[0226] In some embodiments, other function controls are displayed in the function control list based on the historical adjustment data.

[0227] Illustratively, in at least one adjustment control, adjustment controls other than the function expansion control are default configurations or configured by the player; therefore, other function controls included in the function control list are adjustment controls other than the default configuration, or adjustment controls determined based on the number of times the player triggers multiple adjustment controls within a historical time period.

[0228] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0229] To sum up, the position where at least one adjustment control is displayed is more closely aligned with the component position of the virtual component, which is beneficial for players to view the adjustment control while observing the virtual component; in addition, the adjustment control is used to adjust the display status of the virtual component in the virtual scene. Therefore, by using at least one adjustment control that is displayed more closely to the virtual component, a more efficient adjustment process of the virtual component can be achieved, avoiding the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene, and improving the efficiency of human-computer interaction with the help of the display effect of the accompanying association relationship.

[0230] In an embodiment of the present application, a process of differentially adjusting virtual components through adjustment controls with different adjustment functions is introduced, so that with the help of at least one adjustment control with an accompanying association relationship, the purpose of rapid adjustment can be achieved around the virtual component, avoiding the inefficient problem that players need to view and trigger two areas with a large span separately to achieve adjustment. While improving the adjustment efficiency, more diverse adjustments can be made to the virtual components, thereby enhancing the application flexibility of the virtual components.

[0231] In an optional embodiment, at least one adjustment control is displayed in a component adjustment area corresponding to the component position, and the component adjustment area is used to coordinate and manage the display of the at least one adjustment control. Fig.10 As shown above Figure 3 The illustrated embodiment may also be implemented as the following steps 1010 to 1030 .

[0232] Step 1010, display the virtual component.

[0233] Among them, the virtual component is a component element located in the virtual scene.

[0234] Illustratively, step 1010 has been described in the above steps 310 and 410 and will not be repeated here.

[0235] Step 1020: Receive a selection operation for a virtual component.

[0236] Optionally, the selection operation is implemented as at least one of a plurality of operation modes such as a click operation, a long press operation, a voice trigger operation, etc.

[0237] Step 1030 , in response to the selection operation, based on the component position of the virtual component in the virtual scene, displaying a component adjustment area that has a concomitant association relationship with the virtual component.

[0238] Among them, the component adjustment area includes at least one adjustment control.

[0239] Illustratively, the accompanying association relationship is used not only to characterize the relationship between at least one adjustment control and the change of component position, but also to characterize the relationship between the component adjustment area and the change of component position.

[0240] The adjustment control is used to adjust the display status of the virtual component in the virtual scene.

[0241] In some embodiments, a control trigger operation for a region movement control is received, and a region movement animation of a component adjustment region moving in a virtual scene is displayed.

[0242] Schematically, there is a region moving control in the component adjustment region, and the region moving control is used to move the component adjustment region individually. That is, by triggering the process of the region moving control, the component adjustment region can be moved individually without moving the virtual component.

[0243] The area movement animation is used to represent the animation of the component adjustment area moving in the virtual scene.

[0244] Optionally, based on the associated association relationship between the component adjustment area and the virtual component, the component adjustment area is moved within a preset movement range.

[0245] Illustratively, based on the associated relationship between the component adjustment area and the virtual component, a certain movement range is set for the component adjustment area as a preset movement range, and the component adjustment area is limited to move within the preset movement range.

[0246] Optionally, in response to the control triggering operation indicating that the component adjustment area is moved outside the preset movement range corresponding to the virtual component pair, a prompt message is displayed based on the accompanying association relationship between the virtual component and the component adjustment area, wherein the prompt message is used to prompt the component movement area to be moved within the preset movement range.

[0247] For example: when the designated area selected by the player for the component adjustment area exceeds the preset moving range, a prompt message (such as text information or red prompt animation, etc.) is displayed to remind the player that the component adjustment area needs to be moved within the preset moving range.

[0248] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0249] In some embodiments, Fig.11 As shown, based on the selection operation of the virtual component 1110 , a component adjustment area presented as a circular area is displayed, and the component adjustment area includes a plurality of adjustment controls, namely, adjustment control 1121 , adjustment control 1122 , adjustment control 1123 and adjustment control 1124 .

[0250] Optionally, the adjustment control 1121 is a moving control, which is used to move the virtual component 1110 from the current first position to the second position. As shown in the interface 1101, a first trigger operation is performed on the adjustment control 1121 to move the adjustment control 1121 to the second position, and the interface 1102 is displayed; wherein, based on the accompanying association relationship between the multiple adjustment controls and the virtual component 1121, the multiple adjustment controls accompany the virtual component 1121 to perform a synchronous movement process.

[0251] In some embodiments, Fig.12 As shown, based on the selection operation of the virtual component 1210 , a component adjustment area presented as a circular area is displayed, and the component adjustment area includes a plurality of adjustment controls, namely, adjustment control 1221 , adjustment control 1222 , adjustment control 1223 and adjustment control 1224 .

[0252] Optionally, the adjustment control 1221 is a size adjustment control, which is used to adjust the virtual component 1210 from the current first component size to the second component size. As shown in the interface 1201, a second trigger operation is performed on the adjustment control 1221 to adjust the adjustment control 1221 to the second component size, and the interface 1202 is displayed. Optionally, based on the accompanying association relationship between the multiple adjustment controls and the virtual component 1221, the multiple adjustment controls accompany the virtual component 1221 to perform a synchronous size adjustment process.

[0253] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0254] To sum up, the position where at least one adjustment control is displayed is more closely aligned with the component position of the virtual component, which is beneficial for players to view the adjustment control while observing the virtual component; in addition, the adjustment control is used to adjust the display status of the virtual component in the virtual scene. Therefore, by using at least one adjustment control that is displayed more closely to the virtual component, a more efficient adjustment process of the virtual component can be achieved, avoiding the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene, and improving the efficiency of human-computer interaction with the help of the display effect of the accompanying association relationship.

[0255] In the embodiments of the present application, a component adjustment area that is displayed in a companion association relationship with a virtual component is also introduced, and the content of at least one adjustment control is displayed through the component adjustment area; the component adjustment area is conducive to more coordinated management of at least one adjustment control, and the component adjustment area can also be triggered separately to increase the flexibility of the component adjustment process through the component adjustment area without affecting the player's operation of the virtual component, thereby improving the efficiency of human-computer interaction.

[0256] In an optional embodiment, in addition to displaying at least one adjustment control, a component coordinate system is also displayed. The component coordinate system is a coordinate system determined based on the component position of the virtual component in the virtual scene, and the component coordinate system is used to perform a more targeted analysis of the position, placement angle, etc. of the virtual component. Fig.13 As shown above Figure 3 The illustrated embodiment further includes the following steps 1310 to 1330 .

[0257] Step 1310, display the component coordinate system.

[0258] The component coordinate system is a coordinate system determined based on the component position of the virtual component in the virtual scene.

[0259] Optionally, the component coordinate system is a coordinate system established based on the component center of the virtual component. For example, the component coordinate system is a three-dimensional coordinate system, with the component center as the origin of the component coordinate system, and a line is arbitrarily selected as the horizontal axis of the component coordinate system, and the longitudinal axis and vertical axis of the component coordinate system are determined accordingly, thereby establishing the component coordinate system.

[0260] Illustratively, when a selection operation is performed on a virtual component, in addition to displaying at least one adjustment control associated with the virtual component, a component coordinate system determined based on the component position of the virtual component in the virtual scene is also displayed.

[0261] Optionally, the component coordinate system includes at least two coordinate axes, and the at least two coordinate axes include a first coordinate axis.

[0262] Schematically, the first coordinate axis is any one of the at least two coordinate axes, such as: the first coordinate axis is implemented as the horizontal axis X; or, the first coordinate axis is implemented as the vertical axis Y; or, the first coordinate axis is implemented as the vertical axis Z.

[0263] like Figure 6 As shown, in addition to displaying at least one adjustment control based on the selection operation, a component coordinate system established based on the component position (such as the component center 630) is also displayed, including a horizontal axis X, a vertical axis Y, and a vertical axis Z.

[0264] Step 1320: Receive a coordinate axis trigger operation for the first coordinate axis.

[0265] The coordinate axis trigger operation is used to move the virtual component along the direction of the first coordinate axis.

[0266] Optionally, the operation is triggered based on the coordinate axis to hide the component coordinate system and at least one adjustment control.

[0267] Indicatively, Figure 6 As shown, taking the first coordinate axis as the Y axis as an example, a click operation on the Y axis is received as a coordinate axis trigger operation, and the display is as follows Fig.14 The interface shown has a virtual component 1410 displayed, and at least one adjustment control and a component coordinate system are hidden.

[0268] Optionally, a sliding operation on the first coordinate axis is received as a coordinate axis triggering operation.

[0269] Illustratively, based on the sliding operation on the first coordinate axis, the movement of the virtual component on the first coordinate axis is adjusted.

[0270] Step 1330 , displaying a component movement animation of the virtual component moving along the first coordinate axis based on the coordinate axis triggering operation.

[0271] Indicatively, for example Fig.14 The interface shown displays a virtual component 1410. Taking the first coordinate axis as the Y axis as an example, a sliding operation on the Y axis is received as a coordinate axis trigger operation, thereby sliding the virtual component 1410 on the Y axis, thereby displaying a component movement animation of the virtual component moving along the first coordinate axis.

[0272] Optionally, based on the above coordinate axis triggering operation, the virtual component can be moved in a more horizontal direction in a targeted manner.

[0273] In some embodiments, when the component coordinate system is in a hidden state, a component movement animation is displayed in which the virtual component moves along a hidden first coordinate axis.

[0274] Indicatively, Fig.15 As shown, after the virtual component 1510 is horizontally moved to a specified position in the coordinate axis direction, at least one adjustment control and the component coordinate system are restored to display.

[0275] In some embodiments, Fig.15 As shown, the interface also displays multiple functional controls, such as multi-select controls, copy controls, control controls, tool controls, combination controls, delete controls, binding controls, etc.

[0276] Optionally, the above-mentioned functional control can also be used as at least one adjustment control having a companion relationship with the virtual component in the form of a custom setting.

[0277] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0278] To sum up, the position where at least one adjustment control is displayed is more closely aligned with the component position of the virtual component, which is beneficial for players to view the adjustment control while observing the virtual component; in addition, the adjustment control is used to adjust the display status of the virtual component in the virtual scene. Therefore, by using at least one adjustment control that is displayed more closely to the virtual component, a more efficient adjustment process of the virtual component can be achieved, avoiding the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene, and improving the efficiency of human-computer interaction with the help of the display effect of the accompanying association relationship.

[0279] In the embodiments of the present application, in addition to displaying the adjustment controls, a component coordinate system can also be displayed. By triggering the coordinate axis operation of the coordinate axis in the component coordinate system, the virtual component can be adjusted more smoothly to achieve the process of targeted movement of the virtual component in the horizontal direction. In addition, it is also helpful to view detailed information such as the current rotation status of the virtual component with the help of the component coordinate system, thereby improving the player's control over the virtual component.

[0280] The coordinate axis control is an operation control in a touch-screen mobile terminal that switches the three-dimensional coordinate axis form by clicking. Schematically, the coordinate axis control includes multiple adjustment controls such as "move", "zoom", "rotate", and "advanced editing".

[0281] In the related art, the coordinate axis controls on the touch-screen mobile terminal are fixed, that is, a variety of adjustment controls are fixedly displayed at the bottom of the screen; when the adjustment process is performed based on the adjustment controls, the player's attention focus and operation position are required to frequently switch between the adjustment components and the operating table below.

[0282] The fixed type is used to indicate that the adjustment control is fixed at a specified position on the screen and does not change with the position of the virtual component.

[0283] That is to say: the coordinate axis control in the above process is fixed, separated from the coordinate axis body, and is always located at the bottom of the screen. Therefore, when the player triggers the adjustment control therein, it is not conducive to the player's concentration and more convenient operation.

[0284] Indicatively, Fig.16 As shown, it is a schematic diagram of the interface of the related technology, in which various adjustment controls 1610 are fixedly displayed at the bottom of the screen. Although the player can adjust the virtual component 1620 through the adjustment controls 1610, the adjustment efficiency is low.

[0285] In an optional embodiment, the configuration method of the virtual component is referred to as "a method for operating a floating coordinate axis control in a mobile terminal editor". That is, compared with the fixed method, the embodiment of the present application presents the coordinate axis control in a floating manner, and the floating method is used to represent the form in which the adjustment control changes its position following the component position of the virtual component selected in the game scene.

[0286] Optionally, the above virtual component configuration method is applied in a user-generated-Content (UGC) mode.

[0287] Take triggering the mobile control in the adjustment control as an example, Fig.17 As shown, after the player clicks to select a virtual component 1710 in the scene, the component coordinate system and at least one adjustment control that has an accompanying association relationship with the virtual component 1710 are generated around the virtual component, including the mobile control 1720; when the player moves and changes the position of the virtual component in the virtual scene (i.e., based on the first trigger operation of the mobile control 1720), the component coordinate system and the adjustment control both change positions synchronously, such as the virtual component 1710 moves from the first position to the second position, and the component coordinate system moves accordingly; the adjustment control also moves accordingly based on the accompanying association relationship. Schematically, the relative positions of the component coordinate system and the adjustment control and the component origin of the virtual component remain unchanged.

[0288] In an optional embodiment, the three-dimensional operation transformation process of the player on the virtual component of the cube is taken as an example.

[0289] like Figure 5 As shown, it includes a virtual component 510 when it is not selected. At this time, clicking the virtual component 510 will display the following Figure 6 The interface shown in FIG. 1 is a floating ring (component adjustment area) and a component coordinate system are generated with the ring as the center. The four adjustment controls distributed in an arc shape on the ring are the move control, the zoom control (size adjustment control), the rotation control (angle adjustment control) and other setting controls. After that, click any coordinate axis (the first coordinate axis) in the component coordinate system to slide and transform the virtual component, and the following is displayed: Fig.14 The interface hides the component coordinate axis and floating circle (component adjustment area). At this time, the player drags the finger on the screen. When the finger is released, the floating circle and the component coordinate system are regenerated with the new object origin as the center. Fig.15 shown.

[0290] In an optional embodiment, the technical aspects of the configuration method of the virtual component are described.

[0291] Indicatively, Fig.18As shown, when the virtual component 1810 is selected for the first time, a floating coordinate axis control layer (i.e., a component adjustment area for displaying at least one adjustment control) is generated with the projection of the origin of the virtual component 1810 (e.g., the component center) on the head-up display layer (Head-Up Display, HUD) as the center positioning point, wherein the HUD layer includes multiple display layers, and the component adjustment area is one of the display layers, which is located above the HUD layer, and other display contents are other display layers, which are located below the HUD layer, i.e., the level is the lowest layer of other UIs in the HUD layer.

[0292] Schematically, when the player changes the position of the virtual component 1810 in the virtual scene by moving, scaling, rotating or other editing methods, the control layer corresponding to the component coordinate system is hidden during the adjustment process; when the player lets go, the component center of the virtual component 1810 is used as the new origin position, and the projection on the HUD layer is used as the center of the circle to generate a new floating coordinate axis control layer.

[0293] Optionally, when the player does not change the positioning of the virtual component in the virtual scene, but changes the position of the camera by dragging the screen, the relative position between the HUD layer and the virtual scene changes continuously, the projection of the component origin of the virtual component on the HUD coordinate axis control layer also changes continuously, and the corresponding coordinate axis control layer also changes with the positioning point to form a "floating" feeling.

[0294] In an optional embodiment, if Fig.19 As shown, the technical implementation flow chart is explained as follows.

[0295] Step 1910, click to select the virtual component.

[0296] Illustratively, a click operation on the virtual component is used as a selection operation on the virtual component.

[0297] Step 1920, generating a component coordinate system and adjusting controls in the HUD with the projection of the origin of the virtual component on the HUD layer as the center.

[0298] Indicatively, when the player does not select a virtual component, the component coordinate system and adjustment controls are hidden; when the player clicks to select the virtual component, the component coordinate system and adjustment controls are switched to a displayed state, and the position of the component coordinate system and adjustment controls on the screen are calculated using the origin of the relative coordinate system of the virtual component blueprint as the center anchor point.

[0299] Optionally, when the player inputs an operation to change the relative position of the virtual component and the game camera, the component coordinate system will change its position accordingly, achieving a visual transformation effect similar to "floating" on the screen. That is, according to different operations of the player on the screen, the following steps 1931 to 1933, or steps 1941 to 1942 are implemented.

[0300] Step 1931, drag the screen to change the component position of the virtual component in the virtual scene.

[0301] Illustratively, the player moves the virtual component in the virtual scene by dragging the mobile control on the screen for adjusting the position of the component; accordingly, the virtual scene displayed on the interface may be changed.

[0302] When the player changes the component position of the virtual component in the virtual scene by dragging the screen, the following step 1932 is executed.

[0303] Step 1932, hide the component coordinate system and adjust the controls.

[0304] Illustratively, when the component position of the virtual component in the virtual scene is changed, the component coordinate system and the adjustment control displayed based on the selection operation are hidden, that is, the component coordinate system and the user interface (UI) of the adjustment control are hidden.

[0305] Step 1933, let go.

[0306] Illustratively, the player ends the operation of dragging the screen to change the position of the component by releasing the hand, and the terminal executes the following step 1950 based on the release operation.

[0307] That is, in the above steps 1931 to 1933, when the position of the camera displaying the virtual scene remains unchanged, when the player changes the component position or component size of the virtual component in the game editor, the relative position of the virtual component and the camera is affected and changed. At this time, the corresponding player operation is to drag the touch screen. When it is detected that the player triggers this operation, the component coordinate system and the adjustment control are switched to a hidden state. When the operation is completed (i.e., after the player lets go), the new position of the component origin of the virtual component is used as the anchor point, and the component coordinate system and the adjustment control are switched to a displayed state.

[0308] Step 1941, drag the screen to change the camera position.

[0309] Illustratively, the player adjusts the position of the camera used to display the virtual scene by dragging the screen. Due to the change in the camera position, the virtual scene displayed on the interface changes, and because the virtual component is located in the virtual scene, the position of the virtual component relative to the interface changes.

[0310] Step 1942, the projection position of the component origin changes in real time.

[0311] Schematically, as the virtual scene displayed on the interface changes due to changes in the camera position, the display position of the virtual component relative to the virtual scene in the interface also changes. In order to be able to smoothly adjust the change on the interface, the component origin (such as the component center) of the virtual component is determined, and based on the real-time adjustment of the camera position, the projection position of the component origin is changed in real time, thereby forming a smoother scene change process.

[0312] That is, in the above steps 1941 to 1942, the component position of the virtual component remains unchanged, and the player changes the relative position of the anchor point (such as the component origin of the virtual component) and the camera by dragging the screen to change the viewing angle of the game camera. When it is detected that the player triggers this operation, the component coordinate system does not switch to a hidden state, but detects the anchor point position in real time and changes the component coordinate system and adjusts the position of the control.

[0313] Step 1950, generate the component coordinate system and adjust the controls according to the new position of the origin at the HUD projection.

[0314] Illustratively, after the above step 1933 or step 1942 is completed, the terminal determines the new position of the component origin of the virtual component in the HUD projection, and generates a component coordinate system and adjustment controls at this position.

[0315] In the above process, since the component coordinate system and the adjustment control are not in a fixed position, corresponding adjustment controls can be added to more efficiently implement different editing functions. Schematically, dragging the move control responds to plane movement, dragging the size adjustment control responds to overall scaling, and dragging the angle adjustment control responds to plane rotation.

[0316] It is worth noting that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0317] To sum up, the position where at least one adjustment control is displayed is more closely aligned with the component position of the virtual component, which is beneficial for players to view the adjustment control while observing the virtual component; in addition, the adjustment control is used to adjust the display status of the virtual component in the virtual scene. Therefore, by using at least one adjustment control that is displayed more closely to the virtual component, a more efficient adjustment process of the virtual component can be achieved, avoiding the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene, and improving the efficiency of human-computer interaction with the help of the display effect of the accompanying association relationship.

[0318] In an embodiment of the present application, the above method can be applied to an interface editor of a game or application, reducing the operation path of the user in the process of editing the component coordinate system and the adjustment control, which is conducive to finding the corresponding adjustment control around the component position more quickly, and performing the alternating behavior of editing the virtual component and operating the adjustment control on the screen with the minimum path, which helps to keep the player's attention focused on the virtual component object itself, reduces the interference of the process of operating the component coordinate system and adjusting the control on the player's creative process, expands the editing capability and improves its creative efficiency, thereby more efficiently improving the editing capability through the dragging function of the virtual control and improving the user's editing efficiency.

[0319] Fig. 20 is a structural block diagram of a virtual component configuration device provided by an exemplary embodiment of the present application, such as Fig. 20 As shown, the device includes the following parts:

[0320] A display module 2010 is used to display a virtual component, where the virtual component is a component element located in a virtual scene;

[0321] A receiving module 2020, configured to receive a selection operation on the virtual component;

[0322] The display module 2010 is also used to respond to the selection operation and, based on the component position of the virtual component in the virtual scene, display at least one adjustment control that has an accompanying association relationship with the virtual component, wherein the accompanying association relationship is used to characterize the relationship between the at least one adjustment control and the change of the component position, and the adjustment control is used to adjust the display state of the virtual component in the virtual scene.

[0323] In an optional embodiment, the display module 2010 is further configured to display the at least one adjustment control having the accompanying association relationship with the virtual component within a preset area corresponding to the component position.

[0324] In an optional embodiment, the display module 2010 is also used to display at least one adjustment control distributed according to a preset control distribution rule within the preset area corresponding to the component position, with the virtual component as the center, and there is the accompanying association relationship between the at least one adjustment control and the virtual component.

[0325] In an optional embodiment, the display module 2010 is further used to display a circular area that is associated with the virtual component; and display at least one adjustment control that is associated with the virtual component on a circular contour corresponding to the circular area.

[0326] In an optional embodiment, the display module 2010 is further used to display the circular area with the component center of the virtual component as the center and a preset length as the radius.

[0327] In an optional embodiment, the at least one adjustment control includes a movement control, and the movement control is used to adjust the display position of the virtual component in the virtual scene;

[0328] The display module 2010 is also used to receive a first trigger operation on the mobile control, and the first trigger operation is used to move the virtual component from a first position to a second position in the virtual scene; in response to the first trigger operation, based on the accompanying association relationship between the virtual component and the at least one adjustment control, when displaying the movement animation of the virtual component moving from the first position to the second position, a movement following animation of the at least one adjustment control following the movement of the virtual component is displayed.

[0329] In an optional embodiment, the display module 2010 is further used to display a movement following animation of the at least one adjustment control following the virtual component from the first position to the second position based on the accompanying association relationship between the virtual component and the at least one adjustment control.

[0330] In an optional embodiment, the at least one adjustment control includes a size adjustment control, and the size adjustment control is used to adjust the component size of the virtual component in the virtual scene;

[0331] The display module 2010 is also used to receive a second trigger operation on the size adjustment control, the second trigger operation is used to adjust the virtual component from a first component size to a second component size, the virtual component including a first component reference point as reference information during the component size adjustment process; in response to the second trigger operation, based on the accompanying association relationship between the virtual component and the at least one adjustment control, when displaying the size adjustment animation of the virtual component adjusting from the first component size to the second component size, a first accompanying animation of the at least one adjustment component moving along with the first component reference point is displayed.

[0332] In an optional embodiment, the at least one adjustment control includes an angle adjustment control, and the angle adjustment control is used to adjust the display angle of the virtual component relative to the virtual scene;

[0333] The display module 2010 is also used to receive a third trigger operation on the angle adjustment control, and the third trigger operation is used to adjust the virtual component from a first rotation angle to a second rotation angle, and the virtual component includes a second component reference point as reference information during the rotation angle adjustment process; in response to the third trigger operation, based on the accompanying association relationship between the virtual component and the at least one adjustment control, when displaying the component rotation animation of the virtual component adjusting from the first rotation angle to the second rotation angle, a second accompanying animation of the at least one adjustment component moving along with the second component reference point is displayed.

[0334] In an optional embodiment, the at least one adjustment control includes a function expansion control, and the function expansion control is used to expand and display other function controls;

[0335] The display module 2010 is further used to receive a fourth trigger operation on the function expansion control, and the fourth trigger operation is used to expand and display the other function controls; in response to the fourth trigger operation, a function control list is displayed, and the function control list includes the other function controls.

[0336] In an optional embodiment, the display module 2010 is further used to display a component coordinate system, where the component coordinate system is a coordinate system established based on the component position of the virtual component in the virtual scene.

[0337] In an optional embodiment, the component coordinate system includes at least two coordinate axes, and the at least two coordinate axes include a first coordinate axis;

[0338] The display module 2010 is also used to receive a coordinate axis trigger operation for the first coordinate axis, and the coordinate axis trigger operation is used to move the virtual component along the first coordinate axis; based on the coordinate axis trigger operation, display the component movement animation of the virtual component moving along the first coordinate axis.

[0339] In an optional embodiment, the display module 2010 is further used to trigger an operation based on the coordinate axis to hide the component coordinate system and the at least one adjustment control; and to display the component movement animation of the virtual component moving along the hidden first coordinate axis.

[0340] In an optional embodiment, the display module 2010 is further used to display a component adjustment area that has an accompanying association relationship with the virtual component based on the component position of the virtual component in the virtual scene, and the component adjustment area is used to display the at least one adjustment control.

[0341] In an optional embodiment, the component adjustment area includes an area movement control, and the area movement control is used to move the component adjustment area individually;

[0342] The display module 2010 is further configured to receive a control trigger operation for the area movement control, and display an area movement animation of the component adjustment area moving in the virtual scene.

[0343] In an optional embodiment, the display module 2010 is also used to respond to the control triggering operation instruction to move the component adjustment area outside the preset moving range corresponding to the virtual component, and display prompt information based on the accompanying association relationship between the virtual component and the component adjustment area; wherein the prompt information is used to prompt to move the component moving area within the preset moving range.

[0344] In an optional embodiment, the display module 2010 is also used to display the adjustment component corresponding to the component type as the at least one adjustment component based on the component type of the virtual component with the accompanying association relationship; wherein different component types correspond to at least one adjustment component respectively.

[0345] To sum up, the position where at least one adjustment control is displayed is more closely aligned with the component position of the virtual component, which is beneficial for players to view the adjustment control while observing the virtual component; in addition, the adjustment control is used to adjust the display status of the virtual component in the virtual scene. Therefore, by using at least one adjustment control that is displayed more closely to the virtual component, a more efficient adjustment process of the virtual component can be achieved, avoiding the problem of low adjustment efficiency caused by the fixed display of the adjustment control in the virtual scene, and improving the efficiency of human-computer interaction with the help of the display effect of the accompanying association relationship.

[0346] It should be noted that the configuration device of the virtual component provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the configuration device of the virtual component provided in the above embodiment and the configuration method embodiment of the virtual component belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0347] Fig.21The block diagram of the structure of an electronic device 2100 provided by an exemplary embodiment of the present application is shown. The electronic device 2100 may be a portable mobile terminal, such as a smart phone, a vehicle-mounted terminal, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), 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.

[0348] Typically, the electronic device 2100 includes: a processor 2101 and a memory 2102 .

[0349] The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and 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 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.

[0350] 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, 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 configuration method of the virtual component provided in the method embodiment of the present application.

[0351] In some embodiments, the electronic device 2100 further includes one or more sensors, including but not limited to: a proximity sensor, a gyroscope sensor, and a pressure sensor.

[0352] The proximity sensor, also called a distance sensor, is usually disposed on the front panel of the electronic device 2100. The proximity sensor is used to collect the distance between the user and the front of the electronic device 2100.

[0353] The gyroscope sensor can detect the body direction and rotation angle of the electronic device 2100, and the gyroscope sensor can cooperate with the acceleration sensor to collect the user's 3D actions on the electronic device 2100. The processor 2101 can implement the following functions based on the data collected by the gyroscope sensor: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0354] The pressure sensor can be set on the side frame of the electronic device 2100 and / or the lower layer of the display screen. When the pressure sensor is set on the side frame of the electronic device 2100, it can detect the user's holding signal of the electronic device 2100, and the processor 2101 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor. When the pressure sensor is set on the lower layer of the display screen, the processor 2101 controls the operability controls on the UI interface according to the user's pressure operation on the display screen. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0355] In some embodiments, the electronic device 2100 further includes other components, which can be understood by those skilled in the art. Fig.21 The structure shown in the figure does not constitute a limitation on the electronic device 2100, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0356] The embodiment of the present application also provides a computer device, which can be implemented as follows: Figure 2The computer device includes a processor and a memory, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, 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 configuration method of the virtual component provided by the above-mentioned method embodiments.

[0357] 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 a processor to implement the configuration method of the virtual component provided in the above-mentioned method embodiments.

[0358] The embodiments of the present application also provide a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the configuration method of the virtual component described in any of the above embodiments.

[0359] 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 only for description and do not represent the advantages and disadvantages of the embodiments.

[0360] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0361] The above description is only an optional embodiment of the present application and is 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 in the protection scope of the present application.

Claims

1. A method for configuring a virtual component, characterized in that: The method comprises: Displaying a virtual component, wherein the virtual component is a component element located in a virtual scene; receiving a selection operation on the virtual component; In response to the selection operation, based on the component position of the virtual component in the virtual scene, at least one adjustment control that has an accompanying association relationship with the virtual component is displayed, and the accompanying association relationship is used to characterize the relationship between the at least one adjustment control and the change of the component position, and the adjustment control is used to adjust the display state of the virtual component in the virtual scene.

2. The method according to claim 1, characterized in that The displaying, based on the component position of the virtual component in the virtual scene, at least one adjustment control having an accompanying association relationship with the virtual component comprises: At least one adjustment control that has the accompanying association relationship with the virtual component is displayed within a preset area corresponding to the component position.

3. The method according to claim 2, characterized in that The displaying of the at least one adjustment control having the accompanying association relationship with the virtual component within the preset area corresponding to the component position includes: Within the preset area corresponding to the component position, with the virtual component as the center, the at least one adjustment control distributed according to a preset control distribution rule is displayed, and the accompanying association relationship exists between the at least one adjustment control and the virtual component.

4. The method according to any one of claims 1 to 3, characterized in that: The display of at least one adjustment control associated with the virtual component includes: Display a circular area with the component center of the virtual component as the center and a preset length as the radius; The at least one adjustment control that has an accompanying association relationship with the virtual component is displayed on the circular contour corresponding to the circular area.

5. The method according to any one of claims 1 to 3, characterized in that: The at least one adjustment control includes a moving control, and the moving control is used to adjust the display position of the virtual component in the virtual scene; After displaying at least one adjustment control associated with the virtual component, the method further includes: Receiving a first trigger operation on the mobile control, wherein the first trigger operation is used to move the virtual component from a first position to a second position in the virtual scene; In response to the first trigger operation, based on the accompanying association relationship between the virtual component and the at least one adjustment control, when displaying the movement animation of the virtual component moving from the first position to the second position, a movement following animation of the at least one adjustment control following the movement of the virtual component is displayed.

6. The method according to any one of claims 1 to 3, characterized in that: The at least one adjustment control includes a size adjustment control, and the size adjustment control is used to adjust the component size of the virtual component in the virtual scene; After displaying at least one adjustment control associated with the virtual component, the method further includes: receiving a second trigger operation on the size adjustment control, the second trigger operation being used to adjust the virtual component from a first component size to a second component size, the virtual component including a first component reference point as reference information during the component size adjustment process; In response to the second trigger operation, based on the accompanying association relationship between the virtual component and the at least one adjustment control, when displaying the size adjustment animation of the virtual component adjusting from the first component size to the second component size, a first accompanying animation of the at least one adjustment component moving along with the first component reference point is displayed.

7. The method according to any one of claims 1 to 3, characterized in that: The at least one adjustment control includes an angle adjustment control, and the angle adjustment control is used to adjust the display angle of the virtual component relative to the virtual scene; After displaying at least one adjustment control associated with the virtual component, the method further includes: receiving a third trigger operation on the angle adjustment control, the third trigger operation being used to adjust the virtual component from a first rotation angle to a second rotation angle, the virtual component including a second component reference point as reference information during the rotation angle adjustment process; In response to the third trigger operation, based on the accompanying association relationship between the virtual component and the at least one adjustment control, when displaying the component rotation animation of the virtual component adjusting from the first rotation angle to the second rotation angle, a second accompanying animation of the at least one adjustment component moving along with the second component reference point is displayed.

8. The method according to any one of claims 1 to 3, characterized in that: The at least one adjustment control includes a function expansion control, and the function expansion control is used to expand and display other function controls; After displaying at least one adjustment control associated with the virtual component, the method further includes: receiving a fourth trigger operation on the function expansion control, wherein the fourth trigger operation is used to expand and display the other function controls; In response to the fourth trigger operation, a function control list is displayed, wherein the function control list includes the other function controls.

9. The method according to any one of claims 1 to 3, characterized in that: The display of at least one adjustment control associated with the virtual component includes: Based on historical adjustment data, at least one adjustment control that has the accompanying association relationship with the virtual component is displayed, the historical adjustment data is used to characterize the triggering conditions of multiple adjustment controls within a historical time period, and the multiple adjustment controls are used to filter out the at least one adjustment control.

10. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: A component coordinate system is displayed, where the component coordinate system is a coordinate system established based on the component position of the virtual component in the virtual scene.

11. The method according to claim 10, characterized in that The component coordinate system includes at least two coordinate axes, and the at least two coordinate axes include a first coordinate axis; After the display component coordinate system, it also includes: receiving a coordinate axis triggering operation for the first coordinate axis, wherein the coordinate axis triggering operation is used to move the virtual component along the direction of the first coordinate axis; A component movement animation of displaying the virtual component moving along the first coordinate axis is triggered based on the coordinate axis.

12. The method according to claim 11, characterized in that The triggering operation based on the coordinate axis to display the component movement animation of the virtual component moving along the first coordinate axis includes: Based on the coordinate axis triggering operation, hiding the component coordinate system and the at least one adjustment control; The component movement animation is displayed in which the virtual component moves along the hidden first coordinate axis.

13. The method according to any one of claims 1 to 3, characterized in that: The displaying, based on the component position of the virtual component in the virtual scene, at least one adjustment control having an accompanying association relationship with the virtual component comprises: Based on the component position of the virtual component in the virtual scene, a component adjustment area that has an accompanying association relationship with the virtual component is displayed, and the component adjustment area is used to display the at least one adjustment control.

14. The method according to claim 13, characterized in that The component adjustment area includes an area movement control, and the area movement control is used to move the component adjustment area individually; The method further comprises: A control trigger operation for the area movement control is received, and an area movement animation of the component adjustment area moving in the virtual scene is displayed.

15. The method according to claim 14, characterized in that The method further comprises: In response to the control triggering operation indicating to move the component adjustment area to outside the preset movement range corresponding to the virtual component pair, based on the accompanying association relationship between the virtual component and the component adjustment area, displaying prompt information; The prompt information is used to prompt the component moving area to move within the preset moving range.

16. The method according to any one of claims 1 to 3, characterized in that: The display of at least one adjustment control associated with the virtual component includes: Based on the component type of the virtual component, displaying an adjustment component corresponding to the component type in the accompanying association relationship as the at least one adjustment component; Among them, different component types correspond to at least one adjustment component respectively.

17. A virtual component configuration device, characterized in that: The device comprises: A display module, used for displaying virtual components, wherein the virtual components are component elements located in a virtual scene; A receiving module, used for receiving a selection operation on the virtual component; The display module is also used to respond to the selection operation and, based on the component position of the virtual component in the virtual scene, display at least one adjustment control that has an accompanying association relationship with the virtual component, wherein the accompanying association relationship is used to characterize the relationship between the at least one adjustment control and the change of the component position, and the adjustment control is used to adjust the display state of the virtual component in the virtual scene.

18. A computer device, characterized in that: The computer device includes 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 component configuration method according to any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the virtual component configuration method according to any one of claims 1 to 16.

20. A computer program product, characterized in that It comprises a computer program or an instruction, which, when executed by a processor, implements the method for configuring a virtual component as claimed in any one of claims 1 to 16.