CN112169314A - Method and device for selecting target object in game - Google Patents

Method and device for selecting target object in game Download PDF

Info

Publication number
CN112169314A
CN112169314A CN202011127605.9A CN202011127605A CN112169314A CN 112169314 A CN112169314 A CN 112169314A CN 202011127605 A CN202011127605 A CN 202011127605A CN 112169314 A CN112169314 A CN 112169314A
Authority
CN
China
Prior art keywords
user interface
graphical user
virtual objects
target object
touch operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011127605.9A
Other languages
Chinese (zh)
Inventor
赵振涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011127605.9A priority Critical patent/CN112169314A/en
Publication of CN112169314A publication Critical patent/CN112169314A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for selecting a target object in a game. The method is applied to mobile equipment, the mobile equipment comprises a main touch screen and a side touch screen, a first graphical user interface is provided through the main touch screen, a second graphical user interface is provided through the side touch screen, and the method comprises the following steps: responding to a first touch operation acting on the first graphical user interface, and popping up a selection control in the second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acted on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object. The method and the device solve the technical problem that the mobile terminal cannot accurately and quickly select the target object in the prior art by adopting a conventional touch screen clicking mode.

Description

Method and device for selecting target object in game
Technical Field
The invention relates to the technical field of games, in particular to a method and a device for selecting a target object in a game.
Background
In the prior art, when a user operates a computer terminal to select dense units in a game interface, a right mouse is adopted to click so as to realize accurate and quick target selection; however, in the mobile terminal, the touch area of the conventional touch screen clicking mode is large, so that the target in the game interface cannot be accurately and quickly selected.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for selecting a target object in a game, which at least solve the technical problem that a mobile terminal in the prior art cannot accurately and quickly select the target object by adopting a conventional touch screen clicking mode.
According to an 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, where 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, and the method includes: responding to a first touch operation acting on the first graphical user interface, and popping up a selection control in the second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acted on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for selecting a target object in a game, which is applied to a mobile device, where 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 apparatus including: a pop-up module, configured to pop up a selection control in the second graphical user interface in response to a first touch operation applied to the first graphical user interface, where the first graphical user interface includes a plurality of virtual objects; and the selecting module is used for responding to a second touch operation acted on the selecting control and selecting at least one virtual object from the plurality of virtual objects as a target object.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium, where the non-volatile storage medium includes a stored program, and when the program runs, the apparatus where the non-volatile storage medium is located is controlled to execute any one of the methods for selecting a target object in a game.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program stored in a memory, where the program is executed to perform any one of the methods for selecting a target object in a game.
The method for selecting the target object in the game provided by the embodiment of the invention is applied to mobile equipment, the mobile equipment comprises a main touch screen and a side touch screen, a first graphical user interface is rendered in the main touch screen, a second graphical user interface is rendered in the side touch screen, and a selection control is popped up in the second graphical user interface by responding to a first touch operation acting on the first graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acting on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object, so that the aim of accurately and quickly selecting the target object from the plurality of virtual objects in the game interface is fulfilled, the technical effects of improving the continuity and comfort of game operation are realized, and the technical problem that the target object cannot be accurately and quickly selected by a mobile terminal in the prior art in a conventional touch screen clicking mode is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of selecting a target object in a game according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative game target object selection scenario according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a scene of an alternative game for selecting a target object according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of an apparatus for selecting a target object in a game according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for selecting a target object in a game, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The technical scheme of the method embodiment can be executed in a mobile terminal, a computer terminal or a similar arithmetic device. Taking the example of the Mobile terminal running on the Mobile terminal, the Mobile terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet device (MID for short), a PAD, and the like. The mobile terminal may include one or more processors (which may include, but are 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 further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the game screen processing method in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the game screen processing method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner. The technical scheme of the embodiment of the method can be applied to various communication systems, such as: a Global System for Mobile communications (GSM) System, a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a General Packet Radio Service (GPRS), a Long Term Evolution (Long Term Evolution, LTE) System, a Frequency Division Duplex (FDD) System, a Time Division Duplex (TDD), a Universal Mobile Telecommunications System (UMTS), a Worldwide Interoperability for Microwave Access (WiMAX) communication System, or a 5G System. Optionally, Device-to-Device (D2D for short) communication may be performed between multiple mobile terminals. Alternatively, the 5G system or the 5G network is also referred to as a New Radio (NR) system or an NR network.
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 the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable non-volatile storage media.
The method for selecting a target object in a game 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 rendered in the main touch screen, a second graphical user interface is rendered in the side touch screen, fig. 1 is a flow chart of selecting a target object in a game according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step S102, responding to a first touch operation acting on the first graphical user interface, and popping out a selection control in the second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects;
step S104 is performed to select at least one of the virtual objects as a target object in response to a second touch operation applied to the selection control.
The method for selecting the target object in the game provided by the embodiment of the invention is applied to mobile equipment, the mobile equipment comprises a main touch screen and a side touch screen, a first graphical user interface is rendered in the main touch screen, a second graphical user interface is rendered in the side touch screen, and a selection control is popped up in the second graphical user interface by responding to a first touch operation acting on the first graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acting on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object, so that the aim of accurately and quickly selecting the target object from the plurality of virtual objects in the game interface is fulfilled, the technical effects of improving the continuity and comfort of game operation are realized, and the technical problem that the target object cannot be accurately and quickly selected by a mobile terminal in the prior art in a conventional touch screen clicking mode is solved.
Optionally, the method for selecting a target object in a game is applied to a mobile device, where the mobile device may be a smart phone, a tablet computer, or the like, as shown in fig. 2, the mobile device includes a main touch screen 20 and a side touch screen 22, where 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.
As an alternative embodiment, as shown in fig. 2, 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 during a process of a player playing a game (e.g., an instant tactical game), the second graphical user interface is a control interface adapted to the first graphical user interface.
As another alternative embodiment, the first graphical user interface includes a plurality of virtual objects.
Optionally, the selection control popped up in the second graphical user interface 221 may be a selector, such as the selection slider 223 shown in fig. 2; the plurality of virtual objects may be target objects to be selected in the game, such as virtual game characters, weapons, and the like.
In an optional embodiment, the first touch operation is received at least as follows: receiving a click operation of a first touch object on a first target area in the first gui, that is, the first touch operation may be a click operation of the first touch object 203 on the first target area 205 in the first gui 201, and optionally, the first touch object may be a thumb of a player, for example, a left thumb and a right thumb.
As an optional embodiment, the method further includes:
step S202, responding to a first touch operation acting on the first graphical user interface, and determining an acting range of the first touch operation on the first graphical user interface as a first target area;
the selecting at least one of the virtual objects from the plurality of virtual objects as a target object includes: at least one of the virtual objects included in the first target area is selected as a target object.
In an optional embodiment, the first touch operation is a click operation; the determining the scope of the first touch operation on the first gui includes:
in step S302, according to a click position (e.g., a touch point position) of the first touch operation (click operation) on the first gui, an area with a predetermined size centered on the click position is used as an action range of the first touch operation on the first gui.
That is, in the embodiment of the present application, according to a click position (for example, a touch point position) of a user on the first gui, an area with a preset size and centered on the touch point position is used as an action range of the first touch operation on the first gui.
It should be noted that, the scope may be determined according to the interface size of the gui, and the scope may be adaptively adjusted when the interface size of the gui is adjusted.
In another optional embodiment, the first touch operation is a sliding operation; the determining the scope of the first touch operation on the first gui includes:
step S402 is to determine an action range of the first touch operation on the first gui according to a sliding track of the first touch operation (sliding operation) on the first gui.
That is, in the embodiment of the present application, the action range of the first touch operation on the first graphical user interface is determined according to the sliding track of the sliding operation of the user on the first graphical user interface.
As shown in fig. 2, that is, the first touch operation may also be a sliding operation of the second touch object 225 on the selection slider 223.
Optionally, the second touch object may be an index finger of the player, for example, a left index finger and a right index finger; the sliding operation may be a leftward sliding operation or a rightward sliding operation.
According to the embodiment of the application, the selection control is displayed in the second graphical user interface provided by the side touch screen through an additional interactive input mode provided by the side touch screen, so that a user can conveniently and accurately screen the virtual object, continuous and uninterrupted selection operation can be completed through the cooperation of the thumb and the index finger of the player, and the comfort and the continuity of the game interface controlled by the player are realized.
In an optional embodiment, at the same time or after the pop-up selection control in the second graphical user interface, the method further comprises: and displaying the identification information of the plurality of virtual objects in a second target area in the first graphical user interface.
As shown in fig. 3, the first graphical user interface 201 further includes a second target area 207, and optionally, the second target area 207 is an area corresponding to a selection control (i.e., a selection slider 223 shown in fig. 2 and 3).
Through the embodiment of the application, when or after the selection control is popped up in the second graphical user interface, the identification information of the virtual objects can be displayed in the second target area in the first graphical user interface, so that a player can switch to a target object to be selected quickly.
As an alternative embodiment, the displaying the identification information of the plurality of virtual objects in the second target area in the first graphical user interface includes:
step S502 is to display the identification information of the target object in a second target area in the first gui, and sequentially display other virtual objects around the center according to the distance between the other virtual objects and the target object in the first gui with the identification information of the target object as the center.
In this embodiment of the application, how to display the identification information of the plurality of target objects in the second target area may be specifically determined through a first touch operation, for example, by obtaining a touch point position where the first touch operation acts on the first graphical user interface; determining the arrangement positions of the virtual objects according to the touch point positions; and displaying the identification information in the second target area according to the arrangement position, and sequentially displaying other virtual objects around the center according to the distance between the other virtual objects and the target object in the first graphical user interface by taking the identification information of the target object as the center.
In an optional embodiment, the displaying, in the second target area of the first graphical user interface, the identification information of the plurality of virtual objects includes:
step S602, acquiring a touch point position of a touch point of the first graphical user interface acted by the first touch operation;
step S604, determining arrangement positions of the plurality of virtual objects according to the position of the touch point;
step S606, displaying the identification information in the second target area according to the arrangement position.
In this embodiment, the touch point position, that is, the impact point position of the first touch operation, determines an arrangement position of the plurality of virtual objects according to distances between the plurality of virtual objects and the touch point position, specifically, sorts the plurality of virtual objects according to the distance values to obtain a sorting result, determines the arrangement position based on the sorting result, and displays the identification information in the second target area according to the arrangement position.
As an alternative embodiment, determining the arrangement positions of the virtual objects according to the position of the touch point includes:
step S702, obtaining distance values between the touch point position and the virtual objects;
step S704, sorting the plurality of virtual objects according to the distance values to obtain a sorting result;
step S706, determining the arrangement position based on the sorting result.
In an optional embodiment, if the virtual object is closest to the touch point, the identification information of the virtual object is displayed in a middle area of the second target area, if the virtual object is farthest from the left side of the touch point, the identification information of the virtual object is displayed in the leftmost side of the second target area, and if the virtual object is farthest from the right side of the touch point, the identification information of the virtual object is displayed in the rightmost side of the second target area.
In the embodiment of the present application, after the identification information of the virtual object displayed in the middle area of the second target area is determined, the virtual objects are sequentially arranged from the middle area to the left and right according to the distance from the other virtual objects to the touch point position and the orientation information at the touch point position, and the identification information is displayed in the second target area.
As an alternative embodiment, before the popping out the selection control in the second graphical user interface, the method further includes: and determining that any virtual object in the plurality of virtual objects is selected by the first touch operation.
As another alternative embodiment, after selecting a target object from the plurality of virtual objects, that is, in response to a third operation on the target object, the target object is controlled to perform an action corresponding to the third operation.
Optionally, the third operation may be a click operation or a drag operation of the first touch object on the target object, and an action corresponding to the third operation is executed by controlling the target object in response to the third operation.
According to an embodiment of the present invention, an apparatus embodiment for implementing the method for selecting a target object in a game is further provided, where the apparatus for selecting a target object in a game 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 rendered in the main touch screen, and a second graphical user interface is rendered in the side touch screen.
Fig. 4 is a schematic structural diagram of an apparatus for selecting a target object in a game according to an embodiment of the present invention, and as shown in fig. 4, the apparatus is applied to a mobile device, where 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, and the apparatus includes: an eject module 40 and a selection module 42, wherein:
a pop-up module 40, configured to pop up a selection control in the second graphical user interface in response to a first touch operation applied to the first graphical user interface, where the first graphical user interface includes a plurality of virtual objects; and a selecting module 42, configured to select at least one of the virtual objects as a target object in response to a second touch operation applied to the selecting control.
The method for selecting the target object in the game provided by the embodiment of the invention is applied to mobile equipment, the mobile equipment comprises a main touch screen and a side touch screen, a first graphical user interface is rendered in the main touch screen, a second graphical user interface is rendered in the side touch screen, and a selection control is popped up in the second graphical user interface by responding to a first touch operation acting on the first graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acting on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object, so that the aim of accurately and quickly selecting the target object from the plurality of virtual objects in the game interface is fulfilled, the technical effects of improving the continuity and comfort of game operation are realized, and the technical problem that the target object cannot be accurately and quickly selected by a mobile terminal in the prior art in a conventional touch screen clicking mode is solved.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
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 modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the method embodiment. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, for alternative or preferred embodiments of the present embodiment, reference may be made to the related description in the method embodiment, and details are not described herein again.
The device for selecting a target object in the game may further include a processor and a memory, where the pop-up module 40, the selection module 42, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to the embodiment of the application, the embodiment of the nonvolatile storage medium is also provided. Optionally, in this embodiment, the nonvolatile storage medium includes a stored program, and the apparatus in which the nonvolatile storage medium is located is controlled to execute the method for selecting the target object in any game when the program runs.
Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the nonvolatile storage medium includes a stored program.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: responding to a first touch operation acting on a first graphical user interface, and popping up a selection control in a second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acting on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: responding to a first touch operation acting on the first graphical user interface, and determining an acting range of the first touch operation on the first graphical user interface as a first target area; selecting at least one virtual object from the plurality of virtual objects as a target object, comprising: at least one virtual object is selected as a target object from a plurality of virtual objects included in the first target area.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and according to the clicking position of the first touch operation on the first graphical user interface, taking an area with a preset size and taking the clicking position as a center as an action range of the first touch operation on the first graphical user interface.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and determining the action range of the first touch operation on the first graphical user interface according to the sliding track of the first touch operation on the first graphical user interface.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: the identification information of the plurality of virtual objects is presented in a second target area in the first graphical user interface.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and displaying the identification information of the target object in a second target area in the first graphical user interface, and sequentially displaying other virtual objects around the center according to the distances between the other virtual objects and the target object in the first graphical user interface by taking the identification information of the target object as the center.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: acquiring a touch point position of a touch point of a first graphical user interface acted by a first touch operation; determining the arrangement positions of a plurality of virtual objects according to the position of the touch point; and displaying the identification information in the second target area according to the arrangement position.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: obtaining distance values between the touch point position and a plurality of virtual objects; sequencing the plurality of virtual objects according to the distance values to obtain a sequencing result; the arrangement position is determined based on the sorting result.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: determining that any virtual object in the plurality of virtual objects is selected by the first touch operation.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and controlling the target object to execute an action corresponding to the third operation in response to the third operation acting on the target object.
According to the embodiment of the application, the embodiment of the processor is also provided. Optionally, in this embodiment, the processor is configured to run a program, where the program is run to execute a method for selecting a target object in any one of the games.
According to an embodiment of the present application, there is also provided an embodiment of an electronic device, where the electronic device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: responding to a first touch operation acting on a first graphical user interface, and popping up a selection control in a second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acting on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object.
Optionally, the processor is further configured to implement the following steps when executing the program: responding to a first touch operation acting on the first graphical user interface, and determining an acting range of the first touch operation on the first graphical user interface as a first target area; selecting at least one virtual object from the plurality of virtual objects as a target object, comprising: at least one virtual object is selected as a target object from a plurality of virtual objects included in the first target area.
Optionally, the processor is further configured to implement the following steps when executing the program: and according to the clicking position of the first touch operation on the first graphical user interface, taking an area with a preset size and taking the clicking position as a center as an action range of the first touch operation on the first graphical user interface.
Optionally, the processor is further configured to implement the following steps when executing the program: and determining the action range of the first touch operation on the first graphical user interface according to the sliding track of the first touch operation on the first graphical user interface.
Optionally, the processor is further configured to implement the following steps when executing the program: the identification information of the plurality of virtual objects is presented in a second target area in the first graphical user interface.
Optionally, the processor is further configured to implement the following steps when executing the program: and displaying the identification information of the target object in a second target area in the first graphical user interface, and sequentially displaying other virtual objects around the center according to the distances between the other virtual objects and the target object in the first graphical user interface by taking the identification information of the target object as the center.
Optionally, the processor is further configured to implement the following steps when executing the program: acquiring a touch point position of a touch point of a first graphical user interface acted by a first touch operation; determining the arrangement positions of a plurality of virtual objects according to the position of the touch point; and displaying the identification information in the second target area according to the arrangement position.
Optionally, the processor is further configured to implement the following steps when executing the program: obtaining distance values between the touch point position and a plurality of virtual objects; sequencing the plurality of virtual objects according to the distance values to obtain a sequencing result; the arrangement position is determined based on the sorting result.
Optionally, the processor is further configured to implement the following steps when executing the program: determining that any virtual object in the plurality of virtual objects is selected by the first touch operation.
Optionally, the processor is further configured to implement the following steps when executing the program: and controlling the target object to execute an action corresponding to the third operation in response to the third operation acting on the target object.
There is further provided, in accordance with an embodiment of the present application, a computer program product embodiment, which, when executed on a data processing apparatus, is adapted to perform a procedure for initializing: responding to a first touch operation acting on the first graphical user interface, and popping up a selection control in the second graphical user interface, wherein the selection control is used for determining a plurality of virtual objects in the first graphical user interface; and responding to a second touch operation acting on the selection control, and selecting a target object from the plurality of virtual objects.
Optionally, the computer program product is further configured to implement the following steps when executing the program: responding to a first touch operation acting on a first graphical user interface, and popping up a selection control in a second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects; and responding to a second touch operation acting on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object.
Optionally, the computer program product is further configured to implement the following steps when executing the program: responding to a first touch operation acting on the first graphical user interface, and determining an acting range of the first touch operation on the first graphical user interface as a first target area; selecting at least one virtual object from the plurality of virtual objects as a target object, comprising: at least one virtual object is selected as a target object from a plurality of virtual objects included in the first target area.
Optionally, the computer program product is further configured to implement the following steps when executing the program: and according to the clicking position of the first touch operation on the first graphical user interface, taking an area with a preset size and taking the clicking position as a center as an action range of the first touch operation on the first graphical user interface.
Optionally, the computer program product is further configured to implement the following steps when executing the program: and determining the action range of the first touch operation on the first graphical user interface according to the sliding track of the first touch operation on the first graphical user interface.
Optionally, the computer program product is further configured to implement the following steps when executing the program: the identification information of the plurality of virtual objects is presented in a second target area in the first graphical user interface.
Optionally, the computer program product is further configured to implement the following steps when executing the program: and displaying the identification information of the target object in a second target area in the first graphical user interface, and sequentially displaying other virtual objects around the center according to the distances between the other virtual objects and the target object in the first graphical user interface by taking the identification information of the target object as the center.
Optionally, the computer program product is further configured to implement the following steps when executing the program: acquiring a touch point position of a touch point of a first graphical user interface acted by a first touch operation; determining the arrangement positions of a plurality of virtual objects according to the position of the touch point; and displaying the identification information in the second target area according to the arrangement position.
Optionally, the computer program product is further configured to implement the following steps when executing the program: obtaining distance values between the touch point position and a plurality of virtual objects; sequencing the plurality of virtual objects according to the distance values to obtain a sequencing result; the arrangement position is determined based on the sorting result.
Optionally, the computer program product is further configured to implement the following steps when executing the program: determining that any virtual object in the plurality of virtual objects is selected by the first touch operation.
Optionally, the computer program product is further configured to implement the following steps when executing the program: and controlling the target object to execute an action corresponding to the third operation in response to the third operation acting on the target object.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable non-volatile storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a non-volatile storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned nonvolatile storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A method for selecting a target object in a game is applied to a mobile device, the mobile device comprises a main touch screen and a side touch screen, a first graphical user interface is provided through the main touch screen, a second graphical user interface is provided through the side touch screen, and the method comprises the following steps:
responding to a first touch operation acting on the first graphical user interface, and popping up a selection control in the second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects;
and responding to a second touch operation acted on the selection control, and selecting at least one virtual object from the plurality of virtual objects as a target object.
2. The method of claim 1, further comprising:
responding to a first touch operation acting on the first graphical user interface, and determining an acting range of the first touch operation on the first graphical user interface as a first target area;
the selecting at least one of the virtual objects from the plurality of virtual objects as a target object includes: selecting at least one virtual object from a plurality of virtual objects contained in the first target area as a target object.
3. The method of claim 2, wherein the first touch operation is a click operation; the determining the scope of the first touch operation on the first graphical user interface includes:
and according to the clicking position of the first touch operation on the first graphical user interface, taking an area with a preset size and with the clicking position as a center as an action range of the first touch operation on the first graphical user interface.
4. The method according to claim 2, wherein the first touch operation is a sliding operation; the determining the scope of the first touch operation on the first graphical user interface includes:
and determining the action range of the first touch operation on the first graphical user interface according to the sliding track of the first touch operation on the first graphical user interface.
5. The method of claim 1, further comprising:
displaying identification information of the plurality of virtual objects in a second target area in the first graphical user interface.
6. The method of claim 5, wherein said presenting identification information of the plurality of virtual objects in the second target area in the first graphical user interface comprises:
and displaying the identification information of the target object in a second target area in the first graphical user interface, and sequentially displaying other virtual objects around the center according to the distance between the other virtual objects and the target object in the first graphical user interface by taking the identification information of the target object as the center.
7. The method of claim 5, wherein said presenting identification information of the plurality of virtual objects in the second target area in the first graphical user interface comprises:
acquiring a touch point position of a touch point of the first graphical user interface acted by the first touch operation;
determining the arrangement positions of the virtual objects according to the touch point positions;
and displaying the identification information in the second target area according to the arrangement position.
8. The method of claim 7, wherein determining the arrangement positions of the plurality of virtual objects according to the position of the touch point comprises:
obtaining distance values between the touch point position and the plurality of virtual objects;
sequencing the plurality of virtual objects according to the distance values to obtain a sequencing result;
determining the arrangement position based on the sorting result.
9. The method of claim 1, wherein prior to popping out a selection control in the second graphical user interface, further comprising:
determining that any virtual object in the plurality of virtual objects is selected by the first touch operation.
10. The method of any one of claims 1 to 9, wherein after selecting a target object from the plurality of virtual objects, the method further comprises:
and responding to a third operation acting on the target object, and controlling the target object to execute an action corresponding to the third operation.
11. An apparatus for selecting a target object in a game, applied to a mobile device, the mobile device including 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, the apparatus comprising:
the popup module is used for responding to a first touch operation acting on the first graphical user interface and popping up a selection control in the second graphical user interface, wherein the first graphical user interface comprises a plurality of virtual objects;
and the selecting module is used for responding to a second touch operation acted on the selecting control and selecting at least one virtual object from the plurality of virtual objects as a target object.
12. A non-volatile storage medium, comprising a stored program, wherein when the program runs, a device on which the non-volatile storage medium is located is controlled to execute the method for selecting a target object in a game according to any one of claims 1 to 10.
13. A processor for executing a program stored in a memory, wherein the program when executed performs a method of selecting a target object in a game as claimed in any one of claims 1 to 10.
CN202011127605.9A 2020-10-20 2020-10-20 Method and device for selecting target object in game Pending CN112169314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011127605.9A CN112169314A (en) 2020-10-20 2020-10-20 Method and device for selecting target object in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011127605.9A CN112169314A (en) 2020-10-20 2020-10-20 Method and device for selecting target object in game

Publications (1)

Publication Number Publication Date
CN112169314A true CN112169314A (en) 2021-01-05

Family

ID=73922348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011127605.9A Pending CN112169314A (en) 2020-10-20 2020-10-20 Method and device for selecting target object in game

Country Status (1)

Country Link
CN (1) CN112169314A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113457117A (en) * 2021-07-08 2021-10-01 网易(杭州)网络有限公司 Method and device for selecting virtual units in game, storage medium and electronic equipment
CN114442898A (en) * 2022-01-29 2022-05-06 网易(杭州)网络有限公司 Information processing method and device, electronic equipment and readable medium
WO2024007675A1 (en) * 2022-07-08 2024-01-11 网易(杭州)网络有限公司 Virtual object switching method and apparatus, storage medium, and electronic apparatus

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150113477A1 (en) * 2012-04-12 2015-04-23 Supercell Oy System and method for controlling technical processes
CN107132979A (en) * 2017-03-14 2017-09-05 网易(杭州)网络有限公司 Exchange method, device and the computer-readable recording medium of accurate selection target in mobile device game
CN109331468A (en) * 2018-09-26 2019-02-15 网易(杭州)网络有限公司 Display methods, display device and the display terminal at game visual angle
CN109771941A (en) * 2019-03-13 2019-05-21 网易(杭州)网络有限公司 Selection method and device, the equipment and medium of virtual objects in game
CN109847355A (en) * 2019-03-11 2019-06-07 网易(杭州)网络有限公司 The selection method and device of game object
CN110548286A (en) * 2019-09-29 2019-12-10 网易(杭州)网络有限公司 Method and device for locking virtual object in game and electronic equipment
CN110737435A (en) * 2019-10-18 2020-01-31 网易(杭州)网络有限公司 Multimedia editing method and device in game, terminal equipment and storage medium
US20200051374A1 (en) * 2018-08-13 2020-02-13 Atlas Gaming Technologies Pty Ltd. Gaming machines and methods of gaming with random number generation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150113477A1 (en) * 2012-04-12 2015-04-23 Supercell Oy System and method for controlling technical processes
CN107132979A (en) * 2017-03-14 2017-09-05 网易(杭州)网络有限公司 Exchange method, device and the computer-readable recording medium of accurate selection target in mobile device game
US20200051374A1 (en) * 2018-08-13 2020-02-13 Atlas Gaming Technologies Pty Ltd. Gaming machines and methods of gaming with random number generation
CN109331468A (en) * 2018-09-26 2019-02-15 网易(杭州)网络有限公司 Display methods, display device and the display terminal at game visual angle
CN109847355A (en) * 2019-03-11 2019-06-07 网易(杭州)网络有限公司 The selection method and device of game object
CN109771941A (en) * 2019-03-13 2019-05-21 网易(杭州)网络有限公司 Selection method and device, the equipment and medium of virtual objects in game
CN110548286A (en) * 2019-09-29 2019-12-10 网易(杭州)网络有限公司 Method and device for locking virtual object in game and electronic equipment
CN110737435A (en) * 2019-10-18 2020-01-31 网易(杭州)网络有限公司 Multimedia editing method and device in game, terminal equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113457117A (en) * 2021-07-08 2021-10-01 网易(杭州)网络有限公司 Method and device for selecting virtual units in game, storage medium and electronic equipment
CN113457117B (en) * 2021-07-08 2024-02-06 网易(杭州)网络有限公司 Virtual unit selection method and device in game, storage medium and electronic equipment
CN114442898A (en) * 2022-01-29 2022-05-06 网易(杭州)网络有限公司 Information processing method and device, electronic equipment and readable medium
CN114442898B (en) * 2022-01-29 2023-08-22 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and readable medium
WO2024007675A1 (en) * 2022-07-08 2024-01-11 网易(杭州)网络有限公司 Virtual object switching method and apparatus, storage medium, and electronic apparatus

Similar Documents

Publication Publication Date Title
CN112169314A (en) Method and device for selecting target object in game
CN111352597B (en) Multi-screen display control method and device, electronic equipment and readable storage medium
CN113318447B (en) Game scene processing method and device, storage medium and electronic equipment
CN108170342B (en) Application program interface display method and device, terminal and readable storage medium
CN102681670A (en) Mobile terminal and setting method for virtual keyboard of same
CN107678819A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
EP3584710B1 (en) Method and apparatus for controlling display of mobile terminal, and storage medium
CN105739866A (en) Application management method and apparatus, and terminal
CN112463016B (en) Display control method and device, electronic equipment and wearable display equipment
CN112083858A (en) Method and device for adjusting display position of control
CN112190943A (en) Game display method and device, processor and electronic equipment
CN113952740A (en) Method and device for sharing virtual props in game, storage medium and electronic equipment
CN113262472A (en) Processing method and device of option control, processor and electronic device
CN111784612A (en) Method and device for eliminating scene object model in game
CN111701232A (en) Game picture processing method and device and electronic device
CN112363932A (en) Method and device for testing business object to be tested and electronic device
CN112083994A (en) Notification message processing method and device
CN105988674B (en) Message display method and related device
CN114504808A (en) Information processing method, information processing apparatus, storage medium, processor, and electronic apparatus
CN106254211A (en) The display packing of a kind of interactive information and terminal
CN107613083A (en) A kind of associated person information display methods and device, terminal and readable storage medium storing program for executing
CN113326302A (en) Data query method and device and storage medium
US20220379210A1 (en) Game scene processing method, apparatus, storage medium, and electronic device
CN111427498A (en) Interface pushing method and device based on off-screen fingerprint
CN105824864A (en) Quick communication method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination