CN106843722A - A kind of method of toch control and touch control device for touch control terminal - Google Patents

A kind of method of toch control and touch control device for touch control terminal Download PDF

Info

Publication number
CN106843722A
CN106843722A CN201611219480.6A CN201611219480A CN106843722A CN 106843722 A CN106843722 A CN 106843722A CN 201611219480 A CN201611219480 A CN 201611219480A CN 106843722 A CN106843722 A CN 106843722A
Authority
CN
China
Prior art keywords
control
touch
subject object
information
angle
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
Application number
CN201611219480.6A
Other languages
Chinese (zh)
Other versions
CN106843722B (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.)
Shanghai Network Technology Co Ltd
Original Assignee
Shanghai Network Technology 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 Shanghai Network Technology Co Ltd filed Critical Shanghai Network Technology Co Ltd
Priority to CN201611219480.6A priority Critical patent/CN106843722B/en
Publication of CN106843722A publication Critical patent/CN106843722A/en
Application granted granted Critical
Publication of CN106843722B publication Critical patent/CN106843722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The present invention discloses a kind of method of toch control and touch control device for touch control terminal.The method of toch control comprises the following steps:The viewing area of the touch control terminal is controlled to show an operation interface, the operation interface includes the first touch control operation region, control targe and subject object;The position of the control targe and subject object is detected, the first direction information formed between the control targe and subject object is obtained;First touch event in the first touch control operation region is detected, first touch event at least generates a second direction information;Whether the angle between the first direction information and the second direction information is judged less than a first threshold, if being less than the first threshold, the subject object is chosen in judgement.The method of toch control and touch control device can reduce the difficulty of touch control operation, and selected object target by making user to be accurately controlled improves the convenience of touch control.

Description

A kind of method of toch control and touch control device for touch control terminal
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of method of toch control for touch terminal and Touch control device.
Background technology
With the development of touch-screen, touch terminal can realize increasing function.However, when user needs control control When target performs a certain behavior to subject object, direction and the control targe to the direction of subject object of touch control are typically due to In the presence of certain error cannot selected object target, and then, lead to not to make control targe to subject object process performing or Person makes control targe carry out some unnecessary behaviors.As can be seen here, the touch control technology interactive performance of prior art is not good, Influence Consumer's Experience, especially when in the control for being applied to some game applications, can substantially reduce the playability of game.
The content of the invention
For defect of the prior art, it is an object of the invention to provide a kind of method of toch control for touch control terminal And touch control device.The method of toch control and touch control device can reduce the difficulty of touch control operation, make User need not be accurately controlled by selected object target, improve the convenience of touch control.
A kind of method of toch control for touch control terminal, the touch control side are provided according to an aspect of the present invention Method comprises the following steps:The viewing area of the touch control terminal is controlled to show an operation interface, the operation interface includes One touch control operation region, control targe and subject object;The position of the control targe and subject object is detected, obtains described The first direction information formed between control targe and subject object;Detect the first touch thing in the first touch control operation region Part, first touch event at least generates a second direction information;Judge the first direction information and the second direction Whether the angle between information is less than a first threshold, if being less than the first threshold, the subject object is chosen in judgement.
Preferably, first touch event is slide or pressing operation;When first touch event is slip During operation, user continues to be touched to the second touch end points by the first touch end points in the first touch control operation region, described Second direction information is predefined end points in the first touch control operation region to the described second direction for touching end points;Work as institute When stating the first touch event for pressing operation, user forms the 3rd touch end points in the first touch control operation region, described Second direction information is the predefined end points to the described 3rd direction for touching end points.
Preferably, the predefined end points is located at the center in the first touch control operation region.
Preferably, the first touch control operation region includes a virtual rocking bar, and the predefined end points is located at described virtual The center of rocking bar.
Preferably, the method for toch control also comprises the following steps:It is described right after judging to choose the subject object As target position shows the first feedback flag, first feedback flag is used to providing a user with judge to choose described right As the visual feedback of target.
Preferably, the operation interface includes the first subject object and the second subject object, and the method for toch control is also Comprise the following steps:Detect the position of first subject object and the second subject object, obtain the control targe respectively with The first direction information formed between first subject object, second subject object, wherein, the control targe First is formed between the first direction information formed between first subject object and the second direction information to press from both sides Angle;The first direction information and the second direction information formed between the control targe and second subject object Between form the second angle;Judge first angle and second angle whether less than the first threshold.
Preferably, completion is described judges whether first angle and second angle are less than the step of the first threshold After rapid, the method for toch control also comprises the following steps:If first angle and second angle are respectively less than described One threshold value, then be compared to first angle and second angle;If first angle is less than second angle, Then judge to choose first subject object;If second angle is less than first angle, judgement chooses described second Subject object.
Preferably, completion is described judges whether first angle and second angle are less than the step of the first threshold After rapid, the method for toch control also comprises the following steps:If first angle and second angle are respectively less than described One threshold value, then judge to choose first subject object and second subject object simultaneously.
Preferably, first touch event also generates one first length information, and the method for toch control is also included such as Lower step:Whether first length information is judged more than Second Threshold, when first length information is more than second threshold Value, controls the control targe to be moved along the second direction information.
Preferably, first touch event also generates a first pressure information, and the method for toch control is also included such as Lower step:Whether the first pressure information is judged more than the 3rd threshold value, when the first pressure information is more than the 3rd threshold Value, controls the control targe to be moved along the second direction information.
Preferably, when the first pressure information is more than three threshold value, the first threshold is in its span Interior lasting increase.
Preferably, first touch event also generates one first compressing time information, and the method for toch control is also wrapped Include following steps:Whether the first compressing time information is judged more than the 4th threshold value, when the first compressing time information is big In the 4th threshold value, the control targe is controlled to be moved along the second direction information.
Preferably, when the first compressing time information is more than four threshold value, the first threshold is in its value In the range of persistently increase.
Preferably, the operation interface also includes one second feedback flag, and second feedback flag is shown in the behaviour Make in interface, there is a spacing between the control targe, second feedback flag is used to provide a user with described first The visual feedback of touch event.
Preferably, the method for toch control also comprises the following steps:According to the second direction information, described the is controlled The moving direction of two feedback flags, wherein, the direction of terminal and institute after the control targe to second feedback flag movement State second direction information identical.
Preferably, the method for toch control is used in the touch control played, and the method for toch control is also included such as Lower step:After the subject object is chosen in judgement, the control targe is controlled to perform a behavior to the subject object.
Preferably, the behavior is shooting, continuous fire, throwing or attacks.
Preferably, the method for toch control also comprises the following steps:The control targe is performed to the subject object After one behavior, the injury numerical value of the subject object is calculated.
Preferably, described injury numerical value is according to the angle meter between the first direction information and the second direction information Calculate, the angle is smaller, and described injury numerical value is higher.
Preferably, the operation interface also includes the second touch control operation region, and the control control targe is to described Comprise the following steps in the step of subject object performs a behavior:Detect the second touch thing in the second touch control operation region Part, controls the control targe to perform different rows to the subject object chosen of being determined according to second touch event For.
Preferably, second touch event generates one second compressing time information, and the method for toch control also includes Following steps:Whether the second compressing time information is judged more than the 5th threshold value, when the second compressing time information is more than 5th threshold value, controls the control targe to perform the first behavior to the subject object;When second compressing time letter Breath is less than or equal to the 5th threshold value, controls the control targe to perform the second behavior to the subject object.
Preferably, second touch event also generates a second pressure information, and the method for toch control is also included such as Lower step:Whether the second pressure information is judged more than the 6th threshold value, when the second pressure information is more than the 6th threshold Value, controls the control targe to perform the third line to the subject object to be;When the second pressure information is less than or equal to described 6th threshold value, control the control targe to the subject object perform fourth line be.
According to a further aspect of the invention, a kind of touch control device for touch control terminal, the touch are also provided Control device includes:Module is presented, the viewing area for controlling the touch control terminal shows an operation interface, operation circle At least include the first touch control operation region, control targe and subject object in face;Position acquisition module, for detecting the control The position of target processed and subject object, obtains the first direction information formed between the control targe and subject object;First Event acquisition module, the first touch event for detecting the first touch control operation region, first touch event is at least Generate a second direction information;First judge module, for judge the first direction information and the second direction information it Between angle whether be less than a first threshold, if be less than the first threshold, judgement choose the subject object.
Preferably, the touch control device includes:First feedback module, for choosing the subject object when judgement Afterwards, the subject object position shows the first feedback flag.
Preferably, the operation interface includes the first subject object and the second subject object;The position acquisition module is detectd Survey the position of first subject object and the second subject object, obtain the control targe respectively with the first object mesh Mark, the first direction information formed between second subject object, wherein, the control targe and first object The first angle is formed between the first direction information formed between target and the second direction information;The control targe Second is formed between the first direction information formed between second subject object and the second direction information to press from both sides Angle;Whether the first judge module judges first angle and second angle less than the first threshold.
Preferably, the touch control device also includes the second judge module, if first angle and second folder Angle is respectively less than the first threshold, then second judge module is compared to first angle and second angle; If first angle is less than second angle, first subject object is chosen in judgement;If second angle is less than First angle, then judge to choose second subject object.
Preferably, if first angle and second angle are respectively less than the first threshold, described first judges Module judges to choose first subject object and second subject object simultaneously.
Preferably, first touch event also generates one first length information, and the touch control device also includes:The Three judge modules, for whether judging first length information more than Second Threshold, when first length information is more than institute Second Threshold is stated, controls the control targe to be moved along the second direction information.
Preferably, first touch event also generates a first pressure information, and the touch control device also includes:The Four judge modules, for whether judging the first pressure information more than the 3rd threshold value, when first length information is more than institute The 3rd threshold value is stated, controls the control targe to be moved along the second direction information.
Preferably, first touch event also generates one first compressing time information, and the touch control device is also wrapped Include:5th judge module, for whether judging the first compressing time information more than the 4th threshold value, when described first presses Between information be more than the 4th threshold value, control the control targe to be moved along the second direction information.
Preferably, the operation interface also includes one second feedback flag, and the touch control device also includes:Second is anti- Feedback module, for showing second feedback flag, second feedback flag and the control mesh in the operation interface There is a spacing, the visual feedback for providing a user with first touch event between mark.
Preferably, the touch control device is used in the touch control played, and the touch control device also includes holding Row module, for after the subject object is chosen in judgement, controlling the control targe to perform a behavior to the subject object.
Preferably, the touch control device also includes computing module, the injury numerical value for calculating the subject object.
Preferably, the operation interface also includes the second touch control operation region, and the touch control device also includes second Event acquisition module, the second touch event for detecting the second touch control operation region, wherein, the object is chosen in judgement After target, the control targe is controlled to perform different behaviors to the subject object according to second touch event.
Preferably, second touch event generates one second compressing time information, and the touch control device also includes: 6th judge module, for whether judging the second compressing time information more than the 5th threshold value, when second compressing time Information is more than the 5th threshold value, controls the control targe to perform the first behavior to the subject object, presses when described second Pressure temporal information is less than or equal to the 5th threshold value, controls the control targe to perform the second behavior to the subject object.
Preferably, second touch event also generates a second pressure information, and the touch control device also includes:The Seven judge modules, for whether judging the second pressure information more than the 6th threshold value, when the second pressure information is more than institute The 6th threshold value is stated, controls the control targe to perform the third line to the subject object to be, when the second pressure information is less than Equal to the 6th threshold value, control the control targe to the subject object perform fourth line be.
Compared to prior art, the method for toch control and touch control for touch control terminal provided in an embodiment of the present invention Device processed pass through the first direction information and the first touch control operation region that judge to be formed between control targe and subject object the Whether the angle between the second direction information of one touch event generation is less than a first threshold, if being less than the first threshold, Then judging the mode of selected object target reduces the difficulty of user's selected object target (i.e. touch control operation), makes the user need not Selected object target by being accurately controlled, the convenience of touch control is improved with this, and then, can make method of toch control and Touch control device increases touch controllable function, is lifted using the diversity and playability of the game of the method for toch control.
Brief description of the drawings
The detailed description made to non-limiting example with reference to the following drawings by reading, further feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of method of toch control for touch control terminal of the invention;
Fig. 2 is the operation interface schematic diagram that a kind of method of toch control of the invention is applied in game application;
Fig. 3 is the first touch control operation area schematic in a kind of method of toch control of the invention;
Fig. 4 is the first touch control operation area schematic in a kind of method of toch control of the invention;
Fig. 5 is the signal of first direction information and the angle of second direction formation in a kind of method of toch control of the invention Figure;
Fig. 6 is a kind of structural representation of touch control device for touch control terminal of the invention;
Fig. 7 is the flow chart of another method of toch control for touch control terminal of the invention;
Fig. 8 is operation circle that another method of toch control for touch control terminal of the invention is applied in game application Face schematic diagram;
Fig. 9 is the flow chart of another method of toch control for touch control terminal of the invention;And
Figure 10 is the operation that another method of toch control for touch control terminal of the invention is applied in game application Interface schematic diagram.
Specific embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with various shapes Formula is implemented, and is not understood as limited to implementation method set forth herein;Conversely, thesing embodiments are provided so that the present invention will Fully and completely, and by the design of example embodiment those skilled in the art is comprehensively conveyed to.Identical is attached in figure Icon note represents same or similar structure, thus will omit repetition thereof.
Described feature, structure or characteristic can be combined in one or more implementation methods in any suitable manner In.In the following description, there is provided many details fully understand so as to be given to embodiments of the present invention.However, One of ordinary skill in the art would recognize that, there is no one or more in specific detail, or using other methods, constituent element, material Material etc., it is also possible to put into practice technical scheme.In some cases, be not shown in detail or describe known features, material or Person's operation is fuzzy of the invention to avoid.
Additionally, accompanying drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical accompanying drawing mark in figure Note represents same or similar part, thus will omit repetition thereof.Some block diagrams shown in accompanying drawing are work( Energy entity, not necessarily must be corresponding with physically or logically independent entity.These work(can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
Conceive according to purport of the invention, a kind of method of toch control for touch control terminal of the invention includes following step Suddenly:The viewing area of the touch control terminal is controlled to show an operation interface, the operation interface includes the first touch control operation area Domain, control targe and subject object;Detect the position of the control targe and subject object, obtain the control targe and right As the first direction information formed between target;Detect first touch event in the first touch control operation region, described first Touch event at least generates a second direction information;Judge the folder between the first direction information and the second direction information Whether angle is less than a first threshold, if being less than the first threshold, the subject object is chosen in judgement.
Technology contents of the invention are described further with reference to the accompanying drawings and examples.
Fig. 1 is referred to, it illustrates a kind of flow chart of method of toch control for touch control terminal of the invention.Need Illustrate, the use of the touch control terminal of method of toch control of the invention can be mobile phone, panel computer, notebook computer, trip Gaming machine, PDA etc. are various can the electronic equipment with touch controllable function.Additionally, method of toch control of the invention is particularly suited for In the control application of the various game of touch control terminal, for example can apply to FPS (First-Person Shooting Game, First person shooting game) or the shooting such as TPS (Third-Person Shooting Game, third person shooting game) In the game control of class touch control terminal, to optimize the control effect in these game, therefore, said with example in following examples It is bright, but be not limited thereto.
As shown in figure 1, in an embodiment of the present invention, the method for toch control comprises the following steps:
Step S1:The viewing area of touch control terminal is controlled to show an operation interface.The operation interface includes that first touches Control operating area, control targe and subject object.
Fig. 2 is referred to, the operation interface in game application is applied to it illustrates a kind of method of toch control of the invention Schematic diagram.Specifically, as shown in Fig. 2 game application controls touch control terminal by the application programming interfaces (API) of touch control terminal Touch Screen display game operation interface 10, the operation interface 10 in this example embodiment can be the whole of touch control terminal Can viewing area, that is, be displayed in full screen;Can also be touch control terminal part can viewing area, i.e. window show.Shown in Fig. 2 In embodiment, the operation interface 10 includes control targe 101, the touch control operation region 103 of subject object 102 and first.
Wherein, when the method for toch control is applied in game control, control targe 101 is a virtual shooting master Body, above-mentioned virtual shooting main body can have many forms, such as virtual firearms, virtual bow and crossbow, the void of virtual role control Intend catapult etc.;In some cases, virtual shooting main body can also be mortar, catapult of virtual role control etc.;At certain Under a little situations, virtual shooting main body can also be virtual role itself.Subject object 102 is a virtual goal, is similar to Ground, above-mentioned virtual shooting main body can also have a many forms, for example the mortar of virtual role control, catapult, tank, Aircraft etc.;In some cases, virtual shooting main body can also be virtual role itself.
First touch control operation region 103 is located in operation interface 10, in the embodiment shown in Figure 2, the first touch control operation Region 103 is located at the lower left corner of operation interface 10 in other embodiments of the invention, and its position can also be with control targe 101 or subject object 102 overlap.
In addition, in operation interface 10 can also include virtual scene of fighting, virtual natural environment, map area and Information panel region etc., these regions can wholly or in part overlap with the first touch control operation region.
Step S2:The position of detecting control targe and subject object, obtains shape between the control targe and subject object Into first direction information.Specifically, in the embodiment depicted in figure 2, control targe 101 and subject object 102 are as detected Position, obtain the first direction information formed between control targe 101 and subject object 102.Wherein, the first direction information D1 is control targe 101 to the direction of subject object 102.
Step S3:Detect first touch event in the first touch control operation region.First touch event at least generates one Second direction information.Specifically, the first touch event can be slide or pressing operation.When first touch event During for slide, user continues to be touched to the second touch end by the first touch end points in the first touch control operation region Point, the second direction information is predefined end points in the first touch control operation region to the described second side for touching end points To.When first touch event is pressing operation, user forms the 3rd touch end in the first touch control operation region Point, the second direction information is the predefined end points to the described 3rd direction for touching end points.
Fig. 3 is referred to, it illustrates the first touch control operation area schematic in a kind of method of toch control of the invention.Figure In 3 by taking slide as an example, second direction information is illustrated.Slide refers to user in the first touch control operation region Continue to be touched to the second touch location by the first touch location in 103.As shown in figure 3, the center of the first touch location is first End points 1031 is touched, the center of the second touch location is the second touch end points 1032.When the first touch event is slide, Second direction information D2 is the direction of predefined end points 1030 to the second touch end points 1032 in the first touch control operation region.Its In, in the embodiment shown in fig. 3, predefine the center that end points 1030 is located in the first touch control operation region 103.
Further, in an embodiment of the present invention, the first touch control operation region 103 can include a virtual rocking bar, its In, the center superposition in the center of virtual rocking bar and the first touch control operation region 103, and then, it is to be located to be somebody's turn to do to predefine end points 1030 The center of virtual rocking bar.
Further, Fig. 4 is referred to, it illustrates the first touch control operation region in a kind of method of toch control of the invention Schematic diagram.In Fig. 4 by taking pressing operation as an example, second direction information is illustrated.With the slide institute shown in above-mentioned Fig. 3 not Refer to that threeth touch location of the user in the first touch control operation region 103 is carried out with, pressing operation of short duration or lasting Pressing.As shown in figure 4, the center of the 3rd touch location touches end points 1033, i.e. user in the first touch control operation region for the 3rd The 3rd is formed in 103 and touches end points 1033.When the first touch event is pressing operation, second direction information D2 is the first touch-control Predefined end points 1030 to the 3rd in operating area touches the direction of end points 1033.Wherein, in the embodiment shown in fig. 4, Predefined end points 1030 is located at the center in the first touch control operation region 103.
Further, in the embodiment shown in Figure 2, operation interface 10 also includes one second feedback flag 105.Second is anti- Feedback mark 105 is shown in operation interface 10, there is a spacing between control targe 101, and it is used to provide a user with first The visual feedback of touch event.As shown in Fig. 2 the second feedback flag 105 can be formed at outside the certain distance of control targe 101 A round dot.It should be noted that in other embodiments of the invention, the appearance form of the second feedback flag 105 can be Change, such as arrow mark Vee formation pattern etc. will not be described here.Further, in the embodiment shown in fig. 1, institute Method of toch control is stated also to comprise the following steps:
Step S4:According to the second direction information, the moving direction of the second feedback flag is controlled.Specifically, complete Into after above-mentioned steps S3 (detecting first touch event in the first touch control operation region), the generated according to the first touch event Two directional informations, control the second feedback flag moving direction.Wherein, the side of terminal after control targe is moved to the second feedback flag To identical with second direction information.For example, when above-mentioned first touch event is slide, user is in the first touch control operation area Touched to second by the first touch end points in domain and touch end points, correspondingly, the second feedback flag is moved to terminal by its starting point, is entered And, control targe to the direction of the terminal of the second feedback flag is identical with the direction that predefined end points to second touches end points.Again For example when above-mentioned first touch event is pressing operation, user forms the 3rd touch end points in the first touch control operation region, Correspondingly, the second feedback flag is moved to terminal by its starting point, and then, control targe to the direction of the terminal of the second feedback flag It is identical with the direction that predefined end points to the 3rd touches end points.
Step S5:Judge the angle between the first direction information and the second direction information whether less than one first Threshold value, if being less than the first threshold, the subject object is chosen in judgement.Fig. 5 is referred to, it illustrates one kind of the invention The schematic diagram of the angle that first direction information is formed with second direction in method of toch control.Specifically, as shown in figure 5, with Family is by the way that after the touch control of the first touch control operation region 103 (the first touch event occurs), institute's practical function is in control mesh The second direction information of mark 101 is D2, and the first direction information that control targe 101 is formed with the position of subject object 102 is D1, in this step, based on the first direction information D1 and second direction information D2 that are formed in above-mentioned steps S2 and step S3, The angle theta formed between first direction information D1 and second direction information D2 can be calculated.And then, judge whether the angle theta is small In first threshold, will angle theta be compared with first threshold.Wherein, the first threshold is an angle value, of the invention excellent Select in embodiment, first threshold can be 30 degree.If angle theta is less than first threshold (such as 30 degree), selected object mesh is judged Mark 102.The decision procedure can be used family need not be accurately controlled can selected object target, with this improve game control facility Property, and then, method of toch control and touch control device can be made to increase touch controllable function, lifting is using the method for toch control The diversity and playability of game.
Further, in the embodiment shown in fig. 1, the method for toch control also comprises the following steps:
Step S6:After judging to choose the subject object (completing above-mentioned steps S5), the subject object institute is in place Put the first feedback flag of display.As shown in Fig. 2 if subject object 102 is determined and chooses, the subject object in operation interface 10 102 positions show one first feedback flag 104, and the first feedback flag 104 is used to providing a user with judge to choose described The visual feedback of subject object, that is, point out user object target 102 to be selected.In the embodiment shown in Figure 2, the first feedback Mark 104 is an arrow for being shown in the top of subject object 102, but it should be recognized that the form of the first feedback flag 104 is simultaneously Not limited to this, in other embodiments of the invention, the first feedback flag 104 can also be displayed at the lower section of subject object 102 Circle or can also be make subject object 102 luminous etc. mode is realized, will not be described here.
Further, in the embodiment shown in fig. 1, the method for toch control also comprises the following steps:
Step S7:After the subject object is chosen in judgement, the control targe is controlled to perform a line to the subject object For.Wherein, comprise the following steps in the step of controlling the control targe to perform a behavior to the subject object:
Second touch event in the second touch control operation region is detected, the control is controlled according to second touch event Target processed performs different behaviors to the subject object chosen of being determined.Specifically, in the embodiment depicted in figure 2, grasp Making interface 10 also includes the second touch control operation region 106.Multiple virtual push buttons can be included in second touch control operation region 106, User can be controlled by pressing different virtual push buttons control targe to be determined the subject object chosen perform it is different Behavior.Wherein, the behavior can be shooting, continuous fire, throwing or attack.
Further, in other embodiments of the invention, above-mentioned second touch event also generates compressing time letter Breath, the method for toch control also comprises the following steps:
Whether the second compressing time information is judged more than the 5th threshold value, when the second compressing time information is more than institute The 5th threshold value is stated, controls the control targe to perform the first behavior to the subject object, when the second compressing time information Less than or equal to the 5th threshold value, the control targe is controlled to perform the second behavior to the subject object.Specifically, herein In step, it can be determined that whether the time that certain virtual push button in the second touch control operation region is pressed is more than the 5th threshold value, Wherein, the 5th threshold value is a time value, for example, can be 1 second.First behavior and the second behavior can be above-mentioned shooting, continuously penetrate Two kinds of behaviors different in hitting, throw or attacking.For example, the first behavior can be continuous fire, the second behavior can be penetrated Hit, and then, when the second compressing time information is more than five threshold values, control targe carries out continuous fire to subject object, and works as When second compressing time information is less than or equal to five threshold values, control targe is shot to subject object (to be come with respect to continuous fire Say can be single shot).
Further, in other embodiments of the invention, above-mentioned second touch event also generates second pressure letter Breath, the method for toch control also comprises the following steps:
Whether the second pressure information is judged more than the 6th threshold value, when the second pressure information is more than the 6th threshold Value, control the control targe to perform the third line to the subject object to be, when the second pressure information is less than or equal to described in 6th threshold value, control the control targe to the subject object perform fourth line be.Specifically, in this step, can be with Judge whether the pressure that certain virtual push button in the second touch control operation region is pressed is more than the 6th threshold value, wherein, the 6th threshold It is a pressure value to be worth, for example, can be 100 Ns.The third line be with fourth line for can be above-mentioned shooting, continuous fire, throwing or Two kinds of different in attacking behaviors of person.For example, the third line is for that can be continuous fire, it can be shooting that fourth line is, and then, when When second pressure information is more than six threshold values, control targe carries out continuous fire to subject object, and it is small to work as second pressure information When equal to six threshold values, control targe is shot at (can be single shot for respect to continuous fire) to subject object.
Further, in the embodiment shown in fig. 1, the method for toch control also comprises the following steps:
Step S8:After the control targe performs a behavior to the subject object, the injury of the subject object is calculated Numerical value.Specifically, when method of toch control of the invention is applied in the control of game, generally control targe is worked as in game , it is necessary to the behavior pair after a certain behavior in performing above-mentioned such as shooting, continuous fire, throwing or attack to subject object The injury numerical value that subject object is caused is calculated.In this step, it is preferable that described injury numerical value is according to first direction information Calculated with the angle (reference can be made to the angle theta in Fig. 5) between second direction information, wherein, angle theta is smaller, and injury numerical value is higher. The playability of game can be increased by this calculation.
Further, in other embodiments of the invention, the first touch event can also generate one first length letter Breath.And then, the method for toch control also comprises the following steps:
Whether first length information is judged more than Second Threshold, when first length information is more than second threshold Value, controls the control targe to be moved along the second direction information.Specifically, first length information can be above-mentioned Predefined end points 1030 to the second in Fig. 3 during slide touches the distance between end points 1032, or can be above-mentioned Fig. 4 Predefined end points 1030 to the 3rd during middle pressing operation touches the distance between end points 1033.Judge whether above-mentioned distance is more than Second Threshold.Wherein, Second Threshold is a length value, for example, can be 5 millimeters.When above-mentioned distance is more than Second Threshold, the One touch event also makes control targe, and information is moved in a second direction.It is understood that in this embodiment, if above-mentioned Distance is less than or equal to Second Threshold, then control targe is parked in original place, and the first touch event only makes the control targe carry out original place The operation such as steering.
Further, in other embodiments of the invention, the first touch event can also generate first pressure letter Breath.And then, the method for toch control also comprises the following steps:
Whether the first pressure information is judged more than the 3rd threshold value, when the first pressure information is more than the 3rd threshold Value, controls the control targe to be moved along the second direction information.Specifically, in the touch control terminal detected with pressure sensitivity In, can also be to being implemented on the first of touch control terminal during above-mentioned first touch event (including slide or pressing operation) Pressure in touch control operation region is detected.Judge above-mentioned pressure whether more than the 3rd threshold value.Wherein, the 3rd threshold value is a pressure Force value, for example, can be 100 Ns.When above-mentioned pressure is more than three threshold values, the first touch event also makes control targe along second Directional information is moved.It is understood that in this embodiment, if above-mentioned pressure is less than or equal to the 3rd threshold value, controlling Target processed is parked in original place, and the first touch event only makes control targe carry out pivot stud etc. to operate.Further, in the present invention Embodiment in, when first pressure information is more than three threshold values while moving (control targe), first threshold can take at it Persistently increase (value is bigger when i.e. as you were compared to control targe) in the range of value, so that, make subject object be easier to be chosen In.
Further, in other embodiment of the invention, first touch event can also generate one first and press Pressure temporal information.The method of toch control also comprises the following steps:
Whether the first compressing time information is judged more than the 4th threshold value, when the first compressing time information is more than institute The 4th threshold value is stated, controls the control targe to be moved along the second direction information.Specifically, can be touched to above-mentioned first When being implemented on the pressing in the first touch control operation region of touch control terminal during event (including slide or pressing operation) Between detected.Judge above-mentioned compressing time whether more than the 4th threshold value.Wherein, the 4th threshold value is a time value, for example can be with It is 1 second.When above-mentioned compressing time is more than four threshold values, the first touch event also makes control targe, and information is carried out in a second direction It is mobile.It is understood that in this embodiment, if above-mentioned compressing time is less than or equal to the 4th threshold value, control targe is stopped In situ, the first touch event only make control targe carry out pivot stud etc. operate.Similarly, in embodiments of the invention In, when whether the first compressing time information is more than the 4th threshold value (when i.e. control targe is moved), first threshold can be in its value In the range of persistently increase (value is bigger when i.e. as you were compared to control targe) so that, make subject object be easier to be selected.
With reference to above-mentioned Fig. 1 to embodiment illustrated in fig. 5, the touch control side for touch control terminal provided in an embodiment of the present invention Method is touched by the first direction information for judging to be formed between control targe and subject object with the first of the first touch control operation region Whether the angle between the second direction information of event generation is touched less than a first threshold, if being less than the first threshold, is sentenced Determining the mode of selected object target reduces the difficulty of user's selected object target (i.e. touch control operation), makes user without accurate Control can selected object target, the convenience of touch control is improved with this, and then, method of toch control and touch can be made Control device increases touch controllable function, is lifted using the diversity and playability of the game of the method for toch control.
Further, the present invention also provides a kind of touch control device for touch control terminal.The touch control device is outstanding Its touch control suitable for game.Fig. 6 is referred to, it illustrates a kind of touch control for touch control terminal of the invention The structural representation of device.Specifically, in the embodiment shown in fig. 6, the touch control device includes:Module is presented 21st, position acquisition module 22, the first event acquisition module 23 and the first judge module 24.
Specifically, module 21 is presented to be used to control the viewing area of the touch control terminal to show an operation interface.With reference to Shown in above-mentioned Fig. 2,10 at least include control targe 101, the touch control operation region of subject object 102 and first in operation interface 103。
Position acquisition module 22 is used to detect the position of control targe and subject object, obtains control targe and subject object Between formed first direction information.With reference to shown in above-mentioned Fig. 2, position acquisition module 22 detecting control targe 101 and object mesh Behind the position of mark 102, the first direction information formed between control targe 101 and subject object 102 is obtained.
First event acquisition module 23 is used to detect first touch event in the first touch control operation region, the first touch event At least generate a second direction information.With reference to shown in above-mentioned Fig. 3, when the first touch event is slide, second direction letter Breath D2 is the direction of predefined end points 1030 to the second touch end points 1032 in the first touch control operation region 103;With reference to above-mentioned Shown in Fig. 4, when the first touch event is pressing operation, second direction information D2 is pre- in the first touch control operation region 103 Define the direction that end points 1030 to the 3rd touches end points 1033.
Whether the angle that the first judge module 241 is used to judge between first direction information and second direction information is less than one First threshold, if being less than first threshold, judges selected object target.In the embodiment shown in fig. 6, the first judge module 241 can be connected with position acquisition module 22, the first event acquisition module 23, thus obtain above-mentioned first direction information and Second direction information.With reference to shown in above-mentioned Fig. 5, the first judge module 241 is according to first direction information D1 and second direction information Whether the angle theta formed between D2 judges it less than first threshold (such as 30 degree).If angle theta is less than first threshold, judge Selected object target 102.
Further, in the embodiment shown in fig. 6, the touch control device also includes the first feedback module 251, the One feedback module 251 is used for after the subject object is chosen in judgement, and the subject object position shows the first feedback mark Note.As shown in fig. 6, the first feedback module 251 can be connected with above-mentioned first judge module 241.With reference to shown in Fig. 2, if right Chosen as target 102 is determined, then the position of subject object 102 in operation interface 10 shows one first feedback flag 104, First feedback flag 104 is used to provide a user with the visual feedback of the subject object for judging to choose, that is, point out user object Target 102 has been selected.
Further, the operation interface also includes one second feedback flag, and then, in the embodiment shown in fig. 6, institute Stating touch control device also includes the second feedback module 252.As shown in fig. 6, the second feedback module 252 can be with above-mentioned first thing Part acquisition module 23 is connected, for showing the second feedback flag in operation interface.With reference to shown in above-mentioned Fig. 2, the second feedback There is a spacing, the visual feedback for providing a user with the first touch event between mark 105 and control targe 101.Second The second direction information that feedback module 252 is generated according to the first touch event, controls the moving direction of the second feedback flag 105.Its In, the direction of terminal is identical with second direction information after the movement of the feedback flag of control targe 101 to the second 105.
Further, in the embodiment shown in fig. 6, the touch control device also includes performing module 26.Perform mould Block 26 is used for after selected object target is judged, control control targe performs a behavior to subject object.
Specifically, the embodiment with reference to shown in Fig. 2, operation interface also 10 includes the second touch control operation region 106.Enter And, in the embodiment shown in fig. 6, the touch control device also includes second event acquisition module 27.Second event is obtained Module 27 is used to detect the second touch event in the second touch control operation region 106.As shown in fig. 6, second event acquisition module 27 can be connected with the first judge module 241 and performing module 26 respectively.And then, when the first judge module 241 judges to choose After subject object 102, the second touch event that second event acquisition module 27 will be detected is transmitted to performing module 26, by performing The control of module 26 control targe 101 performs different behaviors to subject object 102.Wherein, can in the second touch control operation region 106 So that including multiple virtual push buttons, the second touch event can be the different virtual push button of pressing.The behavior can be shooting, connect Continuous shooting, throwing are attacked.
Further, in other embodiments of the invention, second touch event can generate one second pressing Temporal information.And then, the touch control device also includes the 6th judge module.6th judge module is used to judge second Whether compressing time information is more than the 5th threshold value.When the second compressing time information is more than the 5th threshold value, control control targe is to right As target performs the first behavior;When the second compressing time information is less than or equal to the 5th threshold value, control control targe is to subject object Perform the second behavior.Wherein, can be found in above-mentioned touch control for the 5th threshold value and the first behavior, the citing of the second behavior Method, it will not go into details herein.
Further, in other embodiments of the invention, second touch event can also generate one second pressure Force information.And then, the touch control device also includes the 7th judge module.7th judge module is used to judge the second pressure Whether force information is more than the 6th threshold value.When second pressure information is more than the 6th threshold value, control control targe is performed to subject object The third line is;When second pressure information be less than or equal to the 6th threshold value, control control targe to subject object execution fourth line be.Its In, it is not superfluous herein for the 6th threshold value and the third line is, fourth line is that citing can be found in above-mentioned method of toch control State.
Further, in the embodiment shown in fig. 6, the touch control device also includes computing module 28.Calculate mould Block 28 is used to calculate the injury numerical value of subject object.As shown in fig. 6, computing module can be connected with performing module 26.Calculate Module 28 calculates the injury numerical value of subject object according to the implementing result of performing module 26, and it can be with link position acquisition module 22 and the first event acquisition module 23, and the first direction information that can be obtained according to position acquisition module 22 of calculation and Angle (reference can be made to the angle theta in Fig. 5) between the second direction information that first event acquisition module 23 is detected calculates injury Numerical value.For example angle is smaller, injury numerical value calculation higher, will not be described here.
Further, in other embodiments of the invention, the first touch event can also generate the first length information, First pressure information or the first compressing time information, control targe is controlled by these information, and information is carried out in a second direction It is mobile.And then, in an embodiment of the present invention, above-mentioned first touch event institute can be detected by the first event acquisition module 23 The first length information, first pressure information or the first compressing time information for generating.
Specifically, for example, in some embodiments of the invention, first touch event can also generate one first Length information.And then, the touch control device can also include the 3rd judge module.3rd judge module is used to judge first Whether length information is more than Second Threshold.When the first length information is more than Second Threshold, then control targe is controlled in a second direction Information is moved.Wherein, the specific method for judging or controlling can be found in the description of above-mentioned method of toch control, not superfluous herein State.
Again for example, in other embodiments of the invention, first touch event can also generate a first pressure Information.And then, the touch control device can also include the 4th judge module.4th judge module is used to judge described first Whether pressure information is more than the 3rd threshold value.When the first length information is more than the 3rd threshold value, then control targe is controlled in a second direction Information is moved.Wherein, the specific method for judging or controlling can be found in the description of above-mentioned method of toch control, not superfluous herein State.
Again for example, in other embodiments of the invention, first touch event can also generate one first pressing Temporal information.And then, the touch control device can also include the 5th judge module.5th judge module is used to judge first Whether compressing time information is more than the 4th threshold value.When the first compressing time information is more than the 4th threshold value, then control targe edge is controlled Second direction information is moved.Wherein, the specific method for judging or controlling can be found in the description of above-mentioned method of toch control, herein It will not go into details.
Fig. 7 and Fig. 8 are another implementation method of method of toch control of the invention, refer to Fig. 7 and Fig. 8, its point The flow chart of another method of toch control for touch control terminal of the invention is not shown and is applied in game application Operation interface schematic diagram.From unlike above-mentioned embodiment illustrated in fig. 1, operation interface includes two subject objects.It is specific next Say, as shown in figure 8, operation interface 10 includes the first subject object 1021 and the second subject object 1022.And then, as shown in fig. 7, In this embodiment, the method for toch control comprises the following steps:
Step S2 ':Detect the position of the first subject object and the second subject object, obtain control targe respectively with first pair As the first direction information formed between target, the second subject object.As shown in figure 8, the subject object of control targe 101 to the first 1021 first direction information is D11, and the first direction information of the subject object of control targe 101 to the second 1022 is D12.
And then, after step S3 is completed, as shown in figure 8, formed between the subject object 1021 of control targe 101 and first The first angle theta 1 is formed between first direction information D11 and second direction information D2;Control targe and second subject object Between formed the first direction information and the second direction information between form the second angle theta 2.
Step S41 ':Judge the first angle and the second angle whether less than first threshold.As shown in figure 8, in this step As the first angle theta 1 and the second angle theta 2 are compared with first threshold respectively.If only the first angle theta 1 or the second angle One in θ 2 is less than first threshold, then the subject object 1022 of corresponding first subject object 1021 or second is determined and chooses. If the first angle theta 1 or the second angle theta 2 are respectively less than first threshold, as shown in fig. 7, performing following steps.
Step S42 ':First angle and second angle are compared.If the first angle is less than the second angle, Then judge to choose the first subject object;If the second angle is less than the first angle, the second subject object is chosen in judgement.In Fig. 8 with First angle theta 1 is less than as a example by the second angle theta 2, and then, in the embodiment shown in fig. 8, the first subject object 1021 is then judged to Surely choose (position of the first subject object 1021 has the first feedback flag 104).
It should be noted that, although only illustrated by taking two subject objects as an example in Fig. 7 and Fig. 8, but not with this It is limited.In other embodiments of the invention, operation interface can include more subject objects, such as three, four, five It is individual.In these embodiments, the method for toch control shown in above-mentioned Fig. 7 is can be used to judge the subject object chosen, herein It will not go into details.
Further, the method for toch control according to Fig. 7 and Fig. 8, in this embodiment, based on touching shown in Fig. 6 Touch and can also include the second judge module in control device.Second judge module can be connected with the first judge module, if the One judge module judges that the first angle and the second angle are respectively less than first threshold, then the second judge module is to the first angle and second Angle proceeds to compare.And then, if the first angle is less than the second angle, the first subject object is chosen in judgement;If the second folder Angle is less than the first angle, then judge to choose the second subject object.
Fig. 9 and Figure 10 are another implementation method of method of toch control of the invention, refer to Fig. 9 and Figure 10, its Respectively illustrate the flow chart of another method of toch control for touch control terminal of the invention and be applied to game application In operation interface schematic diagram.With above-mentioned Fig. 7 and embodiment illustrated in fig. 8 similarly, operation interface includes two subject objects. And from unlike above-mentioned Fig. 7 and embodiment illustrated in fig. 8, in this embodiment, after completing step step S41 ', described touch is controlled Method processed comprises the following steps:
Complete it is described judge the step of whether first angle and second angle are less than the first threshold after, institute Method of toch control is stated also to comprise the following steps:
Step S42 ":Judge to choose the first subject object and the second subject object simultaneously.As shown in Figure 10, the first object mesh The subject object 1021 of mark 1021 and second is determined and chooses that (the first subject object 1021 and the institute of the second subject object 1021 are in place Putting has the first feedback flag 104).It is understood that in subsequent step (such as step S7 and step S8), as controlling Control targe is implemented to the first subject object 1021 and the second subject object 1021 simultaneously, will not be described here.
In sum, the method for toch control and touch control device for touch control terminal provided in an embodiment of the present invention Touched by the first direction information and the first of the first touch control operation region that judge to be formed between control targe and subject object Whether the angle between the second direction information of event generation is less than a first threshold, if being less than the first threshold, judges The mode of selected object target reduces the difficulty of user's selected object target (i.e. touch control operation), makes user without accurate Selected object target by control, the convenience of touch control is improved with this, and then, method of toch control can be made and control is touched Device processed increases touch controllable function, is lifted using the diversity and playability of the game of the method for toch control.
Although the present invention is disclosed as above with alternative embodiment, but it is not limited to the present invention.Belonging to of the invention Those skilled in the art, without departing from the spirit and scope of the present invention, when can make various changes with modification.Therefore, Protection scope of the present invention is defined when the scope defined depending on claims.

Claims (36)

1. a kind of method of toch control for touch control terminal, it is characterised in that the method for toch control comprises the following steps:
The viewing area of the touch control terminal is controlled to show an operation interface, the operation interface includes the first touch control operation area Domain, control targe and subject object;
The position of the control targe and subject object is detected, first formed between the control targe and subject object is obtained Directional information;
First touch event in the first touch control operation region is detected, first touch event at least generates a second direction Information;
Whether the angle between the first direction information and the second direction information is judged less than a first threshold, if being less than The first threshold, then judge to choose the subject object.
2. method of toch control as claimed in claim 1, it is characterised in that first touch event is slide or presses Press operation;
When first touch event is slide, user continues to be touched by first in the first touch control operation region End points is touched to second and touches end points, the second direction information be predefined end points in the first touch control operation region extremely Described second direction for touching end points;
When first touch event is pressing operation, user forms the 3rd touch end in the first touch control operation region Point, the second direction information is the predefined end points to the described 3rd direction for touching end points.
3. method of toch control as claimed in claim 2, it is characterised in that the predefined end points is located at first touch-control Center in operating area.
4. method of toch control as claimed in claim 2, it is characterised in that the first touch control operation region includes that is virtual Rocking bar, the predefined end points is located at the center of the virtual rocking bar.
5. method of toch control as claimed in claim 1, it is characterised in that the method for toch control also includes following step Suddenly:
After judging to choose the subject object, the subject object position shows the first feedback flag, and described first is anti- Feedback mark is used to provide a user with the visual feedback of the subject object for judging to choose.
6. method of toch control as claimed in claim 1, it is characterised in that the operation interface include the first subject object and Second subject object, the method for toch control also comprises the following steps:
Detect the position of first subject object and the second subject object, obtain the control targe respectively with described first pair As the first direction information formed between target, second subject object, wherein, the control targe and described first The first angle is formed between the first direction information formed between subject object and the second direction information;The control The is formed between the first direction information formed between target and second subject object and the second direction information Two angles;
Judge first angle and second angle whether less than the first threshold.
7. method of toch control as claimed in claim 6, it is characterised in that complete described to judge first angle and described After the step of whether the second angle is less than the first threshold, the method for toch control also comprises the following steps:
If first angle and second angle are respectively less than the first threshold, to first angle and described second Angle is compared;
If first angle is less than second angle, first subject object is chosen in judgement;
If second angle is less than first angle, second subject object is chosen in judgement.
8. method of toch control as claimed in claim 6, it is characterised in that complete described to judge first angle and described After the step of whether the second angle is less than the first threshold, the method for toch control also comprises the following steps:
If first angle and second angle are respectively less than the first threshold, judge to choose first object simultaneously Target and second subject object.
9. method of toch control as claimed in claim 1, it is characterised in that first touch event also generates one first length Degree information, the method for toch control also comprises the following steps:
Whether first length information is judged more than Second Threshold, when first length information is more than the Second Threshold, The control targe is controlled to be moved along the second direction information.
10. method of toch control as claimed in claim 1, it is characterised in that first touch event also generates one first Pressure information, the method for toch control also comprises the following steps:
Whether the first pressure information is judged more than the 3rd threshold value, when the first pressure information is more than the 3rd threshold value, The control targe is controlled to be moved along the second direction information.
11. method of toch control as claimed in claim 10, it is characterised in that when the first pressure information is more than described the During three threshold values, the first threshold persistently increases in its span.
12. method of toch control as claimed in claim 1, it is characterised in that first touch event also generates one first Compressing time information, the method for toch control also comprises the following steps:Judge whether the first compressing time information is more than 4th threshold value, when the first compressing time information is more than the 4th threshold value, controls the control targe along the second party Moved to information.
13. method of toch control as claimed in claim 12, it is characterised in that when the first compressing time information is more than institute When stating four threshold values, the first threshold persistently increases in its span.
14. method of toch control as claimed in claim 1, it is characterised in that the operation interface also includes one second feedback Mark, second feedback flag is shown in the operation interface, there is a spacing between the control targe, and described the Two feedback flags are used to provide a user with the visual feedback of first touch event.
15. method of toch control as claimed in claim 14, it is characterised in that the method for toch control also includes following step Suddenly:
According to the second direction information, the moving direction of second feedback flag is controlled, wherein, the control targe to institute The direction for stating terminal after the second feedback flag is moved is identical with the second direction information.
16. method of toch control as any one of claim 1 to 15, it is characterised in that the method for toch control In for the touch control of game, the method for toch control also comprises the following steps:
After the subject object is chosen in judgement, the control targe is controlled to perform a behavior to the subject object.
17. method of toch control as claimed in claim 16, it is characterised in that the behavior is shooting, continuous fire, throwing Or attack.
18. method of toch control as claimed in claim 16, it is characterised in that the method for toch control also includes following step Suddenly:
After the control targe performs a behavior to the subject object, the injury numerical value of the subject object is calculated.
19. method of toch control as claimed in claim 18, it is characterised in that described injury numerical value is according to the first direction Angle calcu-lation between information and the second direction information, the angle is smaller, and described injury numerical value is higher.
20. method of toch control as claimed in claim 16, it is characterised in that the operation interface is also grasped including the second touch-control Make region, the step of the control control targe performs a behavior to the subject object in comprise the following steps:
Second touch event in the second touch control operation region is detected, the control mesh is controlled according to second touch event Mark and perform different behaviors to the subject object chosen of being determined.
21. method of toch control as claimed in claim 20, it is characterised in that the second touch event generation one second is pressed Pressure temporal information, the method for toch control also comprises the following steps:
Whether the second compressing time information is judged more than the 5th threshold value, when the second compressing time information is more than described the Five threshold values, control the control targe to perform the first behavior to the subject object;When the second compressing time information is less than Equal to the 5th threshold value, the control targe is controlled to perform the second behavior to the subject object.
22. method of toch control as claimed in claim 20, it is characterised in that second touch event also generates one second Pressure information, the method for toch control also comprises the following steps:
Whether the second pressure information is judged more than the 6th threshold value, when the second pressure information is more than the 6th threshold value, Control the control targe to perform the third line to the subject object to be;When the second pressure information is less than or equal to the described 6th Threshold value, control the control targe to the subject object perform fourth line be.
23. a kind of touch control devices for touch control terminal, it is characterised in that the touch control device includes:
Module is presented, the viewing area for controlling the touch control terminal shows an operation interface, in the operation interface at least Including the first touch control operation region, control targe and subject object;
Position acquisition module, the position for detecting the control targe and subject object obtains the control targe and object The first direction information formed between target;
First event acquisition module, the first touch event for detecting the first touch control operation region, described first touches Event at least generates a second direction information;
First judge module, for judging whether the angle between the first direction information and the second direction information is less than One first threshold, if being less than the first threshold, the subject object is chosen in judgement.
24. touch control devices as claimed in claim 23, it is characterised in that the touch control device includes:
First feedback module, for after the subject object is chosen in judgement, the subject object position to show that first is anti- Feedback mark.
25. touch control devices as claimed in claim 23, it is characterised in that the operation interface includes the first subject object With the second subject object;
The position acquisition module detects the position of first subject object and the second subject object, obtains the control targe The first direction information for being formed between first subject object, second subject object respectively, wherein, the control Formed between the first direction information formed between target processed and first subject object and the second direction information First angle;The first direction information and the second party formed between the control targe and second subject object To forming the second angle between information;
Whether the first judge module judges first angle and second angle less than the first threshold.
26. touch control devices as claimed in claim 25, it is characterised in that the touch control device is also sentenced including second Disconnected module, if first angle and second angle are respectively less than the first threshold, second judge module is to institute State the first angle and second angle is compared;
If first angle is less than second angle, first subject object is chosen in judgement;
If second angle is less than first angle, second subject object is chosen in judgement.
27. touch control devices as claimed in claim 25, it is characterised in that if first angle and second angle Respectively less than described first threshold, then first judge module judge to choose simultaneously first subject object and described second pair As target.
28. touch control devices as claimed in claim 23, it is characterised in that first touch event also generates one first Length information, the touch control device also includes:
3rd judge module, for whether judging first length information more than Second Threshold, when first length information More than the Second Threshold, the control targe is controlled to be moved along the second direction information.
29. touch control devices as claimed in claim 23, it is characterised in that first touch event also generates one first Pressure information, the touch control device also includes:
4th judge module, for whether judging the first pressure information more than the 3rd threshold value, when first length information More than the 3rd threshold value, the control targe is controlled to be moved along the second direction information.
30. touch control devices as claimed in claim 23, it is characterised in that first touch event also generates one first Compressing time information, the touch control device also includes:
5th judge module, for whether judging the first compressing time information more than the 4th threshold value, when the described first pressing Temporal information is more than the 4th threshold value, controls the control targe to be moved along the second direction information.
31. touch control devices as claimed in claim 23, it is characterised in that the operation interface also includes one second feedback Mark, the touch control device also includes:
Second feedback module, for showing second feedback flag in the operation interface, second feedback flag with There is a spacing, the visual feedback for providing a user with first touch event between the control targe.
32. touch control device as described in claim 23 to 31, it is characterised in that the touch control device is used to play Touch control in, the touch control device also includes performing module, for after the subject object is chosen in judgement, control The control targe performs a behavior to the subject object.
33. touch control devices as claimed in claim 32, it is characterised in that the touch control device also includes calculating mould Block, the injury numerical value for calculating the subject object.
34. touch control devices as claimed in claim 32, it is characterised in that the operation interface is also grasped including the second touch-control Make region, the touch control device also includes second event acquisition module, for detecting the second touch control operation region Second touch event, wherein, after the subject object is chosen in judgement, the control targe is controlled according to second touch event Different behaviors are performed to the subject object.
35. touch control devices as claimed in claim 34, it is characterised in that the second touch event generation one second is pressed Pressure temporal information, the touch control device also includes:
6th judge module, for whether judging the second compressing time information more than the 5th threshold value, when the described second pressing Temporal information is more than the 5th threshold value, controls the control targe to perform the first behavior to the subject object, when described the Two compressing time information are less than or equal to the 5th threshold value, control the control targe to perform the second row to the subject object For.
36. touch control devices as claimed in claim 33, it is characterised in that second touch event also generates one second Pressure information, the touch control device also includes:
7th judge module, for whether judging the second pressure information more than the 6th threshold value, when the second pressure information More than the 6th threshold value, control the control targe to perform the third line to the subject object to be, when second pressure letter Breath is less than or equal to the 6th threshold value, controls the control targe to perform fourth line to the subject object and is.
CN201611219480.6A 2016-12-26 2016-12-26 Touch control method and touch control device for touch terminal Active CN106843722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611219480.6A CN106843722B (en) 2016-12-26 2016-12-26 Touch control method and touch control device for touch terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611219480.6A CN106843722B (en) 2016-12-26 2016-12-26 Touch control method and touch control device for touch terminal

Publications (2)

Publication Number Publication Date
CN106843722A true CN106843722A (en) 2017-06-13
CN106843722B CN106843722B (en) 2019-12-31

Family

ID=59136204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611219480.6A Active CN106843722B (en) 2016-12-26 2016-12-26 Touch control method and touch control device for touch terminal

Country Status (1)

Country Link
CN (1) CN106843722B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885417A (en) * 2017-11-03 2018-04-06 腾讯科技(深圳)有限公司 Object localization method, device and computer-readable recording medium in virtual environment
CN108196765A (en) * 2017-12-13 2018-06-22 网易(杭州)网络有限公司 Display control method, electronic equipment and storage medium
CN109806579A (en) * 2019-02-01 2019-05-28 网易(杭州)网络有限公司 The control method of virtual objects, device, electronic equipment and storage medium in game

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530040A (en) * 2013-10-22 2014-01-22 腾讯科技(深圳)有限公司 Method, device and electronic equipment for moving target element
CN104076986A (en) * 2014-07-25 2014-10-01 上海逗屋网络科技有限公司 Touch control method and equipment used for multi-touch screen terminal
CN105194873A (en) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 Information-processing method, terminal and computer storage medium
CN105630350A (en) * 2015-12-17 2016-06-01 网易(杭州)网络有限公司 Virtual role control method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530040A (en) * 2013-10-22 2014-01-22 腾讯科技(深圳)有限公司 Method, device and electronic equipment for moving target element
CN104076986A (en) * 2014-07-25 2014-10-01 上海逗屋网络科技有限公司 Touch control method and equipment used for multi-touch screen terminal
CN105194873A (en) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 Information-processing method, terminal and computer storage medium
CN105630350A (en) * 2015-12-17 2016-06-01 网易(杭州)网络有限公司 Virtual role control method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885417A (en) * 2017-11-03 2018-04-06 腾讯科技(深圳)有限公司 Object localization method, device and computer-readable recording medium in virtual environment
CN107885417B (en) * 2017-11-03 2021-02-02 腾讯科技(深圳)有限公司 Target positioning method, device and computer readable storage medium in virtual environment
CN112698781A (en) * 2017-11-03 2021-04-23 腾讯科技(深圳)有限公司 Target positioning method, device, medium and electronic equipment in virtual environment
CN112698781B (en) * 2017-11-03 2022-06-07 腾讯科技(深圳)有限公司 Target positioning method, device, medium and electronic equipment in virtual environment
CN108196765A (en) * 2017-12-13 2018-06-22 网易(杭州)网络有限公司 Display control method, electronic equipment and storage medium
CN109806579A (en) * 2019-02-01 2019-05-28 网易(杭州)网络有限公司 The control method of virtual objects, device, electronic equipment and storage medium in game

Also Published As

Publication number Publication date
CN106843722B (en) 2019-12-31

Similar Documents

Publication Publication Date Title
CN102622087B (en) Mobile terminal and unlocking method thereof
CN104436657B (en) Game control method, device and electronic equipment
CN105446525B (en) A kind of control method of game role behavior
CN102609185B (en) Comprise computing equipment and the input method thereof of Virtual Controller
ES2617539T3 (en) Graphical user interface for a game system
CN109843399B (en) Apparatus, method and graphical user interface for providing game control
CN103955336B (en) Sensing device and method
CN109224439A (en) The method and device of game aiming, storage medium, electronic device
CN107678647A (en) Virtual shooting main body control method, apparatus, electronic equipment and storage medium
CN107168611A (en) Information processing method, device, electronic equipment and storage medium
CN111840988B (en) Game skill triggering method, game skill triggering device, game client and medium
JP4832824B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
CN106774907A (en) A kind of method and mobile terminal that virtual objects viewing area is adjusted in virtual scene
CN104898953A (en) Touch screen based control method and device
CN106843722A (en) A kind of method of toch control and touch control device for touch control terminal
CN107678663A (en) A kind of method and device for controlling game skill release
US20150253925A1 (en) Display control device, display control method and program
KR101826231B1 (en) Game system and method for attacking coordinate
US20130321322A1 (en) Mobile terminal and method of controlling the same
CN107547738B (en) Prompting method and mobile terminal
JP6470111B2 (en) Game program having message transmission function, message transmission method, and computer terminal with message transmission function
US20210322866A1 (en) Apparatus and method for controlling user interface of computing apparatus
CA2952373A1 (en) Game device, control method and non-transitory computer readable storing media
TWI607789B (en) Interface-program and terminal for performing game by touch input
CN107066138A (en) Signal detection method for preventing mistaken touch in touch system

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