Virtual object selection method and device, storage medium and electronic equipment
By introducing slider controls in virtual scenes, users can quickly filter and adjust virtual objects in box selection areas by adjusting the position of sliding marks, solving the problems of cumbersome and incorrect selection of virtual objects in the existing technology, significantly improving the Select efficiency and user experience.
Patent Information
- Application Number
- CN202411343573.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-08-29
- Filing Date
- 2024-09-24
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-09-24
AI Technical Summary
When selecting multiple virtual objects in a virtual scene, the prior art has cumbersome operations and is prone to missed selection, resulting in low selection efficiency and poor user experience.
By displaying slider controls in the graphical user interface, users can adjust the target parameter value by sliding the position in the sliding track, thereby quickly filtering or adjusting virtual objects in the box selection area.
This method greatly improves the efficiency of virtual objects selection, shortens the interactive process, improves user operation experience, and avoids the tedious process of deleting virtual objects one by one.
Smart Images

Figure CN119425062A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202411205113.5 filed on August 29, 2024 and entitled “Method, device, storage medium and electronic device for selecting virtual objects”, the entire contents of which are incorporated herein by reference. Background Art
[0004] In existing online games, there is a need to select multiple virtual objects in a game virtual scene to achieve synchronous processing or control of multiple virtual objects. If the selection is done one by one, it is too cumbersome for the user. If the user selects multiple virtual objects by box selection on a graphical user interface, all virtual objects in the game virtual scene within the box selection area are usually selected, and it is very easy to select a virtual object by mistake.
[0005] Therefore, there is an urgent need for a method that can facilitate users to quickly select multiple virtual objects and flexibly adjust the selected virtual objects, so as to improve the selection efficiency and then enhance the user operation experience. Summary of the invention
[0006] The present disclosure provides a method for selecting a virtual object, a device for selecting a virtual object, a computer storage medium and an electronic device, which can quickly screen the virtual characters selected in a frame selection area, greatly improve the selection efficiency and enhance the user operation experience.
[0007] In a first aspect, an embodiment of the present disclosure provides a method for selecting a virtual object, wherein a graphical user interface is provided through a terminal device, wherein 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 method comprising: in response to a selection operation instruction triggered on the graphical user interface, determining a target selection area corresponding to the selection operation instruction, and selecting a target virtual object from a plurality of selectable virtual objects in the virtual scene; wherein the target virtual object includes a virtual object located in the target selection area; displaying a slider control in the graphical user interface, the slider control including a sliding track and a sliding identifier 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; in response to a control operation on the sliding identifier, determining a target parameter value corresponding to the control operation according to a position parameter of the sliding identifier in the sliding track, so as to adjust the target virtual object selected in the target selection area based on the target parameter value.
[0008] In a second aspect, an embodiment of the present disclosure provides a device for selecting a virtual object, which provides a graphical user interface through a terminal device, and 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 determination module, which is used to respond to a frame selection operation instruction triggered on the graphical user interface, determine a target frame selection area corresponding to the frame 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 a virtual object located in the target frame selection area; a control display module, which is used to display a slider control in the graphical user interface, the slider control includes a sliding track and a sliding identifier 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; an object adjustment module, which is used to respond to a control operation on the sliding identifier, determine the target parameter value corresponding to the control operation according to the position parameter of the sliding identifier in the sliding track, so as to adjust the target virtual object selected in the target frame selection area based on the target parameter value.
[0009] In a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above method when executed by a processor.
[0010] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above method for selecting a virtual object by executing the executable instructions.
[0011] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which is executed by a processor to implement the above virtual object selection method.
[0012] The above-mentioned method for selecting virtual objects can select the target virtual object based on the frame selection operation, and adjust the value of the target parameter through the slider control, and then adjust the target virtual object selected in the target frame selection area based on the target parameter value determined by the slider control, such as reducing the number of target virtual objects selected in the target frame selection area, or increasing the number of target virtual objects selected in the target frame selection area. Specifically, cancel the selection state of some target virtual objects, or adjust the unselected virtual objects in the target selection area to the selection state. In the embodiment provided by the present disclosure, the user only needs to control the sliding mark in the slider control to move in the sliding track, and the virtual object selected in the target frame selection area can be adjusted according to the target parameter value represented by the position of the sliding mark in the sliding track, thereby avoiding the problem of long operation process, low efficiency, and poor user experience caused by the need to delete the virtual objects in the frame selection area one by one in the related technical solution. The method for selecting virtual objects provided by the present disclosure can quickly realize the screening of virtual characters selected in the frame selection area, greatly shorten the interaction process, improve the selection efficiency of virtual objects, and enhance the user's operation experience.
[0013] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1A A schematic diagram showing an application scenario of selecting a virtual object through a box selection operation in one of the related technical solutions of this exemplary embodiment;
[0016] Figure 1B A schematic diagram showing an application scenario of deleting a portion of virtual objects in this exemplary embodiment;
[0017] Figure 2 An architectural diagram showing a virtual object selection system according to the exemplary embodiment;
[0018] Figure 3 A flowchart showing a method for selecting a virtual object according to the exemplary embodiment;
[0019] Figure 4 A schematic diagram showing one of the frame selection operations in this exemplary embodiment;
[0020] Figure 5 A schematic diagram showing one of the differentiated display target virtual objects in this exemplary embodiment;
[0021] Fig. 6A A schematic diagram showing a display of a slider control in this exemplary embodiment is shown;
[0022] Figure 6B A schematic diagram showing a display of a target virtual object selected by a sliding mark moving from a first sliding track to a second sliding track in this exemplary embodiment;
[0023] Figure 6C A schematic diagram showing a display of a target virtual object selected by a sliding mark moving from a second sliding track to a third sliding track in this exemplary embodiment;
[0024] Figure 7 A schematic diagram showing another display of a slider control in this exemplary embodiment is shown;
[0025] Figure 8 A schematic diagram showing a display of a sub-user interface in this exemplary embodiment is shown;
[0026] Fig.9A A schematic diagram showing a total number of target virtual objects selected in a target selection area in a sub-user interface in this exemplary embodiment is shown;
[0027] Fig. 9B A schematic diagram showing a total number of target virtual objects selected in a target selection area in a graphical user interface in this exemplary embodiment is shown;
[0028] Fig.10 (a)- Fig.10 (c) schematically illustrates the entire process of selecting a virtual object in this exemplary embodiment;
[0029] Fig.11 A schematic diagram of the structure of a device for selecting a virtual object in this exemplary embodiment is shown;
[0030] Fig.12 The structure diagram of one electronic device in this exemplary embodiment is schematically shown. DETAILED DESCRIPTION
[0031] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the exemplary embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0032] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0033] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.
[0034] In existing virtual scenes, there is a technical requirement for selecting multiple virtual objects in the virtual scene to synchronously process or control the selected multiple virtual objects, such as uniformly adjusting the position and modifying the size of all selected virtual objects. Currently, a common technical solution is that a user performs a box selection operation to determine a box selection area, thereby simultaneously selecting multiple virtual objects in the box selection area.
[0035] When multiple virtual objects are selected through the above-mentioned selection operation, all virtual objects in the game virtual scene within the selection area are usually selected, but it is very easy for virtual objects to be selected by mistake. In the current related technical solutions, the size of the selection area can be manually adjusted to achieve the effect of adjusting the virtual objects selected in the selection area. Alternatively, after the selection, the list of selected virtual objects is displayed, and then the list of virtual objects is further edited to eliminate the mistakenly selected or unnecessary objects.
[0036] In order to facilitate the understanding of the above-mentioned related technical solutions, the following will be combined with Figure 1A , Figure 1B The process of realizing the selection of virtual objects in a virtual scene in the related technical solution is exemplified.
[0037] Figure 1A A schematic diagram of an application scenario in which a related technical solution in this exemplary embodiment selects a virtual object through a box selection operation is shown schematically. Figure 1A As shown, the virtual scene includes multiple virtual objects. When the user performs a selection operation to determine a selection area, all virtual objects in the selection area are selected. At this time, the selected virtual objects are selected in a gray-filled state; while virtual objects outside the selection area are not selected (such as Figure 1A The cone 101 shown in FIG. 1 is a cone 101, and the unselected cone 101 is not filled with gray. It should be noted that, for a three-dimensional virtual scene, in addition to the above-mentioned X and Y axes, it also includes a Z axis representing the distance relationship between the virtual object and the virtual camera. Figure 1A The distances between the virtual objects shown in the figure and the virtual camera are not the same. Therefore, in the process of selecting a virtual character, not only the virtual objects closer to the virtual camera are selected, but also the virtual objects farther from the virtual camera are selected, that is, all the virtual objects in the selection area are selected. However, the virtual objects selected at this time (all virtual objects in the selection area) are not necessarily the objects that the user needs to perform the next operation, so it is necessary to adjust the multiple virtual objects selected by the selection operation.
[0038] It should be noted that the above virtual camera is used to collect Figure 1A , Figure 1B The virtual device of the virtual scene shown. The virtual object selection method provided by the embodiment of the present 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. The embodiment of the present disclosure does not impose any special restrictions on the specific scenarios of its application, and the application scenarios that meet the above requirements are all within the protection scope of the embodiment of the present disclosure.
[0039] In response to the above technical issues, the following common technical solutions are exemplified:
[0040] In a related technical solution, the user can adjust the selected virtual object by manually adjusting the size of the frame selection area. Figure 1AThe cone 102 shown in the figure, the player can then pull down the upper edge of the selection area to move the cone 102 out of the selection area, so that the cone 102 is not selected. However, when the upper edge of the selection area is pulled down, the cylinder 103 will also move out of the selection area, that is, the cylinder 103 will also become unselected, which is not the result the user wants, so the user needs to make repeated adjustments, and such a method of selecting multiple virtual objects is very inaccurate and inflexible.
[0041] In another related technical solution, after the user completes the frame selection operation to determine the frame selection area, Figure 1A As shown, the right area of the graphical user interface displays the identifiers of the virtual objects selected in the current selection area in a list form, and each selected virtual object in the list is made editable, so that the user can delete some virtual objects that the user does not need to select in the editable state. For example, when the user needs to delete the cone 102 that does not need to be selected, as shown in FIG. Figure 1A As shown, assuming that cone 102 corresponds to the last cone in the list, the user can click the delete control in the upper right corner of the cone 102 corresponding to the icon in the list, and then Figure 1B As shown in FIG. 1 , the cone 102 is deleted from the selected virtual object list; at the same time, the cone 102 is Figure 1A The selection status shown is updated as follows Figure 1B The non-selected state shown, that is, the gray filling state of the cone 102 is cancelled, so that it presents the same non-selected state as the cone 101. However, the related technical solution requires the user to screen and delete virtual objects that do not need to be selected one by one, resulting in a long time and low efficiency for the user to select virtual objects, affecting the user's operating experience, and further affecting the user stickiness between the user and the application.
[0042] In view of the above problems, the exemplary embodiments of the present disclosure propose a method for selecting virtual objects. After a terminal device responds to a selection operation performed by a user and determines a selection area, a slider control can be displayed on a user interface. The slider control includes a sliding track and a sliding mark on the sliding track. The numerical range of the target parameter of the virtual object represented by the sliding track enables the user to quickly and batch add or remove the selected virtual objects in the target selection area according to the set parameter value by only dragging the sliding mark in the sliding track, so as to quickly remove the virtual objects mistakenly selected by the selection operation, or the unselected virtual objects. The method for selecting virtual objects provided by the present invention can quickly and batch-select the virtual characters selected in the selection area, thereby greatly shortening the time-consuming interaction process, improving efficiency, and enhancing the usability of the game and the technical effect of user operation experience.
[0043] Based on this, it can be seen that the virtual object selection method, device, storage medium and electronic device provided in the embodiments of the present application can solve the technical problems of low efficiency and flexibility in selecting virtual objects in virtual scenes and cumbersome operations existing in the above-mentioned related technical solutions.
[0044] The following is an application of a virtual object selection method and device proposed in the present disclosure to Figure 2 The system architecture of the exemplary application environment shown is described.
[0045] Figure 2 A diagram showing an architecture of a virtual object selection system in this exemplary embodiment is shown. Figure 2 As shown, the system architecture 200 may include one or more of terminal devices 201, 202, 203, 204, a network 205, and a server 206. The network 205 is used to provide a medium for communication links between the terminal devices 201, 202, 203, 204 and the server 206. The network 205 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 201, 202, 203, 204 may be, for example, smart phones, personal digital assistants (PDAs), laptop computers, servers, desktop computers, or any other computing devices with networking functions, but are not limited thereto.
[0046] It should be understood that Figure 2The number of terminal devices, networks and servers in the example is only illustrative. Any number of terminal devices, networks and servers may be provided as required. For example, server 206 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0047] The virtual object selection method provided in the embodiment of the present disclosure can be executed on the server 206, and accordingly, the virtual object selection device is generally set in the server 206. The virtual object selection method provided in the embodiment of the present disclosure can also be executed in the terminal device, and accordingly, the virtual object selection device can also be set in the terminal device. The virtual object selection method provided in the embodiment of the present disclosure can also be partially executed in the server 206 and partially executed in the terminal device, and accordingly, some modules of the virtual object selection device can be set in the server 206, and some modules are set in the terminal device.
[0048] For example, in an exemplary embodiment, a game application is installed on a terminal device 201, 202, 203 or 204, and a user can run the game application through the terminal device 201, 202, 203 or 204. The terminal device provides a graphical user interface, and the graphical user interface includes at least part of a virtual scene and a plurality of selectable virtual objects in the virtual scene. The server 206 can provide game resources during the game operation and management process for the terminal device 201, 202, 203 or 204. With any of the above-mentioned terminal devices as the execution subject, the terminal device responds to the frame selection operation instruction triggered by the graphical user interface, determines the target frame selection area corresponding to the frame selection operation instruction, and selects the target virtual object from multiple selectable virtual objects in the virtual scene; wherein the target virtual object includes the virtual object located in the target frame selection area; displays a slider control in the graphical user interface, the slider control includes a sliding track and a sliding identifier 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 the control operation on the sliding identifier, determines the target parameter value corresponding to the control operation according to the position parameter of the sliding identifier in the sliding track, so as to adjust the target virtual object selected in the target frame selection area based on the target parameter value.
[0049] In one embodiment of the present disclosure, the method for selecting a virtual object can be run on a local terminal device or a server. When the method for selecting a virtual object is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0050] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the virtual object selection method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the user operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0051] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the user through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0052] In a possible implementation, an embodiment of the present invention provides a method for selecting a virtual object, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.
[0053] However, it is easy for those skilled in the art to understand that the above application scenarios are only used as examples and are not limited to this in the present exemplary embodiment.
[0054] After understanding the system architecture of the method for selecting a virtual object provided by the embodiment of the present disclosure, it will be described in detail below in conjunction with specific embodiments.
[0055] The present disclosure will take the above-mentioned terminal device as the execution subject and apply the virtual object selection method to the above-mentioned terminal device as an example for illustration. A graphical user interface is provided through the above-mentioned terminal device, wherein the terminal device can be the local terminal device mentioned above, or it can be a client device in the above-mentioned cloud interaction system. A graphical user interface is provided through the terminal device, and the graphical user interface includes at least part of the virtual scene and multiple selectable virtual objects located in the virtual scene. Figure 3 A flowchart schematically shows a method for selecting a virtual object in this exemplary embodiment, see Figure 3 The method for selecting a virtual object provided by the embodiment of the present disclosure includes the following steps S301 to S303:
[0056] Step S301, in response to a selection operation instruction triggered by a graphical user interface, determining a target selection area corresponding to the selection operation instruction, and selecting a target virtual object from a plurality of selectable virtual objects in a virtual scene; wherein the target virtual object includes a virtual object located within the target selection area.
[0057] Step S302: displaying a slider control in a graphical user interface, wherein the slider control includes a sliding track and a sliding mark on the sliding track, and the parameter value range indicated by the sliding track is used to represent the value range of the target parameter corresponding to the virtual object in the virtual scene.
[0058] Step S303: In response to the control operation on the sliding mark, determine the target parameter value corresponding to the control operation according to the position parameter of the sliding mark in the sliding track, so as to adjust the target virtual object selected in the target selection area based on the target parameter value.
[0059] In the technical solutions provided in some embodiments of the present disclosure, by Figure 3The method shown can select the target virtual object based on the box selection operation, and adjust the value of the target parameter through the slider control, and then adjust the target virtual object selected in the target box selection area based on the target parameter value determined by the slider control, such as reducing the number of target virtual objects selected in the target box selection area, or increasing the number of target virtual objects selected in the target box selection area. Specifically, cancel the selection state of some target virtual objects, or adjust the unselected virtual objects in the target selection area to the selection state. In the embodiment provided by the present disclosure, the user only needs to control the sliding mark in the slider control to move in the sliding track, and the virtual object selected in the target box selection area can be adjusted according to the target parameter value represented by the position of the sliding mark in the sliding track, thereby avoiding the problem of long operation process, low efficiency, and poor user experience caused by the need to delete the virtual objects in the box selection area one by one in the related technical solution. The selection method of virtual objects provided by the present disclosure can quickly realize the screening of virtual characters selected in the box selection area, greatly shorten the interaction process, improve the selection efficiency of virtual objects, and enhance the user's operation experience.
[0060] The following will be combined with specific embodiments to Figure 3 The specific implementation methods of each step in the embodiment shown are described in detail:
[0061] In step S301, in response to a frame selection operation instruction triggered by a graphical user interface, a target frame selection area corresponding to the frame selection operation instruction is determined, and a target virtual object is selected from a plurality of selectable virtual objects in a virtual scene; wherein the target virtual object includes a virtual object located within the target frame selection area.
[0062] The virtual scene may be a two-dimensional virtual scene, or a three-dimensional virtual scene or a virtual scene of any other dimension. It should be understood that, compared with a two-dimensional virtual scene, when the virtual scene is a three-dimensional virtual scene, it also includes a distance parameter between a virtual object and a virtual camera, and the distances between multiple selectable virtual objects included in the virtual scene and the virtual camera may be the same or different.
[0063] In an optional embodiment of the present disclosure, the box selection operation instruction is an instruction triggered by a box selection operation performed on a graphical user interface, and the box selection operation is implemented by at least one of the following operation modes: a sliding operation and a clicking operation.
[0064] Among them, the box selection operation instruction can be an instruction triggered when the user finishes performing the box selection operation on the graphical user interface, or it can be an instruction triggered after the terminal device responds to the user starting to perform the box selection operation on the graphical user interface. The embodiment of the present disclosure does not impose any special restrictions on this.
[0065] The following will be combined Figure 4 , taking the box selection operation as a click operation and a slide operation as examples, the process of determining the target box selection area through the box selection operation is exemplified. Figure 4 A schematic diagram showing one of the frame selection operations in this exemplary embodiment.
[0066] Example 1: Take the box selection operation as a sliding operation as an example. Figure 4 As shown, the terminal device responds to a touch operation on position 1 (ie, the first position) on the graphical user interface, and responds to a sliding operation from position 1 to position 2 (ie, the second position) on the graphical user interface, as shown in FIG. Figure 4 As shown, position 1 and position 2 are respectively used as vertex positions, and the sliding distance between position 1 and position 2 is used as a diagonal line 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 instruction.
[0067] In addition to the above embodiments, taking the box selection operation as a click operation as an example, the terminal device responds to the click operation on position 1 on the graphical user interface and uses position 1 as the first position; then, the position where the user performs the click operation on position 2 on the graphical user interface within a preset time is used as the second position, thereby determining the target box selection area based on the first position and the second position.
[0068] Continue with Figure 4 For example, in response to a user clicking on position 1 on the graphical user interface, the terminal device uses position 1 as the first position. Then, the user clicks again on position 2 on the graphical user interface, and uses position 2 as the second position. A selection area is generated by the first position and the second position determined by the two click operations. Figure 4 As shown, position 1 and position 2 are respectively used as vertex positions, and the distance between position 1 and position 2 is used as a diagonal line to generate a rectangular selection area. At this time, the rectangular selection area generated above is the target selection area corresponding to the determined selection operation instruction.
[0069] It should be explained that the above method of generating a rectangular selection area is merely exemplary and is not a limitation on the method of 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. The embodiments of the present disclosure do not impose any special restrictions on this.
[0070] Depend on Figure 4 It can be seen from the target selection area shown that when a selection operation is performed, the determined target selection area may contain virtual objects or may not contain any virtual objects. When the target selection area does not contain virtual objects, no virtual objects are selected. When the target selection area contains virtual objects, the virtual objects contained in the target selection area are selected.
[0071] In some example embodiments of the present disclosure, when executing step S301 of determining a target frame selection area corresponding to a frame selection operation instruction in response to a frame selection operation instruction triggered on a graphical user interface: in response to the frame selection trigger operation, controlling multiple selectable virtual objects to enter a frame selection state; after the multiple selectable virtual objects enter the frame selection state, in response to a sliding operation from a first position to a second position of the graphical user interface, determining the target frame selection area based on the first position and the second position.
[0072] The first position may be the starting position of the sliding operation, and the second position may be the ending position of the sliding operation. At the same time, the first position and the second position may be any position in the virtual scene, and the first position and the second position are different.
[0073] In the embodiments of the present disclosure, the frame selection trigger operation may refer to a long press operation or a re-press operation (wherein the re-press operation may be a touch operation in which a touch pressure value is detected to be greater than a preset pressure threshold), such as a user long presses or re-presses any blank area in a graphical user interface, thereby controlling all selectable objects in the graphical user interface to enter a selectable state, such as a frame selectable state. After entering the frame selectable state, the virtual object may be selected, such as being framed.
[0074] Among them, the frameable selectable state can be a method of making multiple selectable virtual objects contained in the virtual scene appear in a highlighted state, adding shadows, changing colors, or a combination of these. The embodiments of the present disclosure do not impose any special restrictions on this.
[0075] It should be noted that, in the embodiments of the present disclosure, the box selection operation instructions 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 entering the box selection, and the sliding operation is used to obtain the box selection result.
[0076] It should be understood that the terminal device responds to the start instruction of the sliding operation and can display the frame selection area in real time on the graphical user interface based on the change of the contact position of the sliding operation, and the size of the frame selection area changes in real time according to the progress of the frame selection operation until the terminal device responds to the end instruction of the sliding operation. Of course, during the movement of the contact point of the sliding operation, it is not necessary to display the frame selection area in real time, but the frame selection area obtained at this time can be displayed when the sliding operation stops moving.
[0077] In an optional embodiment of the present disclosure, the sliding operation and the frame selection triggering operation in the above embodiment may be continuous operations.
[0078] Exemplarily, when the terminal device responds to a frame selection trigger operation, the touch position corresponding to the corresponding frame selection trigger operation is the first position, and then the sliding operation from the first position to the second position is continued without ending the frame selection trigger operation, so as to determine the target frame selection area based on the first position and the second position. For example, the terminal device triggers the frame selection operation in response to a long press operation or a heavy press operation to control multiple selectable virtual objects in the virtual scene to enter a frame selectable state. Then, the terminal device determines the target frame selection area based on the first position and the second position in response to the sliding operation from the first position to the second position corresponding to the long press operation or the heavy press operation.
[0079] Through this embodiment, the terminal device can control multiple selectable virtual objects in the virtual scene to enter a frameable state in response to a frame selection trigger operation. This not only allows the user to intuitively view the frameable virtual objects through the presented frameable state, but also facilitates the user to locate the first position and the second position for performing the frame selection operation after the multiple selectable virtual objects enter the frameable state, thereby facilitating the determination of the target frame selection area, improving the user's operating convenience, and further enhancing the user's operating experience.
[0080] In step S301, a target virtual object is selected from a plurality of selectable virtual objects in a virtual scene, and the target virtual object includes a virtual object selected within a target selection area.
[0081] Exemplarily, when selecting a target virtual object from a plurality of selectable virtual objects in a virtual scene, all virtual objects selected in a target selection area may be determined as target virtual objects, or only virtual objects within a preset distance from a virtual camera may be determined as target virtual objects. For example, if the parameter value of the distance parameter of the virtual object farthest from the virtual camera in the game scene is 30, then the target selection area may be determined by the selection operation, and all virtual objects within the target selection area may be determined as target virtual objects; or only virtual objects within the target selection area whose parameter value of the distance parameter from the virtual camera is less than 20 may be determined as target virtual objects.
[0082] In an optional embodiment of the present disclosure, the target virtual object selected in the target selection area may be displayed distinguishably from other virtual objects not selected in the virtual scene.
[0083] Among them, other virtual objects are virtual objects that are not selected in the virtual scene, and they can be in the target selection area or outside the target selection area. For example, in the above process of determining the target virtual object, only the virtual objects within the preset distance from the virtual camera are determined as the target virtual objects. In this case, virtual objects that are in the target selection area but outside the preset distance are not selected and are also determined as other virtual objects.
[0084] It should be explained that, taking the example of determining all virtual objects selected in the target selection area as target virtual objects, when performing the selection operation, there is a situation where only parts of some virtual objects are included in the target selection area. In this regard, all virtual objects that are fully or partially in the target selection area can be determined as target virtual objects; or only virtual objects that are fully in the target selection area can be determined as target virtual objects, and virtual objects that are not or partially in the target selection area can be determined as other virtual objects; or for virtual objects that are partially in the target selection area, the proportion of the part of the target selection area in which it is located to the whole is used as the judgment standard for whether to determine it as a target virtual object, etc., and the embodiments of the present disclosure do not impose any special restrictions on this.
[0085] In this embodiment, in order to facilitate intuitive viewing by the user, the target virtual object selected in the target selection area can be displayed differently from other virtual objects that are not selected in the virtual scene. For example, the target virtual object located in the target selection area is displayed in a selected state, while other virtual objects located outside the target selection area are displayed in an unselected state. It should be understood that the above-mentioned differentiated display method can be in any form, such as color filling, pattern filling, highlighting, flashing or other methods for differentiation, and the embodiments of the present disclosure do not impose any special restrictions on this.
[0086] In order to facilitate the exemplary description of the above differentiated display method, the following will be combined with Figure 4 , Figure 5 An exemplary description is given.
[0087] against Figure 4 The virtual scene shown and a plurality of selectable virtual objects in the virtual scene, namely Figure 4 As shown in the figure, there are two chairs, a table, a vase, a standing lamp and a washing machine. Since no virtual object is selected in the target selection area, all virtual objects in the virtual scene are in an unselected state.
[0088] Figure 5 A schematic diagram showing a method of displaying a target virtual object in a differentiated manner according to the exemplary embodiment of the present invention is shown. When the target selection area is as follows Figure 5 The selected area shown in the box includes some virtual objects in the virtual scene within the selected area. Figure 5 As shown, the target virtual object in this embodiment includes Figure 5 A chair, a table, a vase, a standing lamp and a washing machine are selected by filling some of their areas with color, while other virtual objects outside the target selection area are Figure 5The other chair shown in the figure is not selected by not filling it with a color. Figure 5 The color filling method shown can distinguish the target virtual object located in the target selection area in the virtual scene from other virtual objects located outside the target selection area in the virtual scene, thereby facilitating the user to intuitively view the currently selected virtual object.
[0089] In step S302, a slider control is displayed in a graphical user interface, wherein the slider control includes a sliding track and a sliding mark on the sliding track, and the parameter value range indicated by the sliding track is used to represent the value range of the target parameter corresponding to the virtual object in the virtual scene.
[0090] In an optional embodiment of the present disclosure, the target parameter includes 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.
[0091] The virtual camera is a virtual device that allows users to capture virtual scenes and display the captured virtual scenes on a graphical user interface. For example, by displaying the distance between a virtual object and a virtual camera on the front of a graphical user interface, the depth distance between the virtual object and the virtual camera can be represented.
[0092] Exemplarily, when adjusting the target virtual object selected in the target selection area, a combination of one or more of 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 fashion of the virtual object, and the price of the virtual object can be used as conditions for quickly screening virtual objects, so as to subsequently adjust the selected virtual object.
[0093] On the basis of the above embodiments, when determining the target parameter, in an optional embodiment of the present disclosure, in response to a selection operation of the parameter of the virtual object, the target parameter is determined from the preset parameters of a plurality of virtual objects.
[0094] Exemplarily, when there are multiple target parameters, when the numerical range of the target parameter corresponding to the virtual object in the virtual scene is represented based on the sliding track, a plurality of preset selectable virtual object parameters may be provided to the user through a graphical user interface for the user to select. The terminal device determines the target parameter from the preset plurality of virtual object parameters in response to the user's selection operation based on the virtual object parameter.
[0095] It is understandable that in addition to manually determining the target parameters, the target parameters can also be automatically selected by the system. For example, when it is detected that the color, volume, rarity, fashion, and price of the virtual object are the same among multiple selectable virtual objects in the virtual scene, and only the distance between the virtual object and the virtual camera is different, the system defaults to determining the target parameter as the distance between the virtual object and the virtual camera.
[0096] The slider control includes a sliding track and a sliding mark, and the sliding mark is located on the sliding track. The track length displayed by the sliding track is used to indicate the numerical range of the target parameter corresponding to the virtual object in the virtual scene, and the position of the sliding track is fixed, while the sliding mark can move back and forth on the sliding track to change its position.
[0097] To facilitate understanding of the slider control, the following will be combined with Fig. 6A The process of selecting a virtual object in a graphical user interface is schematically described.
[0098] Fig. 6A A schematic diagram showing a display of a slider control in this exemplary embodiment is shown. Fig. 6A The figure shows a slider control 601, which includes a sliding mark 602 and a sliding track 603. The sliding track 603 in the slider control 601 has a certain track length to indicate the value range of the target parameter corresponding to the virtual object in the virtual scene based on the track length.
[0099] A. Regarding the display timing of the slider control:
[0100] In an optional embodiment, after executing step 301 to determine the target selection area, the slider control may be synchronously displayed on the graphical user interface.
[0101] In another optional embodiment, when the selection operation is a sliding operation, the terminal device may display a slider control in the graphical user interface in response to an end instruction of the sliding operation.
[0102] B. For the display form of the slider control:
[0103] In an optional embodiment of the present disclosure, a slider control of a first style is displayed in a graphical user interface.
[0104] The sliding mark in the first style slider control is located at the first track position in the sliding track, and the first track position indicates the maximum value in the numerical range of the target parameter. 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 in the numerical range of the distance.
[0105] To facilitate understanding of the first style of sliding controls, Figure 6B The process of selecting a virtual object in a graphical user interface is schematically described.
[0106] exist Fig. 6A On the basis of Figure 6B A schematic diagram showing a display of a target virtual object selected when a sliding mark is located on a first sliding track in this exemplary embodiment is shown. Figure 6B For example, the track length of the sliding track 603 shown represents the distance parameter from the virtual camera in the range of 1-30. When the sliding mark 602 is at the leftmost position of the sliding track 603, the parameter value representing the current distance parameter from the virtual camera is 30, and the first track position is the leftmost position in the sliding track 603. In the first embodiment, when determining the target selection area, the initial position of the sliding mark in the displayed sliding control is the first track position.
[0107] For example, taking the distance between the virtual object and the virtual camera as the target parameter, the track length of the sliding track 603 represents the distance between the virtual object and the virtual camera, and the value range is 1-30. When the sliding mark 602 is at the leftmost position of the sliding track 603, the distance parameter value representing the current representation is 30. At this time, the distance between the target virtual object selected in the target selection area and the virtual camera is within 30. The above embodiment takes the case where the sliding mark 602 is at the leftmost position of the sliding track 603, and the parameter value representing the distance parameter representing the current representation is the largest. At this time, the sliding mark 602 is at the leftmost position of the sliding track 603, which is the first track position.
[0108] It is understandable that when the sliding mark 602 is at the rightmost position of the sliding track 603, the parameter value representing the distance parameter from the virtual camera is the largest. At this time, the rightmost position is the first track position, and the embodiment of the present disclosure does not impose any special restrictions on this.
[0109] In another optional embodiment of the present disclosure, a second style slider control is displayed in a graphical user interface, wherein a sliding indicator in the second style slider control is located at a track position in a sliding track indicating a minimum value in a numerical range of a distance from a virtual camera.
[0110] Taking the above-mentioned sliding mark 602 being at the leftmost position of the sliding track 603, the parameter value representing the current distance parameter from the virtual camera is the largest as an example, then the track position of the sliding mark in the second style slider control in the sliding track is at the rightmost position of the sliding track.
[0111] C. Regarding the display position of the slider control:
[0112] The slider control can be displayed in the lower right position of the target selection area (refer to Fig. 6A As shown in the figure), it can also be the right position of the target selection area; Fig. 6A In addition to the horizontal display mode shown in the figure, in which the sliding mark 602 shown in the figure is slid left and right in the sliding track 603, the slider control 601 can also be displayed vertically, which can be adjusted by sliding the above-mentioned sliding mark up and down, or displayed at any angle. The specific adjustment can be made according to the actual situation, and the embodiments of the present disclosure do not impose any special restrictions on this.
[0113] 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 target parameter as 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 needs to include the virtual object farthest from the virtual camera in the virtual scene, and the corresponding minimum value needs to include the virtual object closest to the virtual camera in the virtual scene, thereby ensuring that all virtual objects in the virtual scene can be selected through the box selection operation.
[0114] In step S303, in response to the control operation on the sliding mark, the target parameter value corresponding to the control operation is determined according to the position parameter of the sliding mark in the sliding track, so as to adjust the target virtual object selected in the target selection area based on the target parameter value.
[0115] The target parameter value is within the parameter value range of the target parameter indicated by the sliding track, and can be any value within the value range of the target parameter of the virtual object in the virtual scene. For example, the value range of the target parameter is 1-20, and the target parameter value must be any value within 1-20, that is, the minimum value of the target parameter value is 1 and the maximum value is 20.
[0116] In an optional embodiment, the control operation may be a sliding operation, a clicking operation or any other operation mode.
[0117] The process of adjusting the target virtual object selected in the target frame selection area based on the target distance may be a process of adding or removing the virtual object selected in the target frame selection area.
[0118] Taking the example that the target determined by step S301 includes all virtual objects located in the target selection area, in an optional embodiment of the present disclosure, when executing step S303, in response to the control operation on the sliding identifier, the target parameter value corresponding to the control operation is determined according to the position parameter of the sliding identifier in the sliding track; the first target virtual object whose target parameter does not meet the target parameter value among the target virtual objects selected in the target selection area is determined; the selection state of the first target virtual object is canceled, and the target virtual object selected in the adjusted target selection area is obtained.
[0119] Exemplarily, after determining the target parameter value according to the position parameters of the sliding marker in the sliding track, the first target virtual object whose target parameters do not meet the target parameter value can be filtered out from the target virtual objects selected in the target selection area to cancel the selection state of the first target virtual object, so as to achieve the effect of removing it from the selected target virtual objects.
[0120] The step S303 is described below by taking the target parameter being the depth distance between the virtual object and the virtual camera as an example.
[0121] In an optional embodiment of the present disclosure, when executing step S303, in response to a control operation on a sliding identifier, a target depth distance corresponding to the control operation is determined according to position parameters of the sliding identifier in the sliding track, so as to adjust the target virtual object selected in the target selection area based on the target depth distance.
[0122] The target depth distance is a target depth distance parameter value determined within a depth distance parameter value range between the virtual object and the virtual camera based on a position parameter of the sliding marker in the sliding track.
[0123] Exemplarily, the depth distance between each virtual object and the virtual camera in the virtual scene is not the same, so the target distance corresponding to the control operation can be determined by the position parameter of the sliding mark in the sliding track, so as to achieve the effect of adjusting the target virtual object selected in the target selection area through the target distance. For example, the distance parameter value range between the virtual object represented by the sliding track and the virtual camera is 1-30. When the target distance value is determined to be 20 based on the position parameter of the sliding mark in the sliding track, the target virtual object selected in the target selection area can be adjusted by the target distance value of 20. For example, the selection state of the virtual object with a target distance value greater than 20 is canceled to retain the selection state of the virtual object with a target distance value less than or equal to 20.
[0124] Continuing to take the target parameter as the volume of the virtual object as an example, the parameter value range indicated by the corresponding sliding track is used to represent the value range of the model size of the virtual object in the virtual scene.
[0125] Exemplarily, in response to a control operation on a sliding marker, the terminal device may determine a target model size based on position parameters of the sliding marker in the sliding track, so as to filter out virtual objects that do not meet the target model size from the target virtual objects selected in the target selection area, deselect them, and thereby achieve the effect of quickly filtering the selected virtual objects.
[0126] For example, the model size parameter indicated by the slide track has a numerical range of 1-50, and if the target model size determined by the position parameter of the slide mark in the slide track is 30, the target virtual object selected in the target selection area can be adjusted by setting the target model size value to 30. For example, the selection state of the virtual object whose target model size value is greater than 30 is canceled to retain the selection state of the virtual object whose target model size value is less than or equal to 30.
[0127] Similarly, the color of the virtual objects in the game scene, the rarity of the virtual objects, the fashion of the virtual objects, the price of the virtual objects and other parameters can also be used as screening conditions to adjust the virtual objects selected in the target selection area. The embodiments of the present disclosure do not list them all.
[0128] Furthermore, taking the above target parameter as the depth distance between the virtual object and the virtual camera as an example, in the process of determining the target depth distance by the position parameter of the sliding mark, and then adjusting the target virtual object selected in the target selection area based on the target depth distance, it not only includes canceling the virtual object that does not meet the target distance, but also includes adding the virtual object that meets the target depth distance. The following will be explained in conjunction with specific embodiments:
[0129] Embodiment 1:
[0130] On the basis of displaying the slider control in the first style, when executing step S303, in response to the control operation of moving the sliding mark 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 the target virtual object in the target selection area whose distance from the virtual camera is greater than the first target depth distance is canceled, so as to obtain the adjusted selected target virtual object in the target selection area.
[0131] Among them, the sliding mark in the first style slider control is located at the first track position in the sliding track, and the first track position indicates the maximum value in the numerical range corresponding to the virtual camera distance parameter; the second track position is any position on the sliding track except the first track position.
[0132] Exemplarily, when executing the control operation of moving the sliding marker from the first track position to the second track position in step S303, the sliding operation can be performed by sliding the sliding marker from the first track position to the second track position; or the sliding marker can be moved from the first track position to the second track position by clicking the second track position. The embodiments of the present disclosure do not impose any special restrictions on this.
[0133] For example, when the slide mark is at the first track position in the slide track, the target depth distance represented by it is at the maximum value, and the user can only control the slide mark to slide in the direction of a smaller value. That is, the value of the depth distance parameter represented by the second track position must be smaller than the value of the depth distance parameter represented by the first track position. Figure 6B For example, the track length of the sliding track 603 shown represents the value range of the depth distance parameter as 1-30. When the sliding mark 602 is at the leftmost position of the sliding track 603, the parameter value representing the current depth distance parameter is 30. At this time, the first track position is the leftmost position in the sliding track 603, and the second track position is at any position to the right of the first track position, and the parameter value representing the distance parameter from the virtual camera is less than 30. In the first style of the slider control, after the target selection area is determined, the sliding mark is at the first track position by default, so that all virtual objects in the target selection area are determined as target virtual objects.
[0134] Exemplarily, when the terminal device responds to a control operation of moving the sliding marker from a first track position to a second track position, based on the second track position in the sliding track, a first target depth distance that matches the position parameters of the second track position is determined from the numerical range represented by the sliding track, and then from the target virtual objects selected in the target selection area, the virtual objects whose depth distance from the virtual camera is greater than the first target depth distance are deselected.
[0135] by Figure 6B Take the application scenario shown as an example. Figure 6B A display schematic diagram 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 is shown; assuming that the track length of the sliding track of the slider control represents a depth distance parameter with a value range of 1-30, the first track position 604 represents a distance parameter with a value of 30 from the virtual camera, and the second track position 605 represents a depth distance parameter with a value of 10, then the terminal device responds to the control operation of moving the sliding marker 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, and then deselects all virtual objects in the target virtual objects whose depth distance parameters with the virtual camera are greater than 10, so that they are not selected. Figure 6BAs shown, Fig. 6A The tables, vases, lamps and washing machines whose distance parameters from the virtual camera are greater than 10 are all deselected. Fig. 6A The two chairs whose distance to the virtual camera is less than or equal to 10 remain selected.
[0136] Embodiment 2:
[0137] Based on Example 1, in an optional embodiment of the present disclosure, in response to moving the sliding marker from the second track position to the third track position, determining a second target depth distance that matches the third track position; determining a second target virtual object in the target selection area whose distance to the virtual camera is between the first target depth distance and the second target depth distance; and selecting the second target virtual object.
[0138] Among them, the third track position is the position between the first track position and the second track position, that is, the second target depth distance value of the virtual camera distance parameter indicated by the third track position is greater than the first target depth distance value corresponding to the second track position within the sliding track indication value range, and is less than the maximum value corresponding to the first track position within the sliding track indication value range.
[0139] 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, 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 can be determined, thereby only selecting the second target virtual object to obtain the adjusted target virtual object.
[0140] For example, the track length of the sliding track represents a distance parameter from the virtual camera with a value range of 1-30, the target distance value indicated by the first track position is 30, the first target depth distance value indicated by the second track position is 15, and the second target depth distance value indicated by the third position is 25.
[0141] In this example, Figure 6C A schematic diagram showing a display of a target virtual object selected by a sliding mark moving from the second sliding track to the third sliding track in this exemplary embodiment; Figure 6C As shown, when the sliding mark is at the second track position 605, the virtual object within the first target depth distance (value 15) indicated by the second track position in the game scene is selected. Figure 6C As shown, at this time, the control sliding mark continues to move from the second track position 605 to the third track position 606. At this time, the third track position 606 is located at Figure 6CAs shown in the figure, between the first track position 604 and the second track position 605, the virtual object within the target selection area that is 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 determined as the second target virtual object, thereby selecting the second target virtual object and obtaining the target virtual object selected after adjustment within the target selection area. Figure 6C The second target virtual objects shown 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 a selected state.
[0142] In the above embodiment, the sliding marker can also continue to 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 where the target distance value is 10, thereby achieving the effect of eliminating virtual objects with target distance values between 10-15 from 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 target distance values greater than 10 in the target selection area.
[0143] Through the above embodiment, the virtual object selected in the target selection area can be quickly adjusted by adjusting the position of the sliding mark in the sliding track, thereby simplifying the cumbersome and lengthy screening process in the relevant technical solution, reducing time consumption, and improving the usability of the game.
[0144] Furthermore, the slider control may also provide one or more of a first slider position control, a second slider position control, and a third slider position control, so as to quickly move the sliding mark to a specific position through a click operation, thereby further improving the efficiency of adjusting the virtual object selected in the selection area.
[0145] Among them, the third slider position control is at the first track position of the sliding track, and the first track position indicates the maximum value within the numerical range of the target parameter. The first slider position control is located at the position farthest from the first track position in the sliding track, that is, the value of the target parameter represented by the first slider position control is the smallest. The second slider position control is located in the middle position of the sliding track, and the value of the target parameter represented by the second slider position control is the middle value between the maximum value and the minimum value.
[0146] The following will be combined Figure 7 An example in which a first slider position control, a second slider position control, and a third slider position control are provided in a slider control is used for description.
[0147] Reference Figure 7As shown, 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 in the value range of the depth distance parameter, the position of the first slider position control 701 indicates the minimum value in the value range of the depth distance parameter, and the position of the second slider position control 702 indicates the middle value between the minimum value and the maximum value in the value range of the depth distance parameter.
[0148] When step S303 is executed, when the sliding identifier includes 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 the 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 objects.
[0149] The second target depth distance corresponding to the position of the first slider position control is the minimum value in the value range of the depth distance parameter.
[0150] When the sliding identifier includes at least a second slider position control, in response to a second touch operation on the second slider position control on the sliding track, the sliding identifier is adjusted from the first track position to the middle position where the second slider position control is located; a 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 to obtain the adjusted selected target virtual object within the target selection area.
[0151] The value of the distance parameter of the fourth target depth distance indication from the virtual camera is the middle value between the minimum value and the maximum value. For example, if the minimum value is 1 and the maximum distance is 11, the middle value is 6.
[0152] Similarly, by performing a touch operation on the third slider position control 703, the target virtual object in the target selection area can be quickly adjusted to be all virtual objects in the target selection area.
[0153] In the above embodiment, through 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 slide the sliding mark, but the sliding mark can be quickly adjusted to the corresponding position by clicking the control, further improving efficiency.
[0154] Furthermore, since the distances between each virtual object in the virtual scene and the virtual camera are different, it is very easy to cause problems such as virtual object covering. In order to facilitate the user to filter and intuitively view the virtual objects selected in the target selection area, it can also be implemented based on the following embodiments:
[0155] In an optional embodiment of the present disclosure, a sub-user interface is displayed in a preset area of the graphical user interface, and an object identifier of a target virtual object selected in the target selection area is displayed in the sub-user interface.
[0156] The preset area does not overlap with the area in the virtual scene for displaying multiple selectable virtual objects. Alternatively, the preset area partially or completely overlaps with the area in the virtual scene for displaying multiple selectable virtual objects, but the transparency of the sub-user interface can be adjusted or set so that the area for displaying multiple selectable virtual objects and the sub-user interface do not affect each other.
[0157] In one embodiment, the sub-user interface can be displayed on the upper layer of the graphical user interface, or can be displayed in the graphical user interface. When the sub-user interface can be displayed on the upper layer of the graphical user interface, it can be displayed in the upper layer of the graphical user interface by pop-up mode or other modes, and the embodiment of the present disclosure does not impose any special restrictions on this.
[0158] Exemplarily, a sub-user interface may also be displayed on the graphical user interface, and the sub-user interface is used to display in real time the target virtual object currently selected in the target selection area.
[0159] In this embodiment, although the selected target virtual objects in the virtual scene can be displayed in a differentiated manner, it is convenient for the user to view. However, the layout of the virtual objects contained in the virtual scene is relatively complicated, especially the three-dimensional virtual scene also contains the depth coordinate Z, which causes partial or complete overlap between the virtual objects, and thus the virtual objects obscured in the target selection area cannot be viewed visually. In this regard, in addition to the differentiated display of the target virtual objects in the virtual scene, the target virtual objects in the target selection area are synchronously displayed through the sub-user interface, which can avoid the virtual objects being mistakenly selected due to being obscured, thereby improving the accuracy of the operation. At the same time, the displayed sub-user interface also facilitates the user to intuitively view the currently selected target virtual object, thereby improving the user's gaming experience.
[0160] On the basis of the above embodiment, in an optional embodiment of the present disclosure, the total number of target virtual objects selected in the target selection area is displayed in the graphical user interface.
[0161] 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 in the target selection area to facilitate quantitative control by the user, thereby further improving the user's gaming experience.
[0162] In another optional embodiment of the present disclosure, based on the above embodiment, the total number of target virtual objects selected in the target selection area can be displayed in the sub-user interface.
[0163] Exemplarily, based on the target virtual objects currently selected through the sub-user interface, the total number of the target virtual objects currently selected may be displayed in the sub-user interface.
[0164] The following will be combined Figure 8 The sub-user interface displayed and combined Fig.9A , Fig. 9B An exemplary description is given of the total number of selected target virtual objects displayed in the sub-user interface.
[0165] Figure 8 A schematic diagram showing a sub-user interface in this exemplary embodiment is shown; Figure 8 As shown, a sub-user interface 801 is displayed in the right area of the graphical user interface, and the sub-user interface 801 displays virtual objects in the target selection area respectively. The virtual objects displayed in the sub-user interface 801 are the currently selected virtual objects.
[0166] Fig.9A A schematic diagram showing the total number of target virtual objects selected in a target selection area in a sub-user interface in this exemplary embodiment is shown; Fig.9A As shown, 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 .
[0167] Fig. 9B A schematic diagram showing the total number of target virtual objects selected in a target selection area in a graphical user interface in this exemplary embodiment is shown; Fig. 9B As shown, 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.
[0168] It should be explained that the object identification of the target virtual object and the total number of selected target virtual objects can be displayed in real time in the sub-user interface or graphical user interface. That is, when the selected target virtual object and the total number of selected target virtual objects change, the object identification and the total number of selected target virtual objects in the sub-user interface will also be adjusted in real time.
[0169] Based on the above embodiment, the target parameter is taken as the depth distance between the virtual object and the virtual camera as an example. Fig.10 The entire process of the method for selecting a virtual object according to an exemplary embodiment of the present disclosure is described in detail.
[0170] Reference Fig.10 As shown in (a), when the terminal device responds to sliding from the first position 1001 of the graphical user interface to the position 1002, the selection area does not contain any virtual object at this time, and there is no target virtual object. The virtual objects in the virtual scene are in a non-selected state. In this case, the sliding control can be displayed or the slider control can be displayed, but the target virtual object selected in the target selection area cannot be adjusted by the slider control.
[0171] exist Fig.10 (a) Based on Fig.10 (b), continue to slide to position 1003. At this time, the two chairs, a round table, a vase, a table lamp and a washing machine in the virtual scene are included in the target selection area determined based on the first position 1001 and the position 1003, and are determined as target virtual objects. Fig.10 (b) It can be seen that only part of the chair and the desk lamp are located in the target selection area, and they can also be determined as target virtual objects. At this time, the above target virtual objects are all in the selected state.
[0172] At the same time, the displayed slider control is displayed in the first style, that is, the sliding mark is located at the first track position, and the maximum value of the depth distance between the virtual object and the virtual camera indicated by it is displayed in real time in the user interface of the right area.
[0173] Assuming the player continues Fig.10 (b) Based on Fig.10 (c) Slide to position 1004, then the target selection area changes, and the corresponding target virtual object also changes. At this time, the virtual objects in the target selection area are a chair, a desk lamp, a round table, and a vase. The selection status of another chair and a washing machine is cancelled, and the user interface in the right area is updated in real time to display the currently selected target virtual object.
[0174] On the basis of the above, when the determination operation of the target selection area is no longer performed, the target virtual object selected in the target selection area can be adjusted based on the position of the sliding mark in the sliding track of the adjustment slider control. FIG. 6B to FIG. 6C The operation is not described in detail here.
[0175] In order to implement the above-mentioned method for selecting a virtual object, an embodiment of the present disclosure provides a device for selecting a virtual object. Fig.11 The schematic architecture diagram of the virtual object selection device is schematically shown. The virtual object selection device 1100 includes a determination module 1101, a control display module 1102 and an object adjustment module 1103. The determination module 1101 is used to respond to the frame selection operation instruction triggered by the graphical user interface, determine the target frame selection area corresponding to the frame selection operation instruction, and select the target virtual object from multiple selectable virtual objects in the virtual scene; wherein the target virtual object includes the virtual object located in the target frame selection area; the control display module 1102 is used to display a slider control in the graphical user interface, the slider control includes a sliding track and a sliding mark 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; the object adjustment module 1103 is used to respond to the control operation for the sliding mark, determine the target parameter value corresponding to the control operation according to the position parameter of the sliding mark in the sliding track, so as to adjust the target virtual object selected in the target frame selection area based on the target parameter value.
[0176] In an optional embodiment of the present disclosure, the object adjustment module 1103 is used to respond to a control operation on a sliding identifier, determine a target parameter value corresponding to the control operation according to a position parameter of the sliding identifier in a sliding track; determine a first target virtual object whose target parameters do not meet the target parameter values 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.
[0177] In an optional embodiment of the present disclosure, the target parameter includes 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 the present disclosure, the device may further include a parameter determination module, which is used to respond to a selection operation of a parameter of a virtual object and determine a target parameter from preset parameters of multiple virtual objects.
[0179] In an optional embodiment of the present 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 identifier, determine the target depth distance corresponding to the control operation according to the position parameter of the sliding identifier in the sliding track, so as to adjust the target virtual object selected in the target selection area based on the target depth distance.
[0180] In an optional embodiment of the present disclosure, the frame selection operation instruction is an instruction triggered by a frame selection operation on a graphical user interface, and the frame selection operation is implemented by at least one of the following operation modes: sliding operation, clicking operation.
[0181] In an optional embodiment of the present disclosure, a determination module 1101 is used to control multiple selectable virtual objects to enter a frame selectable state in response to a frame selection trigger instruction; and to determine a target frame 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 of a graphical user interface.
[0182] In an optional embodiment of the present disclosure, the sliding operation and the frame selection triggering operation are continuous operations.
[0183] In an optional embodiment of the present disclosure, the control display module 1102 is used to display a slider control in a graphical user interface in response to an end instruction of the sliding operation.
[0184] In an optional embodiment of the present disclosure, the control display module 1102 is used to display a slider control of a first style in a graphical user interface, wherein a sliding identifier in the slider control of the first style is located at a first track position in a sliding track, and the first track position indicates a maximum value in a numerical range of the distance between a virtual object and a virtual camera.
[0185] In an optional embodiment of the present disclosure, the object adjustment module 1103 is used to determine a first target depth distance that matches the second track position in response to a control operation of moving the sliding marker from a first track position to a second track position, where the second track position is any position on the sliding track except the first track position; cancel the selection of virtual objects in the target selection area whose distance from the virtual camera is greater than the first target depth distance, and obtain the target virtual objects selected after adjustment in the target selection area.
[0186] In an optional embodiment of the present disclosure, the determination module 1101 can also be used to determine a second target depth distance that matches 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 a position between the first track position and the second track position; determine a second target virtual object in the target selection area whose distance to the virtual camera is between the first target depth distance and the second target depth distance; and select the second target virtual object.
[0187] In an optional embodiment of the present disclosure, the control display module 1102 may also be used to display the target virtual object selected in the target selection area and other virtual objects not selected in the virtual scene in a differentiated manner.
[0188] In an optional embodiment of the present 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 display the object identifier of the target virtual object selected in the target selection area in the sub-user interface.
[0189] In an optional embodiment of the present disclosure, the device may further include a quantity display module, and the quantity display module is used to display the total number of target virtual objects selected in the target selection area in the graphical user interface.
[0190] The virtual object selection device 1100 provided in the embodiment of the present disclosure can execute the technical solution of the virtual object selection method in any of the above-mentioned embodiments, and its implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the virtual object selection method. Please refer to the implementation principle and beneficial effects of the virtual object selection method, and no further details will be given here.
[0191] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0192] The program product for implementing the above method according to an embodiment of the present invention may adopt a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device.
[0193] The program product may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0194] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0195] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0196] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet Service Provider).
[0197] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0198] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0199] Refer to the following Fig.12 The electronic device 1200 according to this embodiment of the present invention is described. Fig.12 The electronic device 1200 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0200] like Fig.12 As shown, the electronic device 1200 is in the form of a general computing device. The components of the electronic device 1200 may include, but are not limited to: the at least one processing unit 1210, the at least one storage unit 1220, a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210), and a display unit 1240.
[0201] The storage unit stores program codes, which can be executed by the processing unit 1210, so that the processing unit 1210 executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 1210 can execute the following steps: Figure 3 Steps S301 to S303 shown in FIG.
[0202] The storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 12201 and / or a cache storage unit 12202 , and may further include a read-only storage unit (ROM) 12203 .
[0203] The 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: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0204] Bus 1230 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0205] The electronic device 1200 may also communicate with one or more external devices 2000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1200, and / or communicate with any device that enables the electronic device 1200 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1250. In addition, the electronic device 1200 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1260. As shown, the network adapter 1260 communicates with other modules of the electronic device 1200 via a bus 1230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.
[0206] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0207] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0208] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0209] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0210] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for selecting a virtual object, characterized in that: A graphical user interface is provided through a terminal device, wherein 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, and the method includes: In response to a selection operation instruction triggered on the graphical user interface, determining a target selection area corresponding to the selection operation instruction, and selecting a target virtual object from a plurality of selectable virtual objects in the virtual scene; wherein the target virtual object includes a virtual object located in the target selection area; Displaying a slider control in the graphical user interface, the slider control comprising a sliding track and a sliding mark located on the sliding track, the parameter value range indicated by the sliding track is used to represent 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 mark, a target parameter value corresponding to the control operation is determined according to a position parameter of the sliding mark in the sliding track, so as to adjust the target virtual object selected in the target selection area based on the target parameter value.
2. The method according to claim 1, characterized in that: In response to the control operation on the sliding mark, determining the target parameter value corresponding to the control operation according to the position parameter of the sliding mark in the sliding track, so as to adjust the target virtual object selected in the target frame selection area based on the target parameter value, includes: In response to a control operation on the sliding mark, determining a target parameter value corresponding to the control operation according to a position parameter of the sliding mark in the sliding track; Determine a first target virtual object whose target parameter does not meet the target parameter value among the target virtual objects selected in the target frame selection area; The selection state of the first target virtual object is canceled to obtain the target virtual object selected in the adjusted target selection area.
3. The method according to claim 1, characterized in that The target parameter includes 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, characterized in that The method further comprises: In response to a selection operation of a parameter of a virtual object, the target parameter is determined from a plurality of preset parameters of the virtual objects.
5. The method according to claim 1, characterized in that The target parameter is the depth distance between the virtual object and the virtual camera; In response to the control operation on the sliding mark, determining the target parameter value corresponding to the control operation according to the position parameter of the sliding mark in the sliding track, so as to adjust the target virtual object selected in the target frame selection area based on the target parameter value, includes: In response to a control operation on the sliding mark, a target depth distance corresponding to the control operation is determined according to a position parameter of the sliding mark in the sliding track, so as to adjust a target virtual object selected in the target selection area based on the target depth distance.
6. The method according to claim 1, characterized in that The frame selection operation instruction is an instruction triggered by a frame selection operation of the graphical user interface, and the frame selection operation is implemented by at least one of the following operation modes: sliding operation and clicking operation.
7. The method according to claim 1, characterized in that The step of determining, in response to a frame selection operation instruction triggered on the graphical user interface, a target frame selection area corresponding to the frame selection operation instruction includes: In response to a frame selection trigger operation, controlling the plurality of selectable virtual objects to enter a frame selectable state; After the multiple selectable virtual objects enter a frame-selectable state, in response to a sliding operation from a first position to a second position of the graphical user interface, the target frame selection area is determined based on the first position and the second position.
8. The method according to claim 7, characterized in that The sliding operation and the frame selection triggering operation are continuous operations.
9. The method according to claim 7, characterized in that: The step of displaying a slider control in the graphical user interface comprises: In response to an end instruction of the sliding operation, a slider control is displayed in the graphical user interface.
10. The method according to claim 5, characterized in that Displaying a slider control in the graphical user interface includes: A slider control of a first style is displayed in the graphical user interface, wherein a sliding mark in the slider control of the first style is located at a first track position in the sliding track, and the first track position indicates a maximum value in a numerical range of the depth distance.
11. The method according to claim 10, characterized in that In response to the control operation on the sliding mark, determining the target depth distance corresponding to the control operation according to the position parameter of the sliding mark in the sliding track, so as to adjust the target virtual object selected in the target frame selection area based on the target depth distance, includes: In response to a control operation of moving the sliding mark from the first track position to a second track position, determining a first target depth distance matching the second track position, the second track position being any position on the sliding track except the first track position; The selection of a target virtual object within the target selection area whose depth distance to the virtual camera is greater than the first target depth distance is cancelled, so as to obtain an adjusted selected target virtual object within the target selection area.
12. The method according to claim 11, characterized in that The method further comprises: In response to moving the sliding mark from the second track position to a third track position, determining a second target depth distance that matches the third track position; the third track position being a position between the first track position and the second track position; Determine a second target virtual object in the target selection area whose depth distance is between the first target depth distance and the second target depth distance; The second target virtual object is selected.
13. The method according to claim 1, characterized in that The method further comprises: The target virtual object selected in the target selection area is displayed separately from other virtual objects not selected in the virtual scene.
14. The method according to claim 1, characterized in that The method further comprises: Displaying a sub-user interface 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, characterized in that The method further comprises: The total number of target virtual objects selected in the target selection area is displayed in the graphical user interface.
16. A device for selecting a virtual object, characterized in that: A graphical user interface is provided through a terminal device, wherein 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, and the apparatus includes: a determination module, configured to, in response to a frame selection operation instruction triggered on the graphical user interface, determine a target frame selection area corresponding to the frame 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 a virtual object located in the target frame selection area; A control display module, used to display a slider control in the graphical user interface, wherein the slider control includes a sliding track and a sliding mark located on the sliding track, and the parameter value range indicated by the sliding track is used to represent the value range of the target parameter corresponding to the virtual object in the virtual scene; An object adjustment module is used to respond to a control operation on the sliding identifier and determine a target parameter value corresponding to the control operation according to a position parameter of the sliding identifier in the sliding track, so as to 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, characterized in that: When the computer program is executed by a processor, the method for selecting a virtual object according to any one of claims 1 to 15 is implemented.
18. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the virtual object selection method described in any one of claims 1 to 15 by executing the executable instructions.
Citation Information
Patent Citations
Virtual prop processing method and apparatus, electronic device and storage medium
CN108459811A
Virtual unit selection method and device in game, storage medium and electronic equipment
CN113457144A
Virtual unit selection method and device in game, storage medium and electronic equipment
CN113559501A
Virtual game object control method and device, computer equipment and storage medium
CN115531882A
Game program and information processing device
JP2015107305A
Cited By
Method and apparatus for selecting virtual objects, and storage medium and electronic device
WO2026045794A1