CN105912162A - Method and apparatus for controlling virtual object, and touch control device - Google Patents

Method and apparatus for controlling virtual object, and touch control device Download PDF

Info

Publication number
CN105912162A
CN105912162A CN201610218116.1A CN201610218116A CN105912162A CN 105912162 A CN105912162 A CN 105912162A CN 201610218116 A CN201610218116 A CN 201610218116A CN 105912162 A CN105912162 A CN 105912162A
Authority
CN
China
Prior art keywords
control
touch
virtual objects
surging
virtual
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
CN201610218116.1A
Other languages
Chinese (zh)
Other versions
CN105912162B (en
Inventor
徐子昭
杨青春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201610218116.1A priority Critical patent/CN105912162B/en
Publication of CN105912162A publication Critical patent/CN105912162A/en
Application granted granted Critical
Publication of CN105912162B publication Critical patent/CN105912162B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

The present invention provides a method and apparatus for controlling a virtual object, and a touch control device. The method comprises displaying an operation interface on the touch control device, the operation interface at least comprising a virtual touch control part corresponding to a virtual object and controlling movement of the virtual object; detecting touch control information generated by operation of the virtual touch control part by a user, the touch control information including pressing position and pressing force; and controlling the virtual object to perform corresponding turning and acceleration and deceleration operation according to the pressing position and the pressing force. Through directly integrating the acceleration and deceleration operation with the virtual touch control part controlling the movement direction of the virtual object, the turning, acceleration and deceleration operation of the virtual object can be controlled through operating the virtual touch control part, the operation is visual, rapid and convenient, an acceleration button and a deceleration button are not required to be additionally arranged, screen space is not occupied, and the operation interface is simple and concise.

Description

Control the method for virtual objects, device and touch control device
Technical field
It relates to networking technology area, particularly relate to a kind of control the method for virtual objects, device and Touch control device.
Background technology
In the design of traditional game station (such as street machine, domestic main frame and portable palm machine), game In virtual right for carrier (vehicles such as such as automobile, tank, motor, helicopter) or personage etc. As manipulating, player utilizes finger movement in rocking bar region up and down, and corresponding virtual objects is then Go the adjustment on travel direction according to finger manipulation direction, directly affect the movement of virtual objects in game.
In existing game, the general form using rocking bar to be combined with button realizes the behaviour to virtual objects Control, as it is shown in figure 1, show rocking bar 01, on player's finger passes through on rocking bar in the side of interface The movement of lower left and right, completes the manipulation to carrier moving direction, and accelerate and brake (even virtual objects Starting to stop from a high speed advancing to transfer to) operation is then independently to show with pushbutton type, usually facilitates player Carrying out bimanualness, button shows at opposite side, and wherein button 02 is used for controlling to accelerate, and button 03 is used In controlling brake.The form using rocking bar to be combined with button, additionally arranges control in addition to needs are at rocking bar System accelerate and brake two buttons, in addition it is also necessary to player hands always manipulation rocking bar after, an other hands Click on simultaneously and accelerate and brake, i.e. need player's bimanualness.Increase by two buttons simultaneously and also can affect trip Play interface layout, takies more interface shape.Slip gesture behaviour is used it addition, existing game also has Make rocking bar 01, carry out braking or accelerate operation, as in figure 2 it is shown, grasp with the automobile in advancing to As example, player directly can pass through to slide up realization on automobile and accelerate, and realizes deceleration to gliding or stops Car.Use slip gesture to realize accelerating or braking causing operation to complicate, need player to remember different Gesture operates, and is easy to situation maloperation occur during slip gesture operation rocking bar.
Visible, there is inconvenient player in the existing mode being controlled the movement of virtual objects in game Carry out one-handed performance or easily cause the problem of maloperation, accordingly, it would be desirable to a kind of new control virtual objects Method, device and touch control device.
It is only used for strengthening the reason of background of this disclosure in information above-mentioned disclosed in described background section Solving, therefore it can include not constituting the information to prior art known to persons of ordinary skill in the art.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provide a kind of control virtual objects method, Device and touch control device, to solve the side in prior art being controlled the movement of virtual objects in game There is inconvenient player's one-handed performance or easily cause the technical problem of maloperation in formula.
First aspect according to disclosure embodiment, it is provided that a kind of method controlling virtual objects, is applied to The touch control device of pressure-sensing can be realized, including:
Described touch control device shows an operation interface, described operation interface at least includes that one is virtual Touch-control parts, for corresponding with a virtual objects, and control the movement of described virtual objects;
The touch information that described virtual touch-control parts are operated and produce by detection user, described touch-control is believed Breath comprises pressing position and by surging;
According to described pressing position and described by surging control described virtual objects turn to accordingly with And acceleration and deceleration operation.
According to another embodiment of the disclosure, described virtual touch-control parts include:
Control portion and operating space;Wherein, described control portion is positioned in described operating space in an initial condition Heart position;When user carries out touch control operation, described control portion moves in described operating space.
According to another embodiment of the disclosure, described method also includes:
Detect the first contact;
Judge described first contact whether in the regional extent at original state place, described control portion, if so, Then continue detection the second contact, if it is not, then terminate;
Judge described second contact whether in the regional extent at original state place, described control portion, if so, Then terminate, if it is not, then pass through the described pressing position in response to described virtual touch-control parts and described pressing Dynamics controls described virtual objects and carries out turning to and acceleration and deceleration operation.
According to another embodiment of the disclosure, described method also includes:
Press described in Pan Duaning whether surging is less than a predetermined threshold value, be less than described pre-if described by surging If threshold value, the most described virtual touch-control parts work in the first mode of operation, by response to described virtual tactile The described pressing position of control parts controls described virtual objects and carries out steering operation;
If described pressing dynamics is more than or equal to described predetermined threshold value, the most described virtual touch-control parts are with second Operator scheme works, and controls described virtual by the described pressing position in response to described virtual touch-control parts Object carries out turning to and acceleration and deceleration operation, simultaneously also by response to described in described virtual touch-control parts Angular velocity and the acceleration of acceleration or deceleration that described virtual objects turns to is controlled by surging.
According to another embodiment of the disclosure, the step producing described touch information includes:
Described pressing position is obtained in the position of described operating space, by inspection by detecting described second contact Survey the described second contact size that exerts a force in described operating space and obtain described by surging.
According to another embodiment of the disclosure, described operating space includes accelerating region and deceleration area, described in add Speed district be in described operating space with the direction of advance of described virtual objects region in the same direction, described deceleration area is Region reverse with the direction of advance of described virtual objects in described operating space.
According to another embodiment of the disclosure, described method also includes:
Detect the direction of advance of described virtual objects in real time.
According to another embodiment of the disclosure, when described virtual touch-control parts are with described second operator scheme During work, if described pressing position is in the range of described accelerating region, the most described virtual touch-control parts control Make described virtual objects and be accelerated mobile;If described pressing position is in the range of described deceleration area, Virtual objects described in the most described virtual touch-control component controls carries out slowing down and moves.
According to another embodiment of the disclosure, the described virtual objects of described control carries out acceleration and deceleration operation Step includes:
It is accelerated or the acceleration of movement of slowing down by the surging described virtual objects of calculating according to described, meter Calculation formula is:
α = f * α max F max
Wherein α is described acceleration, αmaxFor peak acceleration, f is described by surging, FmaxFor with Family apply on contact by surging maximum.
According to another embodiment of the disclosure, the described virtual objects of described control carries out the step of steering operation Suddenly include:
Described virtual objects steering angular velocity in turning to moving process is calculated by surging according to described, Computing formula is:
ω = f * ω max F max
Wherein ω is described steering angular velocity, ωmaxFor steering locking angle speed, f is described by surging, FmaxFor user apply on contact by surging maximum;
Controlling described virtual objects according to described steering angular velocity to turn to, reaching steering angle until turning to Till θ '.
According to another embodiment of the disclosure, the calculation procedure of described steering angle θ ' including:
Line according to described second contact with the center of described virtual touch-control parts obtains described second contact Angle theta with X-axis;
Described virtual objects described steering angle θ ' in the scene is obtained according to the conversion of described angle theta.
According to the second aspect of disclosure embodiment, also provide for a kind of device controlling virtual objects, application In realizing the touch control device of pressure-sensing, including:
Display unit, for showing an operation interface, in described operation interface on described touch control device At least include virtual touch-control parts, for corresponding with a virtual objects, and control described virtual objects Movement;
Detector unit, for detect user described virtual touch-control parts are operated and produce touch-control letter Breath, described touch information comprises pressing position and by surging;And
Control unit, for according to described pressing position and described by surging control described virtual objects enter Row turns to and acceleration and deceleration operation accordingly.
According to another embodiment of the disclosure, described virtual touch-control parts include:
Control portion and operating space;Wherein, described control portion is positioned in described operating space in an initial condition Heart position;When user carries out touch control operation, described control portion moves in described operating space.
According to another embodiment of the disclosure, described device also includes contact recognition unit, for basis The contact detected provides corresponding response, and this contact recognition unit includes:
First detection module, for detection the first contact;
First judge module, is used for judging that whether described first contact is at original state place, described control portion Regional extent in, the most then jump to the second detection module, if it is not, then terminate;
Second detection module, for detection the second contact;
Second judge module, is used for judging that whether described second contact is at original state place, described control portion Regional extent in, the most then terminate, if it is not, then by response to the institute of described virtual touch-control parts State pressing position and described control described virtual objects by surging and carry out turning to and acceleration and deceleration operation.
According to another embodiment of the disclosure, described contact recognition unit also includes mode decision module, Described in judging, whether it is less than a predetermined threshold value by surging, is less than described pre-if described by surging If threshold value, the most described virtual touch-control parts work in the first mode of operation, by response to described virtual tactile The described pressing position of control parts controls described virtual objects and carries out steering operation;If it is described by surging More than or equal to described predetermined threshold value, the most described virtual touch-control parts work, in the second mode of operation by sound The described pressing position of virtual touch-control parts described in Ying Yu controls described virtual objects and turns to and add and subtract Speed operation, simultaneously also by described virtual in response to pressing surging control described in described virtual touch-control parts Angular velocity that object turns to and the acceleration of acceleration or deceleration.
According to another embodiment of the disclosure, described detector unit includes:
3rd detection module, for obtaining institute by described second contact of detection in the position of described operating space State pressing position;And
4th detection module, for obtaining by detecting the described second contact size that exerts a force in described operating space To described by surging.
According to another embodiment of the disclosure, described operating space includes accelerating region and deceleration area, described in add Speed district be in described operating space with the direction of advance of described virtual objects region in the same direction, described deceleration area is Region reverse with the direction of advance of described virtual objects in described operating space.
According to another embodiment of the disclosure, described detector unit also includes:
Angle detecting module, for the direction of advance of the described virtual objects of detection in real time.
According to another embodiment of the disclosure, described virtual touch-control parts are with described second operator scheme work When making, described control module includes plus/minus speed module, is used for controlling described virtual objects and accelerates mobile or subtract Speed is mobile, when described plus/minus speed module is used for when described pressing position is in the range of described accelerating region, Virtual objects described in described virtual touch-control component controls is accelerated mobile, and described plus/minus speed module is for working as When described pressing position is in the range of described deceleration area, virtual right described in described virtual touch-control component controls Move as carrying out slowing down.
According to another embodiment of the disclosure, described plus/minus speed module also includes acceleration calculation submodule Block, for being accelerated or the acceleration of movement of slowing down by the surging described virtual objects of calculating according to described, Computing formula is:
α = f * α max F max
Wherein α is described acceleration, αmaxFor peak acceleration, f is described by surging, FmaxFor with Family apply on contact by surging maximum.
According to another embodiment of the disclosure, described control module includes steering module, is used for controlling institute Stating virtual objects to turn to, described steering module includes:
Steering angular velocity calculating sub module, for being turned by the surging described virtual objects of calculating according to described Steering angular velocity in moving process, computing formula is:
ω = f * ω max F max
Wherein ω is described steering angular velocity, ωmaxFor steering locking angle speed, f is described by surging, FmaxFor user apply on contact by surging maximum;
Course changing control submodule, turns to for controlling described virtual objects according to described steering angular velocity, Till turning to and reaching steering angle θ '.
According to the third aspect of disclosure embodiment, also provide for a kind of touch control device, at described touch control device On show an operation interface, described operation interface at least includes virtual touch-control parts, for one Virtual objects is corresponding, and controls the movement of described virtual objects, and this touch control device includes:
Processor;And
For storing the memorizer of described processor executable command;
Wherein, described processor is configured to:
The touch information that described virtual touch-control parts are operated and produce by detection user, described touch-control is believed Breath comprises pressing position and by surging;
According to described pressing position and described by surging control described virtual objects turn to accordingly with And acceleration and deceleration operation.
As shown from the above technical solution, the having the beneficial effects that of the disclosure:
Need not additionally arrange acceleration button and retard button, it is possible to reduce the quantity of button on interface, no Take the space of screen, operation interface can be made the salubriousest succinct.Simultaneously by the most whole for acceleration and deceleration operation Close on the virtual touch-control parts of manipulation virtual objects moving direction, in order to user is only by one void of operation Intend touch-control parts can be achieved with controlling virtual objects complete to turn to, the operation of acceleration and deceleration, order operation is the most straight Seeing, the quickest and convenient, the manipulation that can promote player is experienced.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe , the disclosure can not be limited.
Accompanying drawing explanation
By being considered in conjunction with the accompanying the detailed description of following preferred embodiment of this disclosure, the disclosure each Plant target, feature and advantage will become apparent from.Accompanying drawing is only the exemplary diagram of the disclosure, It is not necessarily drawn to scale.In the accompanying drawings, same reference represents same or similar all the time Parts.
Fig. 1 is that the mode using rocking bar to combine button in related embodiment controls automobile acceleration-deceleration traveling.
Fig. 2 is to use the mode of slip gesture to control automobile acceleration-deceleration in related embodiment to travel.
The steps flow chart of the Fig. 3 a kind of method controlling virtual objects for providing in disclosure embodiment one Figure.
Schematic diagram when Fig. 4 does not deflect for the virtual touch-control parts provided in disclosure embodiment one.
Fig. 5 has schematic diagram during deflection for the virtual touch-control parts provided in disclosure embodiment one.
Fig. 6 is the flow chart of steps that in disclosure embodiment one, detection identifies contact.
Fig. 7 is the schematic diagram not responded to for contact in disclosure embodiment one.
Fig. 8 is the flow chart of steps of step S30 in the method for offer in disclosure embodiment one.
Fig. 9 is the schematic diagram of the angle of the second contact X-axis in disclosure embodiment one.
The schematic diagram of steering angle when Figure 10 is to accelerate in disclosure embodiment one.
The schematic diagram of steering angle when Figure 11 is to slow down in disclosure embodiment one.
Figure 12 is the schematic diagram that in disclosure embodiment one, the accelerating region of virtual rocking bar is accelerated.
Figure 13 is that in disclosure embodiment one, the deceleration area of virtual rocking bar carries out the schematic diagram slowed down.
The schematic diagram of the Figure 14 device controlling virtual objects for providing in disclosure embodiment two.
Figure 15 is the schematic diagram of contact recognition unit in disclosure embodiment two.
Figure 16 is the schematic diagram of detector unit in disclosure embodiment two.
Figure 17 is the schematic diagram of control unit in disclosure embodiment two.
The composition frame chart of the Figure 18 touch control device for providing in disclosure embodiment three.
Detailed description of the invention
Embodiment disclosure feature will describe the most in detail with the exemplary embodiments of advantage.Ying Li Solving, the disclosure can have various changes in different embodiments, and it is all without departing from the disclosure Scope, and explanation therein and accompanying drawing be inherently illustrated as being used, and is not used to limit these public affairs Open.
Feature, structure or characteristic described by the disclosure can be combined in any suitable manner one or In more embodiments.In the following description, it is provided that many details thus be given of this disclosure Fully understanding of embodiment.It will be appreciated, however, by one skilled in the art that the disclosure can be put into practice Technical scheme and do not have in described specific detail one or more, or can use other method, Assembly, material etc..In other cases, it is not shown in detail or describes known features, material or operation To avoid each side of the fuzzy disclosure.
The most exemplarily provide some embodiments of the disclosure.Should be appreciated that reference Embodiment is not limiting as the scope of the present disclosure.It is to say, any example enumerated in this specification is the most not It is restrictive, but be merely exemplary.
In view of the mode that combines with button of rocking bar provided in prior art control the turning to of virtual objects, The operation slowed down and slow down is not easy to player and carries out one-handed performance, or employing is slided based on rocking bar The mode of gesture control the processing ease turning to, slow down and slowing down of virtual objects occur maloperation etc. all Many problems, the disclosure provides one only to show rocking bar, it is not necessary to extra display is accelerated and the side of retard button Formula, it is possible to control the operation turning to, slow down and slowing down of virtual objects based on touch information, simplifies INTERFACE DESIGN and operation, be described in detail in the examples below.
Embodiment one
Providing a kind of method controlling virtual objects in the present embodiment, this Fig. 3 illustrates according to the present embodiment The flow chart of steps of the method controlling virtual objects based on touch information provided, comprises the following steps:
Step S10: show an operation interface on touch control device, at least includes in operation interface that one is empty Intend touch-control parts.
Step S20: the touch information that virtual touch-control parts are operated and produce by detection user, touch-control Information comprises pressing position and by surging.
Step S30: according to pressing position and by surging control virtual objects turn to accordingly and Acceleration and deceleration operate.
As shown in Figure 4, the touch screen of touch control device shows the operation interface of a game, at this Operation interface includes virtual touch-control parts and a virtual objects, this virtual touch-control parts and virtual Object is corresponding, and controls the movement of virtual objects.In the present embodiment, virtual touch-control parts can be Virtual rocking bar, the most Floating virtual rocking bar, virtual objects can be an automobile, thus pass through Control virtual rocking bar to control the movement of automobile.
In the present embodiment, virtual touch-control parts include a control portion and an operating space, as shown in Figure 4, Control portion A is positioned at the center of operating space B in an initial condition, can be by described control portion A just Under beginning state, the region of present position is designated as center, when user carries out touch control operation control portion A for Follow the trail of user contact on touch control device, move in operating space B.Such as, control portion A and operation District B can be expressed as an inner circle and cylindrical, and described control portion A is that virtual rocking bar is (in the diagram with little Circle represents), described operating space B is the chassis (representing by great circle in the diagram) of virtual rocking bar, described The center on the chassis of virtual rocking bar is zero, and the radius of inner circle is r1, the radius of cylindrical is r2, and r1≤r2.Inner circle (the most virtual rocking bar) is used for following the trail of contact, and namely inner circle is along with the movement of user's finger And move.
It addition, as shown in Figure 4, operating space B includes accelerating region B1 and deceleration area B2 two parts, specifically , accelerating region B1 be in operating space with the direction of advance of virtual objects region in the same direction, deceleration area B2 is Region reverse with the direction of advance of virtual objects in operating space.As shown in Figure 4, accelerating region B1 with subtract Speed district B2 can be two parts of area equation, there is a virtual demarcation line (such as Fig. 4 between twoth district Shown in middle dotted line), figure only schematically shows the division of accelerating region and deceleration area, in actual displayed Not this virtual demarcation line.This marginal direction is X-axis, and the moving direction of virtual objects is Y-axis, X-axis is mutually perpendicular to the direction of Y-axis.Also, it should be noted Fig. 4 show virtual objects Very possible is not to advance the most in one direction or mobile, is that direction of advance is probably and is continually changing yet , therefore also need to detect in real time the direction of advance of virtual objects, in order in real time according to the advance side updated To determining demarcation line virtual between accelerating region and deceleration area.
The direction of advance of virtual objects changes, and namely Y direction changes, accordingly, and X The direction of axle changes the most therewith, but remains the vertical relation of X-axis and Y-axis.X-direction Change causes the demarcation line of accelerating region and accelerating region in operating space to produce corresponding change, accelerating region after change The schematic diagram of B1 ' and accelerating region B2 ' is as shown in Figure 5.The wherein virtual touch control part shown in Fig. 4 and Fig. 5 Part and the size of virtual objects and the virtual touch-control parts of actual displayed and the ratio of virtual objects also differ Cause, simply make putting for highlighting virtual touch-control parts and more clearly illustrate accelerating region and accelerating region Greatly, to show explanation.
As a example by the virtual touch-control parts shown in Fig. 4, when it is under original state, inner circle and cylindrical Center overlapping.Afterwards, when user has contact on the touchscreen or produces new contact because of mobile, work Make flow process as shown in Figure 6, as follows:
Step S21: detect the first contact p1, when the finger of user presses screen, at the bottom of virtual rocking bar The center of dish (i.e. cylindrical) is initial point, described first contact p1Coordinate be p1(x, y) (not shown), It is f by surging.
Step S22: judge the first contact p1Whether in center (i.e. institute in an initial condition of control portion In region) in the range of, if the first contact p1In the range of described center, then continue step S23, If the first contact p1Not in the range of described center, then terminate;If namely the first contact p1Fall Outside the scope of described center, it is not responding to the click of user;If the first contact p1Fall in described Within the scope of heart district, but specifically how to respond and also need to determine whether, i.e. continue the contact that detection is new.
Step S23: detect the second contact p2
Step S24: judge the second contact p2Whether in the range of center, if the second contact p2? In the range of described center, then terminate, if the second contact p2Not in the range of described center, Then proceed next step operation.
Although if new contact p have position move (the most described control portion no longer overlaps with center, And be offset with), but do not make described control portion be fully removed the scope of center, then this is touched Point not reaction.Schematic diagram that contact is not responded to as it is shown in fig. 7, then in display, though So can provide the response of this clicking operation of user, i.e. control portion and can follow the trail of finger contact p of user3、p4、p5 Move, but virtual touch-control parts are still within non-operating state, and (finger following user in figure touches Point p3、p4、p5The position of the control portion A of movement is shown in broken lines), namely will not be to virtual objects Mobile generation impact, and in finger contact p3、p4、p5After leaving touch screen, described control portion Still original position be can return to, the center under original state, the most described control portion i.e. returned to A can turn again to center.
In actual use, click on maloperation the most accurately to get rid of touch screen, even if user is touching Contact on screen is moved, and inner circle is followed the trail of contact and is also carried out mobile, but as long as control portion does not remove In the range of center, all do not respond, namely when control portion is located exactly at center or control When but portion processed occurs skew in center is not fully removed center, the most do not provide response, and Only when control portion and center skew occur and be fully removed center, just can be given response with Continue next step judgement.
Step S25: judge whether to press surging f less than predetermined threshold value f1If be less than by surging f Predetermined threshold value f1, the most virtual touch-control parts work in the first mode of operation, i.e. by response to virtual touch-control The pressing position of parts controls virtual objects and carries out steering operation;If pressing surging f more than or equal to presetting Threshold value f1, the most virtual touch-control parts work in the second mode of operation, i.e. by response to virtual touch-control parts Pressing position control virtual objects and carry out turning to and acceleration and deceleration operation, simultaneously also by response to virtual The angular velocity turned to by surging control virtual objects of touch-control parts and the acceleration of acceleration or deceleration. It is to say, be less than predetermined threshold value f by surging f1Time, virtual touch-control parts only do course changing control it With, do not do acceleration and deceleration and be used, be more than or equal to predetermined threshold value f by surging f1Time, virtual touch-control parts Both done course changing control to be used, and done again feed speed control and be used, it is achieved the multi-operation mode of virtual touch-control parts, With the most various operational requirements.
The most virtual touch-control parts are with the first mode of operation or the second mode of operation, in detection contact During generation touch information all: by detecting the second contact p2Pressed in the position of operating space Position, by detecting the second contact p2The size that exerts a force in operating space obtains by surging f.If it is virtual When touch-control parts are with the first mode of operation, then control turning to of virtual objects according only to this pressing position , calculate steering angular velocity according to by surging f simultaneously.If virtual touch-control parts are with the second work During pattern work, then control turning to of virtual objects not only according to this pressing position, simultaneously according to pressing Surging f calculates steering angular velocity and acceleration, judges it is to accelerate or slow down always according to pressing position, Concrete, if pressing position is in the range of accelerating region, the most virtual touch-control component controls virtual objects enters Row accelerates mobile;If pressing position is in the range of deceleration area, the most virtual touch-control component controls is virtual right Moving as carrying out slowing down, the acceleration of acceleration or deceleration is all according to being calculated by surging f.
In the present embodiment, when virtual touch-control parts, in the first mode of operation or the second operator scheme works Time, the steps flow chart of step S30 as shown in Figure 8, controls virtual objects and carries out turning to behaviour in step S30 The step made includes:
Step S31: calculate virtual objects steering angular velocity in steering procedure, meter according to by surging Calculation formula is:
ω = f * ω max F max
Wherein ω is steering angular velocity, ωmaxFor steering locking angle speed, f is by surging, FmaxFor with Family apply on contact by surging maximum.If as a example by method described above is applied in hands trip, touched Control information can by mobile phone 3D Touch API (Application Programming Interface, Application programming interfaces) obtain, thus learn that user's finger is executed on a certain contact on handset touch panel Add by surging f, and press surging f in the range of 0~Fmax, wherein it is used for judging virtual touch control part Predetermined threshold value f of part mode of operation1Can be as required 0~FmaxIn the range of selected.Wherein steering locking angle Speed omegamaxBe a preset value, can according to touch-control parts virtual in concrete game controlled virtual right As and set, such as certain a racing car type game scene in have many automobiles, generally for dissimilar The sensitivity of car course changing control the most not quite identical, it is assumed that game requires the steering sensitivity of automobile A The highest, corresponding ωmaxThe biggest, automobile A is the most flexible when turning to;And automobile B turns to spirit The requirement of sensitivity is the highest, then corresponding ωmaxThe most smaller, automobile B is the most stupid when turning to Heavier, flexible not as good as automobile A.
Step S32: controlling virtual objects according to steering angular velocity and turn to, reaching to turn to until turning to Till the θ ' of angle.
In the present embodiment, before step S32, also include that the step obtaining steering angle is as follows:
First, according to the second contact p2With the center of circle of center (in the most described virtual touch-control parts The heart) line obtain the second contact p2With the angle theta of X-axis, as shown in Figure 9;Afterwards, according to angle theta Conversion obtains virtual objects steering angle θ ' in the scene, as shown in Figure 10.Wherein when angle theta is less than 90 When spending, steering angle θ '=90-θ, when angle theta is more than 90 degree, steering angle θ '=θ-90.Wherein Y-axis positive axis is consistent with the moving direction of virtual objects, as shown in Figure 9 and Figure 10, if the second contact p2The region more than X-axis with the line in the center of circle of center and the angle theta of X-axis, the i.e. second contact p2 In the positive axis of Y-axis, now the second contact p2It is positioned at accelerating region, 0 ° of < θ < 180 °, accordingly, -90 ° of < θ ' < 90 °.Contrary, as shown in figure 11, if the second contact p2With the center of circle of center The angle theta of line and X-axis in X-axis area below, the i.e. second contact p2At the negative semiaxis of Y-axis, this Time the second contact p2It is positioned at deceleration area, 180 ° of < θ < 360 °, accordingly, 90 ° of < θ ' < 270 °.
It should be noted that the steering angle in the present embodiment can be to use in terms of the mode beyond above-mentioned steps Obtain, such as when angle theta is new position with the angle of the line in the center of circle of center and X-axis positive direction, The computing formula of steering angle θ ' changes therewith.
Continue as shown in Figure 8, when virtual touch-control parts work in the second mode of operation, in step S30 Except including that controlling virtual objects carries out the step of steering operation, also includes that controlling virtual objects adds and subtracts The step of speed operation, specifically includes following steps:
Step S33: calculate the acceleration that virtual objects acceleration or deceleration moves according to by surging, calculates Formula is:
α = f * α m a x F max
Wherein α is acceleration, αmaxFor peak acceleration, f is by surging, FmaxFor user in contact Upper applying by surging maximum.
As such, it is possible to distinguish according to the difference of the dynamics value size of user's applying, accelerator is gently stepped on oil Door (i.e. acceleration is less) and the difference of heavily step on the gas (i.e. acceleration is bigger), it is also possible to distinguish Gently touch on the brake (i.e. acceleration is less) and the difference of heavily touch on the brake (i.e. acceleration is bigger).Therefore use Family the most only needs to operate rocking bar, and combine heavily by or the mode of operation of flicking realize with not Step on the gas with dynamics and impression that brake process is brought, significant increase user manipulation body in gaming Testing, Figure 12 and Figure 13 is shown respectively described virtual rocking bar and includes accelerating region and deceleration area, by accordingly Touch control operation realizes the schematic diagram of the acceleration or deceleration of virtual objects in game.
In sum, the method provided by the present embodiment, it is not necessary to additionally arrange outside virtual rocking bar The button accelerated and slow down, it is possible to reduce the quantity of button on interface, is not take up the space of screen, Make the design operating interface the most succinct.It is virtual right by the operation accelerated and slow down is incorporated into manipulation As, on the rocking bar of moving direction, utilizing virtual touch-control parts to can be achieved with controlling virtual objects and complete to turn To, the operation accelerating and slow down, order operation is the most directly perceived, while the quickest and convenient, permissible The manipulation promoting player is experienced.
Embodiment two
Present embodiments provide a kind of device controlling virtual objects, be applied to realize touching of pressure-sensing Control equipment, in order to only just can control virtual objects by virtual rocking bar on operation interface and complete to turn to, add Speed and the operation slowed down.
Figure 14 illustrates the schematic diagram of the device controlling virtual objects that the present embodiment provides, this device 100 Including display unit 110, detector unit 120, control unit 130 and contact recognition unit 140.Display Unit 110 is for showing an operation interface on touch control device, and operation at least includes that one is virtual in interface Touch-control parts, for corresponding with a virtual objects, and control the movement of virtual objects.Detector unit 120 Virtual touch-control parts are operated and the touch information that produces for detecting user, touch information comprise by Press position and press surging.Control unit 130 is for according to pressing position with press surging control virtual right As turning to accordingly and acceleration and deceleration operation.Contact recognition unit 140 is for according to touching of being detected Point provides corresponding response.
As shown in Figure 4, the touch screen of touch control device shows the operation interface of a game, at this Operation interface includes virtual touch-control parts and a virtual objects, this virtual touch-control parts and virtual Object is corresponding, and controls the movement of virtual objects.In the present embodiment, virtual touch-control parts can be Virtual rocking bar, the most Floating virtual rocking bar, virtual objects can be an automobile, thus pass through Control virtual rocking bar to control the movement of automobile.
In the present embodiment, virtual touch-control parts include a control portion and an operating space, as shown in Figure 4, Control portion A is positioned at the center of operating space B in an initial condition, and by described control portion A just Under beginning state, the region of present position is designated as center.When user carries out touch control operation control portion A for Following the trail of user contact on touch control device, in operating space, B moves.Such as, control portion A and operating space B can be expressed as an inner circle and cylindrical, and described control portion A is that virtual rocking bar (uses roundlet in the diagram Represent), described operating space B is the chassis (representing by great circle in the diagram) of virtual rocking bar, virtual shakes The center on the chassis of bar is zero, and the radius of inner circle is r1, the radius of cylindrical is r2, and r1≤r2。 Inner circle (the most virtual rocking bar) is used for following the trail of contact, and namely inner circle moves along with the movement of user's finger.
It addition, as shown in Figure 4, operating space B includes accelerating region B1 and deceleration area B2 two parts, specifically , accelerating region B1 be in operating space with the direction of advance of virtual objects region in the same direction, deceleration area B2 is Region reverse with the direction of advance of virtual objects in operating space.When virtual touch-control is under original state, Inner circle is overlapping with the center A of cylindrical, inner circle region i.e. the center of cylindrical.
In the present embodiment, virtual touch-control parts in working order under, need according to detection and identify touch Point situation of change and operate accordingly, therefore this device also needs to include a contact recognition unit. The schematic diagram of this contact recognition unit 140 as shown in figure 15, including first detection module 141, first Judge module the 142, second detection module the 143, second judge module 144 and mode decision module 145.
First detection module 141 is for detection the first contact p1, when the finger of user presses screen, turn The center changing virtual rocking bar chassis (i.e. cylindrical) into is initial point, the first contact p1Coordinate be p1(x,y) (not shown), is f by surging.First judge module 142 is for judging the first contact p1It is No in the range of center (i.e. region in an initial condition, control portion), if the first contact p1 In the range of center, then jump to the second detection module 143, if the first contact p1Bu center In the range of district, then terminate.Second detection module 143 is for detection the second contact p2.Second judges mould Block 144 for judge the second contact whether in the range of center, if the second contact is in center In the range of, then terminate, if the second contact is not in the range of center, then by touching in response to virtual Control the pressing position of parts and carry out turning to and acceleration and deceleration operation by surging control virtual objects.Pattern For judgement, judge module 145 presses whether surging is less than a predetermined threshold value, if pressing surging less than pre- If threshold value, the most virtual touch-control parts work in the first mode of operation, by response to virtual touch-control parts Pressing position controls virtual objects and carries out steering operation;If pressing dynamics is more than or equal to predetermined threshold value, then Virtual touch-control parts work in the second mode of operation, by the pressing position control in response to virtual touch-control parts Virtual objects processed carries out turning to and acceleration and deceleration operation, simultaneously also by pressing in response to virtual touch-control parts Surging controls angular velocity and the acceleration of acceleration or deceleration that virtual objects turns to.
In the present embodiment, the most virtual touch-control parts are with the first mode of operation or the second mode of operation work Make, the pressing position that obtains all in accordance with detector unit 120 and by the touch information of surging to carry out phase The operation answered controls, and as shown in figure 16, this detector unit 120 includes the composition schematic diagram of detector unit: 3rd detection module the 121, the 4th detection module 122 and angle detecting module 123, the 3rd detection module 121 for by detecting the second contact p2Pressing position is obtained, the 4th detection module in the position of operating space 122 for by detecting the second contact p2The size that exerts a force in operating space obtains by surging f.If it is empty When intending touch-control parts with the first mode of operation, then control turning of virtual objects according only to this pressing position To, calculate steering angle and steering angular velocity according to by surging f simultaneously.If virtual touch-control parts During with the second mode of operation, then control turning to of virtual objects not only according to this pressing position, Calculate steering angle and steering angular velocity according to by surging f simultaneously, judge it is to accelerate always according to pressing position Or slow down, concrete, if pressing position is in the range of accelerating region, the most virtual touch-control component controls Virtual objects is accelerated mobile;If pressing position is in the range of deceleration area, the most virtual touch-control parts Control virtual objects carries out slowing down and moves, and the acceleration of acceleration or deceleration is all to calculate according to by surging f Obtain.The most virtual touch-control parts, with which kind of mode of operation, are required for according to angle detecting module 123 Detect the direction of advance of described virtual objects in real time, in order to determine to accelerate according to the direction of advance updated in real time Demarcation line virtual between district and deceleration area, namely can change rapidly according to the direction of advance of virtual objects Become the operating space accelerating and slowing down.
The touch information obtained according to above-mentioned detector unit 120, control unit 130 operates accordingly Controlling, concrete, as shown in figure 17, this control unit 130 includes adding the schematic diagram of control unit 130 / slowdown module 131 and steering module 132.
When virtual touch-control parts work in the first mode of operation, owing to only doing steering operation, do not do acceleration and deceleration Operation, the most only controls virtual objects by steering module 132 and turns to, as shown in figure 16, and this turn Include steering angular velocity calculating sub module 1321 and course changing control submodule 1322 to module 132, turn to Turn meter operator module 1321 is for calculating virtual objects in turning to moving process according to by surging Steering angular velocity, computing formula is:
ω = f * ω max F max
Wherein ω is steering angular velocity, ωmaxFor steering locking angle speed, f is by surging, FmaxFor with Family apply on contact by surging maximum.Wherein steering locking angle speed omegamaxIt is a preset value, The virtual objects that can be controlled according to touch-control parts virtual in concrete game and set, such as certain is a The scene of racing car type game there are many automobiles, generally for the sensitivity of different types of car course changing control The most not quite identical, it is assumed that game to require, the steering sensitivity of automobile A is higher, corresponding ωmaxJust Bigger, automobile A is the most flexible when turning to;And the requirement of automobile B steering sensitivity is the highest, Then corresponding ωmaxThe most smaller, automobile B is the heaviest when turning to, not as good as automobile A spirit Live.
Course changing control submodule 1322 turns to for controlling virtual objects according to steering angular velocity, until Turning to till reaching steering angle θ ', the mode obtaining this steering angle refers to embodiment one and Fig. 9-Figure 11 Shown in, here is omitted.
When virtual touch-control parts work in the second mode of operation, not only do diversion treatments, always according to pressing position Putting and carry out corresponding acceleration and deceleration operation at accelerating region or deceleration area, therefore this control unit 130 includes Plus/minus speed module 131, as shown in figure 17, this plus/minus speed module 131 includes feed speed control submodule 1311 and accelerometer operator module 1312, feed speed control submodule 1311 is for existing when pressing position Time in the range of accelerating region, virtual touch-control component controls virtual objects is accelerated mobile, be additionally operable to when by When pressure position is in the range of deceleration area, virtual touch-control component controls virtual objects carries out slowing down and moves.Add Speed calculation submodule 1312 is for being accelerated or slow down movement according to calculating virtual objects by surging Acceleration, computing formula is:
α = f * α max F max
Wherein α is acceleration, αmaxFor peak acceleration, f is by surging, FmaxFor user in contact Upper applying by surging maximum.
In sum, this device goes for hands trip terminal, can be big according to the dynamics value of user's applying Little difference is distinguished in accelerator gently to step on the gas (i.e. acceleration is less) and heavily step on the gas and (is i.e. added Speed is bigger) difference, it is also possible to distinguish and gently touch on the brake (i.e. acceleration is less) and heavily touch on the brake The difference of (i.e. acceleration is bigger).Therefore user the most only needs to operate rocking bar, and combines Heavily by or the mode of operation of flicking realize the sense stepped on the gas and brake process is brought by different dynamics Being subject to, significant increase user manipulation in gaming is experienced.Need not, acceleration button is additionally set and deceleration is pressed Button, it is possible to reduce the quantity of button on interface, is not take up the space of screen, can make operation interface more Salubrious succinct.Acceleration and deceleration operation is integrated directly on the rocking bar on manipulation carrier direction, profit simultaneously Can be achieved with controlling virtual objects with a rocking bar as virtual touch-control parts to complete to turn to, accelerate and subtract The operation of speed, order operation is the most directly perceived, the quickest and convenient, can promote the manipulation of player Experience.
Embodiment three
Thering is provided a kind of touch control device in the present embodiment, as shown in figure 18, this touch control device 1000 has one Touch screen 1010, touch screen 1010 shows an operation interface, at least includes that one is empty in operation interface The virtual objects 1012 intended corresponding to touch-control parts 1011 and virtual touch-control parts and control, virtual tactile Control parts 1011 control the movement of virtual objects 1012.This touch control device can be smart machine, such as Can be mobile phone, except touch screen, this mobile terminal 1000 includes processor 1020 and for storing The memorizer 1030 of processor device executable command.
Wherein, processor is configured to: what virtual touch-control parts were operated and produced by detection user touches Control information, touch information comprises pressing position and by surging;According to pressing position and press surging control Virtual objects turns to and acceleration and deceleration operation accordingly.
In the exemplary embodiment, mobile terminal can be by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), can compile Journey logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, micro- Processor or other electronic components realize, and are used for performing said method.
Memorizer can be real by any kind of volatibility or non-volatile memory device or combinations thereof Existing, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
Accordingly, the present invention also provides for a kind of non-transitory computer-readable recording medium, such as, include referring to The memorizer of order, above-mentioned instruction can be performed by the processor of device to complete said method.Such as, described Non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..When the instruction in described storage medium is by end When the processor of end performs so that terminal is able to carry out above-mentioned feedback method.
Mobile terminal can operate based on the operating system being stored in memorizer, such as Windows Server TM, Mac OS XTM, Unix TM, Linux TM, Free BSDTM or similar.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that described herein Example embodiment can be realized by software, it is also possible to comes by the way of software combines necessary hardware Realize.Therefore, can embody with the form of software product according to the technical scheme of disclosure embodiment Come, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk, Portable hard drive etc.) in or network on, including some instructions so that calculating equipment (can be individual Computer, server, mobile terminal or the network equipment etc.) perform according to disclosure embodiment Method.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to this Other embodiment disclosed.The application is intended to any modification, purposes or the adaptability of the disclosure Change, these modification, purposes or adaptations are followed the general principle of the disclosure and include these public affairs Open undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by Being considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure be not limited to described above and illustrated in the accompanying drawings accurately Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute Attached claim limits.

Claims (22)

1. the method controlling virtual objects, is applied to realize the touch control device of pressure-sensing, its It is characterised by, including:
Described touch control device shows an operation interface, described operation interface at least including, one is empty Intend touch-control parts, for corresponding with a virtual objects, and control the movement of described virtual objects;
The touch information that described virtual touch-control parts are operated and produce by detection user, described touch-control Information comprises pressing position and by surging;
According to described pressing position and described by surging control described virtual objects turn to accordingly And acceleration and deceleration operation.
Method the most according to claim 1, it is characterised in that described virtual touch-control parts include:
Control portion and operating space;Wherein, described control portion is positioned at described operating space in an initial condition Center;When user carries out touch control operation, described control portion moves in described operating space.
3. want the method described in 2 according to right, it is characterised in that described method also includes:
Detect the first contact;
Judge described first contact whether in the regional extent at original state place, described control portion, if It is then to continue detection the second contact;If it is not, then terminate;
Judge described second contact whether in the regional extent at original state place, described control portion, if It is then to terminate;If it is not, then pass through the described pressing position in response to described virtual touch-control parts and institute State and carry out turning to and acceleration and deceleration operation by the surging described virtual objects of control.
4. want the method described in 3 according to right, it is characterised in that described method also includes:
Press described in Pan Duaning whether surging is less than a predetermined threshold value, be less than described if described by surging Predetermined threshold value, the most described virtual touch-control parts work in the first mode of operation, by response to described void The described pressing position described virtual objects of control intending touch-control parts carries out steering operation;
If described pressing dynamics is more than or equal to described predetermined threshold value, the most described virtual touch-control parts are with the Two operator scheme work, by controlling described in response to the described pressing position of described virtual touch-control parts Virtual objects carries out turning to and acceleration and deceleration operation, simultaneously also by response to described virtual touch-control parts Described control the angular velocity that turns to of described virtual objects and the acceleration of acceleration or deceleration by surging Degree.
Method the most according to claim 3, it is characterised in that produce the step of described touch information Suddenly include:
Obtain described pressing position by detecting described second contact in the position of described operating space, pass through Detect the described second contact size that exerts a force in described operating space and obtain described by surging.
Method the most according to claim 4, it is characterised in that described operating space includes accelerating region And deceleration area, described accelerating region be in described operating space with the direction of advance of described virtual objects in the same direction Region, described deceleration area is region reverse with the direction of advance of described virtual objects in described operating space.
Method the most according to claim 6, it is characterised in that described method also includes:
Detect the direction of advance of described virtual objects in real time.
Method the most according to claim 6, it is characterised in that when described virtual touch-control parts with During described second operator scheme work, if described pressing position is in the range of described accelerating region, then Virtual objects described in described virtual touch-control component controls is accelerated mobile;If described pressing position exists In the range of described deceleration area, virtual objects described in the most described virtual touch-control component controls carries out slowing down and moves Dynamic.
Method the most according to claim 8, it is characterised in that the described virtual objects of described control The step carrying out acceleration and deceleration operation includes:
It is accelerated or the acceleration of movement of slowing down by the surging described virtual objects of calculating according to described, Computing formula is:
α = f * α max F max
Wherein α is described acceleration, αmaxFor peak acceleration, f is described by surging, FmaxFor with Family apply on contact by surging maximum.
Method the most according to claim 3, it is characterised in that described control is described virtual right Include as carrying out the step of steering operation:
Described virtual objects steering angle speed in turning to moving process is calculated by surging according to described Degree, computing formula is:
ω = f * ω max F max
Wherein ω is described steering angular velocity, ωmaxFor steering locking angle speed, f is described by surging, FmaxFor user apply on contact by surging maximum;
Controlling described virtual objects according to described steering angular velocity to turn to, reaching to turn to until turning to Till the θ ' of angle.
11. methods according to claim 10, it is characterised in that the calculating of described steering angle θ ' Step includes:
Line according to described second contact with the center of described virtual touch-control parts obtains described second and touches Put the angle theta with X-axis;
Described virtual objects described steering angle θ ' in the scene is obtained according to the conversion of described angle theta.
12. 1 kinds of devices controlling virtual objects, are applied to realize the touch control device of pressure-sensing, It is characterized in that, including:
Display unit, for showing an operation interface, described operation interface on described touch control device In at least include virtual touch-control parts, for corresponding with a virtual objects, and control described virtual The movement of object;
Described virtual touch-control parts are operated and the touch-control that produces by detector unit for detecting user Information, described touch information comprises pressing position and by surging;And
Control unit, for according to described pressing position and described by surging control described virtual objects Turn to accordingly and acceleration and deceleration operation.
13. devices according to claim 12, it is characterised in that described virtual touch-control parts bag Include:
Control portion and operating space;Wherein, described control portion is positioned at described operating space in an initial condition Center;When user carries out touch control operation, described control portion moves in described operating space.
14. devices according to claim 13, it is characterised in that described device also includes contact Recognition unit, for providing corresponding response according to the contact detected, this contact recognition unit includes:
First detection module, for detection the first contact;
First judge module, is used for judging that whether described first contact is in original state institute of described control portion Regional extent in, the most then jump to the second detection module, if it is not, then terminate;
Second detection module, for detection the second contact;
Second judge module, is used for judging that whether described second contact is in original state institute of described control portion Regional extent in, the most then terminate, if it is not, then by response to described virtual touch-control parts Described pressing position and described control described virtual objects by surging and carry out turning to and acceleration and deceleration behaviour Make.
15. devices according to claim 14, it is characterised in that described contact recognition unit is also Including mode decision module, be used for judging described by surging whether less than a predetermined threshold value, if institute Stating by surging less than described predetermined threshold value, the most described virtual touch-control parts work in the first mode of operation, Turn to by controlling described virtual objects in response to the described pressing position of described virtual touch-control parts Operation;If described pressing dynamics is more than or equal to described predetermined threshold value, the most described virtual touch-control parts with Second operator scheme work, controls institute by the described pressing position in response to described virtual touch-control parts State virtual objects to carry out turning to and acceleration and deceleration operation, simultaneously also by response to described virtual touch control part The described of part is controlled angular velocity and the acceleration of acceleration or deceleration that described virtual objects turns to by surging Degree.
16. devices according to claim 14, it is characterised in that described detector unit includes:
3rd detection module, for obtaining in the position of described operating space by described second contact of detection Described pressing position;And
4th detection module, for exerting a force size by detecting described second contact in described operating space Obtain described by surging.
17. devices according to claim 15, it is characterised in that described operating space includes accelerating District and deceleration area, described accelerating region be in described operating space with the direction of advance of described virtual objects in the same direction Region, described deceleration area is district reverse with the direction of advance of described virtual objects in described operating space Territory.
18. devices according to claim 17, it is characterised in that described detector unit also includes:
Angle detecting module, for the direction of advance of the described virtual objects of detection in real time.
19. devices according to claim 17, it is characterised in that described virtual touch-control parts with During described second operator scheme work, described control module includes plus/minus speed module, is used for controlling described Virtual objects accelerates mobile or slows down mobile;
Described plus/minus speed module is for when described pressing position is in the range of described accelerating region, described Virtual objects described in virtual touch-control component controls is accelerated mobile, is additionally operable to when described pressing position exists Time in the range of described deceleration area, virtual objects described in described virtual touch-control component controls carries out slowing down and moves Dynamic.
20. devices according to claim 17, it is characterised in that in described plus/minus speed module also Including accelerometer operator module, for adding by the surging described virtual objects of calculating according to described Speed or the acceleration of movement of slowing down, computing formula is:
α = f * α max F max
Wherein α is described acceleration, αmaxFor peak acceleration, f is described by surging, FmaxFor with Family apply on contact by surging maximum.
21. devices according to claim 13, it is characterised in that described control module includes turning To module, being used for controlling described virtual objects and turn to, described steering module includes:
Steering angular velocity calculating sub module, for existing by the surging described virtual objects of calculating according to described Turning to the steering angular velocity in moving process, computing formula is:
ω = f * ω max F max
Wherein ω is described steering angular velocity, ωmaxFor steering locking angle speed, f is described by surging, FmaxFor user apply on contact by surging maximum;
Course changing control submodule, carries out turning for controlling described virtual objects according to described steering angular velocity To, till turning to and reaching steering angle θ '.
22. 1 kinds of touch control devices, show an operation interface, described operation on described touch control device Interface at least includes virtual touch-control parts, for corresponding with a virtual objects, and controls described The movement of virtual objects, it is characterised in that this touch control device includes:
Processor;And
For storing the memorizer of described processor executable command;
Wherein, described processor is configured to:
The touch information that described virtual touch-control parts are operated and produce by detection user, described touch-control Information comprises pressing position and by surging;
According to described pressing position and described by surging control described virtual objects turn to accordingly And acceleration and deceleration operation.
CN201610218116.1A 2016-04-08 2016-04-08 Control the method, apparatus and touch control device of virtual objects Active CN105912162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610218116.1A CN105912162B (en) 2016-04-08 2016-04-08 Control the method, apparatus and touch control device of virtual objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610218116.1A CN105912162B (en) 2016-04-08 2016-04-08 Control the method, apparatus and touch control device of virtual objects

Publications (2)

Publication Number Publication Date
CN105912162A true CN105912162A (en) 2016-08-31
CN105912162B CN105912162B (en) 2018-11-20

Family

ID=56745865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610218116.1A Active CN105912162B (en) 2016-04-08 2016-04-08 Control the method, apparatus and touch control device of virtual objects

Country Status (1)

Country Link
CN (1) CN105912162B (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648390A (en) * 2016-12-05 2017-05-10 网易(杭州)网络有限公司 Control instruction generation method and device, and mobile terminal
CN106843676A (en) * 2016-12-26 2017-06-13 上海莉莉丝网络科技有限公司 For the method for toch control and touch control device of touch terminal
CN106861186A (en) * 2017-01-24 2017-06-20 腾讯科技(深圳)有限公司 Object control method and apparatus in game application
CN107008003A (en) * 2017-04-13 2017-08-04 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium
CN107019909A (en) * 2017-04-13 2017-08-08 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium
CN107132988A (en) * 2017-06-06 2017-09-05 网易(杭州)网络有限公司 Virtual objects condition control method, device, electronic equipment and storage medium
WO2018077250A1 (en) * 2016-10-27 2018-05-03 中兴通讯股份有限公司 Method and apparatus for determining motion parameters
CN108379843A (en) * 2018-03-16 2018-08-10 网易(杭州)网络有限公司 virtual object control method and device
CN108434733A (en) * 2018-03-28 2018-08-24 网易(杭州)网络有限公司 The method for control speed and device of game object
CN108525295A (en) * 2018-04-18 2018-09-14 网易(杭州)网络有限公司 The method for control speed and device of virtual objects
CN108536353A (en) * 2018-03-23 2018-09-14 网易(杭州)网络有限公司 interface display control method, device and storage medium
CN108635841A (en) * 2018-03-27 2018-10-12 网易(杭州)网络有限公司 The method and device of carrier is controlled in a kind of race games
CN108693990A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 A kind of terminal touch screen exchange method and device
CN108721893A (en) * 2018-03-27 2018-11-02 网易(杭州)网络有限公司 Control method, device and the computer readable storage medium of virtual carrier in game
CN108744527A (en) * 2018-03-27 2018-11-06 网易(杭州)网络有限公司 Control method, device and the computer readable storage medium of virtual carrier in game
WO2018201357A1 (en) * 2017-05-03 2018-11-08 深圳二郎神工业设计有限公司 Control module and remote controller for pressure-sensing touch control and high-precision input control
CN108905198A (en) * 2018-06-04 2018-11-30 网易(杭州)网络有限公司 A kind of control method and device of virtual objects jump
CN109107151A (en) * 2018-06-22 2019-01-01 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment, storage medium
CN109254546A (en) * 2018-08-13 2019-01-22 瑞声科技(新加坡)有限公司 Virtual car Engine Control System and method
CN109316745A (en) * 2018-10-12 2019-02-12 网易(杭州)网络有限公司 Virtual objects motion control method and device, electronic equipment, storage medium
CN109407959A (en) * 2018-10-31 2019-03-01 腾讯科技(深圳)有限公司 Virtual object control method, equipment and storage medium in virtual scene
CN109491579A (en) * 2017-09-12 2019-03-19 腾讯科技(深圳)有限公司 The method and apparatus that virtual objects are manipulated
CN109491586A (en) * 2018-11-14 2019-03-19 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment, storage medium
CN110597449A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Prop using method, device, terminal and storage medium based on virtual environment
WO2020052378A1 (en) * 2018-09-14 2020-03-19 腾讯科技(深圳)有限公司 Object control method and apparatus, storage medium and electronic apparatus
CN111104021A (en) * 2019-12-19 2020-05-05 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN111469908A (en) * 2020-03-23 2020-07-31 浙江吉利汽车研究院有限公司 Touch control steering wheel, control method and automobile

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105327506A (en) * 2015-10-14 2016-02-17 网易(杭州)网络有限公司 Game role controlling method and device
US20160085334A1 (en) * 2014-09-23 2016-03-24 Innolux Corporation Touch-sensing device
CN105446525A (en) * 2015-11-10 2016-03-30 网易(杭州)网络有限公司 Method for controlling behavior of game role

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085334A1 (en) * 2014-09-23 2016-03-24 Innolux Corporation Touch-sensing device
CN105327506A (en) * 2015-10-14 2016-02-17 网易(杭州)网络有限公司 Game role controlling method and device
CN105446525A (en) * 2015-11-10 2016-03-30 网易(杭州)网络有限公司 Method for controlling behavior of game role

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018077250A1 (en) * 2016-10-27 2018-05-03 中兴通讯股份有限公司 Method and apparatus for determining motion parameters
CN106648390A (en) * 2016-12-05 2017-05-10 网易(杭州)网络有限公司 Control instruction generation method and device, and mobile terminal
CN106843676B (en) * 2016-12-26 2019-12-31 上海莉莉丝网络科技有限公司 Touch control method and touch control device for touch terminal
CN106843676A (en) * 2016-12-26 2017-06-13 上海莉莉丝网络科技有限公司 For the method for toch control and touch control device of touch terminal
CN106861186A (en) * 2017-01-24 2017-06-20 腾讯科技(深圳)有限公司 Object control method and apparatus in game application
CN106861186B (en) * 2017-01-24 2019-01-22 腾讯科技(深圳)有限公司 Object control method and apparatus in game application
WO2018137433A1 (en) * 2017-01-24 2018-08-02 腾讯科技(深圳)有限公司 Object control method and device for game application, storage medium, and electronic device
CN108693990A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 A kind of terminal touch screen exchange method and device
CN107008003A (en) * 2017-04-13 2017-08-04 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium
CN107019909A (en) * 2017-04-13 2017-08-08 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium
CN107008003B (en) * 2017-04-13 2020-08-14 网易(杭州)网络有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium
WO2018201357A1 (en) * 2017-05-03 2018-11-08 深圳二郎神工业设计有限公司 Control module and remote controller for pressure-sensing touch control and high-precision input control
CN107132988B (en) * 2017-06-06 2019-11-05 网易(杭州)网络有限公司 Virtual objects condition control method, device, electronic equipment and storage medium
CN107132988A (en) * 2017-06-06 2017-09-05 网易(杭州)网络有限公司 Virtual objects condition control method, device, electronic equipment and storage medium
US10946277B2 (en) 2017-09-12 2021-03-16 Tencent Technology (Shenzhen) Company Limited Method and apparatus for controlling virtual object, and storage medium
CN109491579B (en) * 2017-09-12 2021-08-17 腾讯科技(深圳)有限公司 Method and device for controlling virtual object
US11400368B2 (en) 2017-09-12 2022-08-02 Tencent Technology (Shenzhen) Company Limited Method and apparatus for controlling virtual object, and storage medium
CN109491579A (en) * 2017-09-12 2019-03-19 腾讯科技(深圳)有限公司 The method and apparatus that virtual objects are manipulated
CN108379843A (en) * 2018-03-16 2018-08-10 网易(杭州)网络有限公司 virtual object control method and device
CN108536353A (en) * 2018-03-23 2018-09-14 网易(杭州)网络有限公司 interface display control method, device and storage medium
CN108536353B (en) * 2018-03-23 2020-06-16 网易(杭州)网络有限公司 Interface display control method, device and storage medium
CN108744527A (en) * 2018-03-27 2018-11-06 网易(杭州)网络有限公司 Control method, device and the computer readable storage medium of virtual carrier in game
CN108721893B (en) * 2018-03-27 2022-03-04 网易(杭州)网络有限公司 Method and device for controlling virtual carrier in game and computer readable storage medium
CN108744527B (en) * 2018-03-27 2021-11-12 网易(杭州)网络有限公司 Method and device for controlling virtual carrier in game and computer readable storage medium
CN108635841B (en) * 2018-03-27 2021-08-10 网易(杭州)网络有限公司 Method and device for controlling carrier in racing game
CN108635841A (en) * 2018-03-27 2018-10-12 网易(杭州)网络有限公司 The method and device of carrier is controlled in a kind of race games
CN108721893A (en) * 2018-03-27 2018-11-02 网易(杭州)网络有限公司 Control method, device and the computer readable storage medium of virtual carrier in game
CN108434733A (en) * 2018-03-28 2018-08-24 网易(杭州)网络有限公司 The method for control speed and device of game object
CN108525295A (en) * 2018-04-18 2018-09-14 网易(杭州)网络有限公司 The method for control speed and device of virtual objects
CN108905198A (en) * 2018-06-04 2018-11-30 网易(杭州)网络有限公司 A kind of control method and device of virtual objects jump
CN109107151A (en) * 2018-06-22 2019-01-01 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment, storage medium
WO2020034692A1 (en) * 2018-08-13 2020-02-20 瑞声声学科技(深圳)有限公司 Virtual vehicle engine control system and method
CN109254546A (en) * 2018-08-13 2019-01-22 瑞声科技(新加坡)有限公司 Virtual car Engine Control System and method
WO2020052378A1 (en) * 2018-09-14 2020-03-19 腾讯科技(深圳)有限公司 Object control method and apparatus, storage medium and electronic apparatus
US11358056B2 (en) 2018-09-14 2022-06-14 Tencent Technology (Shenzhen) Company Limited Method, device, and storage medium for controlling object
CN109316745B (en) * 2018-10-12 2022-05-31 网易(杭州)网络有限公司 Virtual object motion control method and device, electronic equipment and storage medium
CN109316745A (en) * 2018-10-12 2019-02-12 网易(杭州)网络有限公司 Virtual objects motion control method and device, electronic equipment, storage medium
CN109407959B (en) * 2018-10-31 2020-11-10 腾讯科技(深圳)有限公司 Virtual object control method, device and storage medium in virtual scene
CN109407959A (en) * 2018-10-31 2019-03-01 腾讯科技(深圳)有限公司 Virtual object control method, equipment and storage medium in virtual scene
CN109491586A (en) * 2018-11-14 2019-03-19 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment, storage medium
CN110597449A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Prop using method, device, terminal and storage medium based on virtual environment
CN111104021A (en) * 2019-12-19 2020-05-05 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN111469908A (en) * 2020-03-23 2020-07-31 浙江吉利汽车研究院有限公司 Touch control steering wheel, control method and automobile
CN111469908B (en) * 2020-03-23 2022-10-18 浙江吉利汽车研究院有限公司 Touch control steering wheel, control method and automobile

Also Published As

Publication number Publication date
CN105912162B (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN105912162A (en) Method and apparatus for controlling virtual object, and touch control device
EP3000013B1 (en) Interactive multi-touch remote control
CN102591450B (en) Information processing apparatus and operation method thereof
US20140098038A1 (en) Multi-function configurable haptic device
CN104071097B (en) Input apparatus, input method, and input program
JP5617783B2 (en) Operation input device and control system for vehicle
CN103492987A (en) Method and apparatus for providing a user interface, in particular in a vehicle
US10821831B2 (en) Method for interacting with image contents displayed on a display device in a transportation vehicle
CN108553892B (en) Virtual object control method and device, storage medium and electronic equipment
US20130111403A1 (en) In-vehicle display apparatus
CN108939546B (en) Virtual object drift control method and device, electronic device and storage medium
GB2502178A (en) Touch screen with means to compensate for the acceleration movements of the host device.
KR20070072754A (en) System and method for user interface
CN102460369B (en) For showing the method and apparatus of the information being ranked into list
JP2016218774A (en) program
CN108744527B (en) Method and device for controlling virtual carrier in game and computer readable storage medium
CN111497611A (en) Vehicle interaction method and device
CN108905198A (en) A kind of control method and device of virtual objects jump
JP2009009252A (en) Touch type input device
US20200050348A1 (en) Touch-type input device and operation detection method
JP2013257775A (en) Touch sensor
CN108635841B (en) Method and device for controlling carrier in racing game
CN101561723A (en) Operation gesture of virtual game
CN110297587A (en) The control method and device of onboard navigation system
WO2015083264A1 (en) Display control device, and display control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant