CN110237534B - Game object selection method and device - Google Patents

Game object selection method and device Download PDF

Info

Publication number
CN110237534B
CN110237534B CN201910597563.6A CN201910597563A CN110237534B CN 110237534 B CN110237534 B CN 110237534B CN 201910597563 A CN201910597563 A CN 201910597563A CN 110237534 B CN110237534 B CN 110237534B
Authority
CN
China
Prior art keywords
object selection
selection area
touch
user interface
graphical user
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.)
Active
Application number
CN201910597563.6A
Other languages
Chinese (zh)
Other versions
CN110237534A (en
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 CN202310329278.2A priority Critical patent/CN116459506A/en
Priority to CN201910597563.6A priority patent/CN110237534B/en
Publication of CN110237534A publication Critical patent/CN110237534A/en
Application granted granted Critical
Publication of CN110237534B publication Critical patent/CN110237534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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/55Controlling game characters or game objects based on the game progress
    • 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/10Features 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 input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features 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 input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features 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 input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure provides a game object selection method and device, wherein the method comprises the following steps: and responding to the multi-touch operation acted on the graphical user interface, and adjusting the size of an object selection area in the graphical user interface according to the movement of at least two touch points of the multi-touch operation. The first target game object is selected from the at least one game object according to the object selection area. Through at least two touch points of the multi-point touch operation, an object selection area is determined on the graphical user interface, and the game objects in the object selection area are determined to be target game objects, so that large-scale shielding of the game objects during game object selection is avoided, selection of at least one game object is rapidly and accurately realized, and selection efficiency is improved.

Description

Game object selection method and device
Technical Field
The embodiment of the disclosure relates to computer technology, in particular to a game object selection method and device.
Background
In some games, a game player needs to select one or more operation objects to perform corresponding virtual behavior actions, such as selecting one or more target attack objects and selecting one or more target controlled objects.
With the development of mobile communication technology, more and more mobile terminal games are emerging, and most of control modes in the traditional PC terminal games cannot be transplanted into the mobile terminal games due to the limitation of hardware conditions and interaction modes, so that the mobile terminal games are greatly different from the traditional PC terminal games in terms of control modes of object selection.
Currently, there are the following common object selection ways in mobile terminal games:
1. selecting a single object by clicking a virtual object in a game scene once;
2. a plurality of objects located within a circle in a game scene are selected by sliding the circle.
Disclosure of Invention
The embodiment of the disclosure provides a game object selection method and device, so that the game object can be quickly selected without shielding the game object.
In a first aspect, an embodiment of the present disclosure provides a game object selection method applied to a mobile touch terminal capable of rendering a graphical user interface, where the graphical user interface includes at least one game object, including:
responding to a multi-touch operation acted on the graphical user interface, and adjusting the size of an object selection area in the graphical user interface according to the movement of at least two touch points of the multi-touch operation;
and selecting a first target game object from the at least one game object according to the object selection area.
In one possible design, the method further comprises:
and determining the initial position of the object selection area according to the initial position of at least one touch point of the multi-point touch operation.
In one possible design, the method further comprises:
and determining the initial size of the object selection area according to the initial positions of at least two touch points of the multi-point touch operation.
In one possible design, the initial size of the object selection area is a preset value.
In one possible design, the adjusting the size of the object selection area in the graphical user interface according to the movement of the at least two touch points of the multi-touch operation includes:
and responding to the movement of the two touch points away from each other, and increasing the size of an object selection area in the graphical user interface.
In one possible design, the adjusting the size of the object selection area in the graphical user interface according to the movement of the at least two touch points of the multi-touch operation includes:
and responding to the movement of the two touch points which are close to each other, and reducing the size of an object selection area in the graphical user interface.
In one possible design, the selecting a first target game object from the at least one game object according to the object selection area includes:
and selecting the at least one game object positioned in the object selection area as the first target game object according to the object selection area.
In one possible design, the selecting a first target game object from the at least one game object according to the object selection area includes:
and selecting the at least one game object positioned outside the object selection area as the first target game object according to the object selection area.
In a second aspect, an embodiment of the present disclosure provides a game object selection device applied to a mobile touch terminal capable of rendering a graphical user interface, the graphical user interface including at least one game object, including:
the adjustment module is used for responding to the multi-touch operation acted on the graphical user interface and adjusting the size of an object selection area in the graphical user interface according to the movement of at least two touch points of the multi-touch operation;
and the selection module is used for selecting a first target game object from the at least one game object according to the object selection area.
In one possible design, the method further comprises: a determining module;
the determining module is configured to determine an initial position of the object selection area according to an initial position of at least one touch point of the multi-touch operation.
In one possible design, the determining module is further configured to:
and determining the initial size of the object selection area according to the initial positions of at least two touch points of the multi-point touch operation.
In one possible design, the initial size of the object selection area is a preset value.
In one possible design, the adjustment module is specifically configured to:
and responding to the movement of the two touch points away from each other, and increasing the size of an object selection area in the graphical user interface.
In one possible design, the adjustment module is specifically configured to:
and responding to the movement of the two touch points which are close to each other, and reducing the size of an object selection area in the graphical user interface.
In one possible design, the selection module is specifically configured to:
and selecting the at least one game object positioned in the object selection area as the first target game object according to the object selection area.
In one possible design, the selection module is specifically configured to:
and selecting the at least one game object positioned outside the object selection area as the first target game object according to the object selection area.
In a third aspect, embodiments of the present disclosure provide a game object selection apparatus including:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being adapted to perform the method of the first aspect and any of the various possible designs of the first aspect as described above when the program is executed.
In a fourth aspect, embodiments of the present disclosure provide a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect above and any of the various possible designs of the first aspect.
The embodiment of the disclosure provides a game object selection method and device, wherein the method comprises the following steps: and responding to the multi-touch operation acted on the graphical user interface, and adjusting the size of an object selection area in the graphical user interface according to the movement of at least two touch points of the multi-touch operation. The first target game object is selected from the at least one game object according to the object selection area. Through at least two touch points of the multi-point touch operation, an object selection area is determined on the graphical user interface, and the game objects in the object selection area are determined to be target game objects, so that large-scale shielding of the game objects during game object selection is avoided, selection of at least one game object is rapidly and accurately realized, and selection efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the description of the prior art, it being obvious that the drawings in the following description are some embodiments of the present disclosure, and that other drawings may be obtained from these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a flowchart illustrating a game object selection method according to one embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating an interface of a game object selection method according to one embodiment of the present disclosure;
FIG. 3 is a second interface diagram of a game object selection method according to an embodiment of the disclosure;
FIG. 4 is a third interface diagram of a game object selection method according to one embodiment of the present disclosure;
FIG. 5 is a diagram illustrating an interface of a game object selection method according to one embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a game object selection device according to one embodiment of the present disclosure;
FIG. 7 is a second schematic diagram of a game object selection device according to an embodiment of the disclosure;
fig. 8 is a schematic hardware structure of a game object selection device according to an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
With the development of mobile communication technology, more and more mobile terminal games are emerging, and most of control modes in the traditional PC terminal games cannot be transplanted into the mobile terminal games due to the limitation of hardware conditions and interaction modes of the mobile terminals, so that the mobile terminal games and the traditional PC terminal games are greatly different in control modes of object selection. In some games, a game player needs to select one or more operands to perform a corresponding virtual behavioral action.
Currently, there are the following common object selection ways in mobile terminal games:
1. a single object is selected by clicking on a virtual object in the game scene once.
However, only one game object can be selected in one operation by a single click mode, a plurality of game objects cannot be selected at one time, so that the efficiency of game object selection is reduced, and in a game, a situation that a plurality of game objects are concentrated in one area usually occurs, the single click mode is very similar to the way of causing wrong selection, so that the selection accuracy of the game objects is reduced, and when the single click operation is performed, a large-scale shielding of a target game object to be selected is inevitably caused, so that a player cannot accurately judge the selected game object.
2. A plurality of objects located within a circle in a game scene are selected by sliding the circle.
The sliding circle drawing mode requires that a user must draw a complete closed graph to realize the selection of the game object, so that the shape triggered by the sliding circle drawing performed by the user is required to be judged, the operation is complicated, the complexity of system development is increased, and the gesture of the operation of the user must be operated in the range of the whole graphical user interface when the user performs the sliding circle drawing, so that the large-range shielding of the game object is inevitably caused, and the user cannot accurately judge the game object.
3. Multiple objects are selected by single-finger sliding drawing diagonal boxes.
However, this approach may have the following problems: 1. the initial clicking position must be a blank operation area, and if clicking is performed on the virtual object, misoperation may be caused; 2. the initial click position must be the opposite angle of the end position (or a plurality of units in a large range cannot be framed), which leads to the fact that the finger must be cut from one opposite angle to the other opposite angle of the mobile phone, so that the palm can greatly shield the screen of the mobile phone during operation; 3. it is difficult to precisely frame, for example, to frame an object satisfying a certain condition among objects.
Based on the above-mentioned problems, the present disclosure provides a game object selection method and apparatus, so as to achieve rapid selection of a game object without shielding the game object, and the game object selection method provided by the present disclosure is described in detail below with reference to specific embodiments.
First, referring to fig. 1, fig. 1 is a flowchart of a game object selection method according to one embodiment of the disclosure, as shown in fig. 1, the method includes:
s101, responding to multi-touch operation acted on the graphical user interface, and adjusting the size of an object selection area in the graphical user interface according to movement of at least two touch points of the multi-touch operation.
Specifically, the present embodiment is applied to a mobile touch terminal capable of rendering a graphical user interface, where the mobile touch terminal refers to a mobile terminal device with a touch unit (such as a touch screen), alternatively, the mobile terminal device may be a mobile phone (or called a "cellular" phone), a computer with a wireless communication function, or the mobile terminal device may also be a portable, pocket, hand-held, or a mobile device or device built in a computer, which is not particularly limited herein.
Further, the graphical user interface refers to a computer operation user interface displayed in a graphical manner, which allows a user to use an input device to manipulate icons or menu controls on a screen of the mobile touch terminal, where the input device may be, for example, a touch sensing pen, may also be, for example, infrared, etc., as long as touch operation can be performed, and the embodiment is not limited thereto, and the user performs an operation through the graphical user interface during the game process, so as to interact with the client or the server.
In this embodiment, the graphical user interface includes at least one game object, and the first target game object is selected from the at least one game object of the graphical user interface in response to the first touch sliding operation, so that the first target game object may be controlled to execute a corresponding virtual behavior action.
The following describes a Multi-touch operation (Multi-touch), which is a touch control technique that can respond to a plurality of touch points (at least two touch points).
Specifically, the implementation schemes of the multi-touch operation are divided into a plurality of types, and the following description is presented for the implementation scheme in the current mature 4:
1. LLP (laser light plane)
First, microsoft was introduced in their LaserTouch project and continued to develop by NUIGroup community. The technology uses an infrared laser device to project infrared light onto a screen. When the screen is blocked, infrared light is reflected and the camera below the screen captures the reflected light. And then the reaction can be made through system analysis.
2. FTIR (Frustrated Total Internal Reflection)
Light emitting diodes (Light Emitting Diode, LEDs) are added in the interlayer of the screen of the terminal equipment, when a user presses the screen, the light of the interlayer causes different reflection effects, and the sensor receives the light change to capture the force application point of the user, so that the user reacts.
3. Toughtlight
This was developed by microsoft, the principle being similar to Microsoft Surface. The infrared ray is projected onto the screen by using the projection method. When the screen is blocked, infrared light is reflected and the camera below the screen captures the reflected light. And then the reaction can be made through system analysis.
4. Optical Touch
Two ends of the top of the screen are respectively provided with a lens for receiving gesture changes of a user and positions of contacts. And converting the calculated result into coordinates, and reacting.
In an alternative implementation manner, the multi-touch operation may be an operation performed by a user through an index finger and a middle finger (including two touch points at this time), specifically, the index finger and the middle finger of the user touch the graphical user interface, and slide in respective corresponding directions, so as to correspond to the two touch points of the multi-touch operation.
Or, the user may also perform operations through any finger, a touch device (a touch sensing pen or infrared rays), or the like, for example, if at least two touch sensing pens are used for performing multi-point touch operations, the operation positions of the two touch sensing pens on the graphical user interface are the positions of at least two touch points.
In an alternative embodiment, the multi-touch operation may be to determine a first touch point first, fix the first touch point, and then perform a sliding operation to control movement of a second touch point, so as to implement the multi-touch operation including two touch points.
Specifically, the size of the object selection area is adjusted according to movement of at least two touch points of the multi-point touch operation, where the movement of at least two touch points may be, for example, movement away from each other or movement close to each other.
The first object selection area may be set to be rectangular, circular, or any polygon, for example, and the present embodiment is not particularly limited thereto.
In an alternative implementation, the at least two touch points include a first touch point and a second touch point, and a distance between initial positions of the first touch point and the second touch point is less than a threshold distance. In this way, misoperation in the game process can be avoided conveniently and efficiently, so that the touch operation which is not intended by a user is not judged to be the multi-point touch operation for selecting the virtual game object. Alternatively, the threshold distance may be smaller than half the length value of one side of the gui, for example, during the game, the terminal is in the landscape state, and the threshold distance may be set smaller than half the length value of the gui, so that it may be avoided that a touch operation that is not intended by the user is determined to be a multi-touch operation for selecting a virtual game object, for example, when the player moves by manipulating a specific virtual game object with the thumb of the left hand, a specific virtual game object is manipulated by manipulating the thumb of the right hand, and it may be determined that the player is not a multi-touch operation for selecting a virtual game object at this time by determining the position of the touch point.
In an alternative implementation manner, the at least two touch points include a first touch point and a second touch point, and initial positions of the first touch point and the second touch point are located in a preset control area. In this way, misoperation in the game process can be avoided conveniently and efficiently, so that the touch operation which is not intended by a user is not judged to be the multi-point touch operation for selecting the virtual game object. Alternatively, the preset manipulation area may be disposed at one side of the graphical user interface, for example, the left half area, or the right half area.
In an alternative implementation, the determination manner of the object selection area is described by taking an example that the object selection area is rectangular, for example, positions of two touch points may be used as two non-adjacent vertices of the first object selection range, that is, a line connecting the positions of the two touch points is located on a diagonal line of the first object selection range, so that the first object selection range is determined according to the positions of the two touch points. Or when the object selection area is circular, the connecting line of the positions of the two touch points is positioned at the center of the object selection area, and the connecting line is the diameter of the object selection area, and when the object selection area is in the rest shape, the implementation manner is similar, and the description is omitted here.
S102, selecting a first target game object from at least one game object according to the object selection area.
Specifically, the graphical user interface includes at least one game object, where the object selection area defines a partial area in the graphical user interface, and the game object in the first object selection area is determined to be a first target game object.
In an alternative embodiment, the first target game object may be the execution subject of a certain virtual instruction. For example, a first target game object may be controlled to dynamically attack other targets.
Alternatively, the first target game object may be the execution subject of a certain virtual instruction. For example, a first target game object may be controlled to dynamically attack other targets.
The game object selection method provided by the embodiment of the disclosure comprises the following steps: and responding to the multi-touch operation acted on the graphical user interface, and adjusting the size of an object selection area in the graphical user interface according to the movement of at least two touch points of the multi-touch operation. The first target game object is selected from the at least one game object according to the object selection area. Through at least two touch points of the multi-point touch operation, an object selection area is determined on the graphical user interface, and the game objects in the object selection area are determined to be target game objects, so that large-scale shielding of the game objects during game object selection is avoided, selection of at least one game object is rapidly and accurately realized, and selection efficiency is improved.
On the basis of the above embodiment, the game object selection method provided by the present disclosure further includes:
and determining the initial position of the object selection area according to the initial position of at least one touch point of the multi-point touch operation.
When at least one touch point of the multi-point touch operation is not moved, each touch point is located at a respective initial position (i.e., an initial touch position), and an object selection area needs to be provided in the graphical user interface at this time, the corresponding object selection area is located at a corresponding initial position, so as to facilitate subsequent adjustment of the object selection area.
In an alternative implementation, the initial position of the object selection area may be determined according to the initial position of one of the touch points, for example: the top left corner vertex of the object selection area is set to coincide with the initial position of one of the touch points, or the center position of the object selection area is set to be located at the initial position of one of the monitoring points, and the like.
In another alternative implementation, the initial position of the object selection area may be determined according to the initial positions of two or more of the touch points, for example: the object selection area is rectangular, and a midpoint of a connection line of the two touch points may be set to be located at a midpoint of a diagonal line of the first object selection range, or if the object selection area is circular, the midpoint of the connection line of the two touch points is located at a center of the first object selection range, or when the first object selection range is any polygon (such as a regular octagon, an irregular hexagon, etc.), a circle, an ellipse, a fan, etc., its implementation is similar, and will not be repeated herein.
In an alternative embodiment, the object selection area may be provided at a preset position of the graphical user interface, where the preset position may be preset according to actual requirements, so as to reduce the operation difficulty.
According to the method and the device, the initial position of the object selection area is set according to the initial position of at least one touch point of the multi-point touch operation, so that when the multi-point touch operation is not started yet, the initial position of the object selection area is determined first, and then the object selection area is adjusted correspondingly, so that the operation efficiency of a game is improved.
On the basis of the above embodiment, the game object selection method provided by the present disclosure further includes:
and determining the initial size of the object selection area according to the initial positions of at least two touch points of the multi-point touch operation.
When at least one touch point of the multi-point touch operation is not moved yet, at least two touch points are located at respective initial positions (i.e., initial touch positions), and an object selection area needs to be provided in the graphical user interface at this time, the third selection area should also have an initial size corresponding to the initial size, so as to facilitate subsequent adjustment of the size of the third selection area.
Taking two touch points as an example, for example, a distance between initial positions of the two touch points may be taken as a diagonal length (or a diameter length, a long side length, a wide side length, or the like) of the object selection area, thereby determining the size of the object selection area.
When the initial size of the object selection area is determined according to two or more touch points, for example, each touch point may be used as a vertex of the object selection area, thereby determining the initial size of the object selection area.
The implementation manner of determining the initial size of the object selection area according to the initial position of the touch point may be actually selected according to the shape design of the object selection area, etc., which is not limited herein.
In another possible implementation manner, the initial size of the object selection area is a preset value, where the size of the preset value may be preset according to actual requirements, and the initial size of the object selection area is determined according to the preset value, so that the operation difficulty is reduced.
According to the method and the device, the initial size of the object selection area is set according to the initial positions of at least two touch points of the multi-point touch operation, so that when the multi-point touch operation is not started yet, the initial size of the object selection area is determined first, and then the object selection area is adjusted correspondingly conveniently, so that the operation efficiency of a game is improved.
On the basis of the above embodiments, the implementation method of adjusting the object selection area in the game object selection method provided by the present disclosure will be described in further detail with reference to fig. 2 to 3, fig. 2 is a schematic interface diagram of the game object selection method provided by one embodiment of the present disclosure, and fig. 3 is a schematic interface diagram of the game object selection method provided by one embodiment of the present disclosure.
In an alternative implementation, the size of the object selection area in the graphical user interface is increased in response to movement of the two touch points away from each other.
In another alternative implementation, the size of the object selection area in the graphical user interface is reduced in response to movement of the two touch points toward each other.
The following is described in connection with fig. 2 and 3, respectively:
first, referring to fig. 2, a description will be given of a manner of moving away from each other, as shown in fig. 2, assuming that the multi-touch operation includes a touch point 1 and a touch point 2, in which a hollow sphere is used to indicate initial positions of the touch point 1 and the touch point 2 before movement, and a solid sphere is used to indicate positions of the touch point 1 and the touch point 2 after movement, it can be seen from fig. 2 that the two touch points are moving away from each other, and in response to movement of the two touch points moving away from each other, the size of the object selection area 201 in the graphical user interface is increased.
The area indicated by the dashed line in fig. 2 is the initial object selection area, the area indicated by the solid line is the increased object selection area, and it can be seen that the object selection area is increased, where the implementation manner of determining the size and the position of the object selection area according to the positions of the two touch points may refer to the content described in the foregoing embodiment, which is not repeated herein.
Next, referring to fig. 3, an implementation manner of approaching each other will be described, as shown in fig. 3, in which a hollow sphere is used to indicate initial positions of the touch point 1 and the touch point 2 before moving, and a solid sphere is used to indicate positions of the touch point 1 and the touch point 2 after moving, and the size of the third object selection area 301 in the graphical user interface is reduced in response to the movements of the two touch points approaching each other.
The area indicated by the broken line in fig. 3 is the initial object selection area, the area indicated by the solid line is the reduced object selection area, and it can be seen that the object selection area is reduced. In the present embodiment, the object selection area may be a regular area or an irregular area, which is not limited in this embodiment.
In an alternative embodiment, for example, the size of the third selection area may be adjusted according to movement of more than two touch points, taking 4 touch points as an example, where the 4 touch points may be respectively used as 4 vertices of the rectangular object selection area, the size of the object selection area may be adjusted according to movement of any number of touch points in the disclosure, and a implementation manner is similar to that described above, and details of the number of touch points may be set according to actual needs, which is not limited herein.
According to the game object selection method provided by the embodiment, the size of an object selection area in a graphical user interface is increased by responding to the movement of the two touch points away from each other; or in response to movement of the two touch points toward each other, reducing the size of the object selection area in the graphical user interface. Therefore, the adjustment of the object selection area can be realized by adjusting the position of the touch point quickly and conveniently, and the large-scale shielding of the game object during the selection of the game object is avoided, so that the game experience of a player is improved.
On the basis of the above embodiments, a method for implementing the game object selection method for selecting the first target game object in the game object selection method provided by the present disclosure will be described in further detail with reference to fig. 4 to 5, fig. 4 is a schematic diagram of an interface three of the game object selection method provided by one embodiment of the present disclosure, and fig. 5 is a schematic diagram of an interface four of the game object selection method provided by one embodiment of the present disclosure.
In an alternative implementation, at least one game object located within the object selection area is selected as the first target game object according to the object selection area.
In another alternative implementation, at least one game object located outside the object selection area is selected as the first target game object according to the object selection area.
The following description is provided in connection with fig. 4 and 5, respectively:
first, an implementation of game objects in the selected object selection area will be described with reference to fig. 4, where 14 game objects are included in the graphical user interface, and 9 game objects are included in the object selection area 401, and the game objects in the object selection area are identified as first target game objects in gray in fig. 4.
By selecting at least one game object located within the object selection area as the first target game object, selection of a game object of a specific range can be quickly and effectively achieved to provide operational efficiency of the game.
Next, an implementation of a game object outside the selected object selection area will be described with reference to fig. 5, in which, as shown in fig. 5, a game object located in the object selection area 501 is designated as a first target game object, and in fig. 5, the game object located in the object selection area is in an unselected state.
By selecting at least one game object located outside the object selection area as the first target game object, selection of a larger range of game objects can be quickly and effectively achieved in an exclusion manner, so that the operation efficiency of the game is provided.
In an alternative embodiment, there is a preset proportional relationship between the movement between the touch points and the adjusted size of the object selection area, where the preset proportion may be set to 1:2, or may also be set to 1:1, in this embodiment, the preset ratio may be, for example, a proportional relationship between pixels, or the preset ratio may also be a proportional relationship between lengths.
In one possible implementation, when the user performs a game operation on a terminal device with a larger screen, considering that the range of operation is limited when the user operates by a finger, the preset ratio may be set to 1:2, the user can realize the adjustment of the object selection area to a larger extent through the movement between the touch points with small distance, so as to avoid the limitation of the operation range of the user when the screen is larger.
In another alternative implementation, when the user performs a game operation on a terminal device with a moderate screen, the preset ratio may be set to 1:1, so that the movement between the touch points is determined to be the direct equivalent adjustment of the object selection area.
In another alternative implementation, when the user performs a game operation on a terminal device with a smaller screen (such as a small game machine, a smart watch, etc.), considering the limitation of the hardware device, the preset ratio may be set to 1, for example: 0.5, thereby enabling the user to determine the required object selection range on the small-screen terminal device, so as to avoid the operation limitation caused by the hardware device when the screen is small.
Those skilled in the art will understand that the specific preset proportion may be selected according to actual requirements, and in an alternative embodiment, the preset proportion may be determined adaptively according to the size of the screen, so that the game object may be selected without limitation of hardware devices, and flexibility is improved.
Fig. 6 is a schematic structural diagram of a game object selection device according to an embodiment of the present disclosure. As shown in fig. 6, the apparatus 60 includes: the adjustment module 601 and the selection module 603.
An adjustment module 601, configured to respond to a multi-touch operation applied to the gui, and adjust a size of an object selection area in the gui according to movement of at least two touch points of the multi-touch operation;
a selection module 602, configured to select a first target game object from the at least one game object according to the object selection area.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 7 is a schematic diagram of a game object selection device according to an embodiment of the disclosure. As shown in fig. 7, this embodiment further includes, on the basis of the embodiment of fig. 6: a determination module 703.
In one possible design, the determining module 703 is configured to determine the initial position of the object selection area according to the initial position of at least one touch point of the multi-touch operation.
In one possible design, the determining module 703 is further configured to:
and determining the initial size of the object selection area according to the initial positions of at least two touch points of the multi-point touch operation.
In one possible design, the initial size of the object selection area is a preset value.
In one possible design, the adjustment module 701 is specifically configured to:
and responding to the movement of the two touch points away from each other, and increasing the size of an object selection area in the graphical user interface.
In one possible design, the adjustment module 701 is specifically configured to:
and responding to the movement of the two touch points which are close to each other, and reducing the size of an object selection area in the graphical user interface.
In one possible design, the selection module 702 is specifically configured to:
and selecting the at least one game object positioned in the object selection area as the first target game object according to the object selection area.
In one possible design, the selection module 702 is specifically configured to:
and selecting the at least one game object positioned outside the object selection area as the first target game object according to the object selection area.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 8 is a schematic hardware structure of a game object selection device according to an embodiment of the present disclosure, and as shown in fig. 8, a game object selection device 80 according to the present embodiment includes: a processor 801 and a memory 802; wherein the method comprises the steps of
A memory 802 for storing computer-executable instructions;
a processor 801 for executing computer-executable instructions stored in a memory to perform the steps performed by the game object selection method in the above embodiments. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 802 may be separate or integrated with the processor 801.
When the memory 802 is provided separately, the device further comprises a bus 803 for connecting said memory 802 and the processor 801.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the game object selection method performed by the game object selection device as above.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods described in the embodiments of the present application.
It should be understood that the above processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present disclosure, and not for limiting the same; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present disclosure.

Claims (6)

1. A game object selection method applied to a mobile touch terminal capable of rendering a graphical user interface, wherein the graphical user interface comprises at least one game object, the game object selection method comprising the steps of:
responding to a multi-touch operation acted on the graphical user interface, and adjusting the size of an object selection area in the graphical user interface according to the movement of at least two touch points of the multi-touch operation;
selecting the at least one game object located outside the object selection area as a first target game object according to the object selection area;
the at least two touch points comprise a first touch point and a second touch point, and initial positions of the first touch point and the second touch point are located in a preset control area;
providing an object selection area at a preset position of the graphical user interface;
the initial size of the object selection area is a preset value; or determining the initial size of the object selection area according to the initial positions of at least two touch points of the multi-point touch operation;
wherein determining the initial size of the object selection area according to the initial positions of the at least two touch points includes: determining the length of one side, the length of the diameter or the length of the diagonal line of the shape of the object selection area according to the distance between the two touch points; or, taking each touch point as the vertex of the object selection area, so as to determine the initial size of the object selection area;
the adjusting the size of the object selection area in the graphical user interface according to the movement of the at least two touch points of the multi-touch operation includes:
responding to the movement of the two touch points away from each other, and increasing the size of an object selection area in the graphical user interface; and/or the number of the groups of groups,
and responding to the movement of the two touch points which are close to each other, and reducing the size of an object selection area in the graphical user interface.
2. The method according to claim 1, wherein the method further comprises:
and determining the initial position of the object selection area according to the initial position of at least one touch point of the multi-point touch operation.
3. The method of claim 1, wherein the at least two touch points comprise a first touch point and a second touch point, and wherein a distance between initial positions of the first touch point and the second touch point is less than a threshold distance.
4. A game object selection device applied to a mobile touch terminal capable of rendering a graphical user interface, the graphical user interface including at least one game object, comprising:
the adjustment module is used for responding to the multi-point touch operation acted on the graphical user interface, and adjusting the size of an object selection area in the graphical user interface according to the movement of at least two touch points of the multi-point touch operation, wherein the at least two touch points comprise a first touch point and a second touch point, and the initial positions of the first touch point and the second touch point are positioned in a preset control area;
a selection module, configured to select a first target game object from the at least one game object according to the object selection area;
the selection module is specifically configured to:
selecting the at least one game object located outside the object selection area as the first target game object according to the object selection area;
providing an object selection area at a preset position of the graphical user interface;
the initial size of the object selection area is a preset value;
the determining module is used for determining the initial size of the object selection area according to the initial positions of at least two touch points of the multi-point touch operation;
the determining module is specifically configured to determine a length of one edge, a length of a diameter, or a length of a diagonal line of the shape of the object selection area according to a distance between the two touch points; or, taking each touch point as the vertex of the object selection area, so as to determine the initial size of the object selection area;
the adjusting module is specifically used for: responding to the movement of the two touch points away from each other, and increasing the size of an object selection area in the graphical user interface; and/or, in response to the movement of the two touch points towards each other, reducing the size of the object selection area in the graphical user interface.
5. A game object selection apparatus, characterized by comprising:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being for performing the method of any one of claims 1 to 3 when the program is executed.
6. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 3.
CN201910597563.6A 2019-07-04 2019-07-04 Game object selection method and device Active CN110237534B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310329278.2A CN116459506A (en) 2019-07-04 2019-07-04 Game object selection method and device
CN201910597563.6A CN110237534B (en) 2019-07-04 2019-07-04 Game object selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910597563.6A CN110237534B (en) 2019-07-04 2019-07-04 Game object selection method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310329278.2A Division CN116459506A (en) 2019-07-04 2019-07-04 Game object selection method and device

Publications (2)

Publication Number Publication Date
CN110237534A CN110237534A (en) 2019-09-17
CN110237534B true CN110237534B (en) 2023-04-25

Family

ID=67890956

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310329278.2A Pending CN116459506A (en) 2019-07-04 2019-07-04 Game object selection method and device
CN201910597563.6A Active CN110237534B (en) 2019-07-04 2019-07-04 Game object selection method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202310329278.2A Pending CN116459506A (en) 2019-07-04 2019-07-04 Game object selection method and device

Country Status (1)

Country Link
CN (2) CN116459506A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111437594B (en) * 2020-03-27 2023-04-07 网易(杭州)网络有限公司 Game object control method and device, electronic equipment and readable storage medium
CN111352572B (en) * 2020-05-25 2020-08-25 深圳传音控股股份有限公司 Resource processing method, mobile terminal and computer-readable storage medium
CN111603759B (en) * 2020-05-25 2021-06-22 网易(杭州)网络有限公司 Object selection method and device
CN113934350B (en) * 2021-09-08 2024-06-04 网易(杭州)网络有限公司 Virtual object selection method, device, electronic equipment and storage medium
CN115145451B (en) * 2022-06-28 2023-06-30 网易(杭州)网络有限公司 Frame selection method, device and equipment on terminal equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106422329A (en) * 2016-11-01 2017-02-22 网易(杭州)网络有限公司 Game control method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880420B (en) * 2012-09-19 2014-12-31 广州视睿电子科技有限公司 Method and system for starting and executing region selection operation based on touch screen
US20140215393A1 (en) * 2013-01-31 2014-07-31 International Business Machines Corporation Touch-based multiple selection
US9753625B2 (en) * 2015-03-17 2017-09-05 Adobe Systems Incorporated Image selection control
CN107066167A (en) * 2016-09-27 2017-08-18 华为技术有限公司 A kind of regional selection method, device and graphic user interface
CN107376339B (en) * 2017-07-18 2018-12-28 网易(杭州)网络有限公司 The exchange method and device of lock onto target in gaming
CN108144293B (en) * 2017-12-15 2022-05-13 网易(杭州)网络有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN109718538B (en) * 2019-01-29 2022-05-17 网易(杭州)网络有限公司 Method and device for frame selection of virtual object in game, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106422329A (en) * 2016-11-01 2017-02-22 网易(杭州)网络有限公司 Game control method and device

Also Published As

Publication number Publication date
CN110237534A (en) 2019-09-17
CN116459506A (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN110237534B (en) Game object selection method and device
JP2022527502A (en) Virtual object control methods and devices, mobile terminals and computer programs
TWI437484B (en) Translation of directional input to gesture
CA2847177A1 (en) Semantic zoom gestures
CA2847682A1 (en) Semantic zoom
KR20150103240A (en) Depth-based user interface gesture control
CA2847180A1 (en) Programming interface for semantic zoom
CN107329690B (en) Virtual object control method and device, storage medium and electronic equipment
TW201312445A (en) Semantic zoom animations
US9535493B2 (en) Apparatus, method, computer program and user interface
US20140218315A1 (en) Gesture input distinguishing method and apparatus in touch input device
WO2014194148A2 (en) Systems and methods involving gesture based user interaction, user interface and/or other features
CN103455262A (en) Pen-based interaction method and system based on mobile computing platform
CN108549487A (en) Virtual reality exchange method and device
US20230244379A1 (en) Key function execution method and apparatus, device, and storage medium
CN111427505A (en) Page operation method, device, terminal and storage medium
CN110215688A (en) The selection control method and device of game object
CN110215687B (en) Game object selection method and device
CN117784950B (en) Method for realizing virtual touch control by three-dimensional cursor, storage medium and chip
CN106569716B (en) Single-hand control method and control system
CN110174946A (en) Mouse action analogy method, simulation system, storage medium and electronic equipment
CN111597009A (en) Application program display method and device and terminal equipment
CN113457117B (en) Virtual unit selection method and device in game, storage medium and electronic equipment
KR20180088859A (en) A method for changing graphics processing resolution according to a scenario,
CN108563335B (en) Virtual reality interaction method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant