CN105739855A - Virtual object motion control method and apparatus - Google Patents

Virtual object motion control method and apparatus Download PDF

Info

Publication number
CN105739855A
CN105739855A CN201610044352.6A CN201610044352A CN105739855A CN 105739855 A CN105739855 A CN 105739855A CN 201610044352 A CN201610044352 A CN 201610044352A CN 105739855 A CN105739855 A CN 105739855A
Authority
CN
China
Prior art keywords
external force
virtual objects
surging
pressure range
pressing operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610044352.6A
Other languages
Chinese (zh)
Other versions
CN105739855B (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 CN201610044352.6A priority Critical patent/CN105739855B/en
Publication of CN105739855A publication Critical patent/CN105739855A/en
Application granted granted Critical
Publication of CN105739855B publication Critical patent/CN105739855B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Abstract

The invention relates to a virtual object motion control method and apparatus. The method comprises the steps of controlling a display region of a touch device to display an operation interface, wherein the operation interface at least comprises a force storage control region; periodically detecting a pressing operation of the force storage control region and obtaining a duration of the pressing operation and pressing force of the pressing operation; when the duration of the pressing operation does not exceed a preset time threshold, determining external force to be applied to a virtual object according to the pressing force of the pressing operation; when the duration of the pressing operation exceeds the preset time threshold, determining the external force to be applied to the virtual object according to the pressing force and duration of the pressing operation; and applying the determined external force to the virtual object to change the motion of the virtual object. According to the method and apparatus, the motion of the virtual object is controlled according to the pressing force of the pressing operation, so that the feedback effect is more consistent with the user expected effect.

Description

Virtual objects motion control method and device
Technical field
It relates to human-computer interaction technique field, in particular to a kind of virtual objects motion control method and virtual objects motion control device.
Background technology
Along with the fast development of mobile communication technology, touch control terminal occurs in that application of more and more playing.In the running of game application, various game objects are shown by touch control terminal according to certain layout, in order to present scene of game to user and provide game operation interface.
In touch control terminal game application, the game application of sports class is liked by substantial amounts of player.In the game application of a lot of sports classes, all can there is a need to the operation of storage power.In prior art, carry out storage power control generally by click or length by storing power control area, and then by the strength put aside, the motion of virtual objects is controlled.
With reference to shown in Fig. 1, in the sport game application such as winning eleven, can grow in operation interface 10 makes athlete carry out storage power by storage power control area 101, and then athlete acts on virtual objects 102 (football) with the strength of savings, thus changing the motion of virtual objects 102, control the track of virtual objects 102 motion;Such as, shooting action, passing etc. all need to carry out storage power operation by the way.
But, judge the technical scheme of the storage power size that virtual objects 102 is to be applied above by the time length clicked, it is difficult to realize the control of fast accurate, it is impossible to reduction is true stores power effect.
It should be noted that in information disclosed in above-mentioned background section only for strengthening the understanding of background of this disclosure, therefore can include not constituting the information to prior art known to persons of ordinary skill in the art.
Summary of the invention
For subproblem of the prior art or whole issue, the disclosure provides a kind of virtual objects motion control method and virtual objects motion control device.
First aspect according to disclosure embodiment, it is provided that a kind of virtual objects motion control method, including:
The viewing area controlling described touch control device shows an operation interface, at least includes a storage power control area in described operation interface;
Periodically detect the pressing operation of described storage power control area, and obtain persistent period of described pressing operation and described pressing operation by surging;
The persistent period of described pressing operation less than a preset time threshold time, determine, by surging, the external force that a virtual objects is to be applied according to described pressing operation;
When the persistent period of described pressing operation exceedes described preset time threshold, determine, by surging and persistent period, the external force that described virtual objects is to be applied according to described pressing operation;
The described external force applying to determine to described virtual objects is to change the motion of described virtual objects.
In a kind of exemplary embodiment of the disclosure, described determine that the external force to described virtual objects is to be applied includes according to described pressing operation by surging:
It is in the first pressure range, the second pressure range or the 3rd pressure range by surging described in judging;In described first pressure range, maximum is less than minima in the second pressure range, and in described second pressure range, maximum is less than minima in the 3rd pressure range;
Described be in described first pressure range by surging time, it is determined that be the first external force to the external force that described virtual objects is to be applied;
Described be in described second pressure range by surging time, it is determined that be the second external force to the external force that described virtual objects is to be applied;Described second external force is more than described first external force;
Described be in described three pressure range by surging time, it is determined that be the 3rd external force to the external force that described virtual objects is to be applied;Described 3rd external force is more than described second external force.
In a kind of exemplary embodiment of the disclosure, described determine that the external force to described virtual objects is to be applied includes according to described pressing operation by surging and persistent period:
According to formula FT=FT-1+FxK determines the external force that described virtual objects is to be applied;
Wherein, FTThe external force described to be applied determined in the detection cycle, F is operated for current pressT-1For the external force described to be applied determined in the previous pressing operation detection cycle, k is constant;
Operate in the detection cycle at current press, described when being in described first pressure range by surging, FxFor described first external force;Described when being in described second pressure range by surging, FxFor described second external force;Described when being in described three pressure range by surging, FxFor described 3rd external force.
In a kind of exemplary embodiment of the disclosure, described determine that the external force to described virtual objects is to be applied includes according to described pressing operation by surging and persistent period:
According to formula F1=F0+F0T k determines the external force that described virtual objects is to be applied;
Wherein, F1For the external force described to be applied determined, k is constant, and t is the duration that described pressing operation is lasting after described preset time threshold;
In described preset time threshold, described when being in described first pressure range by surging, F0For described first external force;Described when being in described second pressure range by surging, F0For described second external force;Described when being in described three pressure range by surging, F0For described 3rd external force.
In a kind of exemplary embodiment of the disclosure, also including storage power viewing area in described operation interface, described virtual objects motion control method also includes:
Control described storage power viewing area and show different marks, to represent the external force that described virtual objects is to be applied currently determined.
In a kind of exemplary embodiment of the disclosure, described virtual objects motion control method also includes:
Judge whether the external force described to be applied currently determined reaches one and preset external force threshold value, and when judging that the external force described to be applied currently determined reaches described default external force threshold value, be not further added by the external force that described virtual objects is to be applied.
Second aspect according to disclosure embodiment, additionally provides a kind of virtual objects motion control device, is applied to realize the touch control device of pressure-sensing;Described virtual objects motion control device includes:
Presenting module, the viewing area for controlling described touch control device shows an operation interface, at least includes a storage power control area in described operation interface;
Detecting module, for periodically detecting the pressing operation of described storage power control area, and obtain persistent period of described pressing operation and described pressing operation by surging;
First external force determines module, for the persistent period of described pressing operation less than a preset time threshold time, determine, by surging, the external force that a virtual objects is to be applied according to described pressing operation;
Second external force determines module, for when the persistent period of described pressing operation exceedes described preset time threshold, determines, by surging and persistent period, the external force that described virtual objects is to be applied according to described pressing operation;
Motion-control module, the described external force being used for applying to determine to described virtual objects is to change the motion of described virtual objects.
In a kind of exemplary embodiment of the disclosure, described first external force determines that module includes:
First judging unit, is used for judging described being in the first pressure range, the second pressure range or the 3rd pressure range by surging;In described first pressure range, maximum is less than minima in the second pressure range, and in described second pressure range, maximum is less than minima in the 3rd pressure range;
First external force computing unit, for described be in described first pressure range by surging time, it is determined that be the first external force to the external force that described virtual objects is to be applied;
Second external force computing unit, for described be in described second pressure range by surging time, it is determined that be the second external force to the external force that described virtual objects is to be applied;Described second external force is more than described first external force;
3rd external force computing unit, for described be in described three pressure range by surging time, it is determined that be the 3rd external force to the external force that described virtual objects is to be applied;Described 3rd external force is more than described second external force.
In a kind of exemplary embodiment of the disclosure, described second external force determines that module includes:
4th external force computing unit, for according to formula FT=FT-1+FxK determines the external force that described virtual objects is to be applied;
Wherein, FTThe external force described to be applied determined in the detection cycle, F is operated for current pressT-1For the external force described to be applied determined in the previous pressing operation detection cycle, k is constant;
Operate in the detection cycle at current press, described when being in described first pressure range by surging, FxFor described first external force;Described when being in described second pressure range by surging, FxFor described second external force;Described when being in described three pressure range by surging, FxFor described 3rd external force.
In a kind of exemplary embodiment of the disclosure, described second external force determines that module includes:
5th external force computing unit, for according to formula F1=F0+F0T k determines the external force that described virtual objects is to be applied;
Wherein, F1For the external force described to be applied determined, k is constant, and t is the duration that described pressing operation is lasting after described preset time threshold;
In described preset time threshold, described when being in described first pressure range by surging, F0For described first external force;Described when being in described second pressure range by surging, F0For described second external force;Described when being in described three pressure range by surging, F0For described 3rd external force.
In a kind of exemplary embodiment of the disclosure, described operation interface also includes storage power viewing area, described in present module and include:
Mark display control unit, shows different marks for controlling described storage power viewing area, to represent the external force that described virtual objects is to be applied currently determined.
In a kind of exemplary embodiment of the disclosure, described virtual objects motion control device also includes:
External force controls module, for judging whether the external force described to be applied currently determined reaches one and preset external force threshold value, and when judging that the external force described to be applied currently determined reaches described default external force threshold value, it is not further added by the external force that described virtual objects is to be applied.
Virtual objects motion control method in a kind of embodiment of the disclosure and device, by obtain to store power control area press surging and compressing time, pressing operation according to user by surging, compressing time or calculate the external force obtaining putting on virtual objects by surging and compressing time, thus the motion of more precise control virtual objects, better simulate the real processes adjusting virtual objects motion according to pressing operation, make user obtain more real feedback effects.
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
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and for explaining the principle of the disclosure together with description.It should be evident that the accompanying drawing in the following describes is only some embodiments of the disclosure, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 schematically shows the operation interface of a kind of application of playing.
Fig. 2 schematically shows the flow chart of a kind of virtual objects motion control method in disclosure exemplary embodiment.
Fig. 3 schematically shows the operation interface of a kind of application of playing.
Fig. 4 schematically shows a kind of flow chart of step S30 in disclosure exemplary embodiment.
Fig. 5 schematically shows the block diagram of a kind of virtual objects motion control device in disclosure exemplary embodiment.
Fig. 6 schematically shows the first external force in disclosure exemplary embodiment and determines a kind of block diagram of module.
Fig. 7 schematically shows a kind of block diagram presenting module in disclosure exemplary embodiment.
Detailed description of the invention
It is described more fully with example embodiment referring now to accompanying drawing.But, example embodiment can be implemented in a variety of forms, and is not understood as limited to example set forth herein;On the contrary, it is provided that these embodiments make the disclosure will more fully and completely, and the design of example embodiment is conveyed to those skilled in the art all sidedly.Described feature, structure or characteristic can be combined in one or more embodiment in any suitable manner.In the following description, it is provided that many details are thus providing fully understanding of embodiment of this disclosure.It will be appreciated, however, by one skilled in the art that can put into practice the technical scheme of the disclosure and omit in described specific detail is one or more, or other method, constituent element, device, step etc. can be adopted.In other cases, it is not shown in detail or describes known solution a presumptuous guest usurps the role of the host and each side of the disclosure is thickened to avoid.
Additionally, accompanying drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Accompanying drawing labelling identical in figure represents same or similar part, thus will omit repetition thereof.Some block diagrams shown in accompanying drawing are functional entitys, it is not necessary to must be corresponding with physically or logically independent entity.Software form can be adopted to realize these functional entitys, or in one or more hardware modules or integrated circuit, realize these functional entitys, or in heterogeneous networks and/or processor device and/or microcontroller device, realize these functional entitys.
Along with the development of electronic technology, have been realized in carrying out the touch control terminal of pressure-sensing at present, such that it is able to bring new manipulation and input mode for user.Such as, Huawei Company and Apple all issued the touch-control smart mobile phone possessing pressure-sensing in 2015.Such touch control terminal is possible not only to the touch operation input as touch control terminal of sensing user, can also by the size of pressure, position and action time be carried out perception, thus by the pressure input separately as touch control terminal, or combining pressure and other input modes as the input of touch control terminal, the operation for user brings a lot of convenience and interest.
Provide firstly a kind of virtual objects motion control method in this example embodiment, this virtual objects motion control method can apply to the above-mentioned touch control terminal realizing pressure-sensing.This touch control device can be such as the various electronic equipments possessing Touch Screen such as mobile phone, panel computer, notebook computer, game machine, PDA.By modes such as simulators, keyboard and mouse action it is modeled as touch control operation, the equally possible touch control device being considered as described in the disclosure of this mode but it should be recognized that be likely in part non-touch-control equipment.With reference to shown in Fig. 2 and Fig. 3, described virtual objects motion control method may comprise steps of:
S10. the viewing area controlling described touch control device shows an operation interface 10, at least includes a storage power control area 101 and the virtual objects 102 of needs control motion in described operation interface.
With reference to shown in Fig. 3, game application controls the Touch Screen display game operation interface 10 of touch control device by the application programming interfaces (API) of touch control device, in this example embodiment operation interface 10 can be touch control device whole can viewing area, be namely displayed in full screen;Can also be touch control device part can viewing area, namely window shows.Described operation interface 10 can include storage power control area 101 and a virtual objects 102.In addition, operation interface 10 can also include virtual sports scene, virtual natural environment, information panel control area, virtual portrait etc..Storage power control area 101 can be such as region fixing in operation interface, it is also possible to be the region etc. of the slip according to user's finger and movement.
Above-mentioned virtual objects 102 can have many forms, for instance can be that football, basketball, shot, golf, baseball, billiard ball etc. are ball, it is also possible to is the change that arbitrarily can be triggered its kinestate by storage power such as flying disc, javelin, bow and arrow.
S20. periodically detect the pressing operation of described storage power control area 101, and obtain persistent period of described pressing operation and described pressing operation by surging.
The difference of the force value according to pressing operation, pressing operation can be divided into multiple different grade, such as can be divided into weight, light pressure and pole light press (can be considered and do not press), the sensitivity according to pressure sensing module, it is also possible to carry out the other division of more stages.After pressing operation being detected, obtain force value data, pressing persistent period that the pressure parameter of this pressing operation such as presses, it is simple to follow-up obtain the desired external force putting on virtual objects 102 based on these parameters.
S30. the persistent period of described pressing operation less than a preset time threshold time, determine, by surging, the external force that a virtual objects is to be applied according to described pressing operation.
In this example embodiment, it is possible to pre-set a preset time threshold, for instance when calculating virtual objects externally applied forces, as long as the pressing operation within this preset time threshold time period, this external force only with pressing operation to press surging relevant.Therefore, in the game sight that need not store power too much, pressing or single clicing on of user's short time is just obtained in that the desired external force putting on virtual objects.
S40., when the persistent period of described pressing operation exceedes described preset time threshold, determine, by surging and persistent period, the external force that described virtual objects is to be applied according to described pressing operation.
In this step, if the persistent period of pressing operation exceedes described preset time threshold, then, when calculating external force, not only to consider by surging, in addition it is also necessary to consider the persistent period of pressing.At some game sight, it is possible to be easy to storage power size is further adjusted, to obtain the desired external force putting on virtual objects 102.Therefore, the external force effect that the external force calculation of this step obtains, it is possible to better meet the desired operation effect of user.
S50. the described external force applying to determine to described virtual objects is to change the motion of described virtual objects.
Virtual objects motion control method in this exemplary embodiment and device, by obtain to store power control area press surging and compressing time, pressing operation according to user by surging, compressing time or calculate the external force obtaining putting on virtual objects by surging and compressing time, thus the motion of more precise control virtual objects, better simulate the real processes adjusting virtual objects motion according to pressing operation, solve to operate, in storage power, the problem being difficult to accurately control motion in game process, make user obtain more real feedback effects.
In disclosure another exemplary embodiment, with reference to shown in Fig. 4, in above-mentioned steps S30, described determine that the external force to described virtual objects is to be applied may include that according to described pressing operation by surging
S31. it is in the first pressure range, the second pressure range or the 3rd pressure range by surging described in judging;In described first pressure range, maximum is less than minima in the second pressure range, and in described second pressure range, maximum is less than minima in the 3rd pressure range.First pressure range is such as 0 newton~2.9 newton, and the first pressure range is such as 3 newton~4 newton, and the first pressure range is such as 4.9 newton~8 newton.
S32. described be in described first pressure range by surging time, it is determined that be the first external force to the external force that described virtual objects is to be applied.What such as 0 newton~2.9 newton was corresponding is the first external force.
S33. described be in described second pressure range by surging time, it is determined that be the second external force to the external force that described virtual objects is to be applied;Described second external force is more than described first external force.What such as 3 newton~4 newton were corresponding is the second external force.
S34. described be in described three pressure range by surging time, it is determined that be the 3rd external force to the external force that described virtual objects is to be applied;Described 3rd external force is more than described second external force.What such as 4.9 newton~8 newton were corresponding is the 3rd external force.
Along with the increase of press pressure, the external force to be applied to virtual objects is also gradually increased.In the present example embodiment, although only discriminated between three pressure ranges, it should be understood that, more pressure range can be divided into, or can also not differentiating between pressure range, make the corresponding external force value of each force value, the motor control that so can also make virtual objects is more accurate.Need in thin microcontrolled scene of game at some, for instance bowling, it is possible to selecting the corresponding external force value of a concrete force value, wherein can also be as the increase of press pressure value equally, external force value is consequently increased.
In disclosure another exemplary embodiment, in above-mentioned steps S40, described determine that the external force to described virtual objects is to be applied may include that according to described pressing operation by surging and persistent period
According to formula FT=FT-1+FxK (formula one) determines the external force that described virtual objects is to be applied.
Wherein, FTThe external force described to be applied determined in the detection cycle, F is operated for current pressT-1For the external force described to be applied determined in the previous pressing operation detection cycle, k is constant;Operate in the detection cycle at current press, described when being in described first pressure range by surging, FxFor described first external force;Described when being in described second pressure range by surging, FxFor described second external force;Described when being in described three pressure range by surging, FxFor described 3rd external force.
As it was previously stated, when the persistent period of the pressing operation of user exceedes preset time threshold (such as 1 second), press pressure and two factors of persistent period can be considered to be applied to the external force on dummy object calculating.Being periodically detected the pressing operation of user, this detection cycle is such as 0.1 second;If when 1 second, it is determined that external force described to be applied be FT0, when 1.1 seconds, described it being in described 3rd pressure range by surging, corresponding described 3rd external force is Fx3, then the external force F described to be applied that determined when 1.1 secondsT1=F0+Fx3·k;When 1.2 seconds, described being in described second pressure range by surging, corresponding described second external force is Fx2, then the external force F described to be applied that determined when 1.2 secondsT2=F1+Fx2K=F0+Fx3·k+Fx2·k;When 1.3 seconds, described being in described 3rd pressure range by surging, corresponding described 3rd external force is Fx3, then the external force F described to be applied that determined when 1.3 secondsT2=F2+Fx3K=F0+Fx3·k+Fx2·k+Fx3K etc..This by the game services business on-demand setting of difference according to game application type, can not done particular determination by described constant k in this exemplary embodiment.
By the way, can so that user finely adjusts described external force to be applied accurately, increase considerably the playability of game application, and, adjust to the time needed for the desired external force putting on virtual objects of user can also changing by surging according to user so that user obtains more real feedback effects.
In the present embodiment, calculation according to the external force putting on virtual objects can be understood as along with by the increase of surging, the computed external force obtained is consequently increased, although defining the mode of increasing degree in above-mentioned formula, it should be understood that it can have other modes, it is not limited to mode exemplified in this example embodiment.
In disclosure another exemplary embodiment, in above-mentioned steps S40, described determine that the external force to described virtual objects is to be applied may include that according to described pressing operation by surging and persistent period
According to formula F1=F0+F0T k (formula two) determines the external force that described virtual objects is to be applied.
Wherein, F1For the external force described to be applied determined, k is constant, and t is the duration that described pressing operation is lasting after described preset time threshold.In described preset time threshold, described when being in described first pressure range by surging, F0For described first external force;Described when being in described second pressure range by surging, F0For described second external force;Described when being in described three pressure range by surging, F0For described 3rd external force.
The external force calculation of the external force calculation in the present embodiment and a upper exemplary embodiment is distinctive in that, a upper exemplary embodiment take into account the detection cycle of pressing operation, and based on calculating external force by surging in the detection cycle, and in the present embodiment, after beyond preset time threshold, the adjustment of described external force to be applied only with pressing persistent period positive correlation;Namely along with the increase of pressing persistent period, calculated external force also increases therewith.Such as preset time threshold is 1 second, detects and was in described 3rd pressure range when the 1st second by surging, and corresponding described 3rd external force is F03;The pressing persistent period is 3 seconds, then calculated when 3 seconds external force is F03+3F03·k;The pressing persistent period is 5.2 seconds, then calculated when 5.2 seconds external force is F03+4.2F03K etc..This by the game services business on-demand setting of difference according to game application type, can not done particular determination by described constant k in this exemplary embodiment.
In the disclosure one exemplary embodiment, described virtual objects motion control method can also include:
Judge whether the external force described to be applied currently determined reaches one and preset external force threshold value, and when judging that the external force described to be applied currently determined reaches described default external force threshold value, be not further added by the external force that described virtual objects is to be applied.
No matter calculating the external force putting on virtual objects in which way, when this external force is beyond when presetting external force threshold value, it is not further added by external force, thus better simulating truth.
With continued reference to Fig. 3, operation also includes storage power viewing area 103 in interface 10, and described virtual objects motion control method can also include:
Control described storage power viewing area 103 and show different marks, to represent the external force that described virtual objects is to be applied currently determined.
This mark can be through the mode of progress bar and realizes;Can also be utilize the different color of same pattern to represent different size of external force to be applied, for instance red expression external force to be applied is very big, and green mark external force to be applied is only small, and yellow indicates certain external force to be applied;Or can also be the external force to be applied utilizing different pattern to represent different strength respectively, if external force to be applied is less, then identify with the first pattern, for instance star pattern;If external force to be applied is relatively big, then identify with the second pattern, for instance solar pattern etc.;So, user can will be apparent from recognizing that current and pressing whether suitable by surging continues event, if needs to regulate and presses surging and continue pressing.In this example embodiment, the shape of described storage power viewing area 103 can show as wide long rectangular area, with the game application shown suitable in horizontal version, it is also possible to show as U-shape, with the game application shown suitable in portrait, this is not done by this exemplary embodiment particular determination.
The virtual objects motion control method that disclosure exemplary embodiment provides, by obtain to store power control area press surging and compressing time, pressing operation according to user press surging, compressing time or calculate the external force obtaining putting on virtual objects by surging and compressing time, thus controlling the motion of virtual objects, obtained control effect is consistent with the operating effect of user, meet the intended experience effect of user, improve the degree true to nature of game, solve in correlation technique only by the long problem experiencing difference to the effect controlling storage power by the mode of screen.
Further, this example embodiment additionally provides a kind of virtual objects motion control device, is applied to a touch control device.With reference to shown in Fig. 5, described virtual objects motion control device 7 can include presenting module 71, detecting module the 72, first external force determines that module the 73, second external force determines module 74 and motion-control module 75.Wherein:
Presenting module 71, the viewing area for controlling described touch control device shows an operation interface, at least includes a storage power control area in described operation interface.
Detecting module 72, for periodically detecting the pressing operation of described storage power control area, and obtain persistent period of described pressing operation and described pressing operation by surging.
First external force determines module 73, for the persistent period of described pressing operation less than a preset time threshold time, determine, by surging, the external force that a virtual objects is to be applied according to described pressing operation.
Second external force determines module 74, for when the persistent period of described pressing operation exceedes described preset time threshold, determines, by surging and persistent period, the external force that described virtual objects is to be applied according to described pressing operation.
Motion-control module 75, the described external force being used for applying to determine to described virtual objects is to change the motion of described virtual objects.
With reference to shown in Fig. 6, in a kind of exemplary embodiment of the disclosure, described first external force determines that module 73 includes:
First judging unit 81, is used for judging described being in the first pressure range, the second pressure range or the 3rd pressure range by surging;In described first pressure range, maximum is less than minima in the second pressure range, and in described second pressure range, maximum is less than minima in the 3rd pressure range.
First external force computing unit 82, for described be in described first pressure range by surging time, it is determined that be the first external force to the external force that described virtual objects is to be applied.
Second external force computing unit 83, for described be in described second pressure range by surging time, it is determined that be the second external force to the external force that described virtual objects is to be applied;Described second external force is more than described first external force.
3rd external force computing unit 84, for described be in described three pressure range by surging time, it is determined that be the 3rd external force to the external force that described virtual objects is to be applied;Described 3rd external force is more than described second external force.
In a kind of exemplary embodiment of the disclosure, described second external force determines that module 74 includes:
4th external force computing unit, for according to formula FT=FT-1+FxK determines the external force that described virtual objects is to be applied.
Wherein, FTThe external force described to be applied determined in the detection cycle, F is operated for current pressT-1For the external force described to be applied determined in the previous pressing operation detection cycle, k is constant.
Operate in the detection cycle at current press, described when being in described first pressure range by surging, FxFor described first external force;Described when being in described second pressure range by surging, FxFor described second external force;Described when being in described three pressure range by surging, FxFor described 3rd external force.
In a kind of exemplary embodiment of the disclosure, described second external force determines that module 74 includes:
5th external force computing unit, for according to formula F1=F0+F0T k determines the external force that described virtual objects is to be applied.
Wherein, F1For the external force described to be applied determined, k is constant, and t is the duration that described pressing operation is lasting after described preset time threshold;
In described preset time threshold, described when being in described first pressure range by surging, F0For described first external force;Described when being in described second pressure range by surging, F0For described second external force;Described when being in described three pressure range by surging, F0For described 3rd external force.
With reference to shown in Fig. 7, in a kind of exemplary embodiment of the disclosure, described operation interface also including storage power viewing area, described in present module 71 and include:
Mark display control unit 11, shows different marks for controlling described storage power viewing area, to represent the external force that described virtual objects is to be applied currently determined.
With continued reference to Fig. 5, in a kind of exemplary embodiment of the disclosure, described virtual objects motion control device also includes:
External force controls mould 76, for judging whether the external force described to be applied currently determined reaches one and preset external force threshold value, and when judging that the external force described to be applied currently determined reaches described default external force threshold value, it is not further added by the external force that described virtual objects is to be applied.
A kind of virtual objects motion control device in the embodiment of the disclosure, by obtain to store power control area press surging and compressing time, pressing operation according to user press surging, compressing time or calculate the external force obtaining putting on virtual objects by surging and compressing time, thus controlling the motion of virtual objects, thus simulating the real processes adjusting virtual objects motion according to pressing operation, solve to operate, in storage power, the problem that can not accurately control motion in game process, thus simulating the use sight of reality preferably, simultaneously also consistent with the operating effect of user, user is made to obtain more real feedback effects.
In above-mentioned virtual objects motion control device, the detail of each module has carried out wanting in detail to describe in corresponding virtual objects motion control method, therefore repeats no more herein.
Although it should be noted that, be referred to some modules or the unit of the equipment for action executing in above-detailed, but this division is not enforceable.It practice, can embody in a module or unit according to embodiment of the present disclosure, the feature of two or more modules above-described or unit and function.Otherwise, the feature of an above-described module or unit and function can Further Division for be embodied by multiple modules or unit.
Although additionally, describe each step of method in the disclosure with particular order in the accompanying drawings, but, this does not require that or implies must according to this particular order to perform these steps, or the step shown in having to carry out all could realize desired result.Additional or alternative, it is convenient to omit some step, multiple steps are merged into a step and performs, and/or a step is decomposed into multiple step execution etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example embodiment described herein can be realized by software, it is also possible to the mode being combined necessary hardware by software is realized.Therefore, technical scheme according to disclosure embodiment can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in or network on, including some instructions so that computing equipment (can be personal computer, server, touch control terminal or the network equipment etc.) performs the method according to disclosure embodiment.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other embodiment of the disclosure.The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

1. a virtual objects motion control method, is applied to realize the touch control device of pressure-sensing;It is characterized in that, described virtual objects motion control method includes:
The viewing area controlling described touch control device shows an operation interface, at least includes a storage power control area in described operation interface;
Periodically detect the pressing operation of described storage power control area, and obtain persistent period of described pressing operation and described pressing operation by surging;
The persistent period of described pressing operation less than a preset time threshold time, determine, by surging, the external force that a virtual objects is to be applied according to described pressing operation;
When the persistent period of described pressing operation exceedes described preset time threshold, determine, by surging and persistent period, the external force that described virtual objects is to be applied according to described pressing operation;
The described external force applying to determine to described virtual objects is to change the motion of described virtual objects.
2. virtual objects motion control method according to claim 1, it is characterised in that described determine that the external force to described virtual objects is to be applied includes according to described pressing operation by surging:
It is in the first pressure range, the second pressure range or the 3rd pressure range by surging described in judging;In described first pressure range, maximum is less than minima in the second pressure range, and in described second pressure range, maximum is less than minima in the 3rd pressure range;
Described be in described first pressure range by surging time, it is determined that be the first external force to the external force that described virtual objects is to be applied;
Described be in described second pressure range by surging time, it is determined that be the second external force to the external force that described virtual objects is to be applied;Described second external force is more than described first external force;
Described be in described three pressure range by surging time, it is determined that be the 3rd external force to the external force that described virtual objects is to be applied;Described 3rd external force is more than described second external force.
3. virtual objects motion control method according to claim 2, it is characterised in that described determine that the external force to described virtual objects is to be applied includes according to described pressing operation by surging and persistent period:
According to formula FT=FT-1+FxK determines the external force that described virtual objects is to be applied;
Wherein, FTThe external force described to be applied determined in the detection cycle, F is operated for current pressT-1For the external force described to be applied determined in the previous pressing operation detection cycle, k is constant;
Operate in the detection cycle at current press, described when being in described first pressure range by surging, FxFor described first external force;Described when being in described second pressure range by surging, FxFor described second external force;Described when being in described three pressure range by surging, FxFor described 3rd external force.
4. virtual objects motion control method according to claim 2, it is characterised in that described determine that the external force to described virtual objects is to be applied includes according to described pressing operation by surging and persistent period:
According to formula F1=F0+F0T k determines the external force that described virtual objects is to be applied;
Wherein, F1For the external force described to be applied determined, k is constant, and t is the duration that described pressing operation is lasting after described preset time threshold;
In described preset time threshold, described when being in described first pressure range by surging, F0For described first external force;Described when being in described second pressure range by surging, F0For described second external force;Described when being in described three pressure range by surging, F0For described 3rd external force.
5. the virtual objects motion control method according to claim 3 or 4, it is characterised in that also including storage power viewing area in described operation interface, described virtual objects motion control method also includes:
Control described storage power viewing area and show different marks, to represent the external force that described virtual objects is to be applied currently determined.
6. the virtual objects motion control method according to claim 3 or 4, it is characterised in that described virtual objects motion control method also includes:
Judge whether the external force described to be applied currently determined reaches one and preset external force threshold value, and when judging that the external force described to be applied currently determined reaches described default external force threshold value, be not further added by the external force that described virtual objects is to be applied.
7. a virtual objects motion control device, is applied to realize the touch control device of pressure-sensing;It is characterized in that, described virtual objects motion control device includes:
Presenting module, the viewing area for controlling described touch control device shows an operation interface, at least includes a storage power control area in described operation interface;
Detecting module, for periodically detecting the pressing operation of described storage power control area, and obtain persistent period of described pressing operation and described pressing operation by surging;
First external force determines module, for the persistent period of described pressing operation less than a preset time threshold time, determine, by surging, the external force that a virtual objects is to be applied according to described pressing operation;
Second external force determines module, for when the persistent period of described pressing operation exceedes described preset time threshold, determines, by surging and persistent period, the external force that described virtual objects is to be applied according to described pressing operation;
Motion-control module, the described external force being used for applying to determine to described virtual objects is to change the motion of described virtual objects.
8. virtual objects motion control device according to claim 7, it is characterised in that described first external force determines that module includes:
First judging unit, is used for judging described being in the first pressure range, the second pressure range or the 3rd pressure range by surging;In described first pressure range, maximum is less than minima in the second pressure range, and in described second pressure range, maximum is less than minima in the 3rd pressure range;
First external force computing unit, for described be in described first pressure range by surging time, it is determined that be the first external force to the external force that described virtual objects is to be applied;
Second external force computing unit, for described be in described second pressure range by surging time, it is determined that be the second external force to the external force that described virtual objects is to be applied;Described second external force is more than described first external force;
3rd external force computing unit, for described be in described three pressure range by surging time, it is determined that be the 3rd external force to the external force that described virtual objects is to be applied;Described 3rd external force is more than described second external force.
9. virtual objects motion control device according to claim 8, it is characterised in that described second external force determines that module includes:
4th external force computing unit, for according to formula FT=FT-1+FxK determines the external force that described virtual objects is to be applied;
Wherein, FTThe external force described to be applied determined in the detection cycle, F is operated for current pressT-1For the external force described to be applied determined in the previous pressing operation detection cycle, k is constant;
Operate in the detection cycle at current press, described when being in described first pressure range by surging, FxFor described first external force;Described when being in described second pressure range by surging, FxFor described second external force;Described when being in described three pressure range by surging, FxFor described 3rd external force.
10. virtual objects motion control device according to claim 8, it is characterised in that described second external force determines that module includes:
5th external force computing unit, for according to formula F1=F0+F0T k determines the external force that described virtual objects is to be applied;
Wherein, F1For the external force described to be applied determined, k is constant, and t is the duration that described pressing operation is lasting after described preset time threshold;
In described preset time threshold, described when being in described first pressure range by surging, F0For described first external force;Described when being in described second pressure range by surging, F0For described second external force;Described when being in described three pressure range by surging, F0For described 3rd external force.
11. the virtual objects motion control device according to claim 9 or 10, it is characterised in that also include storage power viewing area in described operation interface, described in present module and include:
Mark display control unit, shows different marks for controlling described storage power viewing area, to represent the external force that described virtual objects is to be applied currently determined.
12. the virtual objects motion control device according to claim 9 or 10, it is characterised in that described virtual objects motion control device also includes:
External force controls module, for judging whether the external force described to be applied currently determined reaches one and preset external force threshold value, and when judging that the external force described to be applied currently determined reaches described default external force threshold value, it is not further added by the external force that described virtual objects is to be applied.
CN201610044352.6A 2016-01-22 2016-01-22 Virtual objects motion control method and device Active CN105739855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610044352.6A CN105739855B (en) 2016-01-22 2016-01-22 Virtual objects motion control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610044352.6A CN105739855B (en) 2016-01-22 2016-01-22 Virtual objects motion control method and device

Publications (2)

Publication Number Publication Date
CN105739855A true CN105739855A (en) 2016-07-06
CN105739855B CN105739855B (en) 2018-12-28

Family

ID=56246497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610044352.6A Active CN105739855B (en) 2016-01-22 2016-01-22 Virtual objects motion control method and device

Country Status (1)

Country Link
CN (1) CN105739855B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843676A (en) * 2016-12-26 2017-06-13 上海莉莉丝网络科技有限公司 For the method for toch control and touch control device of touch terminal
CN108525303A (en) * 2017-01-24 2018-09-14 腾讯科技(深圳)有限公司 Object control method and apparatus in interactive application
CN108771859A (en) * 2018-06-22 2018-11-09 腾讯科技(深圳)有限公司 Virtual scene display method, apparatus, electronic device and storage medium
CN109717161A (en) * 2017-10-31 2019-05-07 株式会社岛野 The motor control assembly of electric fishing reel
CN111249719A (en) * 2020-01-20 2020-06-09 腾讯科技(深圳)有限公司 Track prompting method and device, storage medium and electronic device
WO2020113901A1 (en) * 2018-12-06 2020-06-11 网易(杭州)网络有限公司 Shooting control method and apparatus in soccer game, and computer device and storage medium
CN113101640A (en) * 2021-04-20 2021-07-13 网易(杭州)网络有限公司 Game interaction method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853100A (en) * 2010-02-02 2010-10-06 杨开艳 Method of using touch module as game controller
US20110304581A1 (en) * 2010-06-14 2011-12-15 Samsung Electro-Mechanics Co., Ltd. Haptic feedback device and method for controlling the same
CN104267854A (en) * 2014-10-16 2015-01-07 孙萍 Touch screen terminal control method and device
CN104917890A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal and volume adjusting method
US20150317030A1 (en) * 2009-08-18 2015-11-05 Canon Kabushiki Kaisha Display control apparatus and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150317030A1 (en) * 2009-08-18 2015-11-05 Canon Kabushiki Kaisha Display control apparatus and control method thereof
CN101853100A (en) * 2010-02-02 2010-10-06 杨开艳 Method of using touch module as game controller
US20110304581A1 (en) * 2010-06-14 2011-12-15 Samsung Electro-Mechanics Co., Ltd. Haptic feedback device and method for controlling the same
CN104267854A (en) * 2014-10-16 2015-01-07 孙萍 Touch screen terminal control method and device
CN104917890A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal and volume adjusting method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843676A (en) * 2016-12-26 2017-06-13 上海莉莉丝网络科技有限公司 For the method for toch control and touch control device of touch terminal
CN106843676B (en) * 2016-12-26 2019-12-31 上海莉莉丝网络科技有限公司 Touch control method and touch control device for touch terminal
CN108525303A (en) * 2017-01-24 2018-09-14 腾讯科技(深圳)有限公司 Object control method and apparatus in interactive application
CN108525303B (en) * 2017-01-24 2020-06-30 腾讯科技(深圳)有限公司 Object control method and device in interactive application
CN109717161A (en) * 2017-10-31 2019-05-07 株式会社岛野 The motor control assembly of electric fishing reel
CN108771859A (en) * 2018-06-22 2018-11-09 腾讯科技(深圳)有限公司 Virtual scene display method, apparatus, electronic device and storage medium
CN108771859B (en) * 2018-06-22 2020-06-30 腾讯科技(深圳)有限公司 Virtual scene display method and device, electronic device and storage medium
WO2020113901A1 (en) * 2018-12-06 2020-06-11 网易(杭州)网络有限公司 Shooting control method and apparatus in soccer game, and computer device and storage medium
US11241615B2 (en) 2018-12-06 2022-02-08 Netease (Hangzhou) Network Co., Ltd. Method and apparatus for controlling shooting in football game, computer device and storage medium
CN111249719A (en) * 2020-01-20 2020-06-09 腾讯科技(深圳)有限公司 Track prompting method and device, storage medium and electronic device
CN111249719B (en) * 2020-01-20 2021-09-24 腾讯科技(深圳)有限公司 Track prompting method and device, storage medium and electronic device
CN113101640A (en) * 2021-04-20 2021-07-13 网易(杭州)网络有限公司 Game interaction method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105739855B (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN105739855A (en) Virtual object motion control method and apparatus
CN105641927B (en) Virtual objects rotating direction control method and device
CN105582670B (en) Aimed fire control method and device
CN103985137B (en) It is applied to the moving body track method and system of man-machine interaction
CN107297073B (en) Method and device for simulating peripheral input signal and electronic equipment
CN109491586B (en) Virtual object control method and device, electronic equipment and storage medium
KR102241414B1 (en) Electronic device for providing a feedback for a specivic motion using a machine learning model a and machine learning model and method for operating thereof
CN105597315A (en) Virtual object throwing control method and device
CN104077094A (en) Display device and method to display dance video
Chen et al. Using real-time acceleration data for exercise movement training with a decision tree approach
CN106155415A (en) A kind of game control method and mobile terminal
CN104881128A (en) Method and system for displaying target image in virtual reality scene based on real object
CN105183172A (en) Information processing method and electronic equipment
CN107913516A (en) Information processing method, device, electronic equipment and storage medium
US20190227645A1 (en) Operation and control apparatus and control method
CN106933474A (en) Image blend processing method and processing device
CN111617464A (en) Treadmill body-building method with action recognition function
KR101337292B1 (en) System for providing a ball game and method therefor
KR101539666B1 (en) Golf simulation method through mobile terminal, recording medium recording program or application according to the same and mobile terminal for executing golf simulation
Du RETRACTED: Preventive monitoring of basketball players' knee pads based on IoT wearable devices
CN106933397A (en) Virtual object control method and device
US20160074737A1 (en) Systems and Methods for Improving Tennis Stroke Recognition
CN110297592A (en) A kind of processing method and electronic equipment
CN107102725B (en) Control method and system for virtual reality movement based on somatosensory handle
US20220032143A1 (en) Squash training system

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