Method and device for selecting target object in game

By combining the interaction method of the main touch screen and the side touch screen on the mobile device, the selection control pops up and performs precise filtering, which solves the problem that the conventional touch screen clicking method in the mobile terminal cannot accurately and quickly select the target object, and improves the Consistency and comfort of game operation.

CN112169314BActive Publication Date: 2024-10-29NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202011127605.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-20
Publication Date
2024-10-29
Estimated Expiration
2040-10-20

AI Technical Summary

Technical Problem

The conventional touch screen clicking method in mobile terminals cannot accurately and quickly select the target object in the game interface.

Method used

By using the main touch screen and the side touch screen on the mobile device, the selection control pops up on the side touch screen in response to the first touch operation of the main touch screen, and the target object is selected from multiple virtual objects, using The additional interactive input method provided by the side touch screen enables precise screening.

Benefits of technology

It improves the coherence and comfort of game operations and enables precise and fast selection of target objects in the game interface on mobile terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112169314B_ABST
    Figure CN112169314B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for selecting a target object in a game. The method is applied to a mobile device, wherein the mobile device includes a main touch screen and a side touch screen, wherein a first graphical user interface is provided through the main touch screen, and a second graphical user interface is provided through the side touch screen, wherein the method includes: in response to a first touch operation on the first graphical user interface, a selection control pops up in the second graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects; in response to a second touch operation on the selection control, at least one of the plurality of virtual objects is selected as a target object. The present invention solves the technical problem in the prior art that a mobile terminal cannot accurately and quickly select a target object by using a conventional touch screen selection method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of game technology, and in particular to a method and device for selecting a target object in a game. Background Art

[0002] In the prior art, when a user operates a computer terminal to select dense units in a game interface, the right mouse click method can be used to accurately and quickly select the target; however, in a mobile terminal, the touch area of ​​the conventional touch screen selection method is large, resulting in an inability to accurately and quickly select the target in the game interface.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method and device for selecting a target object in a game, so as to at least solve the technical problem in the prior art that a mobile terminal cannot accurately and quickly select a target object by using a conventional touch screen selection method.

[0005] According to one aspect of an embodiment of the present invention, a method for selecting a target object in a game is provided, which is applied to a mobile device. The mobile device includes a main touch screen and a side touch screen. A first graphical user interface is provided through the main touch screen, and a second graphical user interface is provided through the side touch screen. The method includes: in response to a first touch operation applied to the first graphical user interface, a selection control pops up in the second graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects; in response to a second touch operation applied to the selection control, at least one of the plurality of virtual objects is selected as a target object.

[0006] According to another aspect of an embodiment of the present invention, there is provided a device for selecting a target object in a game, which is applied to a mobile device. The mobile device includes a main touch screen and a side touch screen. A first graphical user interface is provided through the main touch screen, and a second graphical user interface is provided through the side touch screen. The device includes: a pop-up module, which is used to respond to a first touch operation applied to the first graphical user interface and pop up a selection control in the second graphical user interface, wherein the first graphical user interface includes multiple virtual objects; and a selection module, which is used to respond to a second touch operation applied to the selection control and select at least one of the multiple virtual objects as a target object.

[0007] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, wherein the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the methods for selecting a target object in the game.

[0008] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program stored in a memory, wherein the program executes any one of the methods for selecting a target object in the game when running.

[0009] The method for selecting a target object in a game provided by an embodiment of the present invention is applied to a mobile device, wherein the mobile device includes a main touch screen and a side touch screen, wherein a first graphical user interface is rendered in the main touch screen, and a second graphical user interface is rendered in the side touch screen, and a selection control pops up in the second graphical user interface in response to a first touch operation applied to the first graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects; and in response to a second touch operation applied to the selection control, at least one of the plurality of virtual objects is selected as a target object from the plurality of virtual objects, thereby achieving the purpose of accurately and quickly selecting a target object from a plurality of virtual objects in a game interface, thereby realizing the technical effect of improving the consistency and comfort of game operation, and further solving the technical problem in the prior art that a mobile terminal cannot accurately and quickly select a target object by using a conventional touch screen selection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0011] Figure 1 is a flow chart of selecting a target object in a game according to an embodiment of the present invention;

[0012] Figure 2 is a schematic diagram of a scene for selecting a target object in an optional game according to an embodiment of the present invention;

[0013] Figure 3 is a schematic diagram of another optional scene of selecting a target object in a game according to an embodiment of the present invention;

[0014] Figure 4 It is a structural schematic diagram of a device for selecting a target object in a game according to an embodiment of the present invention. DETAILED DESCRIPTION

[0015] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0016] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0017] According to an embodiment of the present invention, a method embodiment for selecting a target object in a game is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0018] The technical solution of the embodiment of the method can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, and a mobile Internet device (Mobile Internet Devices, referred to as MID), a PAD and other terminal devices. The mobile terminal may include one or more processors (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may also include a transmission device, an input and output device, and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the above mobile terminal. For example, the mobile terminal may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.

[0019] The memory can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for processing the game screen in the embodiment of the present invention. The processor executes various functional applications and data processing by running the computer program stored in the memory, that is, the method for processing the game screen described above is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0020] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly. The technical solution of the embodiment of the method can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system or 5G system. Optionally, multiple mobile terminals can perform device-to-device (D2D) communication. Optionally, the 5G system or 5G network is also called the New Radio (NR) system or NR network.

[0021] The display device may be, for example, a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of a mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contacts and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product executable by one or more processors or a readable non-volatile storage medium.

[0022] The method for selecting a target object in the game is applied to a mobile device, wherein the mobile device comprises a main touch screen and a side touch screen, wherein a first graphical user interface is rendered on the main touch screen, and a second graphical user interface is rendered on the side touch screen. Figure 1 is a flow chart of selecting a target object in a game according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0023] Step S102, in response to a first touch operation on the first graphical user interface, popping up a selection control in the second graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects;

[0024] Step S104 , in response to a second touch operation applied to the selection control, selecting at least one of the plurality of virtual objects as a target object.

[0025] The method for selecting a target object in a game provided by an embodiment of the present invention is applied to a mobile device, wherein the mobile device includes a main touch screen and a side touch screen, wherein a first graphical user interface is rendered in the main touch screen, and a second graphical user interface is rendered in the side touch screen, and a selection control pops up in the second graphical user interface in response to a first touch operation applied to the first graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects; and in response to a second touch operation applied to the selection control, at least one of the plurality of virtual objects is selected as a target object from the plurality of virtual objects, thereby achieving the purpose of accurately and quickly selecting a target object from a plurality of virtual objects in a game interface, thereby realizing the technical effect of improving the consistency and comfort of game operation, and further solving the technical problem in the prior art that a mobile terminal cannot accurately and quickly select a target object by using a conventional touch screen selection method.

[0026] Optionally, the method for selecting a target object in the game is applied to a mobile device, which may be a smart phone, a tablet computer, etc. Figure 2 As shown, the mobile device includes a main touch screen 20 and a side touch screen 22. The main touch screen may be a main display screen of the mobile device, and the side touch screen may be a side display screen of the mobile device.

[0027] As an optional embodiment, Figure 2 As shown, a first graphical user interface 201 is rendered in the main touch screen 20, and a second graphical user interface 221 is rendered in the side touch screen 22. Optionally, the first graphical user interface is a game interface, and when the player controls the game (such as a real-time tactical game), the second graphical user interface is a control interface adapted to the first graphical user interface.

[0028] As another optional embodiment, the first graphical user interface includes a plurality of virtual objects.

[0029] Optionally, the selection control popped up in the second graphical user interface 221 may be a selector, for example Figure 2 The selection slider 223 is shown; the above-mentioned multiple virtual objects can be target objects to be selected in the game, for example, virtual game characters, weapons, etc.

[0030] In an optional embodiment, the first touch operation is received in at least the following manner: a click operation of the first touch object acting on the first target area in the first graphical user interface is received, that is, the first touch operation can be a click operation of the first touch object 203 acting on the first target area 205 in the first graphical user interface 201. Optionally, the first touch object can be the player's thumb, for example, the left thumb or the right thumb.

[0031] As an optional embodiment, the above method further includes:

[0032] Step S202, in response to a first touch operation applied to the first graphical user interface, determining an action range of the first touch operation on the first graphical user interface as a first target area;

[0033] The selecting at least one virtual object from the plurality of virtual objects as the target object comprises: selecting at least one virtual object from the plurality of virtual objects included in the first target area as the target object.

[0034] In an optional embodiment, the first touch operation is a click operation; and the determining the scope of action of the first touch operation on the first graphical user interface includes:

[0035] Step S302, according to the click position (for example, touch point position) of the first touch operation (click operation) on the first graphical user interface, an area of ​​a preset size centered on the click position is used as the effective range of the first touch operation on the first graphical user interface.

[0036] That is, in an embodiment of the present application, based on the click position (for example, the touch point position) of the user's click operation on the above-mentioned first graphical user interface, an area of ​​a preset size centered on the touch point position is used as the effective range of the above-mentioned first touch operation on the above-mentioned first graphical user interface.

[0037] It should be noted that the above-mentioned scope of action can be determined according to the interface size of the graphical user interface, and when the interface size of the above-mentioned graphical user interface is adjusted, the above-mentioned scope of action can be adaptively adjusted.

[0038] In another optional embodiment, the first touch operation is a sliding operation; and the determining the effective range of the first touch operation on the first graphical user interface includes:

[0039] Step S402: determining an effective range of the first touch operation on the first graphical user interface according to a sliding track of the first touch operation (sliding operation) on the first graphical user interface.

[0040] That is, in the embodiment of the present application, the scope of action of the first touch operation on the first graphical user interface is determined according to the sliding track of the user's sliding operation on the first graphical user interface.

[0041] like Figure 2 As shown, the first touch operation may also be a sliding operation of the second touch object 225 acting on the selection slide bar 223 .

[0042] Optionally, the second touch object may be the player's index finger, for example, the index finger of the left hand or the index finger of the right hand; and the sliding operation may be a sliding operation to the left or a sliding operation to the right.

[0043] The embodiment of the present application provides an additional interactive input method through the side touch screen, that is, displaying selection controls in the second graphical user interface provided by the side touch screen, which can facilitate users to accurately screen virtual objects. Through the cooperation of the player's thumb and index finger, continuous and uninterrupted selection operations can be completed, thereby achieving comfort and continuity in the player's control of the game interface.

[0044] In an optional embodiment, while or after the selection control pops up in the second graphical user interface, the method further includes: displaying identification information of the plurality of virtual objects in a second target area in the first graphical user interface.

[0045] like Figure 3 As shown, the first graphical user interface 201 further includes a second target area 207. Optionally, the second target area 207 is associated with a selection control (eg, Figure 2 and Figure 3 The selection slide bar 223) shown corresponds to the set area.

[0046] Through the embodiment of the present application, at the same time or after the selection control pops up in the above-mentioned second graphical user interface, the identification information of the above-mentioned multiple virtual objects can also be displayed in the second target area in the above-mentioned first graphical user interface, which is more conducive to the player to quickly switch to the target object to be selected.

[0047] As an optional embodiment, the second target area in the first graphical user interface displays identification information of the plurality of virtual objects, including:

[0048] Step S502, displaying the identification information of the target object in the second target area in the first graphical user interface, and taking the identification information of the target object as the center, displaying the other virtual objects in the first graphical user interface in sequence around the center according to the distance between the other virtual objects and the target object.

[0049] In an embodiment of the present application, specifically, how to display identification information of multiple target objects in the second target area can be determined through a first touch operation, for example, by obtaining the touch point position of the first touch operation applied to the first graphical user interface; determining the arrangement positions of the multiple virtual objects based on the touch point position; displaying the identification information in the second target area based on the arrangement position, and taking the identification information of the target object as the center, displaying the other virtual objects in sequence around the center based on the distance between the other virtual objects in the first graphical user interface and the target object.

[0050] In an optional embodiment, the second target area in the first graphical user interface displays identification information of the plurality of virtual objects, including:

[0051] Step S602, obtaining the touch point position of the touch point of the first graphical user interface caused by the first touch operation;

[0052] Step S604, determining the arrangement positions of the plurality of virtual objects according to the touch point positions;

[0053] Step S606: display the identification information in the second target area according to the arrangement position.

[0054] In an embodiment of the present application, the touch point position, i.e., the focus point position of the first touch operation, is used to determine the arrangement positions of the multiple virtual objects based on the distances between the multiple virtual objects and the touch point position. Specifically, the multiple virtual objects are sorted based on the distance values ​​to obtain the sorting results, and the arrangement positions are determined based on the sorting results, and then the identification information is displayed in the second target area based on the arrangement positions.

[0055] As an optional embodiment, determining the arrangement positions of the plurality of virtual objects according to the touch point positions includes:

[0056] Step S702, obtaining the distance value between the touch point position and the multiple virtual objects;

[0057] Step S704, sorting the plurality of virtual objects according to the distance values ​​to obtain a sorting result;

[0058] Step S706, determining the arrangement position based on the sorting result.

[0059] In an optional embodiment, if the virtual object is closest to the touch point position, the identification information of the virtual object is displayed in the middle area of ​​the second target area; if the virtual object is farthest to the left of the touch point position, the identification information of the virtual object is displayed at the leftmost side of the second target area; if the virtual object is farthest to the right of the touch point position, the identification information of the virtual object is displayed at the rightmost side of the second target area.

[0060] It should be noted that in an embodiment of the present application, after determining the identification information of the virtual object displayed in the middle area of ​​the second target area, the other virtual objects are arranged from the middle area to the left and right in sequence according to the distance from the touch point position and the orientation information at the touch point position, and the above identification information is displayed in the above second target area.

[0061] As an optional embodiment, before the selection control is popped up in the second graphical user interface, the method further includes: determining that the first touch operation selects any virtual object among the multiple virtual objects.

[0062] As another optional embodiment, after the target object is selected from the multiple virtual objects, in response to the third operation applied to the target object, the target object is controlled to perform an action corresponding to the third operation.

[0063] Optionally, the third operation may be a click operation or a drag operation of the first touch object on the target object, and the target object is controlled to execute an action corresponding to the third operation in response to the third operation. Since the target object selected in the embodiment of the present application is more accurate, the target object is immediately controlled after the target object is selected, which is conducive to improving the player's precise control over the target object and the control over the game, thereby greatly improving the player's game control experience.

[0064] According to an embodiment of the present invention, there is also provided an embodiment of a device for implementing the method for selecting a target object in the above-mentioned game. The device for selecting a target object in the above-mentioned game is applied to a mobile device. The above-mentioned mobile device includes a main touch screen and a side touch screen. A first graphical user interface is rendered in the above-mentioned main touch screen, and a second graphical user interface is rendered in the above-mentioned side touch screen.

[0065] Figure 4 is a schematic diagram of the structure of a device for selecting a target object in a game according to an embodiment of the present invention. Figure 4 As shown, the above device is applied to a mobile device, the mobile device includes a main touch screen and a side touch screen, a first graphical user interface is provided through the main touch screen, and a second graphical user interface is provided through the side touch screen, including: a pop-up module 40 and a selection module 42, wherein:

[0066] The pop-up module 40 is used to respond to the first touch operation applied to the above-mentioned first graphical user interface and pop up a selection control in the above-mentioned second graphical user interface, wherein the above-mentioned first graphical user interface includes multiple virtual objects; the selection module 42 is used to respond to the second touch operation applied to the above-mentioned selection control and select at least one of the above-mentioned virtual objects as the target object from the above-mentioned multiple virtual objects.

[0067] The method for selecting a target object in a game provided by an embodiment of the present invention is applied to a mobile device, wherein the mobile device includes a main touch screen and a side touch screen, wherein a first graphical user interface is rendered in the main touch screen, and a second graphical user interface is rendered in the side touch screen, and a selection control pops up in the second graphical user interface in response to a first touch operation applied to the first graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects; and in response to a second touch operation applied to the selection control, at least one of the plurality of virtual objects is selected as a target object from the plurality of virtual objects, thereby achieving the purpose of accurately and quickly selecting a target object from a plurality of virtual objects in a game interface, thereby realizing the technical effect of improving the consistency and comfort of game operation, and further solving the technical problem in the prior art that a mobile terminal cannot accurately and quickly select a target object by using a conventional touch screen selection method.

[0068] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0069] It should be noted that the pop-up module 40 and the selection module 42 correspond to steps S102 to S104 in the method embodiment, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the method embodiment. It should be noted that the modules as part of the device can be run in a computer terminal.

[0070] It should be noted that the optional or preferred implementation modes of this embodiment can refer to the relevant description in the method embodiment, which will not be repeated here.

[0071] The device for selecting a target object in the above-mentioned game may also include a processor and a memory. The above-mentioned pop-up module 40 and the selection module 42 are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0072] The processor includes a kernel, which retrieves the corresponding program unit from the memory. The kernel may be one or more. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.

[0073] According to an embodiment of the present application, a non-volatile storage medium embodiment is also provided. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute any of the methods for selecting a target object in the game.

[0074] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group, and the non-volatile storage medium includes a stored program.

[0075] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: in response to a first touch operation applied to a first graphical user interface, a selection control pops up in a second graphical user interface, wherein the first graphical user interface includes multiple virtual objects; in response to a second touch operation applied to the selection control, at least one virtual object is selected from the multiple virtual objects as a target object.

[0076] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: in response to a first touch operation applied to a first graphical user interface, determining a range of action of the first touch operation on the first graphical user interface as a first target area; and selecting at least one virtual object from a plurality of virtual objects as a target object, including: selecting at least one virtual object from a plurality of virtual objects contained in the first target area as a target object.

[0077] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: according to the click position of the first touch operation on the first graphical user interface, an area of ​​a preset size centered on the click position is used as the scope of action of the first touch operation on the first graphical user interface.

[0078] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following function: determining an action range of the first touch operation on the first graphical user interface according to a sliding track of the first touch operation on the first graphical user interface.

[0079] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following function: displaying identification information of multiple virtual objects in the second target area in the first graphical user interface.

[0080] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: display the identification information of the target object in the second target area in the first graphical user interface, and with the identification information of the target object as the center, display other virtual objects in sequence around the center according to the distance between other virtual objects in the first graphical user interface and the target object.

[0081] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: obtain the touch point position of the touch point of the first touch operation acting on the first graphical user interface; determine the arrangement position of multiple virtual objects based on the touch point position; and display identification information in the second target area based on the arrangement position.

[0082] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: obtaining the distance value between the touch point position and multiple virtual objects; sorting the multiple virtual objects according to the distance value to obtain a sorting result; and determining the arrangement position based on the sorting result.

[0083] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following function: determining that the first touch operation selects any virtual object among the multiple virtual objects.

[0084] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following function: in response to a third operation acting on the target object, the target object is controlled to perform an action corresponding to the third operation.

[0085] According to an embodiment of the present application, a processor embodiment is also provided. Optionally, in this embodiment, the processor is used to run a program, wherein when the program is run, any of the methods for selecting a target object in a game is executed.

[0086] According to an embodiment of the present application, an electronic device embodiment is also provided, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: in response to a first touch operation applied to a first graphical user interface, a selection control pops up in a second graphical user interface, wherein the first graphical user interface includes multiple virtual objects; in response to a second touch operation applied to the selection control, at least one virtual object is selected from the multiple virtual objects as a target object.

[0087] Optionally, the processor is also used to implement the following steps when executing the program: in response to a first touch operation applied to a first graphical user interface, determine a range of action of the first touch operation on the first graphical user interface as a first target area; select at least one virtual object from a plurality of virtual objects as a target object, including: selecting at least one virtual object from a plurality of virtual objects contained in the first target area as a target object.

[0088] Optionally, the processor is further used to implement the following steps when executing the program: according to the click position of the first touch operation on the first graphical user interface, an area of ​​a preset size centered on the click position is used as the scope of action of the first touch operation on the first graphical user interface.

[0089] Optionally, the processor is further configured to implement the following steps when executing the program: determining an action range of the first touch operation on the first graphical user interface according to a sliding track of the first touch operation on the first graphical user interface.

[0090] Optionally, the processor is further configured to implement the following steps when executing the program: displaying identification information of multiple virtual objects in the second target area in the first graphical user interface.

[0091] Optionally, the processor is also used to implement the following steps when executing the program: displaying the identification information of the target object in the second target area in the first graphical user interface, and displaying other virtual objects in sequence around the center based on the distance between other virtual objects in the first graphical user interface and the target object, with the identification information of the target object as the center.

[0092] Optionally, the processor is also used to implement the following steps when executing the program: obtaining the touch point position of the touch point of the first touch operation acting on the first graphical user interface; determining the arrangement position of multiple virtual objects based on the touch point position; and displaying identification information in the second target area based on the arrangement position.

[0093] Optionally, the processor is further used to implement the following steps when executing the program: obtaining a distance value between the touch point position and multiple virtual objects; sorting the multiple virtual objects according to the distance value to obtain a sorting result; and determining an arrangement position based on the sorting result.

[0094] Optionally, the processor is further configured to implement the following steps when executing the program: determining that the first touch operation selects any virtual object among the multiple virtual objects.

[0095] Optionally, the processor is further configured to implement the following steps when executing the program: in response to a third operation acting on the target object, control the target object to perform an action corresponding to the third operation.

[0096] According to an embodiment of the present application, a computer program product embodiment is also provided. When executed on a data processing device, the computer program product embodiment is suitable for executing a program that is initialized with the following method steps: in response to a first touch operation applied to the first graphical user interface, a selection control pops up in the second graphical user interface, wherein the selection control is used to determine multiple virtual objects in the first graphical user interface; in response to a second touch operation applied to the selection control, a target object is selected from the multiple virtual objects.

[0097] Optionally, the computer program product is also used to implement the following steps when executing the program: in response to a first touch operation applied to a first graphical user interface, a selection control pops up in a second graphical user interface, wherein the first graphical user interface includes multiple virtual objects; in response to a second touch operation applied to the selection control, at least one virtual object is selected from the multiple virtual objects as a target object.

[0098] Optionally, the computer program product is also used to implement the following steps when executing the program: in response to a first touch operation applied to a first graphical user interface, determine the scope of action of the first touch operation on the first graphical user interface as a first target area; select at least one virtual object from a plurality of virtual objects as a target object, including: selecting at least one virtual object from a plurality of virtual objects contained in the first target area as a target object.

[0099] Optionally, the computer program product is also used to implement the following steps when executing the program: according to the click position of the first touch operation on the first graphical user interface, an area of ​​a preset size centered on the click position is used as the scope of action of the first touch operation on the first graphical user interface.

[0100] Optionally, the computer program product is further used to implement the following steps when executing the program: determining the scope of action of the first touch operation on the first graphical user interface according to a sliding track of the first touch operation on the first graphical user interface.

[0101] Optionally, the computer program product is further configured to implement the following steps when executing the program: displaying identification information of multiple virtual objects in the second target area in the first graphical user interface.

[0102] Optionally, the computer program product is also used to implement the following steps when executing the program: displaying the identification information of the target object in the second target area in the first graphical user interface, and displaying other virtual objects in sequence around the center based on the distance between other virtual objects in the first graphical user interface and the target object, with the identification information of the target object as the center.

[0103] Optionally, the computer program product is also used to implement the following steps when executing the program: obtaining the touch point position of the touch point of the first touch operation acting on the first graphical user interface; determining the arrangement positions of multiple virtual objects based on the touch point position; and displaying identification information in the second target area based on the arrangement position.

[0104] Optionally, the computer program product is also used to implement the following steps when executing the program: obtaining the distance value between the touch point position and multiple virtual objects; sorting the multiple virtual objects according to the distance value to obtain a sorting result; and determining the arrangement position based on the sorting result.

[0105] Optionally, the computer program product is further configured to implement the following steps when executing the program: determining that the first touch operation selects any virtual object among the plurality of virtual objects.

[0106] Optionally, the computer program product is further configured to implement the following steps when executing the program: in response to a third operation acting on the target object, controlling the target object to perform an action corresponding to the third operation.

[0107] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0108] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0109] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above-mentioned units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0110] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0111] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a non-volatile storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned non-volatile storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0113] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for selecting a target object in a game, characterized in that: Applied to a mobile device, the mobile device includes a main touch screen and a side touch screen, a first graphical user interface is provided through the main touch screen, and a second graphical user interface is provided through the side touch screen, the method includes: In response to a first touch operation on the first graphical user interface, popping up a selection control in the second graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects; In response to a second touch operation on the selection control, selecting at least one virtual object from the plurality of virtual objects as a target object; Wherein, the method further comprises: displaying identification information of the plurality of virtual objects in a second target area in the first graphical user interface; The displaying of identification information of the multiple virtual objects in the second target area in the first graphical user interface includes: obtaining the touch point position of the touch point of the first touch operation acting on the first graphical user interface; determining the arrangement positions of the multiple virtual objects based on the touch point position; and displaying the identification information in the second target area based on the arrangement positions.

2. The method according to claim 1, characterized in that The method further comprises: In response to a first touch operation applied to the first graphical user interface, determining an action range of the first touch operation on the first graphical user interface as a first target area; The selecting at least one virtual object from the multiple virtual objects as the target object includes: selecting at least one virtual object from the multiple virtual objects included in the first target area as the target object.

3. The method according to claim 2, characterized in that The first touch operation is a click operation; and determining the effective range of the first touch operation on the first graphical user interface includes: According to a click position of the first touch operation on the first graphical user interface, an area of ​​a preset size centered on the click position is used as an effective range of the first touch operation on the first graphical user interface.

4. The method according to claim 2, characterized in that: The first touch operation is a sliding operation; and determining the effective range of the first touch operation on the first graphical user interface includes: According to a sliding track of the first touch operation on the first graphical user interface, an action range of the first touch operation on the first graphical user interface is determined.

5. The method according to claim 1, characterized in that The displaying of identification information of the plurality of virtual objects in the second target area in the first graphical user interface further includes: The identification information of the target object is displayed in a second target area in the first graphical user interface, and with the identification information of the target object as the center, the other virtual objects in the first graphical user interface are displayed in sequence around the center according to the distance between the other virtual objects and the target object.

6. The method according to claim 1, characterized in that Determining the arrangement positions of the plurality of virtual objects according to the touch point positions includes: Acquire the distance value between the touch point position and the multiple virtual objects; Sorting the multiple virtual objects according to the distance values ​​to obtain a sorting result; The arrangement position is determined based on the sorting result.

7. The method according to claim 1, characterized in that Before the selection control is popped up in the second graphical user interface, the method further includes: Determine that the first touch operation selects any virtual object among the multiple virtual objects.

8. The method according to any one of claims 1 to 7, characterized in that After selecting the target object from the plurality of virtual objects, the method further includes: In response to a third operation acting on the target object, the target object is controlled to perform an action corresponding to the third operation.

9. A device for selecting a target object in a game, characterized in that: Applied to a mobile device, the mobile device includes a main touch screen and a side touch screen, a first graphical user interface is provided through the main touch screen, and a second graphical user interface is provided through the side touch screen, the device includes: a pop-up module, configured to pop up a selection control in the second graphical user interface in response to a first touch operation on the first graphical user interface, wherein the first graphical user interface includes a plurality of virtual objects; a selection module, configured to select at least one virtual object from the plurality of virtual objects as a target object in response to a second touch operation applied to the selection control; Wherein, the device is further used for: displaying identification information of the plurality of virtual objects in a second target area in the first graphical user interface; The device is also used to display the identification information of the multiple virtual objects in the second target area in the first graphical user interface through the following steps: obtaining the touch point position of the touch point of the first touch operation acting on the first graphical user interface; determining the arrangement positions of the multiple virtual objects based on the touch point position; and displaying the identification information in the second target area based on the arrangement position.

10. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the method for selecting a target object in a game as described in any one of claims 1 to 8.

11. A processor, characterized in that: The processor is used to run a program stored in the memory, wherein the program, when running, executes the method for selecting a target object in a game as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Interaction method and device for precisely selecting target in mobile device game and computer readable storage medium

    CN107132979A

  • Game-viewpoint display method, display device and display terminal

    CN109331468A

  • Method and device for selecting virtual objects in game, equipment and medium

    CN109771941A

  • Selecting method and device of game objects

    CN109847355A

  • Operation control method and device of virtual object in game and mobile terminal

    CN110064193A