CN110354494A - The control method of object, device, computer equipment and storage medium in game - Google Patents
The control method of object, device, computer equipment and storage medium in game Download PDFInfo
- Publication number
- CN110354494A CN110354494A CN201910667380.7A CN201910667380A CN110354494A CN 110354494 A CN110354494 A CN 110354494A CN 201910667380 A CN201910667380 A CN 201910667380A CN 110354494 A CN110354494 A CN 110354494A
- Authority
- CN
- China
- Prior art keywords
- target object
- virtual target
- control
- formation
- user interface
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 140
- 230000004044 response Effects 0.000 claims abstract description 28
- 230000015654 memory Effects 0.000 claims description 16
- 238000004891 communication Methods 0.000 claims description 5
- 230000005055 memory storage Effects 0.000 claims 1
- 230000003993 interaction Effects 0.000 abstract description 8
- 230000002452 interceptive effect Effects 0.000 abstract description 2
- 238000012544 monitoring process Methods 0.000 description 8
- 238000011017 operating method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 239000011800 void material Substances 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000005314 correlation function Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input 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/2145—Input 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/10—Features 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/1068—Features 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/1075—Features 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
This application provides control method, device, computer equipment and the storage mediums of object in a kind of game, this method is applied to touch control terminal, game picture is shown on the graphic user interface of touch control terminal, at least partly includes the scene of game of game in game picture;It include virtual target object in scene of game, control method includes: the first touch control operation that response is directed to virtual target object, and virtual target object is set to formation control state;Under formation control state, response acts on the clicking operation on graphic user interface, and the number that record graphic user interface is clicked determines target formation based on the number that the graphic user interface of record is clicked, and virtual target object is incorporated into target formation.The application can reduce the complexity of operating interactive, improve human-computer interaction efficiency.
Description
Technical field
This application involves operation control technology fields, in particular to the control method of object, dress in a kind of game
It sets, computer equipment and storage medium.
Background technique
In some game, for example, real time strategy (Real-Time Strategy Game, RTS), user can be with
Multiple virtual target objects are incorporated into the same formation, user is can be convenient in this way and is controlled in game process in the formation
All virtual target objects.In the related technology, on fleet operation interface, it is provided with troop's select button, then passes through triggering
Different troop's select buttons enter different formation to control virtual target object, to realize the formation to virtual target object
Control.
Current this formation control mode is complex for operation step, influences human-computer interaction efficiency.
Summary of the invention
In view of this, the embodiment of the present application is designed to provide the control method of object, device, calculating in a kind of game
Machine equipment and storage medium can reduce the complexity of operating interactive, improve human-computer interaction efficiency.
In a first aspect, the embodiment of the present application provides a kind of control method of object in game, it is applied to touch control terminal, institute
It states and shows game picture on the graphic user interface of touch control terminal, at least partly include the game in the game picture
Scene of game;It include virtual target object in the scene of game, the control method includes:
Response is directed to the first touch control operation of the virtual target object, and the virtual target object is set to formation control
State;
Under the formation control state, response acts on clicking operation on the graphic user interface, described in record
The number that graphic user interface is clicked, the number being clicked based on the graphic user interface of record determine target formation,
And the virtual target object is incorporated into the target formation.
In a kind of optional embodiment, the control method further include:
Response is directed to the second touch control operation of the virtual target object, and the virtual target object is set to and drives control
State;
It is described drive state of a control under, response acts on clicking operation on the graphic user interface, according to described
Clicking operation determines a target position in the scene of game;
It controls the virtual target object and is moved to the target position, alternatively, controlling the virtual target object to institute
State target position release technical ability.
In a kind of optional embodiment, first touch control operation is the touch control operation for meeting preset condition, described default
Condition includes:
The touch-control pressure value acted on the virtual target object is greater than preset pressure value;And/or
The touch-control time acted on the virtual target object is greater than preset time.
In a kind of optional embodiment, determine that target is compiled based on the number that the graphic user interface of record is clicked
Team, and the virtual target object is incorporated into the target formation, comprising:
After controlling the virtual target object and exiting the formation control state, graphical user circle based on record
The number that face is clicked determines target formation, and the virtual target object is incorporated into the target formation.
In a kind of optional embodiment, it is described the virtual target object is set to formation control state after, further includes:
Virtual target object described in prompt user is set to formation control state at least one of in the following manner:
The virtual target object is set to the state of highlighting;Auditory tone cues;Vibration prompting;Text prompt.
In a kind of optional embodiment, it is described the virtual target object is set to formation control state after, further includes: will
Other controls on the graphic user interface are set to invalid state.
In a kind of optional embodiment, the number that the graphic user interface is clicked is recorded, comprising:
In the preset time period after the virtual target object is set to the formation control state, records the figure and use
The number that family interface is clicked.
In a kind of optional embodiment, the number that the graphic user interface is clicked is recorded, comprising:
Before controlling the virtual target object and exiting formation control state, the graphic user interface is detected every time
When being clicked, interval time between current click time and nearest previous click time is determined;
If the interval time is greater than preset time and adds 1 after interim number of clicks zero setting;If the interval time
Less than or equal to the preset time, then interim number of clicks is added 1;
Interim number of clicks when the virtual target object is exited formation control state is determined as the click time
Number.
It is described when detecting that the graphic user interface is clicked every time in a kind of optional embodiment, further includes:
The number that the graphic user interface is currently clicked is shown on the graphical interface of user.
Second aspect, the embodiment of the present application also provide a kind of control device of object in game, the figure of the touch control terminal
Game picture is shown in shape user interface, at least partly includes the scene of game of the game in the game picture;It is described
It include virtual target object in scene of game, the control device includes: status control module, logging modle and formation mould
Block.Wherein:
Status control module, for responding the first touch control operation for being directed to the virtual target object, by the virtual mesh
Mark object is set to formation control state;
Logging modle, under the formation control state, response to act on the click on the graphic user interface
Operation, records the number that the graphic user interface is clicked;
Formation module, the number being clicked for the graphic user interface based on record determine target formation, and will
The virtual target object is incorporated into the target formation.
In a kind of possible embodiment, further includes: control module;
Status control module is also used to respond the second touch control operation for being directed to the virtual target object, will be described virtual
Target object, which is set to, drives state of a control;
Control module, be also used to it is described drive state of a control under, response acts on point on the graphic user interface
Operation is hit, a target position is determined in the scene of game according to the clicking operation, and control the virtual target object
It is moved to the target position, technical ability is discharged to the target position alternatively, controlling the virtual target object.
In a kind of possible embodiment, first touch control operation is the touch control operation for meeting preset condition, described pre-
If condition includes:
The touch-control pressure value acted on the virtual target object is greater than preset pressure value;And/or
The touch-control time acted on the virtual target object is greater than preset time.
In a kind of possible embodiment, formation module, in time that the graphic user interface based on record is clicked
When counting and determine target formation, and the virtual target object being incorporated into the target formation, it is specifically used for:
After controlling the virtual target object and exiting the formation control state, graphical user circle based on record
The number that face is clicked determines target formation, and the virtual target object is incorporated into the target formation.
In a kind of possible embodiment, further includes: cue module, in status control module by the virtual target
After object is set to formation control state, virtual target object described in prompt user is set at least one of in the following manner
Formation control state:
The virtual target object is set to the state of highlighting;Auditory tone cues;Vibration prompting;Text prompt.
In a kind of possible embodiment, status control module is also used to the virtual target object being set to formation control
After state processed, other controls on the graphic user interface are set to invalid state.
In a kind of possible embodiment, logging modle is when recording the number that the graphic user interface is clicked, tool
Body is used for:
In the preset time period after the virtual target object is set to the formation control state, records the figure and use
The number that family interface is clicked.
In a kind of possible embodiment, logging modle is when recording the number that the graphic user interface is clicked, tool
Body is used for: before controlling the virtual target object and exiting formation control state, detecting the graphic user interface every time
When being clicked, interval time between current click time and nearest previous click time is determined;
If the interval time is greater than preset time and adds 1 after interim number of clicks zero setting;
If the interval time is less than or equal to the preset time, interim number of clicks is added 1;
Interim number of clicks when the virtual target object is exited formation control state is determined as the click time
Number.
It further include display module, for detecting graphical user circle every time in a kind of possible embodiment
When face is clicked, the number that the graphic user interface is currently clicked is shown on the graphical interface of user.
The third aspect, the embodiment of the present application also provide a kind of computer equipment, comprising: processor, memory and bus, institute
State memory and be stored with the executable machine readable instructions of the processor, when computer equipment operation, the processor with
By bus communication between the memory, the machine readable instructions execute above-mentioned first party when being executed by the processor
Step in face or first aspect in any possible embodiment.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, which executes above-mentioned in a first aspect, or in first aspect when being run by processor
Step in any possible embodiment.
The embodiment of the present application is being able to respond the first touch control operation for virtual target object, and virtual target object is set
For formation control state, and under the formation control state, response acts on the clicking operation on graphic user interface, record figure
The number that shape user interface is clicked, and based on the number being clicked, it forms into columns to virtual target object, and then simplify to void
Operating procedure when quasi- target object is formed into columns promotes human-computer interaction efficiency.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the flow chart of the control method of object in a kind of game provided by the embodiment of the present application;
Fig. 2 shows the processes of the specific example of the control method of object in a kind of game provided by the embodiment of the present application
Figure;
Fig. 3 shows the schematic diagram of the control device of object in a kind of game provided by the embodiment of the present application;
Fig. 4 shows a kind of schematic diagram of computer equipment 40 provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
Middle attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real
The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the application's provided in the accompanying drawings
The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application
Apply example.Based on embodiments herein, those skilled in the art institute obtained without making creative work
There are other embodiments, shall fall in the protection scope of this application.
This application provides a kind of control method and device of object in game, virtual target object can be set to volume
After team's state of a control, by acting on the number of clicks on graphic user interface, to form into columns to virtual target object, in turn
Simplify operating procedure when forming into columns to virtual target object, promotes human-computer interaction efficiency.
Below in conjunction with attached drawing in the application, the technical solution in the application is clearly and completely described, it is clear that
Described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually retouched in attached drawing here
The component for the application for stating and showing can be arranged and be designed with a variety of different configurations.Therefore, below to mentioning in the accompanying drawings
The detailed description of the embodiments herein of confession is not intended to limit claimed scope of the present application, but is merely representative of this
The selected embodiment of application.Based on embodiments herein, those skilled in the art are in the premise for not making creative work
Under every other embodiment obtained, shall fall in the protection scope of this application.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
For the control convenient for understanding the present embodiment, first to object in a kind of game disclosed in the embodiment of the present application
Method processed describes in detail, and the executing subject of the control method of object generally has in game provided by the embodiment of the present application
There is the touch control terminal of touch screen.
Embodiment one
It is shown in Figure 1, the flow chart of the control method of object, the control in the game provided for the embodiment of the present application one
Method includes step S101~S103, in which:
S101: response is directed to the first touch control operation of virtual target object, and virtual target object is set to formation control shape
State.
S102: under formation control state, response acts on the clicking operation on graphic user interface, records graphical user
The number that interface is clicked.
S103: determining target formation based on the number that the graphic user interface of record is clicked, and by virtual target object
It is incorporated into target formation.
Above-mentioned S101~S103 is described in detail separately below.
I:, can be at touch-control end after the application program corresponding with game in touch control terminal is activated in above-mentioned S101
The game picture in game is shown on the graphic user interface at end, at least partly includes the sports ground of game in game picture
Scape;It include virtual target object, the operational order execution pair that virtual target object is received according to touch control terminal in scene of game
The virtual acting answered.
After receiving the first touch control operation for virtual target object, virtual target object is set to formation control shape
State.
Wherein, the first touch control operation includes but is not limited to any in following:
(1) the touch-control pressure value acted on virtual target object is greater than preset pressure value.
Herein, in order to the touch-control pressure value acted on virtual target object be greater than preset pressure value when, by mesh
Mark virtual objects are set to formation control state, and touch control terminal meeting real-time monitoring is directed to the touch control operation of virtual target object.
When the touch control operation for monitoring to be directed to virtual target object, and the touch-control pressure value of touch control operation is greater than preset pressure
When value, then virtual target object is set to formation control state.
Specifically, in one embodiment, which can be previously written in the corresponding software program of game.
In another embodiment, since different users is in game, the common touch-control pressure of touch screen would also vary from,
Therefore the touch-control pressure threshold can be set separately for different users.Such as at Game Setting interface, pressure can be set
Control is adjusted, user can adjust control by the pressure, adjust the size of the preset pressure value.
Acquisition acts on there are many ways to touch-control pressure value on virtual target object, such as is arranged in the lower section of touch screen
Pressure sensor obtains the first touch-control pressure value by the pressure sensor;In another example can be according to the touch-control area of touch point
To determine the first touch-control pressure;In general, being directed to same user, the touch-control area of finger and touch screen is bigger, corresponding touching
Pressure control force value is also bigger.
(2) the touch-control time acted on virtual target object is greater than preset time.
It is similar, in order to when the touch-control time acted on virtual target object being greater than preset time, by target
Virtual objects are set to formation control state, and touch control terminal can implement the touch control operation that monitoring is directed to virtual target object.
After monitoring the touch control operation for virtual target object, touch control terminal starts timing;If it is pre- that timing is greater than this
If the time, then destination virtual object is set to formation control state.If timing is after the not up to preset time, corresponding touch-control
Operation is just interrupted, then is reset timing.Until monitoring the touch control operation for virtual target object again.
(3) the touch-control pressure value acted on virtual target object is greater than preset pressure value, and the touch-control time is greater than default
Time.
Similarly, touch control operation of the touch control terminal meeting real-time monitoring to virtual target object;If monitoring for virtual mesh
The touch control operation of object is marked, and the touch-control pressure value of the touch control operation is greater than preset pressure value, then touch control terminal starts in time;If
It is greater than preset time in time, then destination virtual object is set to formation control state.If timing not up to the preset time when,
Corresponding touch control operation is just interrupted or the variation of touch-control pressure value is then to reset timing less than preset pressure value.
It, can also at least one of in the following manner prompt after virtual target object is set to formation control state
User's virtual target object is set to formation control state:
Virtual target object is set to the state of highlighting;Auditory tone cues;Vibration prompting;Text prompt.
Illustratively, virtual target object is set to when highlighting state, virtual target object can be shown as area
It does not show, virtual target object can be highlighted in the color of other virtual objects.
It is noted herein that after virtual target object is set to formation control state, in a kind of embodiment, to volume
The maintenance of team's state of a control is still realized by long-pressing and/or again by virtual target object;When the long-pressing to virtual target object
And/or again by disappear after, control virtual target object exit formation control state.
In another embodiment, virtual target can not also be pressed by long-pressing and/or again to the maintenance of formation control state
Object realizes, namely after virtual target object is set to formation control state, even if the touch-control to virtual target object is grasped
It disappears, before the condition for exiting formation control state reaches, touch control terminal can maintain always virtual target object forming into columns
State of a control.
Here, exit the condition of formation control state for example are as follows: detect the slide for virtual target object, into
Enter preset time after formation control state reach, detect for virtual target object long-pressing or again by etc., specifically can be with
It is set according to actual needs.
II: in above-mentioned S102, after virtual target object is set to formation control state, touch control terminal can monitor effect
Clicking operation on a graphical user interface, and record the number that graphic user interface is clicked.
Specifically, it can use but be not limited to the number that any record graphic user interface is clicked in following a, b:
A: in the preset time period after virtual target object enters formation control state, graphic user interface is recorded by point
The number hit.
Herein, after virtual target object is set to formation control state, if user is not right in the preset time period
Graphic user interface carries out clicking operation, then can control virtual target object and exit formation state.
After control virtual target object exits formation state, virtual target object can also be set to and drive control shape
State.
B: before control virtual target object exits formation control state, detect that graphic user interface is clicked every time
When, determine interval time between current click time and nearest previous click time;
If interval time is greater than preset time and adds 1 after interim number of clicks zero setting;
If interval time is less than or equal to preset time, interim number of clicks is added 1;
Interim number of clicks when virtual target object is exited formation control state is determined as number of clicks.
In another embodiment of the application, when detecting that graphic user interface is clicked every time, further includes: scheme in user
The number that present graphical user interface is currently clicked on shape interface.
User can be determined based on the number being currently clicked shown on a graphical user interface to virtual target object
Formation.
In addition, after virtual target object is set to formation control state, also being wrapped in the application another kind embodiment
It includes: other controls on graphic user interface is set to invalid state.
At this point, touch control terminal will not even if user operates other controls shown on graphic user interface
Respond the operation;Illustratively, when other controls shown on user to user graphical interfaces have carried out clicking operation, touch-control
Corresponding operation can be considered as the click to graphic user interface by terminal, the correlation function without triggering the control.
III: in above-mentioned S103, after the number that the graphic user interface based on record is clicked determines target formation, one
As be control virtual target object exit formation control state after, the number that the graphic user interface based on record is clicked is true
Set the goal formation.
Specifically, it if the maintenance to formation control state is realized by long-pressing and/or again by virtual target object, responds
The end of first touch control operation, the number being clicked based on the graphic user interface of record determine target formation.
If the maintenance to formation control state is realized by long-pressing and/or again by virtual target object, form into columns exiting
After the condition of state of a control reaches, the number being clicked based on the graphic user interface of record determines target formation.
The embodiment of the present application is being able to respond the first touch control operation for virtual target object, and virtual target object is set
For formation control state, and under the formation control state, response acts on the clicking operation on graphic user interface, record figure
The number that shape user interface is clicked, and based on the number being clicked, it forms into columns to virtual target object, and then simplify to void
Operating procedure when quasi- target object is formed into columns promotes human-computer interaction efficiency.
Embodiment two
Shown in Figure 2, the application implementation also provides the control method of object in another game, this method comprises:
S201: real-time monitoring is directed to the touch control operation of virtual target object.
S202: response is directed to the first touch control operation of virtual target object, and virtual target object is set to formation control shape
State;
S203: under formation control state, response acts on the clicking operation on graphic user interface, records graphical user
The number that interface is clicked.
S204: determining target formation based on the number that the graphic user interface of record is clicked, and by virtual target object
It is incorporated into target formation.
The specific embodiment of above-mentioned S202~S204 is similar with above-mentioned S101~S103, and details are not described herein.
S205: response is directed to the second touch control operation of virtual target object, and virtual target object is set to and drives control shape
State.
Herein, the touch control operation to the second touch control operation of virtual target object for example, in addition to the first touch control operation.
For example, if the first touch control operation are as follows: the touch-control pressure value acted on virtual target object is greater than preset pressure value,
Then the second touch control operation can be with are as follows: the touch-control pressure value acted on virtual target object is less than or equal to the preset pressure value.
If the first touch control operation are as follows: the touch-control time acted on virtual target object is greater than preset time, then the second touching
Control operation can be with are as follows: acts on the touch-control pressure value on virtual target object less equal than the preset time.
If the first touch control operation are as follows: the touch-control pressure value acted on virtual target object is greater than preset pressure value, and touches
Controlling the time is greater than preset time, then the second touch control operation can be with are as follows: the touch-control pressure value acted on virtual target object is less than
Or it is equal to preset pressure value or touch-control time less than or equal to preset time.
S206: in the case where driving state of a control, response acts on the clicking operation on graphic user interface, according to clicking operation
A target position is determined in scene of game;
S207: control virtual target object is moved to target position, alternatively, control virtual target object releases target position
Put technical ability.
The embodiment of the present application can be by after being set to formation control state for virtual target object, based on acting on figure
The number of clicking operation in user interface, forms into columns to virtual target;Control shape is driven virtual target object to be set to
Under state, based on the clicking operation acted on graphic user interface, the movement or release technical ability of virtual target object are controlled, from
And the control to virtual target object is realized, simplify operating procedure, promotes human-computer interaction efficiency.
Based on the same inventive concept, trip corresponding with the control method of object in game is additionally provided in the embodiment of the present application
The control device of object in play, the principle and the above-mentioned trip of the embodiment of the present application solved the problems, such as due to the device in the embodiment of the present application
The control method of object is similar in play, therefore the implementation of device may refer to the implementation of method, and overlaps will not be repeated.
Embodiment three
Referring to the schematic diagram of the control device of object in a kind of game shown in Fig. 3, provided for the embodiment of the present application three, institute
It states and shows game picture on the graphic user interface of touch control terminal, at least partly include the game in the game picture
Scene of game;It include virtual target object in the scene of game, the control device includes: status control module 31, record
Module 32 and formation module 33.Wherein:
Status control module 31 will be described virtual for responding the first touch control operation for being directed to the virtual target object
Target object is set to formation control state;
Logging modle 32, under the formation control state, response to act on the point on the graphic user interface
Operation is hit, the number that the graphic user interface is clicked is recorded;
Formation module 33, the number being clicked for the graphic user interface based on record determine target formation, and
The virtual target object is incorporated into the target formation.
The embodiment of the present application is being able to respond the first touch control operation for virtual target object, and virtual target object is set
For formation control state, and under the formation control state, response acts on the clicking operation on graphic user interface, record figure
The number that shape user interface is clicked, and based on the number being clicked, it forms into columns to virtual target object, and then simplify to void
Operating procedure when quasi- target object is formed into columns promotes human-computer interaction efficiency.
In a kind of possible embodiment, further includes: control module 34;
Status control module 31 is also used to respond the second touch control operation for being directed to the virtual target object, by the void
Quasi- target object, which is set to, drives state of a control;
Control module 34, be also used to it is described drive state of a control under, response act on the graphic user interface
Clicking operation determines a target position according to the clicking operation in the scene of game, and controls the virtual target pair
As being moved to the target position, technical ability is discharged to the target position alternatively, controlling the virtual target object.
In a kind of possible embodiment, first touch control operation is the touch control operation for meeting preset condition, described pre-
If condition includes:
The touch-control pressure value acted on the virtual target object is greater than preset pressure value;And/or
The touch-control time acted on the virtual target object is greater than preset time.
In a kind of possible embodiment, formation module 33 is clicked in the graphic user interface based on record
Number determines target formation, and when the virtual target object is incorporated into the target formation, is specifically used for:
After controlling the virtual target object and exiting the formation control state, graphical user circle based on record
The number that face is clicked determines target formation, and the virtual target object is incorporated into the target formation.
In a kind of possible embodiment, further includes: cue module 35, for status control module 31 will it is described virtually
After target object is set to formation control state, at least one of in the following manner virtual target object quilt described in prompt user
It is set to formation control state:
The virtual target object is set to the state of highlighting;Auditory tone cues;Vibration prompting;Text prompt.
In a kind of possible embodiment, status control module 31 is also used to the virtual target object being set to formation
After state of a control, other controls on the graphic user interface are set to invalid state.
In a kind of possible embodiment, logging modle 32 when recording the number that the graphic user interface is clicked,
It is specifically used for:
In the preset time period after the virtual target object is set to the formation control state, records the figure and use
The number that family interface is clicked.
In a kind of possible embodiment, logging modle 32 when recording the number that the graphic user interface is clicked,
It is specifically used for: before controlling the virtual target object and exiting formation control state, detects graphical user circle every time
When face is clicked, interval time between current click time and nearest previous click time is determined;
If the interval time is greater than preset time and adds 1 after interim number of clicks zero setting;
If the interval time is less than or equal to the preset time, interim number of clicks is added 1;
Interim number of clicks when the virtual target object is exited formation control state is determined as the click time
Number.
It further include display module 36, for detecting the graphical user every time in a kind of possible embodiment
When interface is clicked, the number that the graphic user interface is currently clicked is shown on the graphical interface of user.
Example IV
The embodiment of the present application also provides a kind of computer equipments 40, as shown in figure 4, being meter provided by the embodiments of the present application
Calculate 40 structural schematic diagram of machine equipment, comprising:
Processor 41, memory 42 and bus 43;Memory 42 is executed instruction for storing, including memory 421 and outside
Memory 422;Here memory 421 is also referred to as built-in storage, for temporarily storing the operational data in processor 41, and with it is hard
The data that the external memories such as disk 422 exchange, processor 41 carry out data exchange by memory 421 and external memory 422, when
When the computer equipment 400 is run, communicated between the processor 41 and the memory 42 by bus 43, so that described
Processor 41 is executed in User space to give an order:
Response is directed to the first touch control operation of the virtual target object, and the virtual target object is set to formation control
State;
Under the formation control state, response acts on clicking operation on the graphic user interface, described in record
The number that graphic user interface is clicked, the number being clicked based on the graphic user interface of record determine target formation,
And the virtual target object is incorporated into the target formation.
In a kind of possible embodiment, in the instruction that processor 41 executes, the control method further include:
Response is directed to the second touch control operation of the virtual target object, and the virtual target object is set to and drives control
State;
It is described drive state of a control under, response acts on clicking operation on the graphic user interface, according to described
Clicking operation determines a target position in the scene of game, and controls the virtual target object and be moved to the target position
It sets, technical ability is discharged to the target position alternatively, controlling the virtual target object.
In a kind of possible embodiment, in the instruction that processor 41 executes, first touch control operation be meet it is default
The touch control operation of condition, the preset condition include:
The touch-control pressure value acted on the virtual target object is greater than preset pressure value;And/or
The touch-control time acted on the virtual target object is greater than preset time.
In a kind of possible embodiment, in the instruction that processor 41 executes, the graphic user interface based on record
The number being clicked determines target formation, and the virtual target object is incorporated into the target formation, comprising:
After controlling the virtual target object and exiting the formation control state, graphical user circle based on record
The number that face is clicked determines target formation, and the virtual target object is incorporated into the target formation.
It is described to be set to the virtual target object in the instruction that processor 41 executes in a kind of possible embodiment
After formation control state, further includes:
Virtual target object described in prompt user is set to formation control state at least one of in the following manner:
The virtual target object is set to the state of highlighting;Auditory tone cues;Vibration prompting;Text prompt.
It is described to be set to the virtual target object in the instruction that processor 41 executes in a kind of possible embodiment
After formation control state, further includes: other controls on the graphic user interface are set to invalid state.
In a kind of possible embodiment, in the instruction that processor 41 executes, records the graphic user interface and be clicked
Number, comprising:
In the preset time period after the virtual target object is set to the formation control state, records the figure and use
The number that family interface is clicked.
In a kind of possible embodiment, in the instruction that processor 41 executes, records the graphic user interface and be clicked
Number, comprising:
Before controlling the virtual target object and exiting formation control state, the graphic user interface is detected every time
When being clicked, interval time between current click time and nearest previous click time is determined;
If the interval time is greater than preset time and adds 1 after interim number of clicks zero setting;
If the interval time is less than or equal to the preset time, interim number of clicks is added 1;
Interim number of clicks when the virtual target object is exited formation control state is determined as the click time
Number.
It is described to detect the graphical user every time in the instruction that processor 41 executes in a kind of possible embodiment
When interface is clicked, further includes:
The number that the graphic user interface is currently clicked is shown on the graphical interface of user.
The embodiment of the present application also provides a kind of computer readable storage medium, is stored on the computer readable storage medium
Computer program executes the control of object in game described in above method embodiment when the computer program is run by processor
The step of method processed.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.In the application
In provided several embodiments, it should be understood that disclosed systems, devices and methods, it can be real by another way
It is existing.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only a kind of logic function
It can divide, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can collect
At another system is arrived, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling
Conjunction or direct-coupling or communication connection can be the indirect coupling or communication connection by some communication interfaces, device or unit,
It can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the application
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application
State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application
Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen
It please be described in detail, those skilled in the art should understand that: anyone skilled in the art
Within the technical scope of the present application, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of response technology scheme is detached from the spirit and scope of the embodiment of the present application technical solution, should all cover the protection in the application
Within the scope of.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
Claims (12)
1. the control method of object in a kind of game is applied to touch control terminal, which is characterized in that the figure of the touch control terminal is used
Game picture is shown on the interface of family, at least partly includes the scene of game of the game in the game picture;The game
It include virtual target object in scene, the control method includes:
Response is directed to the first touch control operation of the virtual target object, and the virtual target object is set to formation control shape
State;
Under the formation control state, response acts on the clicking operation on the graphic user interface, records the figure
The number that user interface is clicked determines target formation based on the number that the graphic user interface of record is clicked, and will
The virtual target object is incorporated into the target formation.
2. control method according to claim 1, which is characterized in that the control method further include:
Response is directed to the second touch control operation of the virtual target object, and the virtual target object is set to and drives control shape
State;
It is described drive state of a control under, response acts on clicking operation on the graphic user interface, according to the click
Operation determines a target position in the scene of game;
It controls the virtual target object and is moved to the target position, alternatively, controlling the virtual target object to the mesh
Cursor position discharges technical ability.
3. control method according to claim 1, which is characterized in that first touch control operation is to meet preset condition
Touch control operation, the preset condition include:
The touch-control pressure value acted on the virtual target object is greater than preset pressure value;And/or
The touch-control time acted on the virtual target object is greater than preset time.
4. control method according to claim 1, which is characterized in that the graphic user interface based on record is clicked
Number determine target formation, and the virtual target object is incorporated into the target formation, comprising:
After controlling the virtual target object and exiting the formation control state, the graphic user interface quilt based on record
The number of click determines target formation, and the virtual target object is incorporated into the target formation.
5. control method according to claim 1, which is characterized in that described that the virtual target object is set to formation control
After state processed, further includes:
Virtual target object described in prompt user is set to formation control state at least one of in the following manner:
The virtual target object is set to the state of highlighting;Auditory tone cues;Vibration prompting;Text prompt.
6. control method according to claim 1, which is characterized in that described that the virtual target object is set to formation control
After state processed, further includes: other controls on the graphic user interface are set to invalid state.
7. control method according to claim 1, which is characterized in that record time that the graphic user interface is clicked
Number, comprising:
In the preset time period after the virtual target object is set to the formation control state, graphical user circle is recorded
The number that face is clicked.
8. control method according to claim 1, which is characterized in that record time that the graphic user interface is clicked
Number, comprising:
Before controlling the virtual target object and exiting formation control state, detect the graphic user interface by point every time
When hitting, interval time between current click time and nearest previous click time is determined;
If the interval time is greater than preset time and adds 1 after interim number of clicks zero setting;If the interval time is less than
Or be equal to the preset time, then interim number of clicks is added 1;
Interim number of clicks when the virtual target object is exited formation control state is determined as the number of clicks.
9. control method according to claim 1, which is characterized in that detect that the graphic user interface is clicked every time
When, further includes:
The number that the graphic user interface is currently clicked is shown on the graphical interface of user.
10. the control device of object in a kind of game is applied to touch control terminal, which is characterized in that the figure of the touch control terminal
Game picture is shown in user interface, at least partly includes the scene of game of the game in the game picture;The trip
It include virtual target object in scene of playing, the control device includes:
Status control module, for responding the first touch control operation for being directed to the virtual target object, by the virtual target pair
As being set to formation control state;
Logging modle, for responding the clicking operation acted on the graphic user interface under the formation control state,
Record the number that the graphic user interface is clicked;
Formation module, the number being clicked for the graphic user interface based on record determine target formation, and will be described
Virtual target object is incorporated into the target formation.
11. a kind of computer equipment characterized by comprising processor, memory and bus, the memory storage is
The executable machine readable instructions of processor are stated, when computer equipment operation, are led between the processor and the memory
Bus communication is crossed, the machine readable instructions execute control as described in any one of claim 1 to 9 when being executed by the processor
The step of method.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer journey on the computer readable storage medium
The step of sequence, which executes control method as claimed in any one of claims 1 to 9 when being run by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910667380.7A CN110354494B (en) | 2019-07-23 | 2019-07-23 | Method and device for controlling object in game, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910667380.7A CN110354494B (en) | 2019-07-23 | 2019-07-23 | Method and device for controlling object in game, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110354494A true CN110354494A (en) | 2019-10-22 |
CN110354494B CN110354494B (en) | 2024-03-22 |
Family
ID=68220562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910667380.7A Active CN110354494B (en) | 2019-07-23 | 2019-07-23 | Method and device for controlling object in game, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110354494B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110812838A (en) * | 2019-11-13 | 2020-02-21 | 网易(杭州)网络有限公司 | Method and device for controlling virtual unit in game and electronic equipment |
CN111481930A (en) * | 2020-04-09 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Virtual object control method and device, computer equipment and storage medium |
CN118132059A (en) * | 2024-03-22 | 2024-06-04 | 腾讯科技(深圳)有限公司 | Graphical programming method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013085119A1 (en) * | 2011-12-09 | 2013-06-13 | (주)네오위즈게임즈 | Method for providing online third-person shooting game and system therefor |
CN106924968A (en) * | 2015-12-31 | 2017-07-07 | 网易(杭州)网络有限公司 | Virtual role is formed a team control method and device |
CN108888959A (en) * | 2018-06-27 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Organizing method, device, computer equipment and storage medium in virtual scene |
CN109032727A (en) * | 2018-07-03 | 2018-12-18 | Oppo(重庆)智能科技有限公司 | A kind of application program launching method, application program launching device and terminal device |
CN109126133A (en) * | 2018-08-27 | 2019-01-04 | 广州要玩娱乐网络技术股份有限公司 | game unit formation control method, device, storage medium and mobile terminal |
CN109165077A (en) * | 2018-10-19 | 2019-01-08 | 北京字节跳动网络技术有限公司 | A kind of web page processing method, device, electronic equipment and storage medium |
CN109568950A (en) * | 2018-11-30 | 2019-04-05 | 广州要玩娱乐网络技术股份有限公司 | Game control method, storage medium and the terminal of the polygonal more technical ability of color |
CN109876449A (en) * | 2019-03-19 | 2019-06-14 | 深圳市柠檬互动科技有限公司 | Game unit formation control and method to game unit intelligent control |
-
2019
- 2019-07-23 CN CN201910667380.7A patent/CN110354494B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013085119A1 (en) * | 2011-12-09 | 2013-06-13 | (주)네오위즈게임즈 | Method for providing online third-person shooting game and system therefor |
CN106924968A (en) * | 2015-12-31 | 2017-07-07 | 网易(杭州)网络有限公司 | Virtual role is formed a team control method and device |
CN108888959A (en) * | 2018-06-27 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Organizing method, device, computer equipment and storage medium in virtual scene |
CN109032727A (en) * | 2018-07-03 | 2018-12-18 | Oppo(重庆)智能科技有限公司 | A kind of application program launching method, application program launching device and terminal device |
CN109126133A (en) * | 2018-08-27 | 2019-01-04 | 广州要玩娱乐网络技术股份有限公司 | game unit formation control method, device, storage medium and mobile terminal |
CN109165077A (en) * | 2018-10-19 | 2019-01-08 | 北京字节跳动网络技术有限公司 | A kind of web page processing method, device, electronic equipment and storage medium |
CN109568950A (en) * | 2018-11-30 | 2019-04-05 | 广州要玩娱乐网络技术股份有限公司 | Game control method, storage medium and the terminal of the polygonal more technical ability of color |
CN109876449A (en) * | 2019-03-19 | 2019-06-14 | 深圳市柠檬互动科技有限公司 | Game unit formation control and method to game unit intelligent control |
Non-Patent Citations (1)
Title |
---|
吕美亮主编: "微操终极天书 一本记录星际、魔兽操作手法的百科全书", 济南:山东电子音像出版社, pages: 16 - 21 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110812838A (en) * | 2019-11-13 | 2020-02-21 | 网易(杭州)网络有限公司 | Method and device for controlling virtual unit in game and electronic equipment |
CN111481930A (en) * | 2020-04-09 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Virtual object control method and device, computer equipment and storage medium |
CN111481930B (en) * | 2020-04-09 | 2023-04-14 | 腾讯科技(上海)有限公司 | Virtual object control method and device, computer equipment and storage medium |
CN118132059A (en) * | 2024-03-22 | 2024-06-04 | 腾讯科技(深圳)有限公司 | Graphical programming method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110354494B (en) | 2024-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107193479B (en) | Information processing method, device, electronic equipment and storage medium | |
WO2021036581A1 (en) | Method for controlling virtual object, and related apparatus | |
CN110812838B (en) | Virtual unit control method and device in game and electronic equipment | |
CN107930122B (en) | Information processing method, device and storage medium | |
US20180369693A1 (en) | Virtual Character Control Method, Apparatus, Storage Medium and Electronic Device | |
KR101885685B1 (en) | Virtual controller for touch display | |
CN111840988B (en) | Game skill triggering method, game skill triggering device, game client and medium | |
KR101570967B1 (en) | Game interface method and apparatus for mobile shooting game | |
CN110354494A (en) | The control method of object, device, computer equipment and storage medium in game | |
KR20180044877A (en) | Pressure-based haptics | |
JP2023527529A (en) | INTERACTIVE INFORMATION PROCESSING METHOD, DEVICE, TERMINAL AND PROGRAM | |
CN110413187B (en) | Method and device for processing annotations of interactive intelligent equipment | |
CN108159697A (en) | Virtual objects transfer approach and device, storage medium, electronic equipment | |
WO2021203831A1 (en) | Virtual object control method and apparatus, computer device, and storage medium | |
JP5815143B1 (en) | Interface program and terminal for playing a game by touch input | |
WO2018080940A1 (en) | Using pressure to direct user input | |
WO2024007675A1 (en) | Virtual object switching method and apparatus, storage medium, and electronic apparatus | |
JP2023076611A (en) | Game program and information processing device | |
CN109045685B (en) | Information processing method, information processing device, electronic equipment and storage medium | |
JP2020058666A (en) | Game program, method, and information processing device | |
JP7256627B2 (en) | game program | |
JP6815359B2 (en) | Game programs, methods, and information processing equipment | |
US20240149147A1 (en) | Virtual button charging | |
CN109117076B (en) | Game unit selection method, storage medium and computer equipment | |
CN115721933A (en) | Information processing method, device, storage medium and processor |
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 |