Configuration method and apparatus for virtual component, and device, medium and program product

By dynamically displaying the adjustment controls that accompany the association relationship with virtual components, the problem of inefficient adjustment of virtual components in the game is solved, and more efficient adjustment and human-computer interaction efficiency is achieved.

WO2025050811A1PCT designated stage expired Publication Date: 2025-03-13TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/104267
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-04
Filing Date
2024-07-08
Publication Date
2025-03-13

AI Technical Summary

Technical Problem

In the game, players need to frequently switch to pay attention to virtual components and functional controls, resulting in inefficient adjustment of virtual components, which is not conducive to precise adjustment, affecting human-computer interaction efficiency.

Method used

By displaying adjustment controls with associated relationships with virtual components, the controls are dynamically displayed based on component locations, making them more in line with the position of virtual components, achieving a more efficient adjustment process.

Benefits of technology

It improves the efficiency of viewing the adjustment controls while observing the virtual components, realizes more efficient adjustments to the virtual components, avoids the inefficiency problem caused by the fixed display of the adjustment controls, and improves the efficiency of human-computer interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024104267_13032025_PF_FP_ABST
    Figure CN2024104267_13032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of animation generation. Disclosed are a configuration method and apparatus for a virtual component, and a device, a medium and a program product. The method comprises: displaying a virtual component; receiving a selection operation on the virtual component; and in response to the selection operation and on the basis of the component position of the virtual component in a virtual scenario, displaying at least one adjustment control that has an accompanying association relationship with the virtual component, wherein the accompanying association relationship is used for representing a relationship in which the at least one adjustment control changes accompanying a change in the position of the component. A virtual component and at least one adjustment control are displayed in a more fitted manner by means of an accompanying association relationship, such that a player can more efficiently view and trigger the adjustment control when the player observes the virtual component, thereby avoiding the problem of the adjustment efficiency being relatively low caused by fixed display of the adjustment control in a virtual scenario, and improving the human-computer interaction efficiency. The present application can be applied to various scenarios such as cloud technology, artificial intelligence and intelligent transportation.
Need to check novelty before this filing date? Find Prior Art

Description

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

[0001] This application claims priority to the Chinese patent application filed on September 4, 2023, with application number 202311138932.8 and invention name “Configuration method, device, equipment, medium and program product for virtual components”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] Embodiments of the present application relate to the field of animation generation technology, and in particular to a configuration method, apparatus, device, medium, and program product for a virtual component. Background Art

[0003] With the improvement of cultural and entertainment living standards, people's experience and requirements for virtual scenes are also getting higher and higher. As a way to express virtual scenes, games have become a channel for many people to relieve stress. In current game applications, players use virtual props to make the game process more interesting.

[0004] In related art, virtual scenes include various virtual components, and players sometimes need to adjust these virtual components, such as their position or size. Functional controls for implementing these adjustments are typically displayed somewhere on the interface, allowing players to trigger these controls to implement the corresponding adjustments.

[0005] In the above process, the function controls are usually located in a fixed position in the interface. When the player adjusts the virtual components through the function controls, the player needs to frequently switch his attention between the virtual components and the location of the function controls. Not only is the adjustment efficiency of the virtual components low, it is also not conducive to the player's precise adjustment of the virtual components, affecting the efficiency of human-computer interaction.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a method, apparatus, device, medium, and program product for configuring a virtual component. The technical solutions provided by the embodiments of the present application are as follows.

[0008] In one aspect, a method for configuring a virtual component is provided, the method being executed by a terminal device, the method comprising:

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

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

[0011] 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 in which the at least one adjustment control changes with the change of the component position, and the adjustment control is used to adjust the display status of the virtual component in the virtual scene.

[0012] In another aspect, a device for configuring a virtual component is provided, the device comprising:

[0013] A display module, configured to display a virtual component, wherein the virtual component is a component element located in a virtual scene;

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

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

[0016] On the other hand, a computer device is provided. The computer device includes a processor and a memory. The memory stores a computer program. The computer program is loaded and executed by the processor to implement the above-mentioned virtual component configuration method.

[0017] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored in the storage medium. The computer program is loaded and executed by a processor to implement the above-mentioned virtual component configuration method.

[0018] In another aspect, a computer program product is provided, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the above-mentioned virtual component configuration method.

[0019] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:

[0020] 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 in which the at least one adjustment control changes as the component position changes. Therefore, the position in which 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 displaying at least one adjustment control that is more closely aligned with 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

[0021] FIG1 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application;

[0022] FIG2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;

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

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

[0025] FIG5 is a schematic diagram of an interface of a virtual scene provided by an exemplary embodiment of the present application;

[0026] FIG6 is a schematic diagram of an interface showing at least one adjustment control of a virtual component having an accompanying association relationship, provided by an exemplary embodiment of the present application;

[0027] FIG7 is a schematic diagram of an interface for moving a virtual component through a mobile control provided by an exemplary embodiment of the present application;

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

[0029] FIG9 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;

[0030] FIG10 is a flowchart of a method for configuring a virtual component provided by yet another exemplary embodiment of the present application;

[0031] FIG11 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;

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

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

[0034] FIG14 is a schematic diagram of an interface of a virtual scene provided by an exemplary embodiment of the present application;

[0035] FIG15 is a schematic diagram of an interface of a display component coordinate system provided by an exemplary embodiment of the present application;

[0036] FIG16 is a schematic diagram of an interface of a related technology provided by an exemplary embodiment of the present application;

[0037] FIG17 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;

[0038] FIG18 is a schematic diagram of layers showing a virtual component after movement provided by an exemplary embodiment of the present application;

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

[0040] FIG20 is a structural block diagram of a device for configuring a virtual component provided by an exemplary embodiment of the present application;

[0041] FIG21 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

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

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

[0044] A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. This virtual scene can be a simulation of a real scene, a semi-simulation and semi-fictional scene, or a purely fictional scene. This application does not limit this. The following embodiments illustrate a 3D virtual scene as an example.

[0045] Virtual model: A model used in a virtual scene to simulate a real scene. Exemplarily, a virtual model occupies a certain volume in a virtual scene. Exemplarily, virtual models include: terrain models, building models, animal and plant models, virtual prop models, virtual vehicle models, and virtual object models. For example, terrain models include: ground, mountains, water, stones, steps, etc.; building models include: houses, walls, containers, and fixed facilities inside buildings: tables, chairs, cabinets, beds, etc.; animal and plant models include: trees, flowers, birds, etc.; virtual prop models include: virtual attack props, medicine boxes, airdrops, etc.; virtual vehicle models include: cars, ships, helicopters, etc.; virtual object models include: people, animals, cartoon characters, etc.

[0046] Virtual characters / virtual objects: These are movable objects within a virtual scene. These movable objects can be virtual objects, virtual animals, animated characters, and so on. For example, people, animals, plants, oil drums, walls, rocks, and so on displayed within a 3D virtual scene. Alternatively, virtual objects can be 3D models created using animation skeletal technology. Each virtual object has its own unique shape and volume within the 3D virtual scene and occupies a portion of the space within the 3D virtual scene.

[0047] In related technologies, virtual scenes include various virtual components, and players sometimes need to adjust the virtual components, such as adjusting the position and size of the virtual components. Functional controls that implement the corresponding adjustment functions are usually displayed at a certain position on the interface, so that the corresponding adjustment functions can be implemented based on the player's triggering operation on the functional controls. In the above process, the functional controls are usually located at a fixed position in the interface. When players adjust the virtual components through the functional controls, they need to frequently switch their attention between the virtual components and the positions of the functional controls. Not only is the adjustment efficiency of the virtual components low, but it is also not conducive to the players' precise adjustment of the virtual components, affecting the efficiency of human-computer interaction.

[0048] 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, which is beneficial for players 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 configuration method of the 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. The configuration method of the virtual component provided in this embodiment can also be applied to other scenarios, and the embodiment of the present application is not limited to this.

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

[0050] The terminal in this application can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, etc. An application that supports a virtual environment is installed and run in the terminal, such as an application that supports a three-dimensional virtual environment. The application can be any one of a virtual reality application, a three-dimensional map program, a third-person shooter game (TPS), a first-person shooter game (FPS), and a multiplayer online battle arena 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.

[0051] FIG1 shows a block diagram of an electronic device provided by an exemplary embodiment of the present application. The electronic device 100 includes an operating system 120 and an application 122 .

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

[0053] Application 122 is an application that supports a virtual environment. Optionally, application 122 is an application that supports a three-dimensional virtual environment. Application 122 can be any of a virtual reality application, a three-dimensional map application, a TPS game, an FPS game, a MOBA game, or a multiplayer shooter survival game. Application 122 can be a stand-alone application, such as a stand-alone three-dimensional game program, or a network-based application.

[0054] 2 shows a block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 200 includes a first device 220 , a server 240 , and a second device 260 .

[0055] The first device 220 has an application installed and running that supports a virtual environment. The application can 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, who uses the first device 220 to control a first virtual object in the virtual environment to perform an activity, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, the first virtual object is a first virtual character, such as a simulated human character or an anime character.

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

[0057] Server 240 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 240 provides backend services for applications supporting a three-dimensional virtual environment. Optionally, server 240 performs primary computing tasks, while first device 220 and second device 260 perform secondary computing tasks. Alternatively, server 240 performs secondary computing tasks, while first device 220 and second device 260 perform primary computing tasks. Alternatively, server 240, first device 220, and second device 260 utilize a distributed computing architecture for collaborative computing.

[0058] Second device 260 has an application installed and running that supports virtual environments. This application can be any of a virtual reality application, a three-dimensional map program, an FPS game, a MOBA game, or a multiplayer shooter survival game. Second device 260 is used by a second user, who uses second device 260 to control a second virtual object in the virtual environment to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, the second virtual object is a second virtual character, such as a simulated or animated character.

[0059] 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 friendship 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.

[0060] 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 can generally refer to one of multiple devices, and the second device 260 can generally refer to one of multiple devices. This embodiment only uses the first device 220 and the second device 260 as an example. The first device 220 and the second device 260 can be the same or different device types, including at least one of a game console, a desktop computer, a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, and a laptop computer. The following embodiments are described using a desktop computer as an example.

[0061] Those skilled in the art will appreciate that the number of the above-mentioned devices may be greater or lesser. For example, the above-mentioned device may be only one, or the above-mentioned devices may be dozens or hundreds, or a greater number. The embodiments of the present application do not limit the number and type of devices.

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

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

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

[0065] In conjunction with the above-mentioned noun introduction and application scenarios, the configuration method of the virtual component provided by this application is explained, and the method is applied to a terminal device as an example. That is, the execution subject of each step of the method is the terminal device. As shown in Figure 3, the method includes the following steps 310 to 330.

[0066] Step 310: Display the virtual component.

[0067] A virtual component is a component element located in a virtual scene. Optionally, the virtual component is 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 simultaneously with the virtual scene. Schematically, when a player enters the game, a virtual scene is displayed, and the virtual scene includes multiple virtual components.

[0070] In some embodiments, virtual components are generated based on task completion. For example, when a player enters a game, a virtual scene is displayed, where various game tasks are arranged. Players can complete each game task by participating in the game, and virtual components are generated in the virtual scene based on the completion of the game tasks. For example, a virtual scene may contain game tasks A and B. If the higher-level game task A is completed, the more rare virtual component 1 is generated; if the higher-level game task B is completed, the less rare virtual component 2 is generated, and so on.

[0071] In some embodiments, a virtual component is a component that is displayed based on a component trigger operation. A component trigger operation is an operation performed by a user to trigger the display of a virtual component. For example, when a player enters a game, a virtual scene is displayed, 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. 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.

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

[0073] Optionally, the 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 and irregular shapes of the virtual component.

[0074] Schematically, the preset shapes include cube shapes, cylindrical shapes, semi-cylindrical shapes, conical shapes, fan shapes, spherical shapes, slide shapes and other shapes. 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.

[0075] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0076] Step 320: Receive a selection operation for a virtual component.

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

[0078] The selection operation is used to select a virtual component. 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, and a voice trigger operation.

[0079] For example, a player's selection operation on any virtual component is used to illustrate that a single click operation on a virtual component in a virtual scene is regarded as a selection operation; or a long press operation on a virtual component in a virtual scene is regarded as a selection operation, etc.

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

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

[0082] Optionally, the component position is determined based on the component center of the virtual component. Illustratively, the component center is the component center of gravity of the virtual component; or, the component center is the intersection of 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., where the component bottom is the contact surface of the virtual component when placed on the virtual ground in the virtual scene.

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

[0084] For illustration, a virtual component is used in the fields of computer graphics and computational geometry. A component bounding box represents a closed space surrounding a virtual component. The bounding box's shape approximates the complex geometric shape of the virtual component, enabling faster analysis of the virtual component. The spatial position occupied by the component bounding box in the virtual scene is used as the corresponding component position; alternatively, the contact area between the component bounding box and the virtual ground in the virtual scene is used as the corresponding component position.

[0085] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0086] 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 pattern is displayed with the virtual component as the center, wherein there is an accompanying association relationship between the at least one adjustment control and the virtual component.

[0087] Schematically, the area size and area shape are predetermined as the area range for displaying at least one adjustment control. After the component position corresponding to the virtual component is determined, the preset area range corresponding to the virtual component is displayed in combination with the component position and the preset area range.

[0088] For example: the preset area range is a circular area with a radius of a. After determining the component position corresponding to the virtual component, 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 determining the component position corresponding to the virtual component, 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.

[0089] Illustratively, 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 coordinates (1, 1); adjustment control 2 is displayed at position coordinates (1, 2), etc.

[0090] In some embodiments, the accompanying association relationship is used to represent a relationship in which at least one adjustment control changes as the position of the component changes.

[0091] 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.

[0092] In some embodiments, the adjustment control is used to adjust the display status of the virtual component in the virtual scene.

[0093] Optionally, the display state is used to represent 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.

[0094] 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 and using the adjustment function corresponding to the adjustment control.

[0095] 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, etc.

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

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

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

[0099] In some embodiments, adjustment controls corresponding to different component types are pre-set. 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 at least one adjustment control corresponding to the virtual component based on the component type of the selected virtual component.

[0100] Schematically, the adjustment controls corresponding to the pre-set component type M (such as the environment type) include adjustment control 1 and adjustment control 2; the adjustment controls corresponding to the component type N (such as the 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 the 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.

[0101] 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. This embodiment of the present application does not limit this.

[0102] Through the above method, based on the component type of the virtual component, the adjustment control adapted to the component type is displayed, so that the displayed adjustment control better meets the user's adjustment operation requirements for the virtual component and improves the efficiency of human-computer interaction.

[0103] In some embodiments, the attribute information of the virtual component includes not only the component type described above, but also various other information representing the state of the virtual component.

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

[0105] Shape information is used to represent the shape of a virtual component, such as a cube, a cylinder, a semi-cylinder, or a cone.

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

[0107] Orientation information is used to represent the orientation of a virtual component in a virtual scene. For example, if a certain side of a virtual component is defined as the component front, the orientation information represents the direction the front of the virtual component faces, such as northeast or southeast. Alternatively, orientation information can be determined using a direction indicator bar (including angles, direction indicators, and location markers) displayed in the virtual scene, which is not limited here.

[0108] Appearance information is used to represent the appearance of a virtual component in a virtual scene. For example, appearance information can be implemented as the color, skin, and grayscale of a virtual component.

[0109] Mass information is used to characterize the mass of a virtual component. For example, different virtual components may each have a preset weight, or the mass of a virtual component may be determined based on the sum of the masses of its components.

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

[0111] Annotation information is used to represent the annotation of a virtual component in a virtual scene. For example, annotation information may be attached to the virtual component to indicate its display duration, acquisition conditions, or other related information (such as any one or more of the aforementioned attribute information). Optionally, annotation information can be implemented as default configuration information or manually added information.

[0112] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0113] To sum up, after receiving the selection operation of the 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 in which the at least one adjustment control changes with the change of the component position. 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 displaying at least one adjustment control that is more closely aligned with 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. With the help of the display effect of the accompanying association relationship, the efficiency of human-computer interaction is improved.

[0114] In an optional embodiment, at least one adjustment control associated with a virtual component is used to implement different adjustment functions, thereby adjusting the display state of the virtual component within the virtual scene by triggering the corresponding adjustment control. As shown in FIG. 4 , the embodiment shown in FIG. 3 can also be implemented as follows: Steps 410 to 472.

[0115] Step 410: Display the virtual component.

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

[0117] Schematically, as shown in FIG5 , it is a schematic diagram of an 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.

[0118] Optionally, as shown in FIG5 , virtual component 510 is a component element composed of component parts of different shapes presented in shape selection area 520. For example, a cube 521 and a cuboid (shape selection area 520 is not shown) in shape selection area 520 may together form virtual component 510; or, multiple cubes 521 in shape selection area 520 may together form virtual component 510, etc.

[0119] 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. This is only an illustrative example. 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 do not limit this.

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

[0121] 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, and a voice trigger operation.

[0122] Schematically, as shown in FIG5 , 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.

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

[0124] The accompanying association relationship is used to characterize the relationship between 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.

[0125] In an optional embodiment, at least one adjustment control associated with the virtual component is displayed within a preset area corresponding to the component position.

[0126] Optionally, the preset area range is determined by combining a preset area shape and a preset area size. Illustratively, the area shape includes at least one of a circular area, a rectangular area, a triangular area, an irregular area, and the like; the area size is a size set based on the area shape. For example, if the area shape is a circular area, the area size is determined by setting the radius of the circular area; or if the area shape is a rectangular area, the area size is determined by setting the length and width of the rectangular area.

[0127] By displaying at least one adjustment control associated with the virtual component within a preset area corresponding to the component position, the positional relationship between the adjustment control for the virtual component and the virtual component is relatively fixed, making it easier for users to remember.

[0128] In an illustrative manner, 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.

[0129] 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 any point on the virtual component; or, the component position is a position determined based on the component bounding box corresponding to the virtual component, etc.

[0130] In some embodiments, the component center of the virtual component is used 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.

[0131] 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.

[0132] By displaying at least one adjustment control distributed according to a preset control distribution pattern with the virtual component as the center, the adjustment control is displayed around the center of the virtual component, so that the user's attention can be focused on an area that contains both the virtual component and the adjustment control, without having to switch the attention back and forth between two different areas corresponding to the virtual component and the adjustment control, thereby making it easier for the user to use the adjustment control to operate the virtual component and improving the efficiency of human-computer interaction.

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

[0134] Illustratively, in response to a selection operation, a preset area corresponding to the virtual component is displayed based on the component position within the virtual scene, and at least one adjustment control associated with the virtual component is displayed within the preset area. In other words, the preset area is displayed on the interface in a concrete manner.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] Schematically, 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.

[0139] For example: establish a world coordinate system at 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.

[0140] 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.

[0141] 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.

[0142] Schematically, 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 the preset area range corresponding to the virtual component.

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

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

[0145] 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.

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

[0147] Schematically, as shown in FIG5 , the player performs a selection operation on the virtual component 510, and a game interface as shown in FIG6 is displayed, which includes the 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.

[0148] By displaying at least one adjustment control that has an accompanying association relationship with the virtual component on a circular contour corresponding to a circular area with the component center of the virtual component as the center and a preset length as the radius, the positional relationship between the virtual component and the adjustment control is constrained, and the adjustment controls are distributed on the circular contour around the virtual component, making it very convenient for users to view and operate the adjustment controls.

[0149] Optionally, as shown in Figure 6, 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, adjustment components 622, adjustment components 623 and adjustment components 624 are displayed on the circular outline of the circular area 620.

[0150] In some embodiments, the above step 430 further includes: in response to the adjustment operation of the component position, displaying the virtual component after the component position is adjusted, and an animation of the above at least one adjustment control changing with the change of the component position.

[0151] The adjustment operation is used to adjust the component position of the virtual component. The adjustment operation can be a sliding operation, or a click operation, a pinch operation, or other forms, which are not limited in this application. When the component position of the virtual component is adjusted by the user, the virtual component after the component position is adjusted is displayed, and the display position of at least one of the above-mentioned adjustment controls will change with the change of the component position, and an animation of the at least one of the above-mentioned adjustment controls changing with the change of the component position is displayed, thereby achieving the effect of accompanying display based on the accompanying association relationship.

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

[0153] Illustratively, the process of a player triggering a mobile control and displaying a corresponding interface is implemented as follows: Steps 441 to 442 .

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

[0155] 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.

[0156] 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.

[0157] Illustratively, the first triggering operation is implemented as a long-press operation. During the long-press operation on the mobile control, the mobile control is dragged, and the virtual component is moved 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.

[0158] 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.

[0159] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0160] 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, display the movement following animation of at least one adjustment control following the movement of the virtual component.

[0161] 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 movement animation of the virtual component moving from the first position to the second position is displayed on the interface.

[0162] 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.

[0163] 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.

[0164] 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.

[0165] 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.

[0166] 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.

[0167] 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.

[0168] Schematically, when a first trigger operation for a mobile control is received, at least one adjustment control is hidden on the interface until the virtual component is moved to the second position where the first 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 selection of the second position.

[0169] 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.

[0170] 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, the other adjustment controls except the mobile control are hidden and displayed on the interface until the virtual component is moved to the second position when the first trigger operation ends, and the other adjustment controls are restored to display.

[0171] In some embodiments, as shown in FIG7 , a schematic diagram of an interface for performing a first trigger operation on a mobile control is shown. In interface 701, a virtual component 710 and a virtual component 720 are included, and virtual component 710 is located in a first position; based on the selection operation of virtual component 710, at least one adjustment control associated with virtual component 710 is displayed, including mobile control 730; based on the first trigger operation on mobile control 730, a moving process as shown in interface 702 is displayed, where 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 (above virtual component 720), the moving completion process as shown in interface 703 is displayed.

[0172] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0173] In the above manner, when the position of the virtual component in the virtual scene changes, the display position of the adjustment control also changes synchronously, thereby achieving an accompanying display effect.

[0174] 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 size of the virtual component in the virtual scene.

[0175] Illustratively, the process of a player triggering a size adjustment control and displaying a corresponding interface is implemented as follows: steps 451 to 452 .

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

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

[0178] Optionally, the component size is used to represent 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 represent the component area of ​​the virtual component; or if the virtual component is a three-dimensional component element, the component size is used to represent the area occupied by the virtual component in the virtual scene.

[0179] Optionally, the component size is used to represent 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 represent the spatial volume occupied by the virtual component in the virtual scene.

[0180] Illustratively, the first component size and the second component size use the same measurement standard. For example, the first component size and the second component size both represent the volume of the area occupied by the virtual component in the virtual scene; or the first component size and the second component size both represent the area occupied by the virtual component in the virtual scene (the area of ​​the component itself or the floor space), etc.

[0181] In some embodiments, if the first component size is smaller than the second component size, the first trigger operation is to enlarge the virtual component; or if the first component size is larger than the second component size, the first trigger operation is to reduce the virtual component.

[0182] 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.

[0183] In some embodiments, the virtual component includes a first component reference point that serves as reference information during the virtual resizing process. Illustratively, the first component reference point is the component center of the virtual component; or the first reference point is a component vertex of the virtual component; or the first component reference point is any point on the virtual component.

[0184] 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 the first component size to the second component size, display a first accompanying animation of at least one adjustment component moving along with the first component reference point.

[0185] 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 from the first component size to the second component size is displayed on the interface.

[0186] 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.

[0187] Schematically, the size of the virtual component will change during the component size adjustment process, and the position of the predetermined first component reference point in the virtual scene will also change; therefore, in addition to displaying the size adjustment animation, at least one first accompanying animation of the adjustment component moving along with the first component reference point is displayed.

[0188] For example: with 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.

[0189] 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.

[0190] Schematically, in the process of changing the size of a first component to the size of a second component, the size adjustment ratio at different moments is determined in real time, and at least one adjustment control is adjusted separately according to the size adjustment ratio at the corresponding moment, thereby displaying the size change animation of at least one adjustment control accompanying the size adjustment of the virtual component.

[0191] 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 associated with the virtual component is restored.

[0192] Schematically, when a second trigger operation is received for a size adjustment control, at least one adjustment control is hidden on the interface until the component size of the virtual component is adjusted to the second component size at the end of the second 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 in the size adjustment process.

[0193] 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 have an accompanying association relationship with the virtual component are restored.

[0194] Schematically, the adjustment controls that are associated with the virtual component include multiple adjustment controls. When a second trigger operation is received for the size adjustment control among the multiple adjustment controls, the 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 at the end of the second trigger operation, and then the other adjustment controls are restored to display.

[0195] In some embodiments, as shown in FIG8 , a schematic diagram of an interface for performing a second trigger operation on a size adjustment control is shown. In interface 801, virtual component 810 and virtual component 820 are included, and virtual component 810 corresponds to a first component size. Based on the selection operation of virtual component 810, at least one adjustment control associated with virtual component 810 is displayed, including size adjustment control 830. Based on the second trigger operation on size adjustment control 830, a size adjustment process as shown in interface 802 is displayed, where 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 virtual component 810 is adjusted from the first component size to the second component size, the size adjustment completion process as shown in interface 803 is displayed.

[0196] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0197] In the above manner, when the size of the virtual component in the virtual scene changes, the display position of the adjustment control also changes synchronously, thereby achieving an accompanying display effect.

[0198] 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.

[0199] Schematically, the process of a player triggering the angle adjustment control and displaying the corresponding interface is implemented as follows: Steps 461 to 462.

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

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

[0202] 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 a world coordinate system, including horizontal, vertical, and vertical axes. The rotation angle can be implemented as the rotation of the virtual component relative to the horizontal, vertical, or vertical axis in the virtual scene, or relative to any two of the horizontal, vertical, and vertical axes in the virtual scene, or relative to the horizontal, vertical, and vertical axes in the virtual scene.

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

[0204] 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.

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

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

[0207] 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 moving along with the second component reference point.

[0208] Schematically, 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.

[0209] 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 perspective, 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 perspective, etc.).

[0210] 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 along with the movement of the second component reference point is displayed.

[0211] For example, with 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.

[0212] 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.

[0213] In some embodiments, as shown in Figure 9, a schematic diagram of an interface for performing a third trigger operation on an angle adjustment control is shown. In interface 901, a virtual component 910 and a virtual component 920 (wherein the virtual component 920 is obscured by the virtual component 910 in interface 901) are included, and the virtual component 910 corresponds to a first rotation angle; based on the selection operation of the virtual component 910, at least one adjustment control associated with the virtual component 910 is displayed, including an angle adjustment control 930; based on the third trigger operation on the 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 the virtual component 910 to the second rotation angle; after the 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.

[0214] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0215] In the above manner, when the display angle of the virtual component in the virtual scene changes, the display position of the adjustment control also changes synchronously, thereby achieving an accompanying display effect.

[0216] 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.

[0217] Illustratively, the process of a player triggering a function expansion control and displaying a corresponding interface is implemented as follows: steps 471 to 472 .

[0218] Step 471: Receive a fourth trigger operation on the function expansion control.

[0219] 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.

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

[0221] Schematically, 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 dressing control is used to adjust the component skin of the virtual component, such as: purchasing skin for the virtual component dressing; or, randomly changing the skin for 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.

[0222] Step 472: In response to the fourth trigger operation, display a function control list.

[0223] The function control list includes other function controls.

[0224] 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.

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

[0226] Illustratively, players can modify other function controls displayed in the function control list through control selection. For example, in the default configuration, the function control list includes function control 1 and function control 2. Players can modify the function controls displayed in the function control list through control selection, such as adding the player's frequently used function control 3 to the function control list; or changing function control 1 to the player's frequently used function control 3, etc.

[0227] Through the function expansion control, at least one other function control can be displayed, so that more function controls can be accommodated in a limited display area to better meet the user's usage needs.

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

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

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

[0231] 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 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 with the virtual component.

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

[0233] Schematically, in at least one adjustment control, the adjustment controls other than the function expansion control are default configurations or configured by the player himself; therefore, the 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.

[0234] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0235] By displaying at least one adjustment control that has an accompanying association relationship with the virtual component based on historical adjustment data, the adjustment controls that the user has used more times in the historical period can be displayed first, while meeting the personalized display needs of the adjustment controls and better meeting the user's usage needs.

[0236] 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 larger 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.

[0237] 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 comprehensively manage the display of the at least one adjustment control. Schematically, as shown in FIG10 , the embodiment shown in FIG3 above can also be implemented as follows: Steps 1010 to 1030.

[0238] Step 1010: Display the virtual component.

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

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

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

[0242] 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, and a voice trigger operation.

[0243] Step 1030 : In response to the selection operation, based on the component position of the virtual component in the virtual scene, a component adjustment area having an accompanying association relationship with the virtual component is displayed.

[0244] The component adjustment area includes at least one adjustment control.

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

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

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

[0248] Schematically, there is a region movement control in the component adjustment area, which is used to move the component adjustment area independently. That is, by triggering the region movement control, the component adjustment area can be moved independently without moving the virtual component.

[0249] Among them, the area movement animation is used to represent the animation of the component adjustment area moving in the virtual scene.

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

[0251] 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.

[0252] Optionally, in response to the control triggering operation indicating that the component adjustment region 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 region, wherein the prompt message is used to prompt the component movement region to be moved within the preset movement range.

[0253] 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.

[0254] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

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

[0256] Optionally, adjustment control 1121 is a movement control used to move virtual component 1110 from its current first position to a second position. As shown in interface 1101, a first trigger operation is performed on adjustment control 1121 to move adjustment control 1121 to the second position, and interface 1102 is displayed. Based on the accompanying association relationship between the multiple adjustment controls and virtual component 1121, the multiple adjustment controls move synchronously with virtual component 1121.

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

[0258] Optionally, adjustment control 1221 is a resize control used to adjust virtual component 1210 from its current first component size to a second component size. As shown in interface 1201, a second trigger operation is performed on adjustment control 1221 to adjust adjustment control 1221 to the second component size, and interface 1202 is displayed. Optionally, based on the accompanying association relationship between multiple adjustment controls and virtual component 1221, the multiple adjustment controls synchronize with virtual component 1221 during the resize process.

[0259] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0260] In an embodiment of the present application, a component adjustment area that is associated 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 used to facilitate more coordinated management of at least one adjustment control, and the component adjustment area can also be triggered separately to increase flexibility in the process of component adjustment through the component adjustment area without affecting the player's operation of the virtual component, thereby improving the efficiency of human-computer interaction.

[0261] 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. The component coordinate system is used to perform more targeted analysis of the position, placement angle, and other conditions of the virtual component. As shown schematically in FIG13 , the embodiment shown in FIG3 further includes the following steps 1310 to 1330.

[0262] Step 1310: Display the component coordinate system.

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

[0264] 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 an arbitrary line is selected as the horizontal axis of the component coordinate system. The vertical and vertical axes of the component coordinate system are then determined to establish the component coordinate system.

[0265] 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.

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

[0267] Illustratively, the first coordinate axis is any one of the at least two coordinate axes, such as the first coordinate axis being implemented as the horizontal axis X, or the first coordinate axis being implemented as the vertical axis Y, or the first coordinate axis being implemented as the vertical axis Z.

[0268] As shown in FIG6 , 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.

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

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

[0271] Optionally, based on the coordinate axis triggering operation, the component coordinate system and at least one adjustment control are hidden.

[0272] Schematically, as shown in FIG6 , 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 an interface as shown in FIG14 is displayed, in which a virtual component 1410 is displayed, and at least one adjustment control and component coordinate system are hidden.

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

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

[0275] Step 1330 : Displaying a component movement animation of the virtual component moving along the first coordinate axis based on the coordinate axis triggering operation.

[0276] Schematically, for the interface shown in Figure 14, in which a virtual component 1410 is displayed, 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 the component movement animation of the virtual component moving along the first coordinate axis.

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

[0278] 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.

[0279] Schematically, as shown in FIG15 , after the virtual component 1510 is moved horizontally in the coordinate axis direction to a specified position, at least one adjustment control and the component coordinate system are restored to display.

[0280] In some embodiments, as shown in FIG15 , a plurality of functional controls are also displayed on the interface, such as a multi-select control, a copy control, a control control, a tool control, a combination control, a delete control, a binding control, and the like.

[0281] Optionally, the above-mentioned functional control may also be customized to serve as at least one adjustment control associated with the virtual component.

[0282] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0283] In the embodiment of the present application, in addition to displaying the adjustment controls, the 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 beneficial to use the component coordinate system to view detailed information such as the current rotation status of the virtual component, thereby improving the player's control over the virtual component.

[0284] The coordinate axis control is an operating 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".

[0285] 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 need to frequently switch between the adjustment components and the operating table below.

[0286] 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.

[0287] 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, it is not conducive to the player's concentration and more convenient operation.

[0288] Schematically, as shown in FIG16 , which is a schematic diagram of the interface of the related technology, a variety of 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.

[0289] In an optional embodiment, the aforementioned virtual component configuration method is referred to as "a method for operating a floating coordinate axis control within a mobile editor." Specifically, compared to a fixed configuration method, this embodiment presents the coordinate axis control in a floating manner. The floating designation indicates that the control changes position based on the position of the selected virtual component in the game scene.

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

[0291] Taking the triggering of the mobile control in the adjustment control as an example, as shown in Figure 17, 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 triggering operation of the mobile control 1720), the component coordinate system and the adjustment control both change positions synchronously, such as when 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 component origin of the adjustment control and the virtual component remain unchanged.

[0292] 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.

[0293] As shown in Figure 5, it includes a virtual component 510 when it is not selected. Clicking on the virtual component 510 will display the interface shown in Figure 6, in which a floating ring (component adjustment area) and a component coordinate system are generated with it as the center. The four adjustment controls distributed in an arc on the ring are the move control, the zoom control (size adjustment control), the rotation control (angle adjustment control), and other setting controls. Afterwards, clicking on any coordinate axis (the first coordinate axis) in the component coordinate system will slide and transform the virtual component, displaying the interface shown in Figure 14, in which the component coordinate axis and the floating ring (component adjustment area) are hidden. At this time, the player's finger is dragging on the screen. When the hand is released, the floating ring and the component coordinate system are regenerated with the new object origin as the center, as shown in Figure 15.

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

[0295] Schematically, as shown in Figure 18, 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 (such as 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, the component adjustment area is one of the display layers, located above the HUD layer, and other display contents are other display layers, which are located below the HUD layer, that is, the level is the bottom layer of other UIs in the HUD layer.

[0296] 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.

[0297] 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.

[0298] In an optional embodiment, as shown in FIG19 , the technical implementation flow chart is described as follows.

[0299] Step 1910: Click to select the virtual component.

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

[0301] Step 1920 : Generate a component coordinate system and adjust controls in the HUD with the projection of the virtual component's origin on the HUD layer as the center.

[0302] Schematically, 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 visible 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.

[0303] Optionally, when a player's input changes the relative position of the virtual component to the game camera, the component's coordinate system will change accordingly, achieving a visual transformation effect similar to "floating" on the screen. Specifically, steps 1931 to 1933, or steps 1941 to 1942, are performed based on the player's different screen operations.

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

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

[0306] 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.

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

[0308] 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.

[0309] Step 1933, let go.

[0310] 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.

[0311] That is, in steps 1931 to 1933 above, while the camera position displaying the virtual scene remains unchanged, if the player changes the position or size of a virtual component in the game editor, the relative position of the virtual component to the camera is affected and changed. The corresponding player operation in this case is dragging the touchscreen. When the player triggers this operation, the component coordinate system and adjustment controls are switched to a hidden state. When the operation is completed (i.e., after the player releases the control), the component coordinate system and adjustment controls are switched back to a visible state, with the new position of the virtual component's component origin as the anchor point.

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

[0313] Schematically, 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 since the virtual component is located in the virtual scene, the position of the virtual component relative to the interface changes.

[0314] Step 1942: The component origin projection position changes in real time.

[0315] 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 to form a smoother scene change process.

[0316] That is, during steps 1941 and 1942 above, the virtual component's position remains unchanged. The player changes the camera's perspective by dragging the screen, thereby changing the relative position of the anchor point (e.g., the virtual component's origin) and the camera. When a player triggers this action, the component coordinate system does not switch to a hidden state. Instead, the anchor point position is detected in real time, and the component coordinate system and the position of the control are adjusted.

[0317] Step 1950 , generating a component coordinate system and adjusting controls according to the new position of the origin projected on the HUD.

[0318] Illustratively, after completing step 1933 or step 1942, 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 that position.

[0319] In the above process, since the component coordinate system and adjustment controls are not fixed in place, additional adjustment controls can be added to more efficiently implement different editing functions. For example, dragging a move control can respond to plane movement, dragging a size adjustment control can respond to overall scaling, and dragging an angle adjustment control can respond to plane rotation.

[0320] It should be noted that the above are merely illustrative examples and are not limited to the embodiments of the present application.

[0321] In an embodiment of the present application, the above method can be applied to the interface editor of a game or application, reducing the operation path of the user in the process of editing the component coordinate system and adjustment controls, which is conducive to finding the corresponding adjustment controls around the component position more quickly, and performing the alternating behavior of editing virtual components and operating adjustment controls 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 controls on the player's creative process, expands the editing capabilities and improves its creative efficiency, thereby more efficiently improving the editing capabilities through the dragging function of the virtual controls and improving the user's editing efficiency.

[0322] FIG20 is a structural block diagram of a virtual component configuration device provided by an exemplary embodiment of the present application. As shown in FIG20 , the device includes the following parts:

[0323] Display module 2010, for displaying virtual components, wherein the virtual components are component elements located in a virtual scene;

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

[0325] 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 in which the at least one adjustment control changes with the change of the component position, and the adjustment control is used to adjust the display status of the virtual component in the virtual scene.

[0326] 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.

[0327] 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 pattern 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.

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

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

[0330] In an optional embodiment, the display module 2010 is further configured to display the virtual component after the position of the component is adjusted, and an animation of the at least one adjustment control changing with the change of the component position in response to an adjustment operation on the component position.

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

[0332] 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, the movement following animation of the at least one adjustment control following the movement of the virtual component is displayed.

[0333] In an optional embodiment, the display module 2010 is further configured 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.

[0334] 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.

[0335] 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 the first component size to the second component size, and the virtual component includes 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.

[0336] 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.

[0337] 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 the first rotation angle to the 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.

[0338] 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.

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

[0340] In an optional embodiment, the display module 2010 is further configured 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.

[0341] 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.

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

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

[0344] 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.

[0345] 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.

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

[0347] In an optional embodiment, the display module 2010 is also used to respond to the control trigger operation instruction to move the component adjustment area outside the preset movement 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 the component movement area to be moved within the preset movement range.

[0348] 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.

[0349] 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 with 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.

[0350] It should be noted that the virtual component configuration apparatus provided in the above embodiment is merely exemplified by the division of the aforementioned functional modules. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, i.e., the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the virtual component configuration apparatus provided in the above embodiment and the virtual component configuration method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0351] FIG21 shows a block diagram of an electronic device 2100 according to an exemplary embodiment of the present application. The electronic device 2100 may be a portable mobile terminal, such as a smartphone, an in-vehicle 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 referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other similar names.

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

[0353] 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), or PLA (Programmable Logic Array). The processor 2101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content 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.

[0354] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2102 is used to store a computer program, which is executed by the processor 2101 to implement the configuration method of the virtual component provided in the method embodiment of the present application.

[0355] 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.

[0356] A proximity sensor, also known as a distance sensor, is typically provided on the front panel of the electronic device 2100. The proximity sensor is used to detect the distance between the user and the front of the electronic device 2100.

[0357] The gyroscope sensor can detect the orientation and rotation angle of the electronic device 2100. It can also work with the accelerometer to collect 3D motions of the user on the electronic device 2100. Based on the data collected by the gyroscope sensor, the processor 2101 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0358] 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 grip signal of the electronic device 2100, and the processor 2101 performs left and right hand recognition or quick operation based on the grip 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 based on 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.

[0359] In some embodiments, the electronic device 2100 also includes other components. Those skilled in the art will understand that the structure shown in Figure 21 does not constitute a limitation on the electronic device 2100, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0360] An embodiment of the present application further provides a computer device, which can be implemented as a terminal or server as shown in Figure 2. The computer device includes a processor and a memory, wherein the memory stores a computer program, which is loaded and executed by the processor to implement the virtual component configuration method provided in the above-mentioned method embodiments.

[0361] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. The computer program is loaded and executed by a processor to implement the virtual component configuration method provided by the above-mentioned method embodiments.

[0362] Embodiments of the present application also provide a computer program product, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual component configuration method described in any of the above embodiments.

[0363] Optionally, the computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0364] Those 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 a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0365] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for configuring a virtual component, the method being executed by a terminal device, the method comprising: 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 in which the at least one adjustment control changes with 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, wherein: 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, wherein: 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, wherein: 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 4, characterized in that: After displaying at least one adjustment control associated with the virtual component, the method further includes: In response to an adjustment operation on the position of the component, the virtual component after the position of the component is adjusted is displayed, and an animation of the at least one adjustment control changing along with the change of the position of the component is displayed.

6. The method according to claim 5, wherein: The at least one adjustment control includes a moving control, and the moving control is used to adjust the component 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.

7. The method according to claim 5 or 6, wherein: 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 move the virtual component from the first A component size is adjusted 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.

8. The method according to any one of claims 5 to 7, wherein: 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.

9. The method according to any one of claims 1 to 8, wherein: 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.

10. The method according to any one of claims 1 to 9, wherein: 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.

11. The method according to any one of claims 1 to 10, wherein: 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.

12. The method according to claim 11, wherein: 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.

13. The method according to claim 12, wherein: 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.

14. The method according to any one of claims 1 to 13, wherein: 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.

15. The method according to claim 14, wherein: The component adjustment area includes an area movement control, and the area movement control is used to move the component adjustment area separately; 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.

16. The method according to claim 15, wherein: 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 be moved within the preset moving range.

17. The method according to any one of claims 1 to 16, wherein: 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.

18. A virtual component configuration device, the device comprising: 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 in which the at least one adjustment control changes with 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.

19. A terminal device, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the virtual component configuration method according to any one of claims 1 to 17.

20. A computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the virtual component configuration method according to any one of claims 1 to 17.

21. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for configuring a virtual component according to any one of claims 1 to 17 is implemented.

Citation Information

Patent Citations

  • Movement control method and device in virtual scene, equipment and storage medium

    CN111013137A

  • Resource processing method and device, storage medium and electronic equipment

    CN113457141A

  • Method and device for processing messages in game and electronic terminal

    CN113730911A

  • Virtual object setting method and device, equipment, medium and program product

    CN113769397A

  • Interaction method and device in virtual scene, equipment and medium

    CN115837167A