Method and apparatus for selecting virtual objects, and storage medium and electronic device

By displaying a slider control on the graphical user interface, users can adjust the target parameter value by sliding the indicator, which solves the problems of cumbersome and inefficient virtual object selection, realizes fast and flexible virtual object filtering, and improves the user experience.

WO2026045794A1PCT designated stage Publication Date: 2026-03-05NETEASE (SHANGHAI) NETWORK CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/110922
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-09-24
Filing Date
2025-07-28
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

In existing technologies, selecting multiple virtual objects in a virtual scene is cumbersome, inefficient, and prone to misselection, thus affecting the user experience.

Method used

By displaying a slider control on the graphical user interface, which includes a slider track and slider markers, users can move along the slider track using the slider markers, adjust target parameter values ​​to adjust virtual objects within the selected area, and quickly filter or add selected virtual objects.

Benefits of technology

It improves the efficiency of virtual object selection, shortens the interaction process, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025110922_05032026_PF_FP_ABST
    Figure CN2025110922_05032026_PF_FP_ABST
Patent Text Reader

Abstract

A method for selecting virtual objects. The method comprises: in response to a box-selection operation instruction, determining a target box-selection area corresponding to the box-selection operation instruction, and selecting target virtual objects from among a plurality of selectable virtual objects; displaying a slider control in a graphical user interface, the slider control comprising a sliding track and a sliding indicator, wherein a parameter value range indicated by the sliding track is used for representing a value range of a target parameter corresponding to virtual objects in a virtual scene; and in response to a control operation on the sliding indicator, on the basis of a position parameter of the sliding indicator in the sliding track, determining a target parameter value corresponding to the control operation, in order to adjust, on the basis of the target parameter value, the target virtual objects selected in the target box-selection area. The present disclosure can improve the efficiency of adjusting virtual characters selected in a box-selection area, thereby improving the user operation experience.
Need to check novelty before this filing date? Find Prior Art

Description

Methods, devices, storage media, and electronic devices for selecting virtual objects

[0001] Cross-reference to related applications

[0002] This application claims priority to Chinese patent applications filed on August 29, 2024, with application number 202411205113.5 entitled "Method, Apparatus, Storage Medium and Electronic Device for Selecting Virtual Objects" and filed on September 24, 2024, with application number 202411343573.4 entitled "Method, Apparatus, Storage Medium and Electronic Device for Selecting Virtual Objects", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This disclosure relates to the field of computer technology, and in particular to a method for selecting virtual objects, a device for selecting virtual objects, a computer storage medium, and an electronic device. Background Technology

[0004] In existing online games, there is a need to select multiple virtual objects within the game's virtual scene to achieve synchronized processing or control of these objects. Selecting them one by one is too tedious for users. When users select multiple virtual objects using a selection tool on the graphical user interface, they typically select all virtual objects within the selected area, which easily leads to the accidental selection of virtual objects.

[0005] Therefore, there is an urgent need for a method that allows users to quickly select multiple virtual objects and flexibly adjust the selected virtual objects in order to improve selection efficiency and thus enhance the user experience. Summary of the Invention

[0006] According to one aspect of this disclosure, a method for selecting virtual objects is provided, which provides a graphical user interface (GUI) via a terminal device. The GUI includes at least a portion of a virtual scene and a plurality of selectable virtual objects located within the virtual scene. The method includes: in response to a selection operation command triggered by the GUI, determining a target selection area corresponding to the selection operation command, and selecting a target virtual object from the plurality of selectable virtual objects in the virtual scene; wherein the target virtual object includes virtual objects located within the target selection area; displaying a slider control in the GUI, the slider control including a sliding track and a slider marker located on the sliding track, the parameter value range indicated by the sliding track being used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene; and in response to a control operation on the slider marker, determining a target parameter value corresponding to the control operation based on the position parameter of the slider marker in the sliding track, so as to adjust the selected target virtual object within the target selection area based on the target parameter value.

[0007] According to one aspect of this disclosure, a virtual object selection device is provided, which provides a graphical user interface via a terminal device. The graphical user interface includes at least a portion of a virtual scene and a plurality of selectable virtual objects located in the virtual scene. The device includes: a determining module, configured to, in response to a selection operation command triggered by the graphical user interface, determine a target selection area corresponding to the selection operation command, and select a target virtual object from a plurality of selectable virtual objects in the virtual scene; wherein the target virtual object includes virtual objects located within the target selection area; a control display module, configured to display a slider control in the graphical user interface, the slider control including a sliding track and a sliding indicator located on the sliding track, the parameter value range indicated by the sliding track being used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene; and an object adjustment module, configured to, in response to a control operation on the sliding indicator, determine a target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track, so as to adjust the selected target virtual object within the target selection area based on the target parameter value.

[0008] According to one aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method described above.

[0009] According to one aspect of this disclosure, an electronic device is provided, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the virtual object selection method described above by executing the executable instructions.

[0010] According to one aspect of this disclosure, a computer program product is provided, including a computer program that is executed by a processor to implement the method for selecting virtual objects as described above.

[0011] The aforementioned method for selecting virtual objects can be based on a box selection operation to select target virtual objects, and the value of the target parameter can be adjusted through a slider control. This adjustment can then be made based on the target parameter value determined by the slider control, such as reducing or increasing the number of target virtual objects selected within the target box selection area. Specifically, it can cancel the selection state of some target virtual objects or adjust unselected virtual objects in the target selection area to a selected state. In the embodiments provided in this disclosure, the user only needs to control the slider indicator in the slider control to move along the slider track. Based on the target parameter value represented by the position of the slider indicator in the slider track, the selected virtual objects within the target box selection area can be adjusted. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by deleting virtual objects one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter the selected virtual characters within the box selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0012] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0013] Figure 1A illustrates an application scenario of selecting virtual objects through a box selection operation in one of the related technical solutions of this exemplary embodiment.

[0014] Figure 1B illustrates an application scenario of deleting a portion of virtual objects according to one of the exemplary embodiments of this invention.

[0015] Figure 2 shows an architecture diagram of a virtual object selection system according to one of the exemplary embodiments of this invention;

[0016] Figure 3 shows a flowchart of a virtual object selection method according to one of the exemplary embodiments of this invention;

[0017] Figure 4 shows a schematic diagram of one of the box selection operations in this exemplary embodiment;

[0018] Figure 5 illustrates a schematic diagram of a differentiated display of a target virtual object according to one of the exemplary embodiments of this invention;

[0019] Figure 6A shows a schematic diagram of a slider control in this exemplary embodiment;

[0020] Figure 6B shows a schematic diagram of the display of a target virtual object selected when the sliding marker is located on the first sliding track in this exemplary embodiment;

[0021] Figure 6C shows a schematic diagram of the display of a target virtual object selected by a sliding marker moving from a first sliding track to a second sliding track in this exemplary embodiment;

[0022] Figure 7 shows a schematic diagram of another slider control in this exemplary embodiment;

[0023] Figure 8 shows a schematic diagram of a sub-user interface in one of the exemplary embodiments of this invention;

[0024] Figure 9A illustrates a schematic diagram of displaying the total number of target virtual objects selected within a target selection area in a sub-user interface according to this exemplary embodiment;

[0025] Figure 9B illustrates a schematic diagram of displaying the total number of target virtual objects selected within a target selection area in a graphical user interface according to this exemplary embodiment;

[0026] Figures 10A-10C schematically illustrate the entire process of selecting a virtual object in one of the exemplary embodiments of this invention;

[0027] Figure 11 schematically illustrates the structure of a virtual object selection device according to one of the exemplary embodiments of this invention;

[0028] Figure 12 schematically illustrates the structure of an electronic device according to one of the exemplary embodiments of the present invention. Detailed Implementation

[0029] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of exemplary embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0030] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0031] The flowchart shown in the attached diagram is merely an illustrative example and does not necessarily include all steps. For example, some steps may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0032] In existing virtual scenes, there is a technical need to select multiple virtual objects within the scene for simultaneous processing or control, such as adjusting the position or resizing all selected virtual objects. Currently, a common technical solution is for the user to define a selection area by performing a bounding box operation, thereby simultaneously selecting multiple virtual objects within the selected area.

[0033] When selecting multiple virtual objects using the aforementioned selection box operation, all virtual objects within the selected area in the game's virtual scene are typically selected. However, it's easy to accidentally select some virtual objects. Current technical solutions allow for manual adjustment of the selection area to refine the selection of virtual objects within it. Alternatively, a list of selected virtual objects can be displayed after selection, allowing for further editing to remove mistakenly selected or unwanted objects.

[0034] To facilitate understanding of the above-mentioned technical solutions, the following will illustrate the process of selecting virtual objects in a virtual scene in conjunction with Figures 1A and 1B.

[0035] Figure 1A schematically illustrates an application scenario of selecting virtual objects through a box selection operation in this exemplary embodiment. As shown in Figure 1A, the virtual scene contains multiple virtual objects. When the user performs a box selection operation to define a selection area, all virtual objects within the selection area are selected. At this time, the selected virtual objects are displayed in a gray / black filled state. Virtual objects outside the selection area are not selected (as shown in the cone 101 in Figure 1A), and the unselected cone 101 is displayed in an unselected state without gray / black filling. It should be noted that for a three-dimensional virtual scene, in addition to the aforementioned X and Y axes, it also includes a Z axis representing the distance relationship between virtual objects and the virtual camera. The distances between each virtual object and the virtual camera shown in Figure 1A are not entirely the same. Therefore, in the process of selecting a virtual character, not only are virtual objects closer to the virtual camera selected, but also virtual objects farther away from the virtual camera are selected, that is, all virtual objects within the box selection area are selected. However, the virtual objects selected at this time (all virtual objects within the selection area) are not necessarily the objects that the user needs to perform the next operation on. Therefore, it is necessary to adjust the multiple virtual objects selected by the selection operation.

[0036] It should be noted that the virtual camera described above is a virtual device used to capture the virtual scenes shown in Figures 1A and 1B. The virtual object selection method provided in this disclosure can be applied to any application scenario that requires the selection of multiple operation objects, such as game scenarios, shopping scenarios, office scenarios, etc. This disclosure does not impose any special restrictions on the specific application scenarios, and all application scenarios that meet the above requirements are within the protection scope of this disclosure.

[0037] To address the aforementioned technical issues, the following examples of commonly used related technical solutions will be provided:

[0038] In one related technical solution, users can manually adjust the size of the selection area to adjust the selected virtual objects. For example, when the user does not need to select the cone 102 shown in Figure 1A, the user can drag the upper edge of the selection area downwards to move the cone 102 out of the selection area, thus making the cone 102 unselected. However, when the upper edge of the selection area is dragged down, the cylinder 103 will also be moved out of the selection area, meaning the cylinder 103 will also become unselected, which is not the desired result. Therefore, the user needs to adjust repeatedly, making this method of selecting multiple virtual objects inaccurate and inflexible.

[0039] In another related technical solution, after the user completes the selection operation to determine the selected area, as shown in Figure 1A, the identifiers of the selected virtual objects within the current selection area are displayed in a list on the right side of the graphical user interface. Each selected virtual object in the list is made editable, allowing the user to delete some virtual objects that they do not need to select. For example, when the user needs to delete the cone 102 that does not need to be selected, as shown in Figure 1A, assuming that cone 102 corresponds to the identifier of the last cone in the list, the user can click the delete control in the upper right corner of the identifier corresponding to cone 102 in the list. As shown in Figure 1B, cone 102 will be deleted from the list of selected virtual objects. Simultaneously, cone 102 will be updated from the selected state shown in Figure 1A to the unselected state shown in Figure 1B, that is, the gray / black fill state of cone 102 will be canceled, making it present the same unselected state as cone 101. However, this technical solution requires users to screen and delete virtual objects that do not need to be selected one by one, which makes it time-consuming and inefficient for users to select virtual objects, affecting the user's operating experience and thus affecting the user stickiness between the user and the application.

[0040] This exemplary embodiment addresses the aforementioned problems and proposes a method for selecting virtual objects. After the terminal device responds to a user's selection operation and determines the selection area, a slider control can be displayed on the user interface. This slider control includes a sliding track and a slider marker located on the sliding track. The sliding track represents the numerical range of target parameters for the virtual objects, allowing the user to quickly and in batches add or remove selected virtual objects within the target selection area simply by dragging the slider marker along the sliding track, based on the set parameter values. This method quickly removes virtual objects mistakenly selected during the selection operation, or unselected virtual objects. The method for adding virtual objects avoids the need to delete unwanted virtual objects one by one within the selected area or to manually adjust the selected area to delete unwanted virtual objects, which leads to a long interaction process and makes it difficult to quickly and in batches select the virtual objects that the user needs to control, thus affecting the user's operating experience. The virtual object selection method provided in this disclosure can quickly and in batches filter or add virtual characters within the selected area, greatly shortening the interaction process time, improving efficiency, and enhancing the usability of the game and the user's operating experience.

[0041] Based on this, it can be seen that the method, apparatus, storage medium and electronic device for selecting virtual objects provided in the embodiments of this disclosure can solve the technical problems of low efficiency and flexibility and cumbersome operation in selecting virtual objects in virtual scenes in the above-mentioned related technical solutions.

[0042] The following description applies the proposed method and apparatus for selecting virtual objects to the system architecture of the exemplary application environment shown in Figure 2.

[0043] Figure 2 illustrates the architecture of a virtual object selection system according to this exemplary embodiment. As shown in Figure 2, the system architecture 200 may include one or more of terminal devices 201, 202, 203, and 204, a network 205, and a server 206. The network 205 serves as a medium for providing communication links between the terminal devices 201, 202, 203, and 204 and the server 206. The network 205 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc. The terminal devices 201, 202, 203, and 204 may be, for example, smartphones, PDAs, laptops, servers, desktop computers, or any other computing devices with network connectivity, but are not limited thereto.

[0044] It should be understood that the number of terminal devices, networks, and servers in Figure 2 is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included. For example, server 206 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0045] The virtual object selection method provided in this embodiment can be executed on server 206, and correspondingly, the virtual object selection device is generally located in server 206. The virtual object selection method provided in this embodiment can also be executed on a terminal device, and correspondingly, the virtual object selection device can also be located in the terminal device. The virtual object selection method provided in this embodiment can also be partially executed on server 206 and partially executed on the terminal device; correspondingly, some modules of the virtual object selection device can be located in server 206, and some modules can be located in the terminal device.

[0046] For example, in an exemplary embodiment, a game application is installed on terminal devices 201, 202, 203, or 204. Users can run the game application through terminal devices 201, 202, 203, or 204. The terminal device provides a graphical user interface, which includes at least a portion of a virtual scene and multiple selectable virtual objects located in the virtual scene. The server 206 can provide game resources for the terminal devices 201, 202, 203, or 204 during the game operation and management process. Using any of the aforementioned terminal devices as the execution entity, the terminal device, in response to a selection operation command triggered by a graphical user interface, determines the target selection area corresponding to the selection operation command and selects a target virtual object from multiple selectable virtual objects in the virtual scene; wherein, the target virtual object includes virtual objects located within the target selection area; a slider control is displayed in the graphical user interface, the slider control includes a sliding track and a sliding indicator located on the sliding track, the parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene; in response to a control operation on the sliding indicator, the target parameter value corresponding to the control operation is determined according to the position parameter of the sliding indicator in the sliding track, so as to adjust the target virtual object selected within the target selection area based on the target parameter value.

[0047] In one embodiment of this disclosure, the method for selecting virtual objects can run on a local terminal device or a server. When the method for selecting virtual objects runs on a server, it can be implemented and executed based on a cloud interaction system, which includes a server and client devices.

[0048] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The selection, storage, and execution of virtual objects are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, information processing is performed by the cloud gaming server in the cloud. When playing the game, the user operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses game screen data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0049] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the graphical user interface to the user in various ways, such as rendering it on the terminal's display screen or providing it to the user through holographic projection. For example, the local terminal device can include a display screen for displaying the graphical user interface, which includes game screens, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.

[0050] In one possible implementation, this disclosure provides a method for selecting virtual objects, which provides a graphical user interface through a terminal device. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system.

[0051] However, those skilled in the art will readily understand that the above application scenarios are merely examples and are not limited to these exemplary embodiments.

[0052] Having understood the system architecture of the virtual object selection method provided in this disclosure, a detailed description will be given below in conjunction with specific embodiments.

[0053] This disclosure will use the aforementioned terminal device as the execution subject and illustrate the application of the virtual object selection method to the aforementioned terminal device as an example. A graphical user interface is provided through the aforementioned terminal device, which can be the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. The graphical user interface provided by the terminal device includes at least a portion of a virtual scene and multiple selectable virtual objects located within the virtual scene. Figure 3 schematically shows a flowchart of a virtual object selection method in this exemplary embodiment. Referring to Figure 3, the virtual object selection method provided in this embodiment includes the following steps S301-S303:

[0054] Step S301: In response to a selection operation command triggered by a graphical user interface, determine the target selection area corresponding to the selection operation command, and select a target virtual object from multiple selectable virtual objects in the virtual scene; wherein, the target virtual object includes virtual objects located within the target selection area.

[0055] Step S302: Display a slider control in the graphical user interface. The slider control includes a sliding track and a sliding indicator located on the sliding track. The parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene.

[0056] Step S303: In response to the control operation on the sliding indicator, determine the target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track, so as to adjust the selected target virtual object in the target selection area based on the target parameter value.

[0057] In some embodiments of this disclosure, the method shown in Figure 3 allows for the selection of target virtual objects based on a box selection operation. The target parameter value is then adjusted using a slider control, thereby adjusting the selected virtual objects within the target box selection area based on the target parameter value determined by the slider control. This adjustment can be achieved by reducing or increasing the number of selected virtual objects within the target box selection area. Specifically, it can cancel the selection of some virtual objects or adjust unselected virtual objects within the target selection area to a selected state. In the embodiments provided in this disclosure, the user only needs to control the slider indicator in the slider control to move along the slider track. Based on the target parameter value represented by the position of the slider indicator on the slider track, the selected virtual objects within the target box selection area can be adjusted. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by deleting virtual objects one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter selected virtual characters within a box selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0058] The specific implementation methods of each step in the embodiment shown in Figure 3 will be described in detail below with reference to specific embodiments:

[0059] In step S301, in response to a selection operation command triggered by the graphical user interface, the target selection area corresponding to the selection operation command is determined, and a target virtual object is selected from multiple selectable virtual objects in the virtual scene; wherein, the target virtual object includes virtual objects located within the target selection area.

[0060] The virtual scene can be a two-dimensional virtual scene, a three-dimensional virtual scene, or a virtual scene of any other dimension. It should be understood that, compared to a two-dimensional virtual scene, when the virtual scene is a three-dimensional virtual scene, it also includes the distance parameter between the virtual objects and the virtual camera, and the distances between multiple selectable virtual objects in the virtual scene and the virtual camera can be the same or different.

[0061] In one optional embodiment of this disclosure, the box selection operation instruction is an instruction triggered by a box selection operation performed on a graphical user interface. The box selection operation is implemented through at least one of the following operation methods: sliding operation and clicking operation.

[0062] The box selection operation instruction can be triggered when the user finishes performing a box selection operation on the graphical user interface, or it can be triggered when the terminal device responds to the user's start of performing a box selection operation on the graphical user interface. This disclosure does not impose any special restrictions on this.

[0063] The following will, with reference to Figure 4, take the click operation and the swipe operation as examples to illustrate the process of determining the target selection area through the selection operation. Figure 4 shows a schematic diagram of one of the selection operations in this exemplary embodiment.

[0064] Example 1: Taking the selection operation as a sliding operation as an example, as shown in Figure 4, the terminal device responds to the touch operation on position 1 (i.e., the first position) on the graphical user interface and the sliding operation from position 1 to position 2 (i.e., the second position) on the graphical user interface. As shown in Figure 4, position 1 and position 2 are respectively used as vertex positions, and the sliding distance between position 1 and position 2 is used as the diagonal to generate a rectangular selection area. At this time, the rectangular selection area generated above is the target selection area corresponding to the selection operation command.

[0065] In addition to the above embodiments, taking the selection operation as a click operation as an example, the terminal device responds to the click operation on position 1 of the graphical user interface and takes position 1 as the first position; then, the position where the user performs the click operation on position 2 of the graphical user interface within a preset time is taken as the second position, thereby determining the target selection area based on the first position and the second position.

[0066] Continuing with Figure 4 as an example, when the terminal device responds to a user's click operation at position 1 on the graphical user interface, position 1 is designated as the first position. Then, if the user clicks again at position 2 on the graphical user interface, position 2 is designated as the second position. A selection area is generated using the first and second positions determined by the two click operations. As shown in Figure 4, a rectangular selection area is generated by using positions 1 and 2 as vertex positions and the distance between positions 1 and 2 as the diagonal. This generated rectangular selection area is the target selection area corresponding to the determined selection operation command.

[0067] It should be explained that the above method for generating a rectangular selection area is merely an example and is not a limitation on the method for determining the selection area. Other methods can also be used to determine the target selection area, and the target selection area can be a regular shape or an irregular shape. This disclosure does not impose any special restrictions on this.

[0068] As shown in Figure 4, when performing the selection operation, the selected target area may or may not contain any virtual objects. When the target area does not contain any virtual objects, no virtual objects are selected. When the target area contains virtual objects, the virtual objects contained in the target area are selected.

[0069] In some example embodiments of this disclosure, when performing step S301, which involves determining the target selection area corresponding to a selection operation instruction triggered by a graphical user interface: in response to the selection trigger operation, multiple selectable virtual objects are controlled to enter a selectable state; after the multiple selectable virtual objects enter the selectable state, in response to a sliding operation from a first position to a second position in the graphical user interface, the target selection area is determined based on the first position and the second position.

[0070] The first position can be the starting position of the swipe operation, and the second position can be the ending position of the swipe operation. Both the first and second positions can be any position within the virtual scene, and the first and second positions are different.

[0071] In this embodiment of the disclosure, the selection trigger operation can refer to a long press operation or a hard press operation (wherein, a hard press operation can be a touch operation that detects a touch pressure value greater than a preset pressure threshold). For example, by long-pressing or hard-pressing any blank area in the graphical user interface, the user can control all selectable objects in the graphical user interface to enter a selectable state, such as a selectable box state. After entering the selectable box state, the virtual object can be selected, such as being boxed.

[0072] The selectable state can be one or a combination of methods such as highlighting multiple selectable virtual objects in the virtual scene, adding shadows, and changing colors. This disclosure does not impose any special limitations on this.

[0073] It should be noted that, in the embodiments of this disclosure, the box selection operation instruction may include instructions generated based on the box selection trigger operation and the sliding operation, respectively. The box selection trigger operation is used to trigger entry into the box selection, and the sliding operation is used to obtain the box selection result.

[0074] It should be understood that when a terminal device responds to the start command of a swipe operation, it can display a selected area in real time on the graphical user interface based on the change in the touch point position during the swipe operation. The size of the selected area changes in real time according to the progress of the selection operation until the terminal device responds to the end command of the swipe operation. Of course, during the movement of the touch point in the swipe operation, it is not necessary to display the selected area in real time; instead, the selected area can be displayed only when the swipe operation stops.

[0075] In an optional embodiment of this disclosure, the sliding operation and the box selection trigger operation in the above embodiments can be consecutive operations.

[0076] For example, when a terminal device responds to a selection trigger operation, the touch position corresponding to the selection trigger operation is designated as the first position. Then, without ending the selection trigger operation, a sliding operation from the first position to the second position is performed to determine the target selection area based on the first and second positions. For instance, the terminal device triggers a selection operation in response to a long press or hard press operation to control multiple selectable virtual objects in a virtual scene to enter a selectable state. Then, in response to performing a sliding operation from the first position to the second position corresponding to the long press or hard press operation, the terminal device determines the target selection area based on the first and second positions.

[0077] Through this embodiment, the terminal device can control multiple selectable virtual objects in the virtual scene to enter the selectable state when responding to the selection trigger operation. This not only allows users to intuitively view the selectable virtual objects through the presented selectable state, but also makes it easier for users to locate the first and second positions to perform the selection operation after multiple selectable virtual objects have entered the selectable state. This facilitates the determination of the target selection area, improves the user's operational convenience, and enhances the user's operating experience.

[0078] In step S301, a target virtual object is selected from a plurality of selectable virtual objects in the virtual scene. The target virtual object includes the virtual object selected within the target selection area.

[0079] For example, when selecting a target virtual object from multiple selectable virtual objects in a virtual scene, all virtual objects selected within the target selection area can be identified as the target virtual object, or only virtual objects within a preset distance from the virtual camera can be identified as the target virtual object. For instance, if the distance parameter of the virtual object furthest from the virtual camera in the game scene is 30, then all virtual objects within the target selection area determined by the selection operation can be identified as the target virtual object; or, only virtual objects within the target selection area whose distance parameter value from the virtual camera is less than 20 can be identified as the target virtual object.

[0080] In one optional embodiment of this disclosure, the selected target virtual object within the target selection area can be displayed differently from other unselected virtual objects in the virtual scene.

[0081] Other virtual objects are virtual objects in the virtual scene that are not selected. They can be within or outside the target selection area. For example, in the process of determining the target virtual object, if only virtual objects within a preset distance from the virtual camera are identified as target virtual objects, virtual objects that are within the target selection area but outside the preset distance are not selected and are also identified as other virtual objects.

[0082] It should be explained that, taking the example of determining all virtual objects selected within the target selection area as the target virtual object, during the selection operation, there may be cases where only a portion of some virtual objects is included within the target selection area. To address this, all virtual objects, whether fully or partially within the target selection area, can be determined as target virtual objects; or only all virtual objects within the target selection area can be determined as target virtual objects, while those not within or partially within the target selection area can be determined as other virtual objects; or for virtual objects partially within the target selection area, the proportion of their portion within the target selection area to the total can be used as the criterion for determining whether they are considered target virtual objects. This disclosure does not impose any special limitations on these aspects.

[0083] In this embodiment, to facilitate intuitive viewing for the user, the selected virtual object within the target selection area can be displayed differently from other unselected virtual objects in the virtual scene. For example, the target virtual object within the target selection area can be displayed as selected, while other virtual objects outside the target selection area can be displayed as unselected. It should be understood that the above-mentioned differentiated display method can be any form, such as color filling, pattern filling, highlighting, blinking, or other methods of differentiation, and this embodiment does not impose any special limitations on this.

[0084] To facilitate the illustrative explanation of the above-mentioned differentiated display method, the following will be illustrated in conjunction with Figures 4 and 5.

[0085] For the virtual scene shown in Figure 4 and the multiple selectable virtual objects in the virtual scene, namely the two chairs, the table, the vase, the standing lamp and the washing machine shown in Figure 4, since no virtual object is selected within the target selection area, all virtual objects in the virtual scene are in an unselected state.

[0086] Figure 5 illustrates a schematic diagram of a differentiated display of target virtual objects in one of the exemplary embodiments of this invention. When the target selection area is the area outlined in Figure 5, some virtual objects in the virtual scene are included within the selected area. Referring to Figure 5, the target virtual objects in this embodiment include a chair, a table, a vase, a standing lamp, and a washing machine, as shown in Figure 5. These objects are displayed in a selected state by filling a portion of their area with color. Other virtual objects outside the target selection area are represented by another chair, as shown in Figure 5, and are displayed in an unselected state by not filling them with color. By using the color filling method shown in Figure 5, the target virtual object within the target selection area in the virtual scene can be differentiated from other virtual objects outside the target selection area, thereby facilitating the user's intuitive viewing of the currently selected virtual object.

[0087] In step S302, a slider control is displayed in the graphical user interface. The slider control includes a sliding track and a sliding indicator located on the sliding track. The parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene.

[0088] In one optional embodiment of this disclosure, the target parameters include at least one of the following: the distance between the virtual object and the virtual camera, the color of the virtual object, the volume of the virtual object, the rarity of the virtual object, the fashionability of the virtual object, and the price of the virtual object.

[0089] A virtual camera is a virtual device that allows users to capture virtual scenes and display them on a graphical user interface. For example, displaying the distance between a virtual object and the virtual camera through the graphical user interface represents the depth distance between them.

[0090] For example, when adjusting the selected virtual object within the target selection area, one or more of the following factors can be used as conditions for quickly filtering virtual objects: the distance between the virtual object and the virtual camera, the color of the virtual object, the volume of the virtual object, the rarity of the virtual object, the fashionability of the virtual object, and the price of the virtual object. This allows for subsequent adjustments to the selected virtual object.

[0091] Based on the above embodiments, in an optional embodiment of this disclosure, when determining the target parameter, the target parameter is determined from a set of preset parameters of multiple virtual objects in response to the selection operation of the virtual object's parameter.

[0092] For example, when multiple target parameters exist, the system can provide the user with a set of preset selectable virtual object parameters through a graphical user interface, allowing the user to choose from the numerical range of the target parameters corresponding to virtual objects in the virtual scene, based on a sliding track characterizing the virtual object's parameter range. The terminal device, in response to the user's selection operation based on the virtual object's parameters, determines the target parameter from the preset set of virtual object parameters.

[0093] Understandably, besides manually determining the target parameters, the system can also automatically select them. For example, if multiple selectable virtual objects in a virtual scene are detected to have the same color, size, rarity, fashionability, and price, but differ only in the distance between the virtual object and the virtual camera, the system will default to determining the distance between the virtual object and the virtual camera as the target parameter.

[0094] The slider control includes a sliding track and a slider icon, with the slider icon positioned on the sliding track. The track length indicates the numerical range of the target parameter corresponding to the virtual object in the virtual scene. The position of the sliding track is fixed, while the slider icon can move back and forth on the track to change its position.

[0095] To facilitate understanding of the slider control, the following will illustrate the selection process of virtual objects in the graphical user interface with reference to Figure 6A.

[0096] Figure 6A shows a schematic diagram of a slider control in this exemplary embodiment. As shown in Figure 6A, a slider control 601 is displayed, which includes a sliding indicator 602 and a sliding track 603. The sliding track 603 in the slider control 601 has a certain track length to indicate the numerical range of the target parameter corresponding to the virtual object in the virtual scene based on the track length.

[0097] A. Regarding the timing of the slider control's display:

[0098] In an optional embodiment, after the target selection area is determined in step 301, the slider control can be displayed synchronously on the graphical user interface.

[0099] In another alternative embodiment, when the selection operation is a sliding operation, the terminal device can also display a slider control in the graphical user interface in response to the end command of the sliding operation.

[0100] B. Regarding the display format of the slider control:

[0101] In one optional embodiment of this disclosure, a slider control of a first style is displayed in a graphical user interface.

[0102] In the first style of slider control, the slider indicator is located at the first track position in the slider path. The first track position indicates the maximum value within the range of target parameter values. Taking the target parameter as the distance between the virtual object and the virtual camera as an example, the corresponding first track position represents the maximum value within the range of distance values.

[0103] To facilitate understanding of the first style of sliding control described above, the following will continue to illustrate the selection process of virtual objects in the graphical user interface in conjunction with Figure 6B.

[0104] Based on Figure 6A, Figure 6B shows a schematic diagram of the selected virtual object when the sliding indicator is located on the first sliding track in this exemplary embodiment. Taking the track length of the sliding track 603 shown in Figure 6B, which represents the distance parameter to the virtual camera in the range of 1-30, as an example, when the sliding indicator 602 is at the leftmost position of the sliding track 603, the parameter value representing the current distance parameter to the virtual camera is 30. At this time, the first track position is the leftmost position of the sliding track 603. In the first style embodiment, when the target selection area is determined, the initial position of the sliding indicator in the displayed sliding control is the first track position.

[0105] For example, taking the distance between a virtual object and a virtual camera as the target parameter, the length of the sliding track 603 represents the distance between the virtual object and the virtual camera in a range of 1-30. When the sliding indicator 602 is at the leftmost position of the sliding track 603, it indicates that the currently represented distance parameter value is 30. Therefore, the distance between the selected target virtual object and the virtual camera within the target selection area is all within 30. The above embodiment uses the example where the sliding indicator 602 is at the leftmost position of the sliding track 603, indicating that the currently represented distance parameter value is the largest. Therefore, the leftmost position of the sliding indicator 602 on the sliding track 603 is the first track position.

[0106] It is understood that the sliding marker 602 can also be positioned at the rightmost position of the sliding track 603, in which case the parameter value representing the distance from the virtual camera is the largest, and the rightmost position is the first track position. This embodiment of the present disclosure does not impose any special restrictions on this.

[0107] In another optional embodiment of this disclosure, a second-style slider control is displayed in a graphical user interface, wherein the slider indicator in the second-style slider control is located at the minimum value in the range of numerical values ​​indicating the distance from the virtual camera to the track position in the slider track.

[0108] Taking the example that the sliding indicator 602 is located at the leftmost position of the sliding track 603, which represents the maximum value of the distance parameter between the current device and the virtual camera, the sliding indicator in the second style slider control is located at the rightmost position of the sliding track.

[0109] C. Regarding the display position of the slider control:

[0110] The slider control can be displayed in the lower right position of the target selection area (see Figure 6A), or in the right position of the target selection area. In addition to the horizontal display mode shown in Figure 6A, in which the slider control 601 can be displayed vertically by sliding the slider indicator 602 shown in the figure left and right in the sliding track 603, it can also be adjusted by sliding the slider indicator up and down, or displayed at any angle. The specific adjustment can be made according to the actual situation, and this embodiment does not impose any special limitations on this.

[0111] It should be explained that the numerical range of the target parameter represented by the sliding track needs to be determined according to the actual virtual scene. Taking the distance between the virtual object and the virtual camera as an example, the maximum value represented by the numerical range of the target parameter must include the virtual object that is farthest from the virtual camera in the virtual scene, and the corresponding minimum value must include the virtual object that is closest to the virtual camera in the virtual scene, so as to ensure that all virtual objects in the virtual scene can be selected by the box selection operation.

[0112] In step S303, in response to the control operation on the sliding indicator, the target parameter value corresponding to the control operation is determined according to the position parameter of the sliding indicator in the sliding track, so as to adjust the selected target virtual object in the target selection area based on the target parameter value.

[0113] The target parameter value is within the range indicated by the sliding track, and can be any value within the range of target parameters of virtual objects in the virtual scene. For example, if the target parameter's value range is 1-20, the target parameter value must be any value within 1-20; that is, the minimum target parameter value is 1, and the maximum value is 20.

[0114] In an optional embodiment, the control operation can be any of the following: a swipe operation, a click operation, or other operation methods.

[0115] In the process of adjusting the selected virtual objects within the target selection area based on the target distance, it can be a process of adding or removing virtual objects within the target selection area.

[0116] Taking the example that the target determined by step S301 includes all virtual objects located within the target selection area, in an optional embodiment of this disclosure, when executing step S303, in response to the control operation on the sliding indicator, the target parameter value corresponding to the control operation is determined according to the position parameter of the sliding indicator in the sliding track; the first target virtual object whose target parameter does not conform to the target parameter value is determined among the target virtual objects selected within the target selection area; the selection state of the first target virtual object is canceled to obtain the target virtual objects selected within the adjusted target selection area.

[0117] For example, after determining the target parameter value based on the position parameter of the sliding identifier in the sliding track, the first target virtual object whose target parameter does not conform to the target parameter value can be filtered out from the target virtual objects selected within the target selection area, so as to cancel the selection state of the first target virtual object and achieve the effect of removing it from the selected target virtual objects.

[0118] The following will use the depth distance between the virtual object and the virtual camera as an example to illustrate the steps of S303 above.

[0119] In an optional embodiment of this disclosure, when performing step S303, in response to a control operation on a sliding marker, the target depth distance corresponding to the control operation is determined based on the position parameters of the sliding marker in the sliding track, so as to adjust the selected target virtual object within the target selection area based on the target depth distance.

[0120] The target depth distance is a value determined from the range of depth distance parameters between the virtual object and the virtual camera, based on the position parameters of the sliding marker in the sliding track.

[0121] For example, the depth distance between virtual objects and the virtual camera in a virtual scene varies. Therefore, the target distance corresponding to the control operation can be determined by the position parameter of the slider on the slider track, so as to achieve the effect of adjusting the selected target virtual objects within the target selection area based on the target distance. For example, the distance parameter value between the virtual object and the virtual camera represented by the slider track ranges from 1 to 30. When the target distance value is determined to be 20 based on the position parameter of the slider on the slider track, the selected target virtual objects within the target selection area can be adjusted based on the target distance value of 20. For example, the selection state of virtual objects with a target distance value greater than 20 can be canceled, while the selection state of virtual objects with a target distance value less than or equal to 20 can be retained.

[0122] Continuing with the example of the target parameter being the volume of a virtual object, the range of parameter values ​​indicated by the corresponding sliding track is used to characterize the range of model sizes of virtual objects in the virtual scene.

[0123] For example, in response to a control operation on a sliding indicator, the terminal device can determine a target model size based on the position parameters of the sliding indicator in the sliding track, so as to filter out virtual objects that do not conform to the target model size from the target virtual objects selected within the target selection area, thereby deselecting them and achieving the effect of quickly filtering the selected virtual objects.

[0124] For example, if the model size parameter indicated by the sliding track ranges from 1 to 50, and the target model size determined by the position parameter of the sliding indicator within the sliding track is 30, then the selected virtual objects within the target selection area can be adjusted using a target model size value of 30. For instance, the selection of virtual objects with a target model size value greater than 30 can be cancelled, while the selection of virtual objects with a target model size value less than or equal to 30 remains.

[0125] Similarly, parameters such as the color, rarity, fashionability, and price of virtual objects in the game scene can be used as filtering conditions to adjust the selected virtual objects within the target selection area. This disclosure does not exhaustively cover all such examples.

[0126] Furthermore, taking the depth distance between the virtual object and the virtual camera as the target parameter as an example, in the process of determining the target depth distance by the position parameter of the sliding marker, and then adjusting the selected target virtual objects within the target selection area based on the target depth distance, this includes not only canceling virtual objects that do not meet the target distance, but also adding virtual objects that do meet the target depth distance. The following will illustrate this with specific embodiments:

[0127] Example 1:

[0128] Based on displaying the slider control in the first style, when executing step S303, in response to the control operation of moving the slider marker from the first track position to the second track position, the first target depth distance matching the second track position is determined, and the selection of target virtual objects within the target selection area whose distance from the virtual camera is greater than the first target depth distance is cancelled, thereby obtaining the adjusted target virtual objects within the target selection area.

[0129] In the first style of slider control, the sliding indicator is located at the first track position in the sliding track. The first track position indicates the maximum value in the range corresponding to the virtual camera distance parameter. The second track position is any position on the sliding track other than the first track position.

[0130] For example, when performing the control operation of moving the sliding marker from the first track position to the second track position in step S303, it can be done by sliding the sliding marker from the first track position to the second track position; or it can be done by clicking the second track position to move the sliding marker from the first track position to the second track position. This embodiment of the disclosure does not impose any special limitations on this.

[0131] For example, when the slider is located at the first track position in the sliding track, the target depth distance it represents is at its maximum value, and the user can only control the slider to slide towards a smaller value. That is, the depth distance parameter represented by the second track position is necessarily less than the depth distance parameter represented by the first track position. For example, taking the sliding track 603 shown in Figure 6B, where the track length represents the depth distance parameter in the range of 1-30, when the slider 602 is at the leftmost position of the sliding track 603, the parameter value representing the current depth distance is 30. At this time, the first track position is the leftmost position of the sliding track 603, while the second track position is anywhere to the right of the first track position, and its parameter value representing the distance from the virtual camera is less than 30. In the first style of slider control, after the target selection area is determined, the slider is in the first track position by default, so that all virtual objects within the target selection area are identified as target virtual objects.

[0132] For example, when the terminal device responds to a control operation that moves the sliding marker from the first track position to the second track position, it determines a first target depth distance that matches the position parameters of the second track position from the numerical range represented by the sliding track based on the second track position in the sliding track. Then, from the target virtual objects selected within the target selection area, virtual objects whose depth distance from the virtual camera is greater than the first target depth distance are deselected.

[0133] Taking the application scenario shown in Figure 6B as an example, Figure 6B illustrates a display diagram of a target virtual object selected by a sliding indicator moving from the first sliding track to the second sliding track in this exemplary embodiment. Assuming the track length of the slider control represents a depth distance parameter ranging from 1 to 30, the distance parameter between the first track position 604 and the virtual camera is 30, and the depth distance parameter between the second track position 605 and the virtual camera is 10, the terminal device, in response to the control operation of moving the sliding indicator from the first track position 604 to the second track position 605, determines that the first target depth distance matching the second track position 605 is 10. Therefore, all virtual objects in the target virtual object whose depth distance parameter to the virtual camera is greater than 10 are deselected, making them unselected. Referring to Figure 6B, the table, vase, lamp, and washing machine in Figure 6A whose distance parameter to the virtual camera is greater than 10 are deselected, while the two chairs in Figure 6A whose distance parameter to the virtual camera is less than or equal to 10 remain selected.

[0134] Example 2:

[0135] Based on Embodiment 1, in an optional embodiment of this disclosure, in response to moving the sliding marker from the second track position to the third track position, a second target depth distance matching the third track position is determined; a second target virtual object in the target selection area whose distance from the virtual camera is between the first target depth distance and the second target depth distance is determined; and the second target virtual object is selected.

[0136] The third track position is the position between the first track position and the second track position. That is, the value of the second target depth distance indicated by the third track position relative to the virtual camera distance parameter is greater than the value of the first target depth distance corresponding to the second track position within the range of the sliding track indication value, and less than the maximum value corresponding to the first track position within the range of the sliding track indication value.

[0137] Based on this embodiment, when executing step S303, in response to moving the sliding marker from the second track position to the third track position, it is possible to determine the second target virtual object in the target selection area whose distance from the virtual camera is between the first target depth distance and the second target depth distance, thereby selecting only the second target virtual object and obtaining the adjusted target virtual object.

[0138] For example, the length of the sliding track represents the distance parameter of the virtual camera, which ranges from 1 to 30. The target distance indicated by the first track position is 30, the first target depth distance indicated by the second track position is 15, and the second target depth distance indicated by the third position is 25.

[0139] In this example, Figure 6C shows a schematic diagram of the display of a target virtual object selected by a sliding indicator moving from the second sliding track to the third sliding track in this exemplary embodiment. Referring to Figure 6C, when the sliding indicator is at the second track position 605, virtual objects within the first target depth distance (value 15) indicated by the second track position in the game scene are selected. Continuing to refer to Figure 6C, the sliding indicator is controlled to continue moving from the second track position 605 to the third track position 606. At this time, the third track position 606 is located between the first track position 604 and the second track position 605 shown in Figure 6C. Virtual objects within the target selection area that are greater than the first target depth distance (value 15) indicated by the second track position 605 and less than the second target depth distance (value 25) indicated by the third track position 606 can be identified as the second target virtual objects, thereby selecting the second target virtual objects and obtaining the adjusted selected target virtual objects within the target selection area. At this time, the second target virtual objects shown in Figure 6C are two chairs, a round table, and a vase on the round table, and the two chairs, the round table, and the vase on the round table are all updated to the selected state.

[0140] In the above embodiments, the sliding marker can also be moved to a position smaller than the first target depth distance (value of 15) indicated by the second track position, for example, a track position with a target distance value of 10, thereby achieving the effect of removing virtual objects with a target distance value between 10 and 15 from the virtual objects within the first target depth distance (value of 15) indicated by the second track position in the game scene, or canceling the selection state of virtual objects with a target distance value greater than 10 within the target selection area.

[0141] Through the above embodiments, the virtual objects selected within the target selection area can be quickly adjusted by changing the position of the sliding indicator in the sliding track, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0142] Furthermore, the slider control can also provide one or more of a first slider position control, a second slider position control, and a third slider position control, so that the slider can be quickly moved to a specific position by clicking, thereby further improving the efficiency of adjusting the selected virtual objects within the selection area.

[0143] The third slider position control is located at the first track position of the sliding track, which represents the maximum value within the range of the target parameter. The first slider position control is located at the position furthest from the first track position, meaning it represents the minimum value of the target parameter. The second slider position control is located in the middle position of the sliding track, representing the value of the target parameter as the midpoint between the maximum and minimum values.

[0144] The following explanation will use Figure 7 as an example to illustrate how a slider control can simultaneously provide a first slider position control, a second slider position control, and a third slider position control.

[0145] Referring to Figure 7, the slider control includes a first slider position control 701, a second slider position control 702, and a third slider position control 703. At this time, the first position of the third slider position control 703 indicates the maximum value within the range of the depth distance parameter, the position of the first slider position control 701 indicates the minimum value within the range of the depth distance parameter, and the position of the second slider position control 702 indicates the intermediate value between the minimum and maximum values ​​within the range of the depth distance parameter.

[0146] When executing step S303, if the sliding identifier contains at least the first slider position control, in response to the first touch operation on the first slider position control on the sliding track, the sliding identifier is adjusted from the first track position to the position where the first slider position control is located; the third target depth distance corresponding to the position where the first slider position control is located is determined, and virtual objects whose depth distance from the virtual camera is greater than the third target depth distance are deselected, thereby obtaining the adjusted selected target virtual object.

[0147] Among them, the depth distance of the second target corresponding to the position of the first slider position control is the minimum value in the range of depth distance parameters.

[0148] When the sliding marker contains at least the second slider position control, in response to the second touch operation on the second slider position control on the sliding track, the sliding marker is adjusted from the first track position to the middle position where the second slider position control is located; the fourth target depth distance corresponding to the middle position is determined, and virtual objects whose distance from the virtual camera is greater than the fourth target depth distance are deselected, thus obtaining the adjusted selected target virtual objects within the target selection area.

[0149] The distance parameter between the fourth target depth indicator and the virtual camera is the midpoint between the minimum and maximum values. For example, if the minimum value is 1 and the maximum distance is 11, then the midpoint value is 6.

[0150] Similarly, by using touch operation on the third slider position control 703, the target virtual object within the target selection area can be quickly adjusted to all virtual objects within the target selection area.

[0151] In the above embodiments, by using the first slider position control, the second slider position control, and the third slider position control provided in the slider control, there is no need to perform a sliding operation on the slider indicator. Instead, the slider indicator can be quickly adjusted to the corresponding position by clicking the control, which further improves efficiency.

[0152] Furthermore, since the distances between virtual objects and the virtual camera in a virtual scene are not uniform, problems such as virtual object occlusion are very likely to occur. To facilitate users in filtering and intuitively viewing the selected virtual objects within the target selection area, the following implementation can also be used:

[0153] In one optional embodiment of this disclosure, a sub-user interface is displayed in a preset area of ​​the graphical user interface, and the object identifier of the target virtual object selected in the target selection area is displayed in the sub-user interface.

[0154] In this design, the preset area does not overlap with the area in the virtual scene used to display multiple selectable virtual objects. Alternatively, the preset area may partially or completely overlap with the area in the virtual scene used to display multiple selectable virtual objects, but the transparency of the sub-user interface can be adjusted or set to ensure that the area used to display multiple selectable virtual objects and the sub-user interface do not interfere with each other.

[0155] In one embodiment, the sub-user interface can be displayed on top of the graphical user interface (GUI) or within the GUI. When the sub-user interface can be displayed on top of the GUI, it can be displayed in a pop-up manner or other ways, and this disclosure does not impose any special limitations on this.

[0156] For example, a sub-user interface can also be displayed on the graphical user interface, which is used to display the target virtual object currently selected within the target selection area in real time.

[0157] In this embodiment, while selected virtual objects within the virtual scene can be displayed differently for easier viewing, the layout of these objects is complex, especially in 3D virtual scenes which include a depth coordinate (Z). This can cause partial or complete overlap between virtual objects, making it visually impossible to see occluded objects within the target selection area. To address this, in addition to differentiating the target virtual objects, a sub-user interface can be used to synchronously display the target virtual objects within the target selection area. This avoids accidental selection due to occlusion, improving operational accuracy. Furthermore, the displayed sub-user interface allows users to intuitively view the currently selected target virtual object, enhancing the user's gaming experience.

[0158] Based on the above embodiments, in an optional embodiment of this disclosure, the total number of target virtual objects selected within the target selection area is displayed in the graphical user interface.

[0159] For example, in addition to displaying the virtual scene and the selected target virtual objects, the graphical user interface can also display the total number of target virtual objects selected within the target selection area, so that users can make quantitative control and further improve the user's gaming experience.

[0160] In another optional embodiment of this disclosure, the total number of target virtual objects selected within the target selection area can also be displayed in the sub-user interface, based on the above embodiments.

[0161] For example, based on the target virtual objects currently selected through the sub-user interface, the total number of target virtual objects currently selected can be displayed in the sub-user interface.

[0162] The following will illustrate the sub-user interface shown in Figure 8 and the total number of selected target virtual objects displayed in the sub-user interface in Figures 9A and 9B.

[0163] Figure 8 shows a schematic diagram of a sub-user interface in this exemplary embodiment; as shown in Figure 8, a sub-user interface 801 is displayed in the right area of ​​the graphical user interface, and the virtual objects within the target selection area are displayed in the sub-user interface 801. The virtual objects displayed in the sub-user interface 801 are the currently selected virtual objects.

[0164] Figure 9A shows a schematic diagram of displaying the total number of target virtual objects selected within a target selection area in a sub-user interface according to this exemplary embodiment; as shown in Figure 9A, based on the sub-user interface 801 displayed in the right area of ​​the graphical user interface, the total number 901 of currently selected target virtual objects is also displayed in the sub-user interface 801.

[0165] Figure 9B shows a schematic diagram of displaying the total number of target virtual objects selected within a target selection area in a graphical user interface according to this exemplary embodiment; as shown in Figure 9B, the total number 901 of currently selected target virtual objects is displayed in real time at the upper right position of the graphical user interface.

[0166] It should be explained that the object identifiers of the target virtual objects and the total number of selected target virtual objects can be displayed in real time within this sub-user interface or graphical user interface. That is, when the selected target virtual objects and the total number of selected target virtual objects change, the object identifiers and the total number of selected target virtual objects in the sub-user interface will also be adjusted in real time.

[0167] Based on the above embodiments, the following will take the depth distance between the virtual object and the virtual camera as the target parameter as an example, and refer to FIG10 to describe in detail the entire process of the virtual object selection method of the exemplary embodiment of the present disclosure.

[0168] Referring to Figure 10A, when the terminal device slides from position 1001 to position 1002 in response to the graphical user interface, the selected area does not contain any virtual objects, therefore there is no target virtual object. The virtual objects in the virtual scene are in an unselected state. In this case, the sliding control can be either not displayed or a slider control can be displayed, but the selected target virtual object within the target selection area cannot be adjusted using the slider control.

[0169] Based on Figure 10A and referring to Figure 10B, continue sliding to position 1003. At this point, based on the target selection area determined by the first position 1001 and position 1003, the two chairs, a round table, a vase, a table lamp, and a washing machine in the virtual scene are all included in the target selection area and identified as target virtual objects. As shown in Figure 10B, only part of the chairs and table lamp are within the target selection area, but they can still be identified as target virtual objects. At this time, all the above-mentioned target virtual objects are in a selected state.

[0170] Simultaneously, the displayed slider control is shown in the first style, meaning the slider indicator is located on the first track, indicating the maximum depth distance between the virtual object and the virtual camera. Meanwhile, the currently selected target virtual object is displayed in real-time in the user interface area on the right.

[0171] Assuming the player continues from Figure 10B and slides to position 1004 with reference to Figure 10C, the target selection area changes, and the corresponding target virtual objects also change. At this time, the virtual objects within the target selection area are a chair, a table lamp, a round table, and a vase. The selection of another chair and a washing machine is canceled, and the currently selected target virtual objects are updated in real time in the user interface on the right side.

[0172] Based on the above, once the target selection area is no longer defined, the selected virtual object within the target selection area can be adjusted by adjusting the position of the slider indicator in the slider control on the slider track. For example, refer to the operations in Figures 6B to 6C above; further details are omitted here.

[0173] To implement the above-described method for selecting virtual objects, one embodiment of this disclosure provides a device for selecting virtual objects. Figure 11 schematically illustrates a schematic architecture diagram of the device for selecting virtual objects. The device 1100 includes a determining module 1101, a control display module 1102, and an object adjustment module 1103. The determining module 1101, in response to a selection operation command triggered by a graphical user interface, determines the target selection area corresponding to the selection operation command and selects a target virtual object from a plurality of selectable virtual objects in the virtual scene; the target virtual object includes virtual objects located within the target selection area. The control display module 1102 displays a slider control in the graphical user interface. The slider control includes a sliding track and a sliding indicator on the sliding track. The parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene. The object adjustment module 1103, in response to a control operation on the sliding indicator, determines the target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track, and adjusts the selected target virtual object within the target selection area based on the target parameter value.

[0174] The aforementioned virtual object selection device can select target virtual objects based on a box selection operation, and adjust the value of the target parameter through a slider control. Based on the target parameter value determined by the slider control, the selected target virtual objects within the target box selection area can be adjusted, such as reducing or increasing the number of target virtual objects selected within the target box selection area. Specifically, it can cancel the selection state of some target virtual objects or adjust unselected virtual objects in the target selection area to a selected state. In the embodiments provided in this disclosure, the user only needs to control the slider indicator in the slider control to move along the slider track. Based on the target parameter value represented by the position of the slider indicator in the slider track, the selected virtual objects within the target box selection area can be adjusted. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by deleting virtual objects one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter the selected virtual characters within the box selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0175] In an optional embodiment of this disclosure, the object adjustment module 1103 is configured to, in response to a control operation on a sliding indicator, determine the target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track; determine a first target virtual object whose target parameter does not conform to the target parameter value among the target virtual objects selected within the target selection area; cancel the selection state of the first target virtual object, and obtain the target virtual object selected within the adjusted target selection area.

[0176] Through the above embodiments, the virtual objects selected within the target selection area can be quickly adjusted by changing the position of the sliding indicator in the sliding track, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0177] In one optional embodiment of this disclosure, the target parameters include at least one of the following: the distance between the virtual object and the virtual camera, the color of the virtual object, the volume of the virtual object, the rarity of the virtual object, the fashionability of the virtual object, and the price of the virtual object.

[0178] In an optional embodiment of this disclosure, the device may further include a parameter determination module, which is used to determine a target parameter from a plurality of preset virtual object parameters in response to a selection operation of the virtual object's parameters.

[0179] Through the above embodiments, players can flexibly adjust the virtual objects selected by the selection operation based on various single or combined target parameters. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by the need to delete virtual objects in the selection area one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter the selected virtual characters in the selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0180] In an optional embodiment of this disclosure, the target parameter is the depth distance between the virtual object and the virtual camera; the object adjustment module 1103 is used to respond to the control operation on the sliding marker, determine the target depth distance corresponding to the control operation based on the position parameter of the sliding marker in the sliding track, so as to adjust the target virtual object selected within the target selection area based on the target depth distance.

[0181] Through the above embodiments, by adjusting the position of the sliding marker in the sliding track and referring to the depth distance parameter between the virtual object and the virtual camera, the selected virtual object within the target selection area can be quickly adjusted, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0182] In one optional embodiment of this disclosure, the box selection operation instruction is an instruction triggered by a box selection operation in a graphical user interface. The box selection operation is implemented through at least one of the following operation methods: sliding operation and clicking operation.

[0183] In an optional embodiment of this disclosure, the determining module 1101 is configured to control a plurality of selectable virtual objects to enter a selectable state in response to a selection trigger command; and to determine a target selection area based on the first position and the second position in response to a sliding operation from a first position to a second position in the graphical user interface.

[0184] In one optional embodiment of this disclosure, the sliding operation and the box selection trigger operation are consecutive operations.

[0185] Through the above embodiments, the terminal device can control multiple selectable virtual objects in the virtual scene to enter the selectable state when responding to the selection trigger operation. This not only allows users to intuitively view the selectable virtual objects through the presented selectable state, but also makes it easier for users to locate the first and second positions to perform the selection operation after multiple selectable virtual objects have entered the selectable state, thereby facilitating the determination of the target selection area, improving the user's operational convenience, and thus enhancing the user's operating experience.

[0186] In an optional embodiment of this disclosure, the control display module 1102 is configured to display a slider control in a graphical user interface in response to an end command of the sliding operation.

[0187] In this embodiment, displaying the slider control after the sliding operation is completed reminds the user that the selected virtual object within the target selection area can be quickly adjusted using the displayed slider control, thus improving the convenience of user operation.

[0188] In an optional embodiment of this disclosure, the control display module 1102 is used to display a slider control of a first style in a graphical user interface, wherein the slider control of the first style has a sliding indicator located at a first track position in a sliding track, and the first track position indicates the maximum value in the numerical range of the distance between the virtual object and the virtual camera.

[0189] In this embodiment, the slider control displayed by default has its slider icon located at the first track position in the slider track. The first track position indicates the maximum value in the range of depth distance values. The system will prioritize selecting all virtual objects contained within the target selection area. The user can then reduce virtual objects that do not conform to the target parameter values ​​according to the target parameters. This can minimize the corresponding adjustment operations of the user and improve the user's convenience.

[0190] In an optional embodiment of this disclosure, the object adjustment module 1103 is configured to, in response to a control operation that moves the sliding marker from a first track position to a second track position, determine a first target depth distance matching the second track position, wherein the second track position is any position on the sliding track other than the first track position; cancel the selection of virtual objects within the target selection area whose distance from the virtual camera is greater than the first target depth distance, thereby obtaining the adjusted selected target virtual objects within the target selection area.

[0191] In an optional embodiment of this disclosure, the determining module 1101 may also be used to determine a second target depth distance matching the third track position in response to moving the sliding marker from the second track position to the third track position; the third track position is the position between the first track position and the second track position; determine a second target virtual object in the target selection area whose distance from the virtual camera is between the first target depth distance and the second target depth distance; and select the second target virtual object.

[0192] Through the above embodiments, the virtual objects selected within the target selection area can be quickly adjusted by changing the position of the sliding indicator in the sliding track, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0193] In an optional embodiment of this disclosure, the control display module 1102 can also be used to differentiate the selected target virtual object within the target selection area from other unselected virtual objects in the virtual scene.

[0194] In this embodiment, by distinguishing the selected virtual object within the target selection area from other unselected virtual objects in the virtual scene, it is easier for users to view intuitively and determine whether the currently selected virtual object is the one that needs to be selected. This provides a visual operation method, thereby improving the convenience of user operation.

[0195] In an optional embodiment of this disclosure, the device may further include an interface display module, which is used to display a sub-user interface in a preset area of ​​the graphical user interface; and to display the object identifier of the target virtual object selected in the target selection area in the sub-user interface.

[0196] In this embodiment, while selected virtual objects within the virtual scene can be displayed differently for easier viewing, the layout of these objects is complex, especially in 3D virtual scenes which include a depth coordinate (Z). This can cause partial or complete overlap between virtual objects, making it visually impossible to see occluded objects within the target selection area. To address this, in addition to differentiating the target virtual objects, a sub-user interface can be used to synchronously display the target virtual objects within the target selection area. This avoids accidental selection due to occlusion, improving operational accuracy. Furthermore, the displayed sub-user interface allows users to intuitively view the currently selected target virtual object, enhancing the user's gaming experience.

[0197] In an optional embodiment of this disclosure, the device may further include a quantity display module, which is used to display the total number of target virtual objects selected within the target selection area in a graphical user interface.

[0198] In this embodiment, the total number of selected target virtual objects within the target selection area can be displayed to facilitate quantitative control by the user and further enhance the user's gaming experience.

[0199] The virtual object selection device 1100 provided in this embodiment can execute the technical solution of the virtual object selection method in any of the above embodiments. Its implementation principle and beneficial effects are similar to those of the virtual object selection method. Please refer to the implementation principle and beneficial effects of the virtual object selection method.

[0200] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible implementations, various aspects of this disclosure may also be implemented as a program product including program code, which, when run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. The steps of various exemplary embodiments of this disclosure are as follows:

[0201] In response to a selection operation command triggered by a graphical user interface, the system determines the target selection area corresponding to the selection operation command and selects a target virtual object from multiple selectable virtual objects in the virtual scene; wherein the target virtual object includes virtual objects located within the target selection area; a slider control is displayed in the graphical user interface, the slider control includes a sliding track and a slider marker located on the sliding track, and the parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene; in response to a control operation on the slider marker, the system determines the target parameter value corresponding to the control operation based on the position parameter of the slider marker in the sliding track, so as to adjust the selected target virtual object within the target selection area based on the target parameter value.

[0202] The aforementioned method for selecting virtual objects can be based on a box selection operation to select target virtual objects, and the value of the target parameter can be adjusted through a slider control. This adjustment can then be made based on the target parameter value determined by the slider control, such as reducing or increasing the number of target virtual objects selected within the target box selection area. Specifically, it can cancel the selection state of some target virtual objects or adjust unselected virtual objects in the target selection area to a selected state. In the embodiments provided in this disclosure, the user only needs to control the slider indicator in the slider control to move along the slider track. Based on the target parameter value represented by the position of the slider indicator in the slider track, the selected virtual objects within the target box selection area can be adjusted. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by deleting virtual objects one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter the selected virtual characters within the box selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0203] Optionally, in response to a control operation on a sliding indicator, a target parameter value corresponding to the control operation is determined based on the position parameter of the sliding indicator in the sliding track, so as to adjust the selected target virtual objects within the target selection area based on the target parameter value, including: in response to a control operation on a sliding indicator, determining a target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track; identifying a first target virtual object whose target parameter does not conform to the target parameter value among the selected target virtual objects within the target selection area; canceling the selection state of the first target virtual object, thereby obtaining the adjusted target virtual objects within the target selection area.

[0204] Through the above embodiments, the virtual objects selected within the target selection area can be quickly adjusted by changing the position of the sliding indicator in the sliding track, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0205] Optionally, the target parameters may include at least one of the following: the distance between the virtual object and the virtual camera, the color of the virtual object, the volume of the virtual object, the rarity of the virtual object, the fashionability of the virtual object, and the price of the virtual object.

[0206] Optionally, the method further includes: in response to a parameter selection operation of a virtual object, determining a target parameter from a set of preset parameters of multiple virtual objects.

[0207] Through the above embodiments, players can flexibly adjust the virtual objects selected by the selection operation based on various single or combined target parameters. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by the need to delete virtual objects in the selection area one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter the selected virtual characters in the selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0208] Optionally, the target parameter is the depth distance between the virtual object and the virtual camera; in response to a control operation on a sliding marker, the target parameter value corresponding to the control operation is determined based on the position parameter of the sliding marker in the sliding track, so as to adjust the target virtual object selected within the target selection area based on the target parameter value, including: in response to a control operation on a sliding marker, the target depth distance corresponding to the control operation is determined based on the position parameter of the sliding marker in the sliding track, so as to adjust the target virtual object selected within the target selection area based on the target depth distance.

[0209] Through the above embodiments, by adjusting the position of the sliding marker in the sliding track and referring to the depth distance parameter between the virtual object and the virtual camera, the selected virtual object within the target selection area can be quickly adjusted, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0210] Optionally, the box selection operation instruction is an instruction triggered by the box selection operation in the graphical user interface. The box selection operation is implemented through at least one of the following operation methods: sliding operation and clicking operation.

[0211] Optionally, in response to a selection operation command triggered by a graphical user interface, determining the target selection area corresponding to the selection operation command includes: in response to the selection trigger operation, controlling multiple selectable virtual objects to enter a selectable state; after the multiple selectable virtual objects enter the selectable state, in response to a sliding operation from a first position to a second position in the graphical user interface, determining the target selection area based on the first position and the second position.

[0212] Optionally, the sliding operation and the box selection trigger operation are consecutive operations.

[0213] Through the above embodiments, the terminal device can control multiple selectable virtual objects in the virtual scene to enter the selectable state when responding to the selection trigger operation. This not only allows users to intuitively view the selectable virtual objects through the presented selectable state, but also makes it easier for users to locate the first and second positions to perform the selection operation after multiple selectable virtual objects have entered the selectable state, thereby facilitating the determination of the target selection area, improving the user's operational convenience, and thus enhancing the user's operating experience.

[0214] Optionally, displaying the slider control in the graphical user interface includes: displaying the slider control in response to an end command of the sliding operation.

[0215] In this embodiment, displaying the slider control after the sliding operation is completed reminds the user that the selected virtual object within the target selection area can be quickly adjusted using the displayed slider control, thus improving the convenience of user operation.

[0216] Optionally, displaying the slider control in the graphical user interface includes: displaying a first-style slider control in the graphical user interface, wherein the slider indicator in the first-style slider control is located at a first track position in the slider track, and the first track position indicates the maximum value in the numerical range of depth distance.

[0217] In this embodiment, the slider control displayed by default has its slider icon located at the first track position in the slider track. The first track position indicates the maximum value in the range of depth distance values. The system will prioritize selecting all virtual objects contained within the target selection area. The user can then reduce virtual objects that do not conform to the target parameter values ​​according to the target parameters. This can minimize the corresponding adjustment operations of the user and improve the user's convenience.

[0218] Optionally, in response to a control operation on a sliding marker, a target depth distance corresponding to the control operation is determined based on the position parameter of the sliding marker in the sliding track, so as to adjust the selected target virtual objects within the target selection area based on the target depth distance, including: in response to a control operation that moves the sliding marker from a first track position to a second track position, determining a first target depth distance matching the second track position, wherein the second track position is any position on the sliding track other than the first track position; canceling the selection of target virtual objects within the target selection area whose depth distance from the virtual camera is greater than the first target depth distance, thereby obtaining the adjusted selected target virtual objects within the target selection area.

[0219] Optionally, the method further includes: in response to moving the sliding marker from the second track position to the third track position, determining a second target depth distance matching the third track position; the third track position being the position between the first track position and the second track position; determining a second target virtual object in the target selection area with a depth distance between the first target depth distance and the second target depth distance; and selecting the second target virtual object.

[0220] Through the above embodiments, the virtual objects selected within the target selection area can be quickly adjusted by changing the position of the sliding indicator in the sliding track, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0221] Optionally, the method further includes: distinguishing the selected target virtual object within the target selection area from other unselected virtual objects in the virtual scene.

[0222] In this embodiment, by distinguishing the selected virtual object within the target selection area from other unselected virtual objects in the virtual scene, it is easier for users to view intuitively and determine whether the currently selected virtual object is the one that needs to be selected. This provides a visual operation method, thereby improving the convenience of user operation.

[0223] Optionally, the method further includes: displaying a sub-user interface in a preset area of ​​the graphical user interface; and displaying the object identifier of the target virtual object selected in the target selection area in the sub-user interface.

[0224] In this embodiment, while selected virtual objects within the virtual scene can be displayed differently for easier viewing, the layout of these objects is complex, especially in 3D virtual scenes which include a depth coordinate (Z). This can cause partial or complete overlap between virtual objects, making it visually impossible to see occluded objects within the target selection area. To address this, in addition to differentiating the target virtual objects, a sub-user interface can be used to synchronously display the target virtual objects within the target selection area. This avoids accidental selection due to occlusion, improving operational accuracy. Furthermore, the displayed sub-user interface allows users to intuitively view the currently selected target virtual object, enhancing the user's gaming experience.

[0225] Optionally, the method further includes: displaying the total number of target virtual objects selected within the target selection area in a graphical user interface.

[0226] In this embodiment, the total number of selected target virtual objects within the target selection area can be displayed to facilitate quantitative control by the user and further enhance the user's gaming experience.

[0227] The program product for implementing the above-described method according to embodiments of the present disclosure may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0228] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0229] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0230] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, radio frequency (RF), or any suitable combination thereof.

[0231] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing devices can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0232] In an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.

[0233] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."

[0234] The electronic device 1200 according to this embodiment of the present disclosure will now be described with reference to FIG12. The electronic device 1200 shown in FIG12 is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present disclosure.

[0235] As shown in Figure 12, the electronic device 1200 is presented in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: at least one processing unit 1210, at least one storage unit 1220, a bus 1230 connecting different system components (including storage unit 1220 and processing unit 1210), and a display unit 1240.

[0236] The storage unit stores program code, which can be executed by the processing unit 1210 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present disclosure. For example, the processing unit 1210 can perform the steps of the exemplary embodiments as follows:

[0237] In response to a selection operation command triggered by a graphical user interface, the system determines the target selection area corresponding to the selection operation command and selects a target virtual object from multiple selectable virtual objects in the virtual scene; wherein the target virtual object includes virtual objects located within the target selection area; a slider control is displayed in the graphical user interface, the slider control includes a sliding track and a slider marker located on the sliding track, and the parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene; in response to a control operation on the slider marker, the system determines the target parameter value corresponding to the control operation based on the position parameter of the slider marker in the sliding track, so as to adjust the selected target virtual object within the target selection area based on the target parameter value.

[0238] The aforementioned method for selecting virtual objects can be based on a box selection operation to select target virtual objects, and the value of the target parameter can be adjusted through a slider control. This adjustment can then be made based on the target parameter value determined by the slider control, such as reducing or increasing the number of target virtual objects selected within the target box selection area. Specifically, it can cancel the selection state of some target virtual objects or adjust unselected virtual objects in the target selection area to a selected state. In the embodiments provided in this disclosure, the user only needs to control the slider indicator in the slider control to move along the slider track. Based on the target parameter value represented by the position of the slider indicator in the slider track, the selected virtual objects within the target box selection area can be adjusted. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by deleting virtual objects one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter the selected virtual characters within the box selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0239] Optionally, in response to a control operation on a sliding indicator, a target parameter value corresponding to the control operation is determined based on the position parameter of the sliding indicator in the sliding track, so as to adjust the selected target virtual objects within the target selection area based on the target parameter value, including: in response to a control operation on a sliding indicator, determining a target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track; identifying a first target virtual object whose target parameter does not conform to the target parameter value among the selected target virtual objects within the target selection area; canceling the selection state of the first target virtual object, thereby obtaining the adjusted target virtual objects within the target selection area.

[0240] Through the above embodiments, the virtual objects selected within the target selection area can be quickly adjusted by changing the position of the sliding indicator in the sliding track, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0241] Optionally, the target parameters may include at least one of the following: the distance between the virtual object and the virtual camera, the color of the virtual object, the volume of the virtual object, the rarity of the virtual object, the fashionability of the virtual object, and the price of the virtual object.

[0242] Optionally, the method further includes: in response to a parameter selection operation of a virtual object, determining a target parameter from a set of preset parameters of multiple virtual objects.

[0243] Through the above embodiments, players can flexibly adjust the virtual objects selected by the selection operation based on various single or combined target parameters. This avoids the problems of long operation processes, low efficiency, and poor user experience caused by the need to delete virtual objects in the selection area one by one in related technical solutions. The virtual object selection method provided in this disclosure can quickly filter the selected virtual characters in the selection area, greatly shortening the interaction process, improving the selection efficiency of virtual objects, and enhancing the user's operating experience.

[0244] Optionally, the target parameter is the depth distance between the virtual object and the virtual camera; in response to a control operation on a sliding marker, the target parameter value corresponding to the control operation is determined based on the position parameter of the sliding marker in the sliding track, so as to adjust the target virtual object selected within the target selection area based on the target parameter value, including: in response to a control operation on a sliding marker, the target depth distance corresponding to the control operation is determined based on the position parameter of the sliding marker in the sliding track, so as to adjust the target virtual object selected within the target selection area based on the target depth distance.

[0245] Through the above embodiments, by adjusting the position of the sliding marker in the sliding track and referring to the depth distance parameter between the virtual object and the virtual camera, the selected virtual object within the target selection area can be quickly adjusted, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0246] Optionally, the box selection operation instruction is an instruction triggered by the box selection operation in the graphical user interface. The box selection operation is implemented through at least one of the following operation methods: sliding operation and clicking operation.

[0247] Optionally, in response to a selection operation command triggered by a graphical user interface, determining the target selection area corresponding to the selection operation command includes: in response to the selection trigger operation, controlling multiple selectable virtual objects to enter a selectable state; after the multiple selectable virtual objects enter the selectable state, in response to a sliding operation from a first position to a second position in the graphical user interface, determining the target selection area based on the first position and the second position.

[0248] Optionally, the sliding operation and the box selection trigger operation are consecutive operations.

[0249] Through the above embodiments, the terminal device can control multiple selectable virtual objects in the virtual scene to enter the selectable state when responding to the selection trigger operation. This not only allows users to intuitively view the selectable virtual objects through the presented selectable state, but also makes it easier for users to locate the first and second positions to perform the selection operation after multiple selectable virtual objects have entered the selectable state, thereby facilitating the determination of the target selection area, improving the user's operational convenience, and thus enhancing the user's operating experience.

[0250] Optionally, displaying the slider control in the graphical user interface includes: displaying the slider control in response to an end command of the sliding operation.

[0251] In this embodiment, displaying the slider control after the sliding operation is completed reminds the user that the selected virtual object within the target selection area can be quickly adjusted using the displayed slider control, thus improving the convenience of user operation.

[0252] Optionally, displaying the slider control in the graphical user interface includes: displaying a first-style slider control in the graphical user interface, wherein the slider indicator in the first-style slider control is located at a first track position in the slider track, and the first track position indicates the maximum value in the numerical range of depth distance.

[0253] In this embodiment, the slider control displayed by default has its slider icon located at the first track position in the slider track. The first track position indicates the maximum value in the range of depth distance values. The system will prioritize selecting all virtual objects contained within the target selection area. The user can then reduce virtual objects that do not conform to the target parameter values ​​according to the target parameters. This can minimize the corresponding adjustment operations of the user and improve the user's convenience.

[0254] Optionally, in response to a control operation on a sliding marker, a target depth distance corresponding to the control operation is determined based on the position parameter of the sliding marker in the sliding track, so as to adjust the selected target virtual objects within the target selection area based on the target depth distance, including: in response to a control operation that moves the sliding marker from a first track position to a second track position, determining a first target depth distance matching the second track position, wherein the second track position is any position on the sliding track other than the first track position; canceling the selection of target virtual objects within the target selection area whose depth distance from the virtual camera is greater than the first target depth distance, thereby obtaining the adjusted selected target virtual objects within the target selection area.

[0255] Optionally, the method further includes: in response to moving the sliding marker from the second track position to the third track position, determining a second target depth distance matching the third track position; the third track position being the position between the first track position and the second track position; determining a second target virtual object in the target selection area with a depth distance between the first target depth distance and the second target depth distance; and selecting the second target virtual object.

[0256] Through the above embodiments, the virtual objects selected within the target selection area can be quickly adjusted by changing the position of the sliding indicator in the sliding track, thereby simplifying the cumbersome and lengthy screening process in related technical solutions, reducing time consumption, and improving the usability of the game.

[0257] Optionally, the method further includes: distinguishing the selected target virtual object within the target selection area from other unselected virtual objects in the virtual scene.

[0258] In this embodiment, by distinguishing the selected virtual object within the target selection area from other unselected virtual objects in the virtual scene, it is easier for users to view intuitively and determine whether the currently selected virtual object is the one that needs to be selected. This provides a visual operation method, thereby improving the convenience of user operation.

[0259] Optionally, the method further includes: displaying a sub-user interface in a preset area of ​​the graphical user interface; and displaying the object identifier of the target virtual object selected in the target selection area in the sub-user interface.

[0260] In this embodiment, while selected virtual objects within the virtual scene can be displayed differently for easier viewing, the layout of these objects is complex, especially in 3D virtual scenes which include a depth coordinate (Z). This can cause partial or complete overlap between virtual objects, making it visually impossible to see occluded objects within the target selection area. To address this, in addition to differentiating the target virtual objects, a sub-user interface can be used to synchronously display the target virtual objects within the target selection area. This avoids accidental selection due to occlusion, improving operational accuracy. Furthermore, the displayed sub-user interface allows users to intuitively view the currently selected target virtual object, enhancing the user's gaming experience.

[0261] Optionally, the method further includes: displaying the total number of target virtual objects selected within the target selection area in a graphical user interface.

[0262] In this embodiment, the total number of selected target virtual objects within the target selection area can be displayed to facilitate quantitative control by the user and further enhance the user's gaming experience.

[0263] Storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 12201 and / or cache memory 12202, and may further include a read-only memory (ROM) 12203.

[0264] Storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0265] Bus 1230 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0266] Electronic device 1200 can also communicate with one or more external devices 2000 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with electronic device 1200, and / or any device that enables electronic device 1200 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1250. Furthermore, electronic device 1200 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1260. As shown, network adapter 1260 communicates with other modules of electronic device 1200 via bus 1230. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Disks (RAID) systems, tape drives, and data backup storage systems.

[0267] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0268] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0269] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0270] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0271] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is defined only by the appended claims.

Claims

1. A method for selecting virtual objects, comprising providing a graphical user interface through a terminal device, the graphical user interface including at least a portion of a virtual scene and a plurality of selectable virtual objects located in the virtual scene, the method comprising: In response to a selection operation command triggered by the graphical user interface, a target selection area corresponding to the selection operation command is determined, and a target virtual object is selected from a plurality of selectable virtual objects in the virtual scene; wherein, the target virtual object includes virtual objects located within the target selection area; A slider control is displayed in the graphical user interface. The slider control includes a sliding track and a sliding indicator located on the sliding track. The parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene. In response to a control operation on the sliding indicator, a target parameter value corresponding to the control operation is determined based on the position parameter of the sliding indicator in the sliding track, so as to adjust the selected target virtual object within the target selection area based on the target parameter value.

2. The method according to claim 1, wherein, The step of responding to a control operation on the sliding indicator, determining a target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track, and adjusting the selected target virtual object within the target selection area based on the target parameter value, includes: In response to a control operation on the sliding indicator, a target parameter value corresponding to the control operation is determined based on the position parameter of the sliding indicator in the sliding track. Identify the first target virtual object among the target virtual objects selected within the target selection area whose target parameters do not conform to the target parameter value; Cancel the selection of the first target virtual object to obtain the target virtual object selected within the adjusted target selection area.

3. The method according to claim 1, wherein, The target parameters include at least one of the following: the distance between the virtual object and the virtual camera, the color of the virtual object, the volume of the virtual object, the rarity of the virtual object, the fashionability of the virtual object, and the price of the virtual object.

4. The method according to claim 3, wherein, The method further includes: In response to the selection operation of the virtual object's parameters, the target parameter is determined from a set of preset virtual object parameters.

5. The method according to claim 1, wherein, The target parameter is the depth distance between the virtual object and the virtual camera; The step of responding to a control operation on the sliding indicator, determining a target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track, and adjusting the selected target virtual object within the target selection area based on the target parameter value, includes: In response to a control operation on the sliding marker, a target depth distance corresponding to the control operation is determined based on the position parameters of the sliding marker in the sliding track, so as to adjust the selected target virtual object within the target selection area based on the target depth distance.

6. The method according to claim 1, wherein, The box selection operation instruction is an instruction triggered by the box selection operation of the graphical user interface. The box selection operation is implemented through at least one of the following operation methods: sliding operation and clicking operation.

7. The method according to claim 1, wherein, The step of determining the target selection area corresponding to the selection operation command in response to the graphical user interface includes: In response to the selection trigger operation, the multiple selectable virtual objects are controlled to enter the selectable state; After the plurality of selectable virtual objects enter the selectable state, in response to a sliding operation from a first position to a second position in the graphical user interface, the target selection area is determined based on the first position and the second position.

8. The method according to claim 7, wherein, The sliding operation and the box selection trigger operation are consecutive operations.

9. The method according to claim 7, wherein, The step of displaying the slider control in the graphical user interface includes: In response to the end command of the sliding operation, the slider control is displayed in the graphical user interface.

10. The method according to claim 5, wherein, Displaying the slider control in the graphical user interface includes: A slider control of a first style is displayed in the graphical user interface, wherein the slider indicator in the slider control of the first style is located at a first track position in the slider track, and the first track position indicates the maximum value in the numerical range of the depth distance.

11. The method according to claim 10, wherein, The step of responding to a control operation on the sliding marker, determining the target depth distance corresponding to the control operation based on the position parameters of the sliding marker in the sliding track, and adjusting the selected target virtual object within the target selection area based on the target depth distance, includes: In response to a control operation that moves the sliding marker from the first track position to the second track position, a first target depth distance matching the second track position is determined, wherein the second track position is any position on the sliding track other than the first track position; Cancel the selection of target virtual objects within the target selection area whose depth distance from the virtual camera is greater than the depth distance of the first target, and obtain the adjusted selected target virtual objects within the target selection area.

12. The method according to claim 11, wherein, The method further includes: In response to moving the sliding marker from the second track position to the third track position, a second target depth distance matching the third track position is determined; the third track position is the position between the first track position and the second track position. Identify a second virtual target object within the target selection area whose depth distance is between the first target depth distance and the second target depth distance; Select the second target virtual object.

13. The method according to claim 1, wherein, The method further includes: The selected virtual object within the target selection area is displayed differently from other unselected virtual objects in the virtual scene.

14. The method according to claim 1, wherein, The method further includes: A sub-user interface is displayed in a preset area of ​​the graphical user interface; The object identifier of the target virtual object selected in the target selection area is displayed in the sub-user interface.

15. The method according to claim 1, wherein, The method further includes: The total number of target virtual objects selected within the target selection area is displayed in the graphical user interface.

16. A device for selecting virtual objects, providing a graphical user interface via a terminal device, the graphical user interface including at least a portion of a virtual scene and a plurality of selectable virtual objects located in the virtual scene, the device comprising: The determining module is configured to, in response to a selection operation instruction triggered by the graphical user interface, determine the target selection area corresponding to the selection operation instruction, and select a target virtual object from a plurality of selectable virtual objects in the virtual scene; wherein, the target virtual object includes virtual objects located within the target selection area; A control display module is used to display a slider control in the graphical user interface. The slider control includes a sliding track and a sliding indicator located on the sliding track. The parameter value range indicated by the sliding track is used to characterize the value range of the target parameter corresponding to the virtual object in the virtual scene. The object adjustment module is used to respond to the control operation on the sliding indicator, determine the target parameter value corresponding to the control operation based on the position parameter of the sliding indicator in the sliding track, and adjust the target virtual object selected in the target selection area based on the target parameter value.

17. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for selecting virtual objects according to any one of claims 1 to 15.

18. An electronic device comprising: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the virtual object selection method according to any one of claims 1 to 15 by executing the executable instructions.

Citation Information

Patent Citations

  • Box selection method and device for virtual object in game, electronic device and storage medium

    CN109718538A

  • Virtual unit selection method and device in game, storage medium and electronic equipment

    CN113457144A

  • Object selection method and device, equipment, medium and program product

    CN114327057A

  • Object selection method and device in game and electronic equipment

    CN115671735A

  • Game object selection method and device

    CN116459506A