Virtual component setting method, device, equipment, and program

By displaying adjustment controls with an associative relationship to virtual components, the method enhances human-machine interaction efficiency in game applications by allowing simultaneous observation and adjustment, addressing the inefficiencies of fixedly displayed controls.

JP2026500362APending Publication Date: 2026-01-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2025535385
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-04
Filing Date
2024-07-08
Publication Date
2026-01-06

AI Technical Summary

Technical Problem

In current game applications, players frequently need to switch their attention between virtual components and fixedly displayed adjustment controls, leading to reduced efficiency and difficulty in accurately adjusting virtual components, affecting human-machine interaction.

Method used

A method and apparatus that display adjustment controls having an associative relationship with virtual components, allowing players to efficiently confirm and trigger adjustments by positioning the controls based on the component's position in the virtual scene.

Benefits of technology

Improves human-machine interaction efficiency by allowing players to simultaneously observe and adjust virtual components more effectively, avoiding the inefficiencies of fixedly displayed controls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026500362000001_ABST
    Figure 2026500362000001_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, medium, and program product for setting a virtual component, which relates to the animation generation technology field. The method includes the steps of displaying a virtual component, receiving a selection operation for the virtual component, and displaying at least one adjustment control having an associative relationship with the virtual component based on the component position of the virtual component in a virtual scene in response to the selection operation. The associative relationship represents a relationship in which the at least one adjustment control changes as the component position changes. By displaying the virtual component and the at least one adjustment control more closely through the associative relationship, a player can more efficiently confirm and trigger the adjustment control when observing the virtual component. This avoids the problem of low adjustment efficiency due to the adjustment control being fixedly displayed in the virtual scene, and improves human-machine interaction efficiency. This application can be applied to various scenarios, such as cloud technology, artificial intelligence, and smart transportation.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese patent application bearing application number 202311138932.8 and entitled "Virtual component configuration method, device, equipment, medium, and program product," filed with the China Patent Office on September 4, 2023, the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The present application relates to the field of animation generation technology, and more particularly to a method, apparatus, device, medium, and program product for setting virtual components. [Background technology]

[0003] With the improvement of cultural and entertainment living standards, people's life experiences and requirements in virtual reality are also increasing. Games, as a form of virtual reality expression, have become a way for many people to relieve stress. In current game applications, players use virtual items to make gameplay more interesting.

[0004] In the related art, a virtual scene includes various virtual components, and a player may need to adjust the virtual components from time to time, such as adjusting the position, size, etc. A function control for realizing the corresponding adjustment function is usually displayed at a specific position on the interface, and the player can realize the corresponding adjustment function by performing a trigger operation on the function control.

[0005] In the above process, the functional controls are usually displayed at fixed positions within the interface. When the player uses the functional controls to adjust the virtual components, the player must frequently switch their attention between the virtual components and the locations of the functional controls. This not only reduces the efficiency of adjusting the virtual components, but also makes it difficult for the player to accurately adjust the virtual components, affecting the efficiency of human-machine interaction. Summary of the Invention [Means for solving the problem]

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

[0007] In one aspect, there is provided a method for configuring a virtual component, the method being executed by a terminal device, the method comprising: displaying a virtual component, the virtual component being a component element located in a virtual scene; receiving a selection operation for the virtual component; In response to the selection operation, displaying at least one adjustment control having an associative relationship with the virtual component based on a component position of the virtual component in the virtual scene, the associative relationship representing a relationship in which the at least one adjustment control changes as the component position changes, and the adjustment control is used to adjust a display state of the virtual component in the virtual scene.

[0008] In another aspect, there is provided an apparatus for configuring a virtual component, the apparatus comprising: a display module configured to display a virtual component, the virtual component being a component element located in a virtual scene; a receiving module configured to receive a selection operation on the virtual component; The display module is further configured to, in response to the selection operation, display at least one adjustment control having an associative relationship with the virtual component based on a component position of the virtual component in the virtual scene, the associative relationship representing a relationship in which the at least one adjustment control changes as the component position changes, and the adjustment control is used to adjust a display state of the virtual component in the virtual scene.

[0009] In another aspect, a computer device is provided, the computer device including a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to realize the above-described method for configuring a virtual component.

[0010] In another aspect, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the above-described method for configuring a virtual component.

[0011] In another aspect, a computer program product is provided, the computer program product including a computer program stored on a computer-readable storage medium, the computer program being read by a processor of a computing device from the computer-readable storage medium and executed by the processor to cause the computing device to perform the method for configuring a virtual component described above. [Effects of the Invention]

[0012] The beneficial effects brought about by the technical solutions provided in the embodiments of the present application at least include:

[0013] After receiving a selection operation for a virtual component, at least one adjustment control having a collateral relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene, where the collateral relationship represents a relationship in which the at least one adjustment control changes with changes in the component position. Therefore, the display position of the at least one adjustment control is more suited to the component position of the virtual component, which is advantageous for a player to simultaneously check the adjustment control while observing the virtual component. Furthermore, since the adjustment control is used to adjust the display state of the virtual component in the virtual scene, the at least one adjustment control that is more suited to the virtual component can more efficiently adjust the virtual component, avoiding the problem of low adjustment efficiency caused by the adjustment control being fixedly displayed in the virtual scene. The display effect of the collateral relationship improves human-machine interaction efficiency. [Brief explanation of the drawings]

[0014] [Figure 1] 1 is a structural block diagram of an electronic device provided in one exemplary embodiment of the present application. [Figure 2] 1 is a structural block diagram of a computer system provided in one exemplary embodiment of the present application. [Figure 3] 1 is a flowchart of a method for configuring a virtual component provided in one exemplary embodiment of the present application; [Figure 4] 10 is a flowchart of a virtual component setting method provided in another exemplary embodiment of the present application; [Figure 5] 1 is a schematic diagram of a virtual scene interface provided in one exemplary embodiment of the present application; [Figure 6] 1 is a schematic diagram of an interface displaying at least one adjustment control having an associative association relationship with a virtual component, provided in one exemplary embodiment of the present application; [Figure 7] 1 is a schematic diagram of an interface for moving a virtual component by a movement control provided in one exemplary embodiment of the present application; [Figure 8] 1 is a schematic diagram of an interface for adjusting component size of a virtual component through a size adjustment control, provided in one exemplary embodiment of the present application; [Figure 9] 1 is a schematic diagram of an interface for adjusting the rotation angle of a virtual component through an angle adjustment control, provided in one exemplary embodiment of the present application. [Figure 10] 10 is a flowchart of a virtual component setting method provided in yet another exemplary embodiment of the present application. [Figure 11] 1 is a schematic diagram of an interface for moving a virtual component and moving a component adjustment area provided in one exemplary embodiment of the present application; [Figure 12] FIG. 10 is a schematic diagram of an interface for adjusting a component size of a virtual component and adjusting an area size of a component adjustment area, provided in yet another exemplary embodiment of the present application; [Figure 13] 10 is a flowchart of a virtual component setting method provided in yet another exemplary embodiment of the present application. [Figure 14] 1 is a schematic diagram of a virtual scene interface provided in one exemplary embodiment of the present application; [Figure 15] 1 is a schematic diagram of an interface for displaying a component coordinate system provided in one exemplary embodiment of the present application; [Figure 16] 1 is a schematic diagram of a related art interface provided in one exemplary embodiment of the present application; [Figure 17]FIG. 10 is a schematic diagram of an interface for moving a virtual component to a second position, provided in one exemplary embodiment of the present application; [Figure 18] FIG. 1 is a schematic diagram of a layer displaying a virtual component after movement, provided in one exemplary embodiment of the present application; [Figure 19] 10 is a flowchart of a virtual component setting method provided in another exemplary embodiment of the present application. [Figure 20] FIG. 2 is a structural block diagram of a virtual component setting device provided in one exemplary embodiment of the present application; [Figure 21] FIG. 2 is a structural block diagram of a terminal provided in one exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0015] In order to more clearly describe the objectives, technical solutions and advantages of the present application, the following describes the embodiments of the present application in more detail with reference to the drawings.

[0016] First, a brief introduction will be given to terms used in the examples of this application.

[0017] Virtual scene: refers to a virtual scene displayed (or provided) when an application is executed on a terminal. The virtual scene may be a simulated environment of a real scene, a semi-simulated semi-fictional scene, or a completely fictional scene. The virtual scene may be a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene, and this application is not limited thereto. In the following embodiments, a case where the virtual scene is a 3D virtual scene will be described as an example.

[0018] Virtual model: Refers to a model used to imitate a real scene in a virtual scene. Illustratively, a virtual model occupies a certain volume in a virtual scene. Illustratively, virtual models include terrain models, architectural models, flora and fauna models, virtual item models, virtual vehicle models, and virtual object models. For example, terrain models include ground, mountains and rivers, water currents, stones, stairs, etc. Architectural models include houses, enclosures, containers, and fixed equipment inside buildings (tables, chairs, cabinets, beds, etc.). Flora and fauna models include trees, flowers, plants, flying birds, etc. Virtual item models include virtual attack items, first aid kits, airdrops, etc. Virtual vehicle models include cars, ships, helicopters, etc. Virtual object models include people, animals, anime characters, etc.

[0019] Virtual character / virtual object: refers to an actionable object in a virtual scene. The actionable object may be a virtual person, a virtual animal, an animated character, etc., such as a person, an animal, a plant, a drum, a wall, a stone, etc. displayed in the virtual scene. Optionally, the virtual character is a 3D solid model created based on animation skeleton technology. Each virtual object has its own shape and volume in the 3D virtual scene and occupies a certain space in the 3D virtual scene.

[0020] In the related art, a virtual scene includes various virtual components, and a player may occasionally need to adjust the virtual components, such as adjusting the position, size, etc. A function control for realizing the corresponding adjustment function is usually displayed at a specific position in an interface, and the player can achieve the corresponding adjustment function by performing a trigger operation on the function control. In the above process, the function control is usually displayed at a fixed position in the interface, and in the adjustment process in which the player uses the function control to adjust the virtual component, the player needs to frequently switch his or her attention between the virtual component and the location of the function control, which not only reduces the efficiency of adjusting the virtual component but also makes it difficult for the player to accurately adjust the virtual component, affecting the efficiency of human-machine interaction.

[0021] In the embodiments of the present application, a method for configuring a virtual component is provided, which displays the virtual component and at least one adjustment control in a more compatible manner based on an associated relationship, allowing a player to more efficiently confirm and trigger the adjustment control when observing the virtual component. This avoids the problem of low adjustment efficiency due to the adjustment control being fixedly displayed in the virtual scene, and improves human-machine interaction efficiency. The virtual component configuration method of the present application can be applied to at least one of a plurality of virtual scenes, such as a virtual shooting scene and a virtual battle scene. It should be noted that the above application scenes are merely examples, and the virtual component configuration method provided in the embodiments of the present application can also be applied to other scenes, and the embodiments of the present application are not limited thereto.

[0022] It should be noted that before collecting user-related data and during the process of collecting user-related data, the present application may display a presentation interface, a pop-up window, or output audio presentation information, which is used to notify the user that user-related data is currently being collected, and the present application only starts the relevant step of acquiring user-related data when the user issues a confirmation operation on the presentation interface or pop-up window; otherwise (i.e., the user does not issue a confirmation operation on the presentation interface or pop-up window), the relevant step of acquiring user-related data is terminated, i.e., the user-related data is not acquired. In other words, all user data collected in the present application is collected with the user's consent and authorization, and the collection, use, and processing of related data comply with the relevant laws, regulations, and standards of the relevant regions.

[0023] The terminal in this application may 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) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, etc. An application supporting a virtual environment, for example, an application supporting a 3D virtual environment, is installed and executed on the terminal. The application may be any of a virtual reality application, a 3D map program, a third-person shooting game (TPS), a first-person shooting game (FPS), and a multiplayer online battle arena game (MOBA). Optionally, the application may be a standalone version, for example, a standalone 3D game program, or a network online application.

[0024] 1 is a structural block diagram of an electronic device 100 provided in one exemplary embodiment of the present application. The electronic device 100 includes an operating system 120 and an application 122.

[0025] The operating system 120 is the underlying software that provides applications 122 with secure access to the computer hardware.

[0026] The application 122 is an application that supports a virtual environment. Optionally, the application 122 is an application that supports a three-dimensional virtual environment. The application 122 may be a virtual reality application, a 3D map program, a TPS game, an FPS game, an MOBA game, or a multiplayer shooting survival game. The application 122 may be a standalone application, for example, a standalone 3D game program, or a network online application.

[0027] 2 is a structural block diagram of a computer system 200 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.

[0028] An application supporting a virtual environment is installed and running on the first device 220. The application may be a virtual reality application, a 3D map program, a TPS game, an FPS game, a MOBA game, or a multiplayer shooting survival game. The first device 220 is used by a first user. The first user uses the first device 220 to control a first virtual object located in the virtual environment and perform an activity, including, but not limited to, at least one of adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Exemplarily, the first virtual object is a first virtual person, such as a simulated human character or an animated human character.

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

[0030] The server 240 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 240 is used to provide backend services to applications that support the three-dimensional virtual environment. Optionally, the server 240 performs main computational tasks, and the first device 220 and the second device 260 perform auxiliary computational tasks. Alternatively, the server 240 performs auxiliary computational tasks, and the first device 220 and the second device 260 perform main computational tasks. Alternatively, the server 240, the first device 220, and the second device 260 perform cooperative computations using a distributed computing architecture.

[0031] An application supporting the virtual environment is installed and running on the second device 260. The application may be a virtual reality application, a 3D map program, an FPS game, a MOBA game, or a multiplayer shooting survival game. The second device 260 is used by a second user, and the second user uses the second device 260 to control a second virtual object located in the virtual environment and perform an activity, including, but not limited to, at least one of adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, the second virtual object is a second virtual person, such as a simulated human character or an animated human character.

[0032] Optionally, the first virtual person and the second virtual person exist in the same virtual environment. Optionally, the first virtual person and the second virtual person may belong to the same team, organization, or may have a peer relationship or temporary communication rights. Optionally, the first virtual person and the second virtual person may belong to different teams, different organizations, or may belong to two opposing groups.

[0033] Optionally, the applications installed on the first device 220 and the second device 260 are the same, or the applications installed on these two devices are the same type of applications on different operating system platforms. The first device 220 may broadly refer to one of multiple devices, and the second device 260 may broadly refer to one of multiple devices. This embodiment simply uses the first device 220 and the second device 260 as an example. The device types of the first device 220 and the second device 260 may be the same or different, and the device types may include at least one of a game console, a desktop computer, a smartphone, a tablet, an e-book reader, an MP3 player, an MP4 player, and a laptop computer. In the following embodiment, a case where the device is a desktop computer is described as an example.

[0034] Those skilled in the art will appreciate that the number of devices may be greater or less. For example, there may be only one device, or there may be dozens, hundreds, or even more devices. The embodiments of the present application are not limited by the number and types of devices.

[0035] The server 240 may be implemented as a physical server or as a cloud server on a cloud. Here, cloud technology refers to hosting technology that integrates a series of resources, such as hardware, software, and networks, within a wide area network or a local area network to realize computing, storage, processing, and sharing of data. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc., based on the application of a cloud computing business model, and forms a resource pool that can be used on demand, providing flexibility and convenience.

[0036] In some embodiments, the methods provided in the embodiments of the present application can be applied to a cloud gaming scenario, whereby a cloud server is used to perform the calculation of data logic in the game process, and the terminal is responsible for displaying the game interface.

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

[0038] In combination with the above brief introduction of terms and application scenarios, the method for configuring a virtual component provided in this application will be described, taking the case where the method is applied to a terminal device as an example. That is, each step of the method is performed by the terminal device. As shown in Figure 3, the method may include the following steps 310 to 330.

[0039] In step 310, the virtual component is displayed.

[0040] A virtual component is a component element located within a virtual scene. Optionally, a virtual component is realized as a variety of objects present in the virtual scene, such as a virtual item, a virtual building, a virtual vehicle, a virtual pet, etc.

[0041] For example, the virtual scene may be a scene corresponding to a role-playing game, and the virtual components may be realized as virtual clothing, virtual equipment, virtual parts, etc. in the role-playing game. Alternatively, the virtual scene may be a scene corresponding to a sandbox game, and the virtual components may be realized as virtual buildings, virtual roads, virtual jungles, etc. in the sandbox game. Alternatively, the virtual scene may be a scene corresponding to a combat game, and the virtual components may be realized as virtual combat items, virtual first aid kits, virtual magazines, virtual bows and arrows, etc. in the combat game.

[0042] In some embodiments, a virtual component is a component that is displayed simultaneously with displaying a virtual scene. Illustratively, when a player enters a game, a virtual scene is displayed, and the virtual scene includes multiple virtual components.

[0043] In some embodiments, virtual components are generated based on task completion status. For example, when a player enters a game, a virtual scene is displayed, and various game tasks are arranged in the virtual scene. The player participates in the game and completes each game task. Furthermore, virtual components can be generated in the virtual scene based on the task completion status of the game tasks. For example, if game task A and game task B are arranged in the virtual scene, completing game task A, which has a high task level, generates a relatively rare virtual component 1. Completing game task B, which has a low task level, generates a less rare virtual component 2, and so on.

[0044] In some embodiments, the virtual component is a component that is displayed based on a component trigger operation. The component trigger operation is an operation performed by a user to trigger the display of the virtual component. Exemplarily, when a player enters a game, a virtual scene is displayed, and a virtual store contains various component parts. For example, the various component parts are displayed in a predetermined display area of ​​the game interface. A component trigger operation performed by the player on a component part is a component trigger operation. A virtual component made up of the component parts is generated by the player's trigger operations, such as arranging, combining, copying, and stacking the component parts.

[0045] In one selectable embodiment, the virtual component has shape information, and the shape information represents a component shape of the virtual component. For example, when the virtual scene is a three-dimensional scene, the virtual component can be realized as various three-dimensional solid shapes such as a cube, a cylinder, a semi-cylinder, a cone, a sector, a sphere, a slide, a staircase, or a switch, and can also be realized as various two-dimensional planar shapes such as a rectangle, a square, a trapezoid, a triangle, a parallelogram, or a circle. When the virtual scene is a two-dimensional scene, the virtual component can be realized as various two-dimensional planar shapes such as a rectangle, a square, a trapezoid, a triangle, a parallelogram, or a circle.

[0046] Optionally, the component shape of a virtual component can be realized not only as a predetermined shape, but also as various shapes formed by combining predetermined shapes, i.e., the shape information corresponding to a virtual component can represent various regular and irregular shapes of the virtual component.

[0047] Illustratively, the predetermined shapes include various shapes such as a cube shape, a cylinder shape, a semi-cylinder shape, a cone shape, a fan shape, a sphere shape, a slide shape, etc., and the predetermined shapes are considered to be shapes corresponding to component parts, and at least two of the predetermined shapes can be combined to obtain a virtual component based on the component parts.

[0048] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0049] In step 320, a selection operation for a virtual component is received.

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

[0051] The selection operation is for selecting some virtual component, and optionally, the selection operation is realized as at least one of a plurality of operation methods, such as a click operation, a long press operation, or a voice trigger operation.

[0052] For example, when a player performs a selection operation on an arbitrary virtual component, the selection operation may be performed by the player performing a single click on the virtual component in the virtual scene, or by the player performing a long press on the virtual component in the virtual scene.

[0053] In step 330, in response to the selection operation, at least one adjustment control having an associative relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene.

[0054] Here, the component position represents the position information of the virtual component in the virtual scene.

[0055] Optionally, the component position is a position determined based on a component center of the virtual component. Illustratively, the component center is a component center of gravity of the virtual component. Alternatively, the component center is an intersection point of diagonals of the component geometry of the virtual component. Alternatively, the component center is a center point of a component bottom of the virtual component, and the component bottom is a contact surface when the virtual component is placed on a virtual ground surface in the virtual scene.

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

[0057] For example, the term "virtual component" has a meaning in the fields of computer graphics and computational geometry, and the component bounding box represents a closed space surrounding the virtual component. By approximately replacing the geometric shape of a complex virtual component with the bounding box shape, the virtual component can be analyzed more quickly. The spatial position occupied by the component bounding box in the virtual scene is defined as the component position corresponding to the virtual component. Alternatively, the contact area between the component bounding box and the virtual ground in the virtual scene is defined as the component position corresponding to the virtual component.

[0058] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0059] In one alternative embodiment, at least one adjustment control is displayed within a predetermined area corresponding to the component position, the adjustment control being centered on the virtual component and distributed according to a predetermined control distribution rule, where there is an associative relationship between the at least one adjustment control and the virtual component.

[0060] For example, an area size and an area shape are predetermined to define an area range for displaying at least one adjustment control, and after determining a component position corresponding to a virtual component, the component position and the predetermined area range are combined to display the predetermined area range corresponding to the virtual component.

[0061] For example, if the predetermined area range is a circular area with a radius a, the component position corresponding to the virtual component is determined, and then the predetermined area range corresponding to the virtual component is determined by combining the component position with the circular area with a radius a. Alternatively, if the predetermined area range is a rectangular area with a diagonal b, the component position corresponding to the virtual component is determined, and then the component position with the rectangular area with a diagonal b is determined.

[0062] For example, the predetermined control distribution rule is a preset distribution rule used to restrict the display status of at least one adjustment control. For example, a Cartesian coordinate system is constructed with the virtual component as the center, and the predetermined control distribution rule is to display adjustment control 1 at the position of coordinates (1, 1), and adjustment control 2 at the position of coordinates (1, 2).

[0063] In some embodiments, the associated relationship represents a relationship in which at least one adjustment control changes with a change in component position.

[0064] Illustratively, the associated relationship is realized as at least one of the following situations: (1) at least one adjustment control changes position along with the virtual component; (2) at least one adjustment control changes angle along with the virtual component; (3) at least one adjustment control changes size along with the virtual component; or (4) at least one adjustment control changes appearance (e.g., color change, shape change, etc.) along with the component center of the virtual component.

[0065] In some embodiments, the adjustment controls are used to adjust the visibility of virtual components in a virtual scene.

[0066] Optionally, the display state represents an effect that the virtual component is displayed in the virtual scene. Illustratively, 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.

[0067] In some embodiments, different adjustment controls correspond to different adjustment functions, and triggering an adjustment control implements the adjustment process of the virtual component with the adjustment function corresponding to that adjustment control.

[0068] Illustratively, adjustment control 1 corresponds to a position adjustment function and is used to adjust the position of the virtual component in the virtual scene, and adjustment control 2 corresponds to a size adjustment function and is used to adjust the size of the virtual component in the virtual scene.

[0069] In one alternative embodiment, based on the component type of the virtual component, an adjustment control corresponding to the component type through an associative relationship is displayed as the at least one adjustment control.

[0070] Optionally, the component type of a virtual component is one kind of attribute information of the virtual component, and is information predetermined based on the type of the virtual component.

[0071] For example, component types are pre-classified into environment types and item types, and virtual buildings and virtual roads are classified into environment types, i.e., the component types of virtual buildings, virtual roads, and virtual jungles are environment types, and virtual clothing and virtual equipment are classified into item types, i.e., the component types of virtual clothing and virtual equipment are item types.

[0072] In some embodiments, adjustment controls corresponding to different component types are preset, and when displaying at least one adjustment control having an associative relationship with a virtual component, an adjustment control corresponding to the component type is displayed as the at least one adjustment control corresponding to the virtual component based on the component type of the selected virtual component.

[0073] For example, the adjustment controls corresponding to a component type M (e.g., an environment type) are preset to include adjustment control 1 and adjustment control 2, and the adjustment controls corresponding to a component type N (e.g., an item component) are preset to include adjustment control 1, adjustment control 3, and adjustment control 4. After a player performs a selection operation on virtual equipment n belonging to component type N, at least one adjustment control from adjustment control 1, adjustment control 3, and adjustment control 4 corresponding to component type N is displayed as at least one adjustment control corresponding to the virtual equipment n, and the above-mentioned associative relationship exists between the at least one adjustment control and the virtual component.

[0074] It should be noted that the above component types are merely examples, and the component types may include various types such as building types, vehicle types, clothing types, daily necessities types, and furniture types, and the adjustment controls corresponding to different component types may be default setting information or custom setting information, and the embodiments of the present application are not limited thereto.

[0075] According to the above method, by displaying adjustment controls suitable for the component type of a virtual component based on the component type of the virtual component, the displayed adjustment controls can better meet the user's needs for adjusting the virtual component, and improve the efficiency of human-machine interaction.

[0076] In some embodiments, the attribute information of a virtual component further includes, in addition to the component type described above, various other information that represents the status of the virtual component.

[0077] Illustratively, the attribute information further includes at least one of a plurality of types of information such as shape information, size information, orientation information, appearance information, mass information, movement information, and annotation information of the virtual component.

[0078] The shape information represents the component shape of the virtual component, such as a cube, a cylinder, a semi-cylinder, or a cone.

[0079] The size information is used to represent the size (or magnitude) of the virtual component, and is realized, for example, as a component volume, a component perimeter, a component cross-sectional area, etc. of the virtual component.

[0080] The orientation information represents the orientation of the virtual component in the virtual scene. For example, a certain face of the virtual component is preset as the front face of the component, and the orientation information represents the direction in which the front face of the virtual component faces (e.g., northeast, southeast, etc.). Optionally, the orientation information may be determined by a direction indication mark (including an angle, a direction indication, a location indication sign, etc.) displayed in the virtual scene, and is not particularly limited here.

[0081] The appearance information represents the appearance of a virtual component in a virtual scene, for example, the appearance information is realized as a component color, a component skin, a component grayscale, etc. of the virtual component.

[0082] The mass information represents the component mass of the virtual component. For example, different virtual components each correspond to a predetermined weight. Alternatively, the component mass of the virtual component is determined based on the sum of the masses of the component parts that make up the virtual component.

[0083] The motion information represents information about the virtual component's motion within the virtual scene. For example, the motion information includes motion conditions, average motion speed, motion acceleration, and available motion time.

[0084] The annotation information represents an annotation status for a virtual component in a virtual scene. For example, the annotation information is added around the virtual component to indicate the display time, acquisition condition, or other relevant information of the virtual component (e.g., any one or more of the attribute information described above). Optionally, the annotation information may be implemented as default information or manually added information.

[0085] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0086] In summary, after receiving a selection operation for a virtual component, at least one adjustment control having a collateral relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene, where the collateral relationship represents a relationship in which the at least one adjustment control changes with changes in the component position. Therefore, the position at which the at least one adjustment control is displayed is more suited to the component position of the virtual component, which is advantageous for players to simultaneously view the adjustment control while observing the virtual component. Furthermore, since the adjustment control is used to adjust the display state of the virtual component in the virtual scene, the at least one adjustment control that is more suited to the virtual component can be displayed to more efficiently adjust the virtual component, avoiding the problem of low adjustment efficiency caused by adjustment controls being fixedly displayed in the virtual scene. The display effect of the collateral relationship improves human-machine interaction efficiency.

[0087] In one alternative embodiment, at least one adjustment control having an associated relationship with a virtual component is used to realize different adjustment functions, so that the purpose of adjusting the display state of the virtual component in the virtual scene can be achieved by triggering the corresponding adjustment control. For example, as shown in Figure 4, the embodiment shown in Figure 3 above can also be realized by the following steps 410 to 472.

[0088] In step 410, the virtual component is displayed.

[0089] Here, a virtual component is a component element located within a virtual scene.

[0090] Illustratively, Figure 5 is a schematic diagram of a virtual scene interface, showing a virtual component 510. Additionally, the virtual scene also includes functional controls that implement different game functions.

[0091] 5 , the virtual component 510 is a component element configured by combining component parts of different shapes displayed in the shape selection area 520. For example, one cube 521 and one rectangular parallelepiped (not shown in the shape selection area 520) in the shape selection area 520 jointly configure the virtual component 510. Alternatively, multiple cubes 521 in the shape selection area 520 jointly configure the virtual component 510.

[0092] It should be noted that the above virtual scene being realized as a three-dimensional scene and the virtual components being realized as three-dimensional component elements is merely an example, and the virtual scene may be realized as a three-dimensional scene and the virtual components may be realized as two-dimensional component elements, or the virtual scene may be realized as a two-dimensional scene and the virtual components may be realized as two-dimensional component elements, and the embodiments of the present application are not limited thereto.

[0093] In step 420, a selection operation for a virtual component is received.

[0094] Optionally, the selection operation is realized as at least one of a plurality of operation methods, such as a click operation, a long press operation, a voice trigger operation, etc.

[0095] For example, as shown in FIG. 5, a selection operation may be a click operation performed by the player on the virtual component 510, or a long press operation performed by the player on the virtual component 510. For example, when the time for long pressing the virtual component 510 reaches a predetermined time of 2 seconds, the selection operation is deemed to have been triggered.

[0096] In step 430, in response to the selection operation, at least one adjustment control having an associative relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene.

[0097] Here, the associated relationship represents a relationship in which at least one adjustment control changes with a change in the component position, and the adjustment control is used to adjust the display state of the virtual component in the virtual scene.

[0098] In one alternative embodiment, at least one adjustment control having an associated association relationship with the virtual component is displayed within a predetermined area corresponding to the component position.

[0099] Optionally, the predetermined region range is determined by combining a predetermined region shape and a predetermined region size. Illustratively, the region shape includes at least one of a variety of shapes, such as a circular region, a rectangular region, a triangular region, and an irregular region. The region size is set based on the region shape. For example, if the region shape is realized as a circular region, the region size is determined by setting a radius corresponding to the circular region. Alternatively, if the region shape is realized as a rectangular region, the region size is determined by setting a length and width corresponding to the rectangular region.

[0100] By displaying at least one type of adjustment control having an associated relation with the virtual component within a predetermined range 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 the user to remember.

[0101] Illustratively, the predetermined area range and the component position of the virtual component are combined to determine the predetermined area range corresponding to the component position.

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

[0103] In some embodiments, the component center of the virtual component is set as the component position, and at least one adjustment control having an associated relationship with the virtual component is displayed within a predetermined area range.

[0104] For example, when the component position is set as the component center of the virtual component, the component center is set as the display center of the predetermined area range, and the predetermined area range corresponding to the component position is determined, and at least one adjustment control having an associated relationship with the virtual component is displayed within the predetermined area range corresponding to the component position.

[0105] By displaying at least one adjustment control centered on the virtual component and distributed according to a predetermined control distribution rule, the adjustment control is displayed around the center of the virtual component, so that the user's attention can be focused on an area including both the virtual component and the adjustment control, and there is no need to repeatedly switch attention between two different areas corresponding to the virtual component and the adjustment control, thereby facilitating the user's use of the adjustment control to operate the virtual component and improving human-machine interaction efficiency.

[0106] In one alternative embodiment, a predetermined area corresponding to the virtual component is displayed in the virtual scene.

[0107] For example, in response to the selection operation, a predetermined area range corresponding to the virtual component is displayed based on the component position of the virtual component in the virtual scene, and at least one adjustment control having an associated relationship with the virtual component is displayed within the predetermined area range, i.e., the predetermined area range is displayed on the interface in a materialized manner.

[0108] In some embodiments, an associative relationship exists between the predetermined area range and the virtual component, i.e., when the predetermined area range is materialized and displayed to display at least one adjustment control, the associative relationship also represents a relationship in which the predetermined area range changes as the component position changes.

[0109] In some embodiments, for example, when the predetermined area range is a circular area, the circular area corresponding to the virtual component is displayed when displaying the predetermined area range corresponding to the virtual component based on the component position of the virtual component in the virtual scene.

[0110] Optionally, a circular area having the virtual component as its center and a predetermined length as its radius is displayed as the predetermined area range corresponding to the virtual component.

[0111] For example, the component center of the virtual component is determined based on the component position of the virtual component in the virtual scene, and a circular area having the component center of the virtual component as its center and a predetermined length as its radius is displayed as a predetermined area range corresponding to the virtual component.

[0112] For example, a world coordinate system is constructed based on a certain point in the virtual scene, and the component position of the virtual component in the virtual scene is determined based on the coordinate status of the virtual component in the virtual scene. Furthermore, position coordinates corresponding to the component center of the virtual component are determined, and thereby a circular area is displayed with the position coordinates as the center and a predetermined length as the radius.

[0113] For example, if the virtual scene is a two-dimensional scene, the circular region is parallel to the world coordinate system, and if the virtual scene is a three-dimensional scene, the circular region is parallel to a plane corresponding to the display interface.

[0114] Optionally, when the virtual scene is a three-dimensional scene, a spherical region having the virtual component as its center and a predetermined length as its radius is displayed as a spherical region corresponding to the virtual component.

[0115] For example, the component center of the virtual component is determined based on the component position of the virtual component in the virtual scene, and a spherical region having the component center of the virtual component as the center of a sphere and a predetermined length as the radius is displayed as the predetermined region range corresponding to the virtual component.

[0116] In some embodiments, at least one adjustment control having an associated association relationship with the virtual component is displayed within the circular region.

[0117] Illustratively, the at least one adjustment control is arranged according to a preset control distribution situation, whereby the at least one adjustment control is displayed within a circular area.

[0118] In some embodiments, at least one adjustment control having an associated association relationship with the virtual component is displayed on a circular outline corresponding to the circular region.

[0119] For example, when the predetermined area range is a circular area, when at least one adjustment control having an associated relationship with the virtual component is displayed, the at least one adjustment control is displayed on the circular outline, and when multiple adjustment controls are displayed, the multiple adjustment controls are displayed on the circular outline so as not to overlap each other.

[0120] For example, as shown in Fig. 5, a player performs a selection operation on a virtual component 510, and a game interface as shown in Fig. 6 is displayed. The game interface includes a virtual component 610, and displays at least one adjustment control having an associated relationship with the virtual component based on the component position of the virtual component 610 in the virtual scene, where the at least one adjustment control includes adjustment control 621, adjustment control 622, adjustment control 623, and adjustment control 624.

[0121] At least one adjustment control having an associated relationship with the virtual component is displayed on a circular contour corresponding to a circular area having a radius of a predetermined length and a center of the component center of the virtual component, thereby realizing constraints on the positional relationship between the virtual component and the adjustment control, and distributing the adjustment controls on the circular contour around the virtual component, allowing the user to check and operate the adjustment control very conveniently.

[0122] Optionally, as shown in FIG. 6 , based on the component position of virtual component 610 in the virtual scene, a circular area 620 having an associated association relationship with the virtual component is displayed as a predetermined area range corresponding to the virtual component, and adjustment control 621, adjustment control 622, adjustment control 623, and adjustment control 624 are displayed on the circular outline of circular area 620.

[0123] In some embodiments, step 430 above may further include, in response to the adjustment operation on the component position, displaying the virtual component after the component position has been adjusted, and an animation of the at least one adjustment control changing as the component position changes.

[0124] The adjustment operation is used to adjust the component position of the virtual component, and the adjustment operation may be a slide operation or other types of operations such as a click operation or a drag operation, and the present application is not limited thereto. When the component position of the virtual component is adjusted by the user, the virtual component after the component position has been adjusted is displayed, and the display position of the at least one adjustment control changes with the change in the component position, and an animation of the at least one adjustment control changing with the change in the component position is displayed, thereby realizing the effect of ancillary display based on ancillary association relationships.

[0125] In one alternative embodiment, the at least one adjustment control includes a translation control, which is used to adjust a component position of a virtual component in the virtual scene.

[0126] For example, the process in which a player triggers a movement control to display a corresponding interface is realized by the following steps 441 to 442.

[0127] In step 441, a first trigger operation on a movement control is received.

[0128] Here, the first trigger operation is used to move the virtual component from a first position to a second position within the virtual scene, and illustratively the first position and the second position are realized as positions within the virtual scene, and the first position and the second position are different.

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

[0130] For example, the first trigger operation is realized as a long press operation, and the long press operation on the moving control is followed by dragging the moving control, and the moving process of the virtual component is realized based on the associated relationship between the adjustment control and the virtual component, where the location of the virtual component before dragging the moving control is the first location, and the location of the virtual component after dragging and releasing the moving control is the second location.

[0131] For example, the first trigger operation is implemented as a single-click operation, and a first single-click operation on the movement control is the process of starting the movement of the virtual component, and the location of the virtual component at this time is the first location. A second single-click operation on the movement control is the process of ending the movement of the virtual component, and the location corresponding to the second single-click operation is the second location of the virtual component after the movement, or the location corresponding to the second single-click operation is the location of the movement control after the virtual component has been moved. Furthermore, the second location of the virtual component after the movement is determined based on the associated relationship between the adjustment control and the virtual component. For example, the distance and direction between the movement control and the virtual component are preset, and the second location of the virtual component can be determined based on the location of the movement control.

[0132] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0133] In step 442, in response to the first trigger operation, based on an associated relationship between the virtual component and the at least one adjustment control, a movement-following animation is displayed in which the at least one adjustment control moves to follow the virtual component when a movement animation in which the virtual component moves from a first position to a second position is displayed.

[0134] Illustratively, the first trigger operation is used to move the virtual component from a first position to a second position, and thus, in the process of executing the first trigger operation, a moving animation of the virtual component moving from the first position to the second position is displayed on the interface.

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

[0136] In one alternative embodiment, based on the associated relationship between the virtual component and the at least one adjustment control, a movement-following animation is displayed in which the at least one adjustment control moves in accordance with the virtual component.

[0137] Optionally, the associative relationship between the virtual component and the at least one adjustment control comprises a predetermined distance relationship and a predetermined direction relationship corresponding to the virtual component and the at least one adjustment control, respectively.

[0138] For example, there is an associative relationship between the virtual component and adjustment control 1 and adjustment control 2, and the associative relationship includes a first predetermined distance relationship between the virtual component and adjustment control 1 being 1 unit and a first predetermined direction relationship including adjustment control 1 being located diagonally above the virtual component at 30 degrees, and a second predetermined distance relationship between the virtual component and adjustment control 2 being 1.5 units and a second predetermined direction relationship including adjustment control 2 being located diagonally above the virtual component at 45 degrees.

[0139] Optionally, when the virtual component moves within the virtual scene based on the first trigger operation, a movement-following animation is displayed in which at least one adjustment control moves to follow the virtual component, while maintaining the predetermined distance relationship and predetermined direction relationship between the virtual component and each adjustment control based on the predetermined distance relationship and predetermined direction relationship represented by the associated relation.

[0140] In one alternative embodiment, in response to receiving the first trigger operation, the at least one adjustment control is hidden, and in response to the virtual component being in the second position, the display of the at least one adjustment control having an associative relationship with the virtual component is restored.

[0141] For example, when a first trigger operation on a movement control is received, at least one adjustment control is hidden on the interface, and when the virtual component is moved to a second position at the end of the first trigger operation, the display of at least one adjustment control having an associated relationship with the virtual component is restored, thereby preventing the at least one adjustment control from interfering with the selection of the second position.

[0142] In one alternative embodiment, in response to receiving the first trigger operation, other adjustment controls other than the movement control are hidden, and in response to the virtual component being in the second position, the display of other adjustment controls having an associative relationship with the virtual component is restored.

[0143] Illustratively, the adjustment control having an associative relationship with the virtual component includes a plurality of adjustment controls, and when a first trigger operation is received on a movement control among the plurality of adjustment controls, the other adjustment controls other than the movement control are hidden on the interface, and when the virtual component is moved to a second position at the end of the first trigger operation, the display of the other adjustment controls is restored.

[0144] 7 is a schematic diagram of an interface for a first trigger operation on a movement control. Interface 701 includes a virtual component 710 and a virtual component 720, where virtual component 710 is located at a first position. Based on a selection operation on virtual component 710, at least one adjustment control having an associated relationship with virtual component 710 is displayed, where the at least one adjustment control includes movement control 730. Based on a first trigger operation on movement control 730, a movement process is displayed as shown in interface 702. For example, the purpose of the first trigger operation is to move virtual component 710 above virtual component 720. After moving virtual component 710 from the first position to a second position (above virtual component 720), a movement completion process is displayed as shown in interface 703.

[0145] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0146] In this manner, when the position of the virtual component in the virtual scene changes, the display position of the adjustment control also changes accordingly, thereby achieving the effect of accompanying display.

[0147] In one alternative embodiment, the at least one adjustment control includes a size adjustment control, which is used to adjust a component size of a virtual component in the virtual scene.

[0148] Illustratively, the process in which a player triggers a size adjustment control to display a corresponding interface is realized by the following steps 451 to 452.

[0149] In step 451, a second trigger operation on the size adjustment control is received.

[0150] Here, the second trigger operation is used to adjust the virtual component from the first component size to the second component size.

[0151] Optionally, the component size represents an area that the virtual component occupies in the virtual scene. For example, if the virtual component is a two-dimensional component element, the component size represents a component area of ​​the virtual component. Alternatively, if the virtual component is a three-dimensional component element, the component size represents an area that the virtual component takes up in the virtual scene.

[0152] Optionally, the component size represents an area volume that the virtual component occupies in the virtual scene, for example, if the virtual component is a three-dimensional component element, the component size represents a spatial volume situation that the virtual component occupies in the virtual scene.

[0153] Illustratively, the first component size and the second component size may employ the same metric, such as both the first component size and the second component size representing the volume of the area the virtual component occupies in the virtual scene, or both the first component size and the second component size representing the area of ​​the area the virtual component occupies in the virtual scene (the area of ​​the component itself or the area it takes up), etc.

[0154] In some embodiments, if the first component size is smaller than the second component size, the first trigger operation is an operation to enlarge the virtual component, or if the first component size is larger than the second component size, the first trigger operation is an operation to shrink the virtual component.

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

[0156] In some embodiments, the virtual component includes a first component reference point that is used as a reference in the virtual resizing process. Illustratively, the first component reference point is a component center of the virtual component. Alternatively, the first reference point is a component vertex of the virtual component. Alternatively, the first component reference point is an arbitrary point on the virtual component.

[0157] In step 452, in response to a second trigger operation, based on an associated association relationship between the virtual component and the at least one adjustment control, a first associated animation is displayed in which the at least one adjustment control moves along with the first component reference point when a size adjustment animation is displayed in which the virtual component is adjusted from a first component size to a second component size.

[0158] Illustratively, the second trigger operation is used to adjust the virtual component from the first component size to the second component size, and thus, in the process of executing the second trigger operation, a size adjustment animation is displayed on the interface, showing the virtual component being adjusted from the first component size to the second component size.

[0159] Here, 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.

[0160] For example, since the virtual component undergoes a change in size during the component size adjustment process, the position of a predetermined first component reference point in the virtual scene also changes, so in addition to displaying the size adjustment animation, at least one adjustment control displays a first accompanying animation in which the adjustment control moves along with the first component reference point.

[0161] For example, a movement animation that has the first component reference point as its center point and is performed by at least one type of adjustment control is defined as the first attached animation.

[0162] In one alternative embodiment, based on an associated relationship between the virtual component and the at least one adjustment control, a size change animation is displayed in which the at least one adjustment control is resized along with the virtual component.

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

[0164] In one alternative embodiment, in response to receiving a second trigger operation, the at least one adjustment control is hidden, and in response to the virtual component being adjusted to the second component size, the display of the at least one adjustment control having an associative relationship with the virtual component is restored.

[0165] Illustratively, when a second trigger operation on a size adjustment control is received, at least one adjustment control is hidden on the interface, and after the component size of the virtual component is adjusted to the second component size at the end of the second trigger operation, the display of at least one adjustment control having an associated association relationship with the virtual component is restored, thereby avoiding the at least one adjustment control from interfering during the size adjustment process.

[0166] In one alternative embodiment, in response to receiving the second trigger operation, other adjustment controls other than the size adjustment control are hidden, and in response to the virtual component being adjusted to the second component size, the display of other adjustment controls having an associative relationship with the virtual component is restored.

[0167] Illustratively, an adjustment control having an associative association relationship with a virtual component includes a plurality of adjustment controls, and when a second trigger operation is received on a size adjustment control among the plurality of adjustment controls, the adjustment controls other than the size adjustment control are hidden on the interface, and when the component size of the virtual component is adjusted to the second component size at the end of the second trigger operation, the display of the other adjustment controls is restored.

[0168] In some embodiments, FIG. 8 is a schematic diagram of an interface for a second trigger operation on a size adjustment control. Interface 801 includes a virtual component 810 and a virtual component 820, where virtual component 810 corresponds to a first component size. Based on a selection operation on virtual component 810, at least one adjustment control having an associated association relationship with virtual component 810 is displayed, where the at least one adjustment control includes size adjustment control 830. Based on a second trigger operation on size adjustment control 830, a size adjustment process is displayed, as shown in interface 802. For example, 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, a size adjustment completion process is displayed, as shown in interface 803.

[0169] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0170] 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 accordingly, thereby realizing the effect of accompanying display.

[0171] In one alternative embodiment, the at least one adjustment control includes an angle adjustment control, which is used to adjust the viewing angle of the virtual component relative to the virtual scene.

[0172] Illustratively, the process in which a player triggers the angle adjustment control to display the corresponding interface is realized by the following steps 461 to 462.

[0173] In step 461, a third trigger operation on the angle adjustment control is received.

[0174] Here, the third trigger operation is used to adjust the virtual component from the first rotation angle to the second rotation angle.

[0175] Optionally, the rotation angle is realized as a situation in which the virtual component rotates about at least one coordinate axis in the virtual scene. Illustratively, the virtual scene is a three-dimensional scene, and the virtual scene corresponds to a world coordinate system, including a horizontal axis, a vertical axis, and a vertical axis. The rotation angle may be realized as a situation in which the virtual component rotates about the horizontal axis, the vertical axis, or the vertical axis in the virtual scene, or as a situation in which the virtual component rotates about any two coordinate axes among the horizontal axis, the vertical axis, and the vertical axis in the virtual scene, or as a situation in which the virtual component rotates about the horizontal axis, the vertical axis, and the vertical axis in the virtual scene.

[0176] Illustratively, the first rotation angle and the second rotation angle are realized as different angles.

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

[0178] In some embodiments, the virtual component includes a second component reference point that is used as reference information in the rotation angle adjustment process. Illustratively, the second component reference point is a component center of the virtual component. Alternatively, the second component reference point is a component vertex of the virtual component. Alternatively, the first component reference point is an arbitrary point on the virtual component.

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

[0180] In step 462, in response to a third trigger operation, a second accompanying animation is displayed in which the at least one adjustment control moves along with the second component reference point when a component rotation animation in which the virtual component is adjusted from a first rotation angle to a second rotation angle is displayed based on an accompanying association relationship between the virtual component and the at least one adjustment control.

[0181] Illustratively, the third trigger operation is used to adjust the virtual component from the first rotation angle to the second rotation angle, and thus, in the process of executing the third trigger operation, a component rotation animation is displayed on the interface, in which the virtual component moves from the first rotation angle to the second rotation angle.

[0182] Here, the first rotation angle is used to indicate how the angle of the virtual component is displayed in the virtual scene before the third trigger operation is performed (e.g., a front viewing angle, etc.), and the second rotation angle is used to indicate how the angle of the virtual component is displayed in the virtual scene after the third trigger operation is performed (e.g., a side viewing angle, etc.).

[0183] For example, since the virtual component undergoes a change in size during the rotation angle adjustment process, the position of a predetermined second component reference point in the virtual scene also changes, so in addition to displaying the component rotation animation, at least one adjustment control displays a second accompanying animation in which the second component reference point moves along with the component rotation animation.

[0184] For example, a movement animation that has the second component reference point as its center point and is performed by at least one type of adjustment control is the second accompanying animation.

[0185] In one alternative embodiment, based on the associated relationship between the virtual component and the at least one adjustment control, a movement-following animation is displayed in which the at least one adjustment control moves in accordance with the virtual component.

[0186] 9 is a schematic diagram of an interface for a third trigger operation on an angle adjustment control. Interface 901 includes a virtual component 910 and a virtual component 920 (where virtual component 920 is occluded by virtual component 910 in interface 901), and virtual component 910 corresponds to a first rotation angle. Based on a selection operation on virtual component 910, at least one adjustment control having an associative association relationship with virtual component 910 is displayed, and the at least one adjustment control includes angle adjustment control 930. Based on a third trigger operation on angle adjustment control 930, an angle adjustment process is displayed as shown in interface 902. For example, the purpose of the third trigger operation is to change the first rotation angle of virtual component 910 to a second rotation angle. After virtual component 910 is adjusted from the first rotation angle to the second rotation angle, an angle adjustment completion process is displayed as shown in interface 903.

[0187] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0188] In the above manner, when the viewing angle of the virtual component in the virtual scene changes, the viewing position of the adjustment control also changes accordingly, thereby realizing the effect of accompanying viewing.

[0189] In one alternative embodiment, at least one adjustment control includes a function expander control, which is used to expand and display other function controls.

[0190] Illustratively, the process in which a player triggers a function deployment control to display a corresponding interface is realized by the following steps 471 to 472.

[0191] In step 471, a fourth trigger operation on the function deployment control is received.

[0192] Here, the fourth trigger operation is used to expand and display another function control, which is a function control different from the at least one function control and is used to realize an adjustment function different from the at least one function control.

[0193] Optionally, the other function controls include various controls for realizing other functions, such as a color adjustment control, a skin decoration control, a display setting control, and the like.

[0194] For example, the color adjustment control is used to adjust the color of the virtual component, for example, by adjusting the color of the virtual component according to a predetermined color option, or by manipulating a color palette. The skin decoration control is used to adjust the component skin of the virtual component, for example, by decorating the virtual component with a purchased skin, or by randomly changing the skin of the virtual component. The display setting control is used to correspondingly set the display time length, display transparency, etc. of the virtual component.

[0195] In step 472, in response to the fourth trigger operation, the function control list is displayed.

[0196] Here, the function control list includes other function controls.

[0197] Optionally, a corresponding setting interface is displayed in response to a trigger operation on another function control, and a more detailed adjustment process for the virtual component is realized through the setting process of the setting interface.

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

[0199] For example, a player can change other function controls displayed in the function control list by performing a control selection operation. For example, in the default setting, the function control list includes function control 1 and function control 2, and a player can change the function controls displayed in the function control list by performing a control selection operation. For example, the player can add function control 3, which the player frequently uses, to the function control list, or adjust function control 1 to function control 3, which the player frequently uses.

[0200] The function expansion control allows at least one other function control to be displayed, thereby accommodating more function controls within a limited display area and better meeting the usage needs of the user.

[0201] In some embodiments, at least one adjustment control having an associated association relationship with the virtual component is displayed based on past adjustment data.

[0202] Illustratively, the historical adjustment data represents trigger conditions for a plurality of adjustment controls in a past period, the plurality of adjustment controls being used to select and obtain at least one adjustment control.

[0203] Optionally, the past adjustment data includes trigger times for a plurality of adjustment controls in a past period.

[0204] For example, if 10 adjustment controls are preset and the past adjustment data indicates that the player has triggered adjustment control 1 and adjustment control 2 more times than the other adjustment controls in the past period, when displaying at least one adjustment control having an associated relationship with the virtual component, adjustment control 1 and adjustment control 2 are set as the at least one adjustment control having an associated relationship with the virtual component.

[0205] In some embodiments, other controls are displayed in the control list based on past adjustment data.

[0206] For example, in at least one type of adjustment control, the adjustment control other than the function deployment control is a default setting or a setting that is set by the player. Therefore, the other function controls included in the function control list are adjustment controls other than the default setting or adjustment controls determined based on the number of times the player has triggered multiple adjustment controls in the past period.

[0207] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0208] By displaying at least one adjustment control having an associated relationship with the virtual component based on the past adjustment data, the adjustment control that has been used by the user more frequently in the past period can be preferentially displayed, which can meet the personalized display needs of the adjustment control and at the same time better meet the usage needs of the user.

[0209] The embodiments of the present application describe a process of differentially adjusting virtual components using adjustment controls with different adjustment functions, which allows at least one adjustment control with an associated relationship to be used to quickly adjust the periphery of a virtual component, avoiding the inefficient problem that a player must check and trigger two distant areas separately before achieving adjustment, improving adjustment efficiency and allowing more diverse adjustments to be made to virtual components, thereby improving the application flexibility of virtual components.

[0210] In one alternative embodiment, at least one adjustment control is displayed in a component adjustment area corresponding to a component position, and the component adjustment area is used to manage the display status of the at least one adjustment control. For example, as shown in Fig. 10, the embodiment shown in Fig. 3 above can also be realized by the following steps 1010 to 1030.

[0211] In step 1010, the virtual component is displayed.

[0212] Here, a virtual component is a component element located within a virtual scene.

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

[0214] In step 1020, a selection operation for a virtual component is received.

[0215] Optionally, the selection operation is realized as at least one of a plurality of operation methods, such as a click operation, a long press operation, a voice trigger operation, etc.

[0216] In step 1030, in response to the selection operation, a component adjustment region having an associated association relationship with the virtual component is displayed based on the component position of the virtual component in the virtual scene.

[0217] Here, the component adjustment area includes at least one adjustment control.

[0218] Illustratively, the associated relationship not only indicates a relationship in which at least one adjustment control changes with a change in the position of a component, but also a relationship in which a component adjustment area changes with a change in the position of the component.

[0219] Here, the adjustment controls are used to adjust the visibility of the virtual components in the virtual scene.

[0220] In some embodiments, a control trigger operation on the region movement control is received to display a region movement animation in which the component adjustment region moves within the virtual scene.

[0221] Illustratively, the component adjustment area has an area movement control that is used to move the component adjustment area independently, i.e., by triggering the area movement control, the component adjustment area can be moved independently without moving the virtual component.

[0222] Here, the area movement animation represents an animation in which the component adjustment area moves within the virtual scene.

[0223] Optionally, the component adjustment region is moved within a predetermined range of movement based on an associated relationship that exists between the component adjustment region and the virtual component.

[0224] For example, based on the associated relationship that exists between the component adjustment area and the virtual component, a certain range of movement is set as a predetermined range of movement for the component adjustment area, and the component adjustment area is restricted to move within the predetermined range of movement.

[0225] Optionally, in response to the control trigger operation indicating moving the component adjustment region outside a predetermined movement range corresponding to the virtual component, presentation information is displayed based on an associated association relationship between the virtual component and the component adjustment region, wherein the presentation information is used to present moving the component movement region within the predetermined movement range.

[0226] For example, if the designated area selected by the player for the component adjustment area exceeds a predetermined movement range, presentation information (e.g., text information or a red presentation animation) is displayed to inform the player that they need to move the component adjustment area within the predetermined movement range.

[0227] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0228] In some embodiments, as shown in FIG. 11 , based on a selection operation on virtual component 1110, a component adjustment area that appears as a circular area is displayed, and the component adjustment area includes multiple adjustment controls, which are adjustment control 1121, adjustment control 1122, adjustment control 1123, and adjustment control 1124, respectively.

[0229] Optionally, the adjustment control 1121 is a movement control, and is used to move the virtual component 1110 from a current first position to a second position. As shown in the interface 1101, performing a first trigger operation on the adjustment control 1121 moves the adjustment control 1121 to the second position, and displays the interface 1102. Here, based on the associative relationship between the plurality of adjustment controls and the virtual component 1110, the plurality of adjustment controls synchronously move along with the virtual component 1110.

[0230] In some embodiments, as shown in FIG. 12 , based on a selection operation on virtual component 1210, a component adjustment area that appears as a circular area is displayed, and the component adjustment area includes multiple adjustment controls, which are adjustment control 1221, adjustment control 1222, adjustment control 1223, and adjustment control 1224, respectively.

[0231] Optionally, adjustment control 1221 is a size adjustment control, used to adjust virtual component 1210 from a current first component size to a second component size. As shown in interface 1201, performing a second trigger operation on adjustment control 1221 adjusts adjustment control 1221 to the second component size and displays interface 1202. Optionally, based on an associative relationship between the plurality of adjustment controls and virtual component 1210, the plurality of adjustment controls synchronously adjust the size along with virtual component 1210.

[0232] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0233] In the embodiments of the present application, a component adjustment area having an associated relationship with a virtual component is displayed, and at least one adjustment control is displayed by the component adjustment area. By using the component adjustment area, at least one adjustment control can be managed more comprehensively. Furthermore, by individually performing trigger operations on the component adjustment area, the process of adjusting components using the component adjustment area can be made more flexible without affecting the player's operation of the virtual component, thereby improving the efficiency of human-machine interaction.

[0234] In one alternative embodiment, in addition to displaying at least one adjustment control, a component coordinate system is also displayed, which is a coordinate system determined based on the component position of the virtual component in the virtual scene, and based on the component coordinate system, the position situation, arrangement angle, etc. of the virtual component can be more correspondingly analyzed. For example, as shown in FIG. 13 , the embodiment shown in FIG. 3 above may further include steps 1310 to 1330.

[0235] In step 1310, the component coordinate system is displayed.

[0236] Here, the component coordinate system is a coordinate system determined based on the component position in the virtual scene of the virtual component.

[0237] Optionally, the component coordinate system is a coordinate system constructed based on a component center of the virtual component, for example, the component coordinate system is a three-dimensional coordinate system, in which the component center is set as the origin of the component coordinate system, an arbitrary line is selected as the horizontal axis of the component coordinate system, and the vertical axis and the vertical axis of the component coordinate system are determined based on this, thereby constructing the component coordinate system.

[0238] Illustratively, in addition to performing a selection operation on a virtual component and displaying at least one adjustment control having an associated relation with the virtual component, the device further displays a component coordinate system determined based on the component position in the virtual scene of the virtual component.

[0239] Optionally, the component coordinate system comprises at least two coordinate axes, the at least two coordinate axes comprising the first coordinate axis.

[0240] Illustratively, the first coordinate axis is one of at least two coordinate axes, for example, the first coordinate axis is realized as a horizontal axis X, or the first coordinate axis is realized as a vertical axis Y, or the first coordinate axis is realized as a vertical axis Z.

[0241] As shown in FIG. 6, in addition to displaying at least one adjustment control based on the selection operation, a component coordinate system constructed based on the component position (e.g., component center 630) is also displayed, which includes a horizontal axis X, a vertical axis Y, and a vertical axis Z.

[0242] In step 1320, an axis trigger operation for a first axis is received.

[0243] Here, the coordinate axis trigger operation is used to move the virtual component along the first coordinate axis direction.

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

[0245] For example, as shown in FIG. 6, the first coordinate axis is the Y axis. A click operation on the Y axis is received as a coordinate axis trigger operation, and an interface as shown in FIG. 14 is displayed. In the interface, a virtual component 1410 is displayed, and at least one adjustment control and the component coordinate system are hidden.

[0246] Optionally, a slide operation on the first coordinate axis is received as a coordinate axis trigger operation.

[0247] For example, the movement state of the virtual component on the first coordinate axis is adjusted based on a slide operation on the first coordinate axis.

[0248] In step 1330, a component movement animation is displayed in which the virtual component moves along the first coordinate axis based on the coordinate axis trigger operation.

[0249] For example, in the interface shown in FIG. 14, a virtual component 1410 is displayed on the interface. For example, the first coordinate axis is the Y axis. A slide operation on the Y axis is received as a coordinate axis trigger operation, and the virtual component 1410 is slid on the Y axis, thereby displaying a component movement animation in which the virtual component moves along the first coordinate axis.

[0250] Optionally, the above coordinate axis triggering can cause a corresponding movement of the virtual component in a more horizontal direction.

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

[0252] Illustratively, as shown in FIG. 15, after the virtual component 1510 is moved horizontally along the coordinate axis to a specified position, at least one adjustment control and the display of the component coordinate system are restored.

[0253] In some embodiments, as shown in FIG. 15, the interface may further display multiple functional controls, such as a multiple selection control, a copy control, a control control, a tool control, a combination control, a delete control, and a bind control.

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

[0255] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0256] In the embodiment of the present application, in addition to displaying adjustment controls, a component coordinate system is also displayed. By triggering coordinate axis operations on the coordinate axes of the component coordinate system, virtual components can be adjusted more stably, realizing the process of correspondingly moving the virtual components horizontally. Furthermore, detailed information such as the current rotation status of the virtual components can be viewed using the component coordinate system, allowing players to more reliably control the virtual components.

[0257] A coordinate axis control is a type of operation control that switches the form of a three-dimensional coordinate axis by clicking on a touchscreen mobile terminal. For example, the coordinate axis control includes multiple adjustment controls such as "move," "zoom," "rotate," and "detailed edit."

[0258] In the related art, the coordinate axis control on the touch screen mobile terminal is fixed, that is, multiple adjustment controls are displayed at fixed positions at the bottom of the screen, and when making adjustments based on the adjustment controls, the player needs to frequently switch his / her focus and operation position between the adjustment controls and the operation panel at the bottom of the screen.

[0259] Here, the term "fixed" refers to a format in which the adjustment control is fixed at a specified position on the screen and does not change in accordance with changes in the component position of the virtual component.

[0260] That is, the coordinate axis control in the above process is fixed, separated from the coordinate axis body, and always displayed at the bottom of the screen, which distracts the player when triggering the adjustment control within it and reduces the convenience of operation.

[0261] For example, FIG. 16 is a schematic diagram of an interface in the related art, in which multiple adjustment controls 1610 are fixedly displayed at a position at the bottom of the screen, and the player can carry out the process of adjusting a virtual component 1620 through the adjustment controls 1610, but the adjustment efficiency is low.

[0262] In one alternative embodiment, the above-mentioned method for configuring a virtual component is referred to as a "method for operating a floating coordinate axis control in a mobile terminal editor." That is, compared with a fixed method, the embodiment of the present application displays the coordinate axis control in a floating manner, and the floating manner refers to a manner in which the adjustment control changes position according to the component position of the selected virtual component in the game scene.

[0263] Optionally, the above virtual component configuration method is applied to a User-generated-Content (UGC) mode.

[0264] Taking triggering a movement control among the adjustment controls as an example, as shown in FIG. 17 , after a player clicks to select a virtual component 1710 in a scene, a component coordinate system and at least one adjustment control having an associated relationship with the virtual component 1710 are generated around the virtual component, including a movement control 1720. When a player moves or changes the position of the virtual component in the virtual scene (i.e., based on a first trigger operation on the movement control 1720), both the component coordinate system and the adjustment control change positions synchronously. For example, when the virtual component 1710 moves from a first position to a second position, the component coordinate system also moves accordingly. The adjustment control also moves accordingly based on the associated relationship. Illustratively, the relative positions of the component coordinate system and the adjustment control with respect to the component origin of the virtual component remain unchanged.

[0265] In one alternative embodiment, the player performs a three-dimensional manipulation transformation process on a virtual component of a cube.

[0266] As shown in Figure 5, an unselected virtual component 510 is included. Clicking on the virtual component 510 displays the interface shown in Figure 6, which generates a floating ring (component adjustment area) and a component coordinate system centered on the virtual component 510. Four adjustment controls are distributed along an arc on the ring: a translation control, a zoom control (size adjustment control), a rotation control (angle adjustment control), and other setting controls. Then, clicking on any one of the coordinate axes (first coordinate axis) of the component coordinate system and performing a slide operation on the virtual component displays the interface shown in Figure 14. As shown in Figure 14, the component coordinate axes and the floating ring (component adjustment area) are hidden in the interface, and the player's finger can then be dragged across the screen. When the player releases their hand, a new floating ring and component coordinate system are generated with the new object origin as the center, as shown in Figure 15.

[0267] In one alternative embodiment, the technical aspects of how virtual components are configured are described.

[0268] 18, when a 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 using the projection of the origin (e.g., component center) of the virtual component 1810 onto a head-up display (HUD) layer as the circular center positioning point. Here, the HUD layer includes multiple display layers, and the component adjustment area is one of the display layers and is located in an upper layer of the HUD layer, while other display contents are located in lower layers of the HUD layer as other display layers, i.e., is located in the lowest layer below other UIs in the HUD layer.

[0269] For example, 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 releases his / her hand, a new floating coordinate axis control layer is generated with the component center of the virtual component 1810 as the new origin position and the projection onto the HUD layer as the circle center.

[0270] Optionally, if the player does not change the position of the virtual component in the virtual scene, but instead drags the screen to change the camera position, the relative position between the HUD layer and the virtual scene changes continuously, and the projection of the component origin of the virtual component onto the HUD coordinate axis control layer also changes continuously, and the corresponding coordinate axis control layer also changes continuously along with the positioning point, creating a "floating" feeling.

[0271] In one alternative embodiment, as shown in FIG. 19, the technical implementation flowchart is as follows:

[0272] In step 1910, click to select the virtual component.

[0273] For example, a click operation on a virtual component is a selection operation on the virtual component.

[0274] In step 1920, a component coordinate system and adjustment controls are generated in the HUD centered on the projection of the virtual component's origin on the HUD layer.

[0275] For example, when a player does not select a virtual component, the component coordinate system and adjustment controls are hidden. When a player clicks to select a virtual component, the component coordinate system and adjustment controls are switched to a visible state, and at the same time, the origin of the relative coordinate system of the blueprint of the virtual component is used as the center anchor point to calculate the on-screen positions of the component coordinate system and adjustment controls.

[0276] Optionally, when the player changes the relative position between the virtual component and the game camera through an input operation, the component coordinate system changes its position accordingly, achieving a visual change effect such as "floating" on the screen, that is, the following steps 1931 to 1933 or steps 1941 to 1942 are performed according to different operations on the screen by the player.

[0277] In step 1931, the component position of the virtual component in the virtual scene is changed by dragging the screen.

[0278] Illustratively, a player moves a virtual component within a virtual scene by dragging a movement control to adjust the component's position on the screen, which may result in a corresponding change to the virtual scene displayed on the interface.

[0279] If the player changes the component position of the virtual component in the virtual scene by dragging the screen, the following step 1932 is performed.

[0280] In step 1932, the component coordinate system and adjustment controls are hidden.

[0281] For example, when changing the component position of a virtual component in a virtual scene, the component coordinate system and adjustment controls displayed based on a selection operation are hidden, i.e., the user interface (UI) of the component coordinate system and adjustment controls is hidden.

[0282] In step 1933, the hands are released.

[0283] For example, the player releases his / her hand to end the operation of dragging the screen to change the component position, and the terminal executes the following step 1950 based on the release of his / her hand.

[0284] That is, in the above steps 1931 to 1933, if the position of the camera displaying the virtual scene remains unchanged, when the player changes the component position or component size of a virtual component in the game editor, the relative position between the virtual component and the camera is affected and changed. The corresponding player operation at this time is a drag operation on the touch screen. When it is detected that the player has triggered this operation, the component coordinate system and adjustment controls are switched to a hidden state. After the operation is completed (i.e., after the player releases their hand), the component coordinate system and adjustment controls are again switched to a visible state, with the new position of the component origin of the virtual component as the anchor point.

[0285] In step 1941, the camera position is changed by dragging the screen.

[0286] For example, a player adjusts the camera position for displaying a virtual scene by dragging the screen, and the change in the camera position changes the virtual scene displayed on the interface, and the position of the virtual component relative to the interface changes because the virtual component is located in the virtual scene.

[0287] In step 1942, the projected position of the component origin changes in real time.

[0288] For example, since the virtual scene displayed on the interface changes due to a change in the camera position, the display position of the virtual component in the interface relative to the virtual scene also changes. To smoothly adjust the change on the interface, a component origin (e.g., component center) of the virtual component is determined, and the projection position of the component origin is changed in real time based on the real-time adjustment of the camera position, thereby realizing a smoother scene change process.

[0289] That is, in the above steps 1941 to 1942, the component position of the virtual component remains unchanged, and the player changes the relative position of the anchor point (for example, the component origin of the virtual component) and the camera by dragging the screen to change the viewpoint of the game camera. When it is detected that the player has triggered this operation, the component coordinate system does not switch to a hidden state, but instead detects the position of the anchor point in real time and changes the positions of the component coordinate system and adjustment control.

[0290] In step 1950, the component coordinate system and adjustment controls are generated according to the new position of the projection of the origin on the HUD.

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

[0292] In the above process, since the component coordinate system and the adjustment control are not in fixed and unchanging positions, additional corresponding adjustment controls can be added to more efficiently realize different editing functions. For example, planar translation can be performed in response to dragging the translation control, global zooming can be performed in response to dragging the size adjustment control, and planar rotation can be performed in response to dragging the angle adjustment control.

[0293] It should be noted that the above is merely an example, and the embodiments of the present application are not limited thereto.

[0294] In an embodiment of the present application, the above method can be applied to an interface editor of a game or application, which shortens the operation path during the user's editing process of the component coordinate system and adjustment controls, allows the user to more quickly find the corresponding adjustment controls around the component position, and facilitates alternating between editing the virtual component and operating the adjustment controls on the screen using the shortest path, allows the player to always focus their attention on the virtual component object itself, reduces the interruption of the process of operating the component coordinate system and adjustment controls to the player's creative process, expands the editing capability, and improves the creative efficiency, thereby enabling the drag function of the virtual control to more efficiently improve the editing capability and improve the user's editing efficiency.

[0295] FIG. 20 is a structural block diagram of a virtual component setting device provided in one exemplary embodiment of the present application. As shown in FIG. 20, the device includes: a display module 2010 and a receiving module 2020.

[0296] The display module 2010 is a display module configured to display virtual components, which are component elements located within a virtual scene.

[0297] The receiving module 2020 is configured to receive a selection operation for the virtual component.

[0298] The display module 2010 is further configured to, in response to the selection operation, display at least one adjustment control having an associative relationship with the virtual component based on a component position of the virtual component in the virtual scene, the associative relationship representing a relationship in which the at least one adjustment control changes as the component position changes, and the adjustment control is used to adjust a display state of the virtual component in the virtual scene.

[0299] In one alternative embodiment, the display module 2010 is further configured to display the at least one adjustment control having the associated association relationship with the virtual component within a predetermined area range corresponding to the component position.

[0300] In one alternative embodiment, the display module 2010 is further configured to display the at least one adjustment control within the predetermined area range corresponding to the component position, centered on the virtual component, and distributed according to a predetermined control distribution rule, and the at least one adjustment control and the virtual component have the associative relationship.

[0301] In one alternative embodiment, the display module 2010 is further configured to display a circular region having an associative relationship with the virtual component, and to display the at least one adjustment control having an associative relationship with the virtual component on a circular outline corresponding to the circular region.

[0302] In one alternative embodiment, the display module 2010 is further configured to display the circular area having a center at the component center of the virtual component and a radius of a predetermined length.

[0303] In one alternative embodiment, the display module 2010 is further configured to, in response to an adjustment operation on the component position, display the virtual component after the component position has been adjusted and an animation of the at least one adjustment control changing as the component position changes.

[0304] In one alternative embodiment, the at least one adjustment control includes a translation control, which is used to adjust a component position of the virtual component in the virtual scene.

[0305] The display module 2010 is further configured to receive a first trigger operation on the movement control, the first trigger operation being used to move the virtual component from a first position to a second position in the virtual scene, and in response to the first trigger operation, based on the associated relationship between the virtual component and the at least one adjustment control, display a movement following animation in which the at least one adjustment control moves to follow the virtual component when displaying a movement animation in which the virtual component moves from the first position to the second position.

[0306] In one alternative embodiment, the display module 2010 is further configured to display a movement-following animation in which the at least one adjustment control moves from the first position to the second position following the virtual component based on the associated relationship between the virtual component and the at least one adjustment control.

[0307] In one alternative embodiment, the at least one adjustment control includes a size adjustment control, which is used to adjust a component size of the virtual component in the virtual scene.

[0308] The display module 2010 is further configured to receive a second trigger operation on the size adjustment control, the second trigger operation being used to adjust the virtual component from a first component size to a second component size, the virtual component including a first component reference point that serves as reference information in the component size adjustment process, and in response to the second trigger operation, based on the associated relationship between the virtual component and the at least one adjustment control, display a first associated animation in which the at least one adjustment control moves along with the first component reference point when displaying a size adjustment animation in which the virtual component is adjusted from the first component size to the second component size.

[0309] In one alternative embodiment, the at least one adjustment control includes an angle adjustment control, which is used to adjust the viewing angle of the virtual component relative to the virtual scene.

[0310] The display module 2010 is further configured to receive 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 that serves as reference information in the rotation angle adjustment process, and in response to the third trigger operation, based on the associated relationship between the virtual component and the at least one adjustment control, display a second associated animation in which the at least one adjustment control moves along with the second component reference point when displaying a component rotation animation in which the virtual component is adjusted from the first rotation angle to the second rotation angle.

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

[0312] The display module 2010 is further configured to receive a fourth trigger operation on the function expansion control, the fourth trigger operation being used to expand and display the other function control, and in response to the fourth trigger operation, to display a function control list, the function control list including the other function control.

[0313] In one alternative embodiment, the display module 2010 is further configured to display a component coordinate system, the component coordinate system being a coordinate system constructed based on a component position of the virtual component in the virtual scene.

[0314] In one alternative embodiment, the component coordinate system includes at least two coordinate axes, and the at least two coordinate axes include a first coordinate axis.

[0315] The display module 2010 is further configured to receive a coordinate axis trigger operation for the first coordinate axis, the coordinate axis trigger operation being used to move the virtual component along the first coordinate axis direction, and to display a component movement animation in which the virtual component moves along the first coordinate axis based on the coordinate axis trigger operation.

[0316] In one alternative embodiment, the display module 2010 is further configured to, based on the coordinate axis trigger operation, hide the component coordinate system and the at least one adjustment control, and display the component movement animation in which the virtual component moves along the hidden first coordinate axis.

[0317] In one alternative embodiment, the display module 2010 is further configured to display a component adjustment region having an associative association relationship with the virtual component based on a component position of the virtual component in the virtual scene, the component adjustment region being used to display the at least one adjustment control.

[0318] In one alternative embodiment, the component adjustment region includes a region movement control, which is used to move the component adjustment region independently.

[0319] The display module 2010 is further configured to receive a control trigger operation on the region movement control and display a region movement animation in which the component adjustment region moves within the virtual scene.

[0320] In one alternative embodiment, the display module 2010 is further configured to display presentation information based on the associated relationship between the virtual component and the component adjustment area in response to the control trigger operation indicating moving the component adjustment area outside a predetermined movement range corresponding to the virtual component, wherein the presentation information is used to present moving the component movement area within the predetermined movement range.

[0321] In one optional embodiment, the display module 2010 is further configured to display, based on a component type of the virtual component, an adjustment control corresponding to the component type through an associative association relationship as the at least one adjustment control, where different component types each correspond to at least one adjustment control.

[0322] As described above, the display position of the at least one adjustment control is more suited to the component position of the virtual component, which is advantageous for the player to view the adjustment control while observing the virtual component. Furthermore, since the adjustment control is used to adjust the display state of the virtual component in the virtual scene, the at least one adjustment control that is more suited to the virtual component and displayed can realize a more efficient adjustment process for the virtual component, which avoids the problem of low adjustment efficiency caused by the adjustment control being fixedly displayed in the virtual scene, and the display effect of the associated relationship can improve the efficiency of human-machine interaction.

[0323] It should be noted that the virtual component configuration device provided in the above embodiments is merely an example of the division of the above functional modules, and in actual applications, the above functions can be performed by different functional modules as needed, that is, all or part of the above-described functions can be performed by dividing the internal structure of the device into different functional modules. Furthermore, the virtual component configuration device and the virtual component configuration method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, and will not be repeated here.

[0324] 21 shows a structural block diagram of an electronic device 2100 provided in one exemplary embodiment of the present application. The electronic device 2100 may be a portable mobile terminal, such as a smartphone, an in-car 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 notebook computer, or a desktop computer. The electronic device 2100 may also be called a user device, a mobile terminal, a laptop terminal, a desktop terminal, or other names.

[0325] Generally, the electronic device 2100 includes a processor 2101 and a memory 2102 .

[0326] The processor 2101 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 2101 may be implemented using at least one hardware form, such as a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a 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 a wake-up state and is also called a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing display content required by a display screen. In some embodiments, the processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.

[0327] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices, etc. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 are used to store computer programs that are executed by the processor 2101 to implement the virtual component configuration methods provided in the method embodiments of the present application.

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

[0329] The proximity sensor, also known as a distance sensor, is typically installed on the front panel of the electronic device 2100. The proximity sensor is used to collect the distance between the user and the front of the electronic device 2100.

[0330] The gyroscope sensor can detect the body orientation and rotation angle of the electronic device 2100, and the gyroscope sensor can cooperate with the acceleration sensor to collect the user's 3D movements relative to the electronic device 2100. The processor 2101 can realize the following functions based on the data collected by the gyroscope sensor, namely, motion detection (e.g., changing the UI in response to a user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0331] The pressure sensor can be installed on the side frame and / or the lower layer of the display screen of the electronic device 2100. When the pressure sensor is installed on the side frame of the electronic device 2100, it can detect a user's grip signal on the electronic device 2100, and the processor 2101 distinguishes between left and right hands or performs shortcut operations based on the grip signal collected by the pressure sensor. When the pressure sensor is installed on the lower layer of the display screen, the processor 2101 controls operable controls on the UI interface based on the user's pressure operation on the display screen. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0332] In some embodiments, electronic device 2100 further includes other components, and one skilled in the art will appreciate that the structure shown in FIG. 21 does not constitute a limitation of electronic device 2100, which may include more or fewer components than shown, combine certain components, or employ different component arrangements.

[0333] An embodiment of the present application further provides a computer device, which can be realized as a terminal or a server as shown in Fig. 2. The computer device includes a processor and a memory, and a computer program is stored in the memory. The computer program is loaded and executed by the processor to realize the virtual component configuration method provided in each of the above method embodiments.

[0334] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored therein, the computer program being loaded and executed by a processor to realize the method for configuring a virtual component provided in each of the above embodiments.

[0335] An embodiment of the present application further provides a computer program product, the computer program product including a computer program stored in a computer-readable storage medium, wherein a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, thereby causing the computer device to perform the method for configuring a virtual component according to any of the above embodiments.

[0336] Optionally, the computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), an optical disk, etc. Here, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The numbers of the above embodiments of the present application are for illustrative purposes only and do not represent the superiority or inferiority of the embodiments.

[0337] As can be understood by those skilled in the art, all or part of the steps in the above embodiments can be performed by hardware or by instructing the hardware with program instructions, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disk, etc.

[0338] The above are only optional examples of the present application, and do not limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application. [Explanation of symbols]

[0339] 100 Electronic equipment 120 Operating Systems 122 Applications 200 Computer Systems 220 1st device 240 servers 260 2nd device 510 Virtual Components 520 Shape Selection Area 521 cube 610 Virtual Components 620 circular area 621 Adjustment Control 622 Adjustment Control 623 Adjustment Control 624 Adjustment Control 630 Component Center 701 Interface 702 Interface 703 Interface 710 Virtual Components 720 Virtual Components 730 Movement Control 801 Interface 802 interface 803 Interface 810 Virtual Components 820 Virtual Components 830 Sizing Control 901 Interface 902 Interface 903 Interface 910 Virtual Components 920 Virtual Components 930 Angle Adjustment Control 1101 Interface 1102 Interface 1110 Virtual Components 1121 Adjustment Control 1122 Adjustment Control 1123 Adjustment Control 1124 Adjustment Control 1201 Interface 1202 Interface 1210 Virtual Components 1221 Adjustment Control 1222 Adjustment Control 1223 Adjustment Control 1224 Adjustment Control 1410 Virtual Components 1510 Virtual Components 1610 Adjustment Control 1620 Virtual Components 1710 Virtual Components 1720 Movement Control 1810 Virtual Components 2010 Display Module 2020 Module 2100 Electronic equipment 2101 processor 2102 memory

Claims

1. A method for configuring a virtual component executed by a terminal device, comprising: displaying a virtual component, the virtual component being a component element located in a virtual scene; receiving a selection operation for the virtual component; and in response to the selection operation, displaying at least one adjustment control having an associative relationship with the virtual component based on a component position of the virtual component in the virtual scene, the associative relationship representing a relationship in which the at least one adjustment control changes as the component position changes, and the adjustment control is used to adjust a display state of the virtual component in the virtual scene.

2. displaying at least one adjustment control having an associative association relationship with the virtual component based on a component position of the virtual component in the virtual scene, displaying the at least one adjustment control having the associated relationship with the virtual component within a predetermined area corresponding to the component position; The method for setting a virtual component according to claim 1 .

3. The step of displaying the at least one adjustment control having the associated relationship with the virtual component within a predetermined area range corresponding to the component position includes: displaying the at least one adjustment control within the predetermined area range corresponding to the component position, the adjustment control being distributed around the virtual component according to a predetermined control distribution rule, wherein the at least one adjustment control and the virtual component have the associative relationship; The virtual component setting method according to claim 2 .

4. The step of displaying at least one adjustment control having an associative relationship with the virtual component includes: a step of displaying a circular area having a component center of the virtual component as its center and a predetermined length as its radius; and displaying the at least one adjustment control having an associated association relationship with the virtual component on a circular contour corresponding to the circular region. The method for setting a virtual component according to any one of claims 1 to 3.

5. After displaying at least one adjustment control having an associated relationship with the virtual component, the setting method for the virtual component includes: and displaying, in response to the adjustment operation on the component position, the virtual component after the component position has been adjusted and an animation in which the at least one adjustment control changes as the component position changes. The method for setting a virtual component according to any one of claims 1 to 4.

6. the at least one adjustment control includes a translation control, the translation control being used to adjust a component position of the virtual component in the virtual scene; After displaying at least one adjustment control having an associated relationship with the virtual component, the setting method for the virtual component includes: receiving a first trigger operation on the movement control, the first trigger operation being used to move the virtual component from a first position to a second position within the virtual scene; and displaying a movement-following animation in which the at least one adjustment control moves to follow the virtual component when displaying a movement animation in which the virtual component moves from the first position to the second position based on the associated relation between the virtual component and the at least one adjustment control in response to the first trigger operation. The virtual component setting method according to claim 5 .

7. the at least one adjustment control includes a size adjustment control, the size adjustment control being used to adjust a component size of the virtual component in the virtual scene; After displaying at least one adjustment control having an associated relationship with the virtual component, the setting method for the virtual component includes: receiving a second trigger operation on the size adjustment control, the second trigger operation being used to adjust the virtual component from a first component size to a second component size, the virtual component including a first component reference point that is used as a reference in a component size adjustment process; and displaying, in response to the second trigger operation, a first associated animation in which the at least one adjustment control moves along with the first component reference point when displaying a size adjustment animation in which the virtual component is adjusted from the first component size to the second component size based on the associated relation between the virtual component and the at least one adjustment control. The method for setting a virtual component according to claim 5 or 6.

8. the at least one adjustment control includes an angle adjustment control, the angle adjustment control being used to adjust a viewing angle of the virtual component relative to the virtual scene; After displaying at least one adjustment control having an associated relationship with the virtual component, the setting method for the virtual component 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 that is used as reference information in a rotation angle adjustment process; and displaying, in response to the third trigger operation, a second accompanying animation in which the at least one adjustment control moves along with the second component reference point when displaying a component rotation animation in which the virtual component is adjusted from the first rotation angle to the second rotation angle based on the accompanying association relationship between the virtual component and the at least one adjustment control. The method for setting a virtual component according to any one of claims 5 to 7.

9. the at least one adjustment control includes a function expansion control, the function expansion control being used to expand and display other function controls; After displaying at least one adjustment control having an associated relationship with the virtual component, the setting method for the virtual component includes: receiving a fourth trigger operation on the function expander control, the fourth trigger operation being used to expand and display the other function control; and displaying a function control list in response to the fourth trigger operation, the function control list including the other function control. The method for setting a virtual component according to any one of claims 1 to 8.

10. The step of displaying at least one adjustment control having an associative relationship with the virtual component includes: displaying the at least one adjustment control having the associated relationship with the virtual component based on past adjustment data, the past adjustment data representing trigger conditions for a plurality of adjustment controls in a past period, and the plurality of adjustment controls being used to select and obtain the at least one adjustment control; The method for setting a virtual component according to any one of claims 1 to 9.

11. The method for setting the virtual component includes: and displaying a component coordinate system, the component coordinate system being a coordinate system constructed based on a component position of the virtual component in the virtual scene. The method for setting a virtual component according to any one of claims 1 to 10.

12. the component coordinate system includes at least two coordinate axes, the at least two coordinate axes including a first coordinate axis; After displaying the component coordinate system, the setting method of the virtual component includes: receiving an axis trigger operation for the first coordinate axis, the axis trigger operation being used to move the virtual component along the first coordinate axis direction; displaying a component movement animation in which the virtual component moves along the first coordinate axis based on the coordinate axis trigger operation; The method for setting a virtual component according to claim 11.

13. The step of displaying a component movement animation in which the virtual component moves along the first coordinate axis based on the coordinate axis trigger operation includes: hiding the component coordinate system and the at least one adjustment control based on the coordinate axis trigger operation; displaying the component movement animation in which the virtual component moves along the hidden first coordinate axis; The method for setting a virtual component according to claim 12.

14. displaying at least one adjustment control having an associative association relationship with the virtual component based on a component position of the virtual component in the virtual scene, displaying a component adjustment region having an associative association relationship with the virtual component based on a component position of the virtual component in the virtual scene, the component adjustment region being used to display the at least one adjustment control; The method for setting a virtual component according to any one of claims 1 to 13.

15. the component adjustment region includes a region movement control, the region movement control being used to independently move the component adjustment region; The method for setting the virtual component includes: receiving a control trigger operation on the area movement control and displaying an area movement animation in which the component adjustment area moves within the virtual scene; The method for setting a virtual component according to claim 14.

16. The method for setting the virtual component includes: further comprising: displaying presentation information based on the associative relationship between the virtual component and the component adjustment area in response to the control trigger operation instructing the component adjustment area to move out of a predetermined movement range corresponding to the virtual component; the presentation information is used to present the component movement area to be moved within the predetermined movement range; The method for setting a virtual component according to claim 15.

17. The step of displaying at least one adjustment control having an associative relationship with the virtual component includes: displaying an adjustment control corresponding to the component type as the at least one adjustment control according to an association relationship based on a component type of the virtual component; Each different component type corresponds to at least one adjustment control, The method for setting a virtual component according to any one of claims 1 to 16.

18. A virtual component setting device, a display module configured to display a virtual component, the virtual component being a component element located in a virtual scene; a receiving module configured to receive a selection operation on the virtual component; The display module is further configured to, in response to the selection operation, display at least one adjustment control having an associative relationship with the virtual component based on a component position of the virtual component in the virtual scene, the associative relationship representing a relationship in which the at least one adjustment control changes as the component position changes, and the adjustment control is used to adjust a display state of the virtual component in the virtual scene.

19. A terminal device comprising a processor and a memory, wherein a computer program is stored in the memory, and wherein the computer program is loaded and executed by the processor to realize the method for setting a virtual component according to any one of claims 1 to 17.

20. A computer-readable storage medium having a computer program stored thereon, the computer program being loaded and executed by a processor to implement the method for setting a virtual component according to any one of claims 1 to 17.

21. A computer program product comprising a computer program for causing a processor to execute the method for configuring a virtual component according to any one of claims 1 to 17.

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