CN107273037A - Virtual object control method and device, storage medium, electronic equipment - Google Patents
Virtual object control method and device, storage medium, electronic equipment Download PDFInfo
- Publication number
- CN107273037A CN107273037A CN201710538365.3A CN201710538365A CN107273037A CN 107273037 A CN107273037 A CN 107273037A CN 201710538365 A CN201710538365 A CN 201710538365A CN 107273037 A CN107273037 A CN 107273037A
- Authority
- CN
- China
- Prior art keywords
- virtual
- touch point
- virtual objects
- translational speed
- detecting
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Present disclose provides a kind of virtual object control method and device, storage medium, electronic equipment, the virtual object control method includes:Occur touch event, when the virtual objects are moved according to the position of the touch point of the touch event, the translational speed of touch point described in detecting real-time when detecting the virtual rocking bar region;When the translational speed for detecting the touch point is more than pre-set velocity, the skip instruction of the virtual objects is triggered, controls the virtual objects to be jumped according to the skip instruction.The disclosure is compared to prior art so that user can be triggered skip instruction, move and attack simultaneously by bimanualness and be instructed, and simple to operate easy to learn.
Description
Technical field
This disclosure relates to which human-computer interaction technique field, more particularly to a kind of virtual object control method and device, storage are situated between
Matter, electronic equipment.
Background technology
With the fast development of mobile communication technology, increasing game application is occurred in that on touch control terminal.In trip
Play in the running of application, touch control terminal shows various game objects according to certain layout, to be in user
Existing scene of game and offer game operation interface.
At present, in the touch control terminal game application that virtual objects can be controlled to jump, many operations circle using in game
Independent virtual push button is set in face, referred to so that user clicks on the independent virtual push button to control virtual objects to perform jump
Order.For example, shown in Fig. 1, in the interface that certain touch control terminal is played, being provided with the jump virtual push button (bottom right of interface
Angle) include virtual rocking bar region (bottom left section of interface), the attack region (right lower quadrant of interface of virtual rocking bar
Point).User can be performed jump, movement, attack, movement by above three Region control virtual objects and jump, move simultaneously
The instruction such as attack.
Obviously, in aforesaid way, because jump virtual push button, virtual rocking bar region and attack region are separate,
And the jump virtual push button that the lower right corner is set, skip instruction and the mutual exclusion of attack instruction are caused, i.e. user can not trigger jump simultaneously
Jump instruction and attack instruction, therefore, weaken the richness of operation, also reduce Consumer's Experience.
It should be noted that information is only used for strengthening the reason of background of this disclosure disclosed in above-mentioned background section
Solution, therefore can include not constituting the information to prior art known to persons of ordinary skill in the art.
The content of the invention
The purpose of the disclosure is to provide a kind of virtual object control method and device, storage medium, electronic equipment, and then
One or more problem caused by limitation and the defect due to correlation technique is at least overcome to a certain extent.
According to an aspect of this disclosure there is provided a kind of virtual object control method, applied to can present virtual objects and
The touch control terminal in virtual rocking bar region, the virtual object control method includes:
Occurs touch event when detecting the virtual rocking bar region, the virtual objects are touched according to the touch event
When the position of control point is moved, the translational speed of touch point described in detecting real-time;
When the translational speed for detecting the touch point is more than pre-set velocity, the jump for triggering the virtual objects refers to
Order, controls the virtual objects to be jumped according to the skip instruction.
It is described to be preset when the translational speed for detecting the touch point is more than in a kind of exemplary embodiment of the disclosure
During speed, the skip instruction of the virtual objects is triggered, including:
When the translational speed for detecting the touch point is more than pre-set velocity, and the current moving direction of the virtual objects
When angle between the initial moving direction of the virtual objects is less than predetermined angle, the jump for triggering the virtual objects refers to
Order.
It is described to be preset when the translational speed for detecting the touch point is more than in a kind of exemplary embodiment of the disclosure
During speed, the skip instruction of the virtual objects is triggered, including:
It is more than when detecting component of the translational speed of the touch point on the current moving direction of the virtual objects
During pre-set velocity, the skip instruction of the virtual objects is triggered.
In a kind of exemplary embodiment of the disclosure, the skip instruction includes the jump direction of virtual objects, described
Jump direction includes one below:
The current moving direction of the virtual objects;
The translational speed of the touch point is more than the moving direction during pre-set velocity.
In a kind of exemplary embodiment of the disclosure, include the safety of virtual rocking bar origin in the virtual rocking bar region
Area, the translational speed of touch point includes described in the detecting real-time:
When detecting the touch point outside the safety zone, the translational speed of touch point described in detecting real-time.
In a kind of exemplary embodiment of the disclosure, methods described also includes:
When touch event, the jump virtual control of display one do not occur for the virtual rocking bar region.
In a kind of exemplary embodiment of the disclosure, methods described also includes:
When detecting the virtual rocking bar region generation touch event, the current location display based on the touch point is jumped
Jump prompt message, and the position of the jump prompt message changes with the change of the current location of the touch point.
In a kind of exemplary embodiment of the disclosure, the jump prompt message is shown in the virtual rocking bar region
On the extended line of the line of the position of virtual rocking bar origin and the touch point.
In a kind of exemplary embodiment of the disclosure, the translational speed of touch point described in the detecting real-time, including:
Obtain displacement of the touch point in preset time;
The translational speed of the touch point is calculated according to the displacement and the preset time.
According to an aspect of this disclosure there is provided a kind of virtual objects controlled device, applied to can present virtual objects and
The touch control terminal in virtual rocking bar region, the virtual objects controlled device includes:
Detecting module, occurs touch event, the virtual objects are touched according to described when detecting the virtual rocking bar region
When the position of the touch point of control event is moved, the translational speed of touch point described in detecting real-time;
Control module, when the translational speed for detecting the touch point is more than pre-set velocity, triggers the virtual objects
Skip instruction, control the virtual objects to be jumped according to the skip instruction.
According to an aspect of this disclosure there is provided a kind of computer-readable recording medium, computer program is stored thereon with,
The computer program realizes the virtual object control method described in above-mentioned any one when being executed by processor.
According to an aspect of this disclosure there is provided a kind of electronic equipment, including:
Processor;And
Memory, the executable instruction for storing the processor;
Wherein, the processor is configured to perform the void described in above-mentioned any one via the executable instruction is performed
Intend object control method.
Virtual object control method and device, storage medium, electronic equipment that a kind of example embodiment of the disclosure is provided.It is logical
The translational speed for detecting the touch point is crossed, and when the translational speed for detecting the touch point is more than pre-set velocity, triggers institute
The skip instruction of virtual objects is stated, controls the virtual objects to be jumped according to the skip instruction.On the one hand, only in original
Increase the detection to the translational speed of touch point on the basis of some operations, control virtual objects are performed into move and jump
The operation of instruction is combined together, and allows user by one-handed performance while triggering skip instruction and move, compared to
Prior art, allows user by bimanualness while skip instruction, move and attack instruction are triggered, while also increasing
The richness of operation is added;On the other hand, when the translational speed of touch point is more than pre-set velocity, the virtual objects root is controlled
Jumped, i.e. user can be jumped by the operational control virtual objects of quick sliding, operated according to the skip instruction
It is easy to learn, better user experience.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Its exemplary embodiment is described in detail by referring to accompanying drawing, the above and other feature and advantage of the disclosure will become
Obtain more obvious.It should be evident that drawings in the following description are only some embodiments of the present disclosure, it is common for this area
For technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.Attached
In figure:
Fig. 1 is the interface of a certain touch control terminal game of the disclosure;
Fig. 2 is a kind of flow chart of virtual object control method of the disclosure;
Fig. 3 is the schematic diagram of the show jumping virtual control provided in the exemplary embodiment of the disclosure one;
Fig. 4 is the schematic diagram of the show jumping prompt message provided in the exemplary embodiment of the disclosure one;
Fig. 5 is the schematic diagram of the translational speed for calculating touch point provided in the exemplary embodiment of the disclosure one;
Fig. 6 is the schematic diagram of the translational speed for calculating touch point provided in disclosure another exemplary embodiment;
Fig. 7 is a kind of block diagram of virtual objects controlled device of the disclosure;
Fig. 8 be the exemplary embodiment of the disclosure one in electronic equipment module diagram;
Fig. 9 is the program product schematic diagram in the exemplary embodiment of the disclosure one.
Embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be real in a variety of forms
Apply, and be not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively conveyed into those skilled in the art.Identical reference is represented in figure
Same or similar part, thus repetition thereof will be omitted.
Implement in addition, described feature, structure or characteristic can be combined in any suitable manner one or more
In example.In the following description there is provided many details so as to provide fully understanding for embodiment of this disclosure.However,
It will be appreciated by persons skilled in the art that the technical scheme of the disclosure can be put into practice without one in the specific detail or more
It is many, or can be using other methods, constituent element, material, device, step etc..In other cases, it is not shown in detail or describes
Known features, method, device, realization, material operate to avoid each side of the fuzzy disclosure.
Block diagram shown in accompanying drawing is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or these are realized in the module that one or more softwares are hardened
A part for functional entity or functional entity, or realized in heterogeneous networks and/or processor device and/or microcontroller device
These functional entitys.
A kind of virtual object control method is disclosed in the present exemplary embodiment first, applied to can present virtual objects and
The touch control terminal in virtual rocking bar region.The touch control terminal for example can for mobile phone, tablet personal computer, notebook computer, game machine,
The various electronic equipments for possessing Touch Screen such as PDA.Game application can control to touch by the application programming interfaces of touch control terminal
Virtual objects and virtual rocking bar region, virtual scene of fighting, virtual natural environment etc. are presented in the Touch Screen of control terminal.Reference picture
Shown in 2, the virtual object control method may comprise steps of:
Step S1. is when detecting the virtual rocking bar region generation touch event, and the virtual objects are according to the touch-control
When the position of the touch point of event is moved, the translational speed of touch point described in detecting real-time;
Step S2. triggers the virtual objects when the translational speed for detecting the touch point is more than pre-set velocity
Skip instruction, controls the virtual objects to be jumped according to the skip instruction.
Virtual object control method in the present exemplary embodiment, on the one hand, only on the basis of original operation
Control virtual objects are performed move and the operation of skip instruction are combined by detection of the upper increase to the translational speed of touch point
Together, allow user by one-handed performance while triggering skip instruction and move, compared to prior art, make user
Skip instruction, move and attack can be triggered simultaneously by bimanualness to instruct, while also increasing the abundant of operation
Degree;On the other hand, when the translational speed of touch point is more than pre-set velocity, the virtual objects are controlled according to the skip instruction
Jumped, i.e. user can be jumped by the operational control virtual objects of quick sliding, simple to operate easy to learn, user
Experience is preferable.
Next, with reference to Fig. 2 to Fig. 6, the virtual object control method in the present exemplary embodiment is described further.
In step sl, when detecting the virtual rocking bar region generation touch event, the virtual objects are according to described
When the position of the touch point of touch event is moved, the translational speed of touch point described in detecting real-time.
In the present example embodiment, the shape in the virtual rocking bar region can be for example circle, or semicircle
Shape, the present exemplary embodiment is not particularly limited to this.The virtual rocking bar 2 can be included in the virtual rocking bar region 1,
When not triggering virtual rocking bar 2, position of the virtual rocking bar 2 in the virtual rocking bar region is the position of the virtual rocking bar origin
Put, for example, the position of the virtual rocking bar origin can also can virtually shake at the center in the virtual rocking bar region described
The other positions in bar region, the present exemplary embodiment is not particularly limited to this.When triggering virtual rocking bar 2, user can lead to
Cross move touch point (visually, the position of virtual rocking bar is the position of touch point, and virtual rocking bar 2 position with touch-control
The change of the position of point and change) control virtual objects perform corresponding instruction.It should be noted that showing in all of the disclosure
In example property embodiment, the position of the virtual rocking bar 2 is the position of touch point.
The touch event can be the slide acted in the virtual rocking bar region, clicking operation etc., originally show
Example property embodiment is not particularly limited to this.When virtual rocking bar region detection is to touch event, control virtual objects are according to institute
State the position movement of the touch point of trigger event.In the present example embodiment, can be according to the position of the touch point of trigger event
The position put with the virtual rocking bar origin in virtual rocking bar region determines the moving direction of virtual objects.
In the present example embodiment, can be by the translational speed of touch point described in detecting module detecting real-time.It is described
The translational speed of touch point described in detecting real-time can be realized by following two modes.
Mode one, as shown in figure 5, the translational speed of touch point described in the detecting real-time can include:
Implement the coordinate c before the detecting touch point movement0With the coordinate c after movement1, the touch point traveling time
t;
Coordinate c before being moved according to the touch point0With the coordinate c after movement1Calculate the moving displacement C of the touch point
=c1-c0;
The movement of the touch point is calculated according to the traveling time t of the moving displacement C of the touch point and the touch point
Speed V=C/t=(c1-c0)/t。
Mode two, as shown in fig. 6, the translational speed of touch point described in the detecting real-time can include:Obtain described touch
Displacement of the control point in preset time;The mobile speed of the touch point is calculated according to the displacement and the preset time
Degree.
In the present example embodiment, preset time can be set as to the time in a detecting cycle.In detecting cycle t
It is interior, cache the position of touch point, c with 1/t frequency0To detect the position for the touch point that cycle t initial time is cached, c1For
The position for the touch point that t finish times in detecting cycle cache.According to c0And c1Calculate the displacement of the touch point within the detecting cycle
δ=c1-c0.According to the displacement of touch point in the detecting cycle and the time in the detecting cycle, the mobile speed of touch point is calculated
Degree, i.e. V=δ/t=δ/c1-c0。
In addition, the place of safety of virtual rocking bar origin can also be included in the virtual rocking bar region, it is on this basis, described
The translational speed of touch point described in detecting real-time can include:When detecting the touch point outside the safety zone,
The translational speed of touch point described in detecting real-time.The area of the place of safety can be configured by developer, and the place of safety
Area be less than virtual rocking bar region.When being moved in the position of touch point in the place of safety of the virtual rocking bar origin, do not detect
The translational speed of touch point.The virtual rocking bar region is moved to out of the virtual rocking bar origin place of safety in the position of touch point
When outside the place of safety of origin, start to detect the translational speed of the touch point.By setting the place of safety to avoid maloperation.
Further, as shown in figure 3, when touch event, the virtual control of the jump of display one do not occur for the virtual rocking bar region
Part 3.The jump virtual control 3 may be displayed on the lower section in virtual rocking bar region 1, can also be shown in virtual rocking bar region 1
Top, the present exemplary embodiment is not particularly limited to this.When touch event does not occur for the virtual rocking bar region, movement refers to
Order refers to jump controls virtual objects to move and jump respectively by two discrete control areas, and user can pass through void respectively
Intend rocking bar region or the control virtual objects movement of jump virtual control or jump., can be in institute by show jumping virtual control 3
When stating virtual rocking bar region and not occurring touch event, virtual objects are controlled to capriole by clicking on the jump virtual control 3, it is full
Sufficient user's control virtual objects perform the demand for instruction of caprioling.
In order to point out user to perform skip instruction by virtual rocking bar Region control virtual objects, you can to pass through void
Intend rocking bar Region control virtual objects and perform skip instruction and move simultaneously.Occur when detecting the virtual rocking bar region
During touch event, the current location show jumping prompt message based on the touch point, and the position of the jump prompt message
Change with the change of the current location of the touch point.
In the present example embodiment, the skip operation prompt message 5 can also be shown in the current location of touch point
Top, the other positions such as the lower section of the current location of touch point can also be shown in, the present exemplary embodiment does not make spy to this
It is different to limit.In order to point out the jump direction of user's virtual objects, the jump prompt message 5, which can also be shown in, described virtually shakes
On the extended line of the virtual rocking bar origin in bar region and the line of the position of the touch point (as shown in Figure 4).
When being changed in the position of touch point, position the changing with the current location of the touch point for prompt message of jumping
Become and change.For example, when touch point moves in a circle, the jump prompt message also follows the touch point to do circumference fortune
It is dynamic., can also be in show jumping prompt message, while cancelling show jumping virtual control in the present exemplary embodiment.
In step s 2, when the translational speed for detecting the touch point is more than pre-set velocity, trigger described virtual right
The skip instruction of elephant, controls the virtual objects to be jumped according to the skip instruction.
In the present example embodiment, the pre-set velocity can by developer according to different mobile terminal resolution ratio with
And operating experience needs voluntarily to set, the present exemplary embodiment is not particularly limited to this.The skip instruction can include void
Intend the jump direction of object, the jump direction can include one below:The current moving direction of the virtual objects and
The movement of the touch point is more than the moving direction during pre-set velocity.Specifically, the translational speed in touch point is more than in advance
If during speed, and when the moving direction of the touch point and the consistent moving direction of virtual objects, the virtual objects are current
Moving direction is the jump direction of the virtual objects.When the translational speed of touch point is more than pre-set velocity, and the touch-control
When the moving direction of point and the inconsistent moving direction of virtual objects, when the translational speed of the touch point is more than pre-set velocity
Moving direction is the jump direction of the virtual objects, for example, when the moving direction of touch point is left, the jump side of virtual objects
To also to be left;When the moving direction of touch point is right, the jump direction of virtual objects is also the right side.
It is described when the translational speed for detecting the touch point is more than pre-set velocity, trigger the jump of the virtual objects
Instruction can include two ways.
Mode one, when the translational speed for detecting the touch point is more than pre-set velocity, and the virtual objects is current
When angle between moving direction and the initial moving direction of the virtual objects is less than predetermined angle, the virtual objects are triggered
Skip instruction.
In the present example embodiment, the current moving direction of the virtual objects is according to the current location of the touch point
It is determined that, the initial moving directions of the virtual objects is determined according to the initial position of the touch point, touch point herein just
Beginning position and current location correspond to two positions of the touch point in the translational speed calculation formula of the touch point respectively.Due to
The moving direction of virtual objects is determined according to the position of the touch point, therefore, it can the current movement by virtual objects are calculated
The angle of the initial moving direction of direction and virtual objects is converted to the present bit for calculating touch point in initial position and touch point
Put the angle a (as shown in Figure 6) of two straight lines constituted respectively with the position of virtual rocking bar origin.
The predetermined angle can be set by developer, and it can be 5 degree, or 3 degree, the present exemplary embodiment pair
This is not particularly limited.Due to when user's control touch point is moved, it is difficult to accomplish it is strict moved in the way of straight line, because
This, by setting the predetermined angle to provide the user appropriate deviation range, to improve the efficiency of operation, and provides the user more
Good operating experience.Based on this, the predetermined angle is difficult excessive when setting.
Mode two, when detect the translational speed of the touch point on the current moving direction of the virtual objects point
When amount is more than pre-set velocity, the skip instruction of the virtual objects is triggered.
In the present example embodiment, in actual operation, the moving direction of touch point not necessarily with virtual objects
Moving direction is identical, may with the moving direction of virtual objects at an angle, at this point it is possible to based on virtual objects work as
Preceding moving direction is decomposed the translational speed of touch point, and the component on the moving direction of virtual objects is more than default speed
When spending, the skip functionality of virtual objects is triggered.
It should be noted that when controlling virtual objects to be jumped according to skip instruction, still keeping the shifting of virtual objects
It is dynamic.That is, jumped during movement.
In addition, when the translational speed of touch point is not more than pre-set velocity, controlling virtual objects according to the movement of touch point
Move in direction.
When virtual objects have performed skip instruction, if can't detect touch point, i.e. the finger of user leaves Touch Screen,
Now control virtual objects remains stationary state;If detecting touch point always situated on Touch Screen, i.e., finger always situated in
On Touch Screen, control virtual objects keep mobile status, and detect the translational speed of touch point again, and in the shifting of touch point
When dynamic speed is more than pre-set velocity, control virtual objects perform skip instruction.
In summary, only increase the detection to the translational speed of touch point on the basis of original operation, will control
Virtual objects perform move and the operation of skip instruction is combined together, and user is triggered simultaneously by one-handed performance
Skip instruction and move, compared to prior art, allow user by bimanualness while triggering skip instruction, movement
Instruction and attack instruction, while also increasing the richness of operation;In addition, the translational speed in touch point is more than pre-set velocity
When, control the virtual objects to be jumped according to the skip instruction, i.e. user can be by the operational control of quick sliding
Virtual objects are jumped, simple to operate easy to learn, better user experience.
Below, said process is illustrated by specifically operating, user is touched in virtual rocking bar area by left-hand finger
The virtual rocking bar 2 of the internal trigger of domain 1, and control virtual objects to move.On this basis, user can virtually shaken by left-hand finger
In bar region 1 quick sliding and by right finger attack region 4 in carry out clicking operation.Now, virtual objects are being performed
While move, perform skip instruction and attack is instructed, i.e., be visually, in the moving process of virtual objects, lead to
Cross while destination object is hidden in jump and destination object is attacked.
It should be noted that although each step of method in the disclosure is described with particular order in the accompanying drawings,
This does not require that or implied must perform these steps according to the particular order, or have to carry out the step shown in whole
Desired result could be realized.It is additional or alternative, it is convenient to omit some steps, multiple steps are merged into a step and held
OK, and/or by a step execution of multiple steps etc. are decomposed into.
In an exemplary embodiment of the disclosure, a kind of virtual objects controlled device is additionally provided, applied to void can be presented
Intend object and the touch control terminal in virtual rocking bar region, as shown in fig. 7, the virtual objects controlled device 100 can include:
Detecting module 101, which can work as, to be detected the virtual rocking bar region and occurs touch event, the virtual objects according to
When the position of the touch point of the touch event is moved, the translational speed of touch point described in detecting real-time;
When control module 102 can work as the translational speed for detecting the touch point more than pre-set velocity, the void is triggered
Intend the skip instruction of object, control the virtual objects to be jumped according to the skip instruction.
The detail of each virtual objects controlled apparatus module is in corresponding virtual object control method in above-mentioned
It is described in detail, therefore here is omitted.
Although it should be noted that be referred to some modules or unit of the equipment for execution in above-detailed,
But it is this divide it is not enforceable.In fact, according to embodiment of the present disclosure, two or more above-described modules
Or the feature and function of unit can embody in a module or unit.Conversely, an above-described module or
The feature and function of person's unit can be further divided into being embodied by multiple modules or unit.
In an exemplary embodiment of the disclosure, additionally providing a kind of can realize the electronic equipment of the above method.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be implemented as following form, i.e.,:It is complete hardware embodiment, complete
Complete Software Implementation (including firmware, microcode etc.), or the embodiment combined in terms of hardware and software, it can unite here
Referred to as " circuit ", " module " or " system ".
Electronic equipment 600 according to the embodiment of the invention is described referring to Fig. 8.The electronics that Fig. 8 is shown
Equipment 600 is only an example, should not carry out any limitation to the function of the embodiment of the present invention and using range band.
As shown in figure 8, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can be wrapped
Include but be not limited to:At least one above-mentioned processing unit 610, at least one above-mentioned memory cell 620, connection different system component
The bus 630 of (including memory cell 620 and processing unit 610), display unit 640.
Wherein, the memory cell is had program stored therein code, and described program code can be held by the processing unit 610
OK so that the processing unit 610 performs various according to the present invention described in above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.Detected for example, the step S1. that the processing unit 610 can be performed as shown in Figure 2 works as
Touch event occurs for the virtual rocking bar region, and the virtual objects are moved according to the position of the touch point of the touch event
When dynamic, the translational speed of touch point described in detecting real-time;Step S2. is preset when the translational speed for detecting the touch point is more than
During speed, the skip instruction of the virtual objects is triggered, controls the virtual objects to be jumped according to the skip instruction.
Memory cell 620 can include the computer-readable recording medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Memory cell 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to:Operating system, one or more application program, other program moulds
The realization of network environment is potentially included in each or certain combination in block and routine data, these examples.
Bus 630 can be to represent the one or more in a few class bus structures, including memory cell bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, the equipment communication interacted with the electronic equipment 600 can be also enabled a user to one or more, and/or with causing
Any equipment (such as router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other computing device
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As illustrated, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600.
It should be understood that although not shown in the drawings, can combine electronic equipment 600 does not use other hardware and/or software module, including but not
It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can be realized by software, can also be realized by way of software combines necessary hardware.Therefore, according to the disclosure
The technical scheme of embodiment can be embodied in the form of software product, the software product can be stored in one it is non-volatile
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are to cause a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is performed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer-readable recording medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product, it includes program code, when described program product is run on the terminal device, institute
State program code be used for make the terminal device perform described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
With reference to shown in Fig. 9, the program product for being used to realize the above method according to the embodiment of the present invention is described
800, it can be using portable compact disc read only memory (CD-ROM) and including program code, it is possible in terminal device,
For example on PC run.However, the program product not limited to this of the present invention, in this document, readable storage medium storing program for executing can be with
Be it is any include or storage program tangible medium, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any combination above.The more specifically example of readable storage medium storing program for executing is (non exhaustive
List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more wires, read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media can include in a base band or as carrier wave a part propagate data-signal, its
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie beyond readable storage medium storing program for executing
Matter, the computer-readable recording medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code included on computer-readable recording medium can be transmitted with any appropriate medium, including but not limited to wirelessly, be had
Line, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for performing the program that the present invention is operated
Code, described program design language includes object oriented program language-Java, C++ etc., in addition to conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
Perform, partly perform on a user device on computing device, being performed as an independent software kit, partly in user's calculating
Its upper side point is performed or performed completely in remote computing device or server on a remote computing.It is remote being related to
In the situation of journey computing device, remote computing device can pass through the network of any kind, including LAN (LAN) or wide area network
(WAN) user calculating equipment, is connected to, or, it may be connected to external computing device (for example utilizes ISP
Come by Internet connection).
In addition, above-mentioned accompanying drawing is only the schematic theory of the processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limitation purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings was not intended that or limited these processing is suitable
Sequence.In addition, being also easy to understand, these processing for example can be performed either synchronously or asynchronously in multiple modules.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein
His embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by claim
Point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (12)
1. a kind of virtual object control method, it is characterised in that applied to touching for virtual objects and virtual rocking bar region can be presented
Control terminal, the virtual object control method includes:
Occurs touch event when detecting the virtual rocking bar region, the virtual objects are according to the touch point of the touch event
Position when being moved, the translational speed of touch point described in detecting real-time;
When the translational speed for detecting the touch point is more than pre-set velocity, the skip instruction of the virtual objects, control are triggered
The virtual objects are made to be jumped according to the skip instruction.
2. virtual object control method according to claim 1, it is characterised in that described to detect the touch point
When translational speed is more than pre-set velocity, the skip instruction of the virtual objects is triggered, including:
When the translational speed for detecting the touch point is more than pre-set velocity, and current moving direction and the institute of the virtual objects
When stating the angle between the initial moving direction of virtual objects less than predetermined angle, the skip instruction of the virtual objects is triggered.
3. virtual object control method according to claim 1, it is characterised in that described to detect the touch point
When translational speed is more than pre-set velocity, the skip instruction of the virtual objects is triggered, including:
When detect component of the translational speed of the touch point on the current moving direction of the virtual objects be more than it is default
During speed, the skip instruction of the virtual objects is triggered.
4. the virtual object control method according to any one in claims 1 to 3, it is characterised in that the jump refers to
Order includes the jump direction of virtual objects, and the jump direction includes one below:
The current moving direction of the virtual objects;
The translational speed of the touch point is more than the moving direction during pre-set velocity.
5. virtual object control method according to claim 1, it is characterised in that include void in the virtual rocking bar region
Intend the place of safety of rocking bar origin, the translational speed of touch point includes described in the detecting real-time:
When detecting the touch point outside the safety zone, the translational speed of touch point described in detecting real-time.
6. virtual object control method according to claim 1, it is characterised in that methods described also includes:
When touch event, the jump virtual control of display one do not occur for the virtual rocking bar region.
7. virtual object control method according to claim 1, it is characterised in that methods described also includes:
When detecting the virtual rocking bar region generation touch event, the current location show jumping based on the touch point is carried
Show information, and the position of the jump prompt message changes with the change of the current location of the touch point.
8. virtual object control method according to claim 7, it is characterised in that the jump prompt message is shown in institute
On the extended line for stating the virtual rocking bar origin in virtual rocking bar region and the line of the position of the touch point.
9. virtual object control method according to claim 1, it is characterised in that touch point described in the detecting real-time
Translational speed, including:
Obtain displacement of the touch point in preset time;
The translational speed of the touch point is calculated according to the displacement and the preset time.
10. a kind of virtual objects controlled device, it is characterised in that applied to touching for virtual objects and virtual rocking bar region can be presented
Control terminal, the virtual objects controlled device includes:
Detecting module, occurs touch event, the virtual objects are according to the touch-control thing when detecting the virtual rocking bar region
When the position of the touch point of part is moved, the translational speed of touch point described in detecting real-time;
Control module, when the translational speed for detecting the touch point is more than pre-set velocity, triggers the jump of the virtual objects
Jump instruction, controls the virtual objects to be jumped according to the skip instruction.
11. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
The virtual object control method described in any one in claim 1~9 is realized when being executed by processor.
12. a kind of electronic equipment, it is characterised in that including:
Processor;And
Memory, the executable instruction for storing the processor;
Wherein, the processor is configured to come any one institute in perform claim requirement 1~9 via the execution executable instruction
The virtual object control method stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710538365.3A CN107273037A (en) | 2017-07-04 | 2017-07-04 | Virtual object control method and device, storage medium, electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710538365.3A CN107273037A (en) | 2017-07-04 | 2017-07-04 | Virtual object control method and device, storage medium, electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107273037A true CN107273037A (en) | 2017-10-20 |
Family
ID=60071046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710538365.3A Pending CN107273037A (en) | 2017-07-04 | 2017-07-04 | Virtual object control method and device, storage medium, electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273037A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108355352A (en) * | 2018-01-31 | 2018-08-03 | 网易(杭州)网络有限公司 | Dummy object control method and device, electronic equipment, storage medium |
CN108379843A (en) * | 2018-03-16 | 2018-08-10 | 网易(杭州)网络有限公司 | virtual object control method and device |
CN108434732A (en) * | 2018-03-23 | 2018-08-24 | 网易(杭州)网络有限公司 | Virtual object control method and device, storage medium, electronic equipment |
CN108469943A (en) * | 2018-03-09 | 2018-08-31 | 网易(杭州)网络有限公司 | It runs the triggering method and device of operation |
CN108509139A (en) * | 2018-03-30 | 2018-09-07 | 腾讯科技(深圳)有限公司 | Control method for movement, device, electronic device and the storage medium of virtual objects |
CN108553887A (en) * | 2018-03-14 | 2018-09-21 | 网易(杭州)网络有限公司 | A kind of acceleration control method of game manipulation object |
CN108744507A (en) * | 2018-05-18 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Virtual objects whereabouts control method, device, electronic device and storage medium |
CN108905198A (en) * | 2018-06-04 | 2018-11-30 | 网易(杭州)网络有限公司 | A kind of control method and device of virtual objects jump |
CN109224438A (en) * | 2018-10-26 | 2019-01-18 | 网易(杭州)网络有限公司 | The control method and device of virtual role in game |
CN110465088A (en) * | 2019-08-07 | 2019-11-19 | 上海欧皇网络科技有限公司 | A kind of control method and device of game role |
CN111318020A (en) * | 2020-03-03 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, equipment and storage medium |
CN112370258A (en) * | 2020-11-13 | 2021-02-19 | 北京三角洲机器人科技有限公司 | Electric mobile device |
CN113398573A (en) * | 2021-06-29 | 2021-09-17 | 网易(杭州)网络有限公司 | Virtual character displacement control method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007130367A (en) * | 2005-11-14 | 2007-05-31 | Nintendo Co Ltd | Game machine and game program |
US20110285636A1 (en) * | 2010-05-20 | 2011-11-24 | Howard John W | Touch screen with virtual joystick and methods for use therewith |
JP5701440B1 (en) * | 2014-08-29 | 2015-04-15 | 株式会社Cygames | Method to improve user input operability |
CN105045520A (en) * | 2015-08-31 | 2015-11-11 | 网易(杭州)网络有限公司 | Touch screen response method and apparatus |
CN105630374A (en) * | 2015-12-17 | 2016-06-01 | 网易(杭州)网络有限公司 | Virtual character control mode switching method and device |
CN106029187A (en) * | 2014-02-19 | 2016-10-12 | 微软技术许可有限责任公司 | Advanced game mechanics on hover-sensitive devices |
-
2017
- 2017-07-04 CN CN201710538365.3A patent/CN107273037A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007130367A (en) * | 2005-11-14 | 2007-05-31 | Nintendo Co Ltd | Game machine and game program |
US20110285636A1 (en) * | 2010-05-20 | 2011-11-24 | Howard John W | Touch screen with virtual joystick and methods for use therewith |
CN106029187A (en) * | 2014-02-19 | 2016-10-12 | 微软技术许可有限责任公司 | Advanced game mechanics on hover-sensitive devices |
JP5701440B1 (en) * | 2014-08-29 | 2015-04-15 | 株式会社Cygames | Method to improve user input operability |
CN105045520A (en) * | 2015-08-31 | 2015-11-11 | 网易(杭州)网络有限公司 | Touch screen response method and apparatus |
CN105630374A (en) * | 2015-12-17 | 2016-06-01 | 网易(杭州)网络有限公司 | Virtual character control mode switching method and device |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108355352A (en) * | 2018-01-31 | 2018-08-03 | 网易(杭州)网络有限公司 | Dummy object control method and device, electronic equipment, storage medium |
CN108355352B (en) * | 2018-01-31 | 2021-05-04 | 网易(杭州)网络有限公司 | Virtual object control method and device, electronic device and storage medium |
CN108469943A (en) * | 2018-03-09 | 2018-08-31 | 网易(杭州)网络有限公司 | It runs the triggering method and device of operation |
CN108553887A (en) * | 2018-03-14 | 2018-09-21 | 网易(杭州)网络有限公司 | A kind of acceleration control method of game manipulation object |
CN108379843A (en) * | 2018-03-16 | 2018-08-10 | 网易(杭州)网络有限公司 | virtual object control method and device |
CN108434732A (en) * | 2018-03-23 | 2018-08-24 | 网易(杭州)网络有限公司 | Virtual object control method and device, storage medium, electronic equipment |
CN108509139B (en) * | 2018-03-30 | 2019-09-10 | 腾讯科技(深圳)有限公司 | Control method for movement, device, electronic device and the storage medium of virtual objects |
CN108509139A (en) * | 2018-03-30 | 2018-09-07 | 腾讯科技(深圳)有限公司 | Control method for movement, device, electronic device and the storage medium of virtual objects |
US11298609B2 (en) | 2018-03-30 | 2022-04-12 | Tencent Technology (Shenzhen) Company Limited | Virtual object movement control method and apparatus, electronic apparatus, and storage medium |
US11224813B2 (en) | 2018-05-18 | 2022-01-18 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for controlling falling of virtual object, electronic device, and storage medium |
CN108744507A (en) * | 2018-05-18 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Virtual objects whereabouts control method, device, electronic device and storage medium |
CN108905198A (en) * | 2018-06-04 | 2018-11-30 | 网易(杭州)网络有限公司 | A kind of control method and device of virtual objects jump |
CN109224438A (en) * | 2018-10-26 | 2019-01-18 | 网易(杭州)网络有限公司 | The control method and device of virtual role in game |
CN109224438B (en) * | 2018-10-26 | 2022-06-24 | 网易(杭州)网络有限公司 | Method and device for controlling virtual character in game |
CN110465088A (en) * | 2019-08-07 | 2019-11-19 | 上海欧皇网络科技有限公司 | A kind of control method and device of game role |
CN111318020A (en) * | 2020-03-03 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, equipment and storage medium |
CN111318020B (en) * | 2020-03-03 | 2022-05-17 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, equipment and storage medium |
CN112370258A (en) * | 2020-11-13 | 2021-02-19 | 北京三角洲机器人科技有限公司 | Electric mobile device |
CN112370258B (en) * | 2020-11-13 | 2022-08-09 | 安徽金百合医疗器械有限公司 | Electric mobile device |
CN113398573A (en) * | 2021-06-29 | 2021-09-17 | 网易(杭州)网络有限公司 | Virtual character displacement control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273037A (en) | Virtual object control method and device, storage medium, electronic equipment | |
CN107132988B (en) | Virtual objects condition control method, device, electronic equipment and storage medium | |
US8878787B2 (en) | Multi-touch user input based on multiple quick-point controllers | |
EP3191941B1 (en) | Parametric inertia and apis | |
CN106155553A (en) | Virtual objects motion control method and device | |
CN104364734B (en) | Remote session control using multi-touch inputs | |
CN107297073B (en) | Method and device for simulating peripheral input signal and electronic equipment | |
CN107329690B (en) | Virtual object control method and device, storage medium and electronic equipment | |
JP2009205685A (en) | Simulation of multi-point gesture by single pointing device | |
CN108553892B (en) | Virtual object control method and device, storage medium and electronic equipment | |
CN108287657A (en) | Technical ability applying method and device, storage medium, electronic equipment | |
CN108292164B (en) | Touch pad and method for controlling touch pad | |
CN109939433A (en) | The method of controlling operation thereof and device, storage medium and electronic equipment of virtual card | |
KR101981158B1 (en) | Interaction method for user interfaces | |
CN109460179A (en) | Virtual object control method and device, electronic equipment, storage medium | |
CN108339272A (en) | Virtual shooting main body control method and device, electronic equipment, storage medium | |
CN108434732A (en) | Virtual object control method and device, storage medium, electronic equipment | |
CN108776544A (en) | Exchange method and device, storage medium, electronic equipment in augmented reality | |
CN107092434A (en) | Overlay target system of selection and device, storage medium, electronic equipment | |
CN109542323A (en) | Interaction control method and device, storage medium, electronic equipment | |
KR102164853B1 (en) | A method for controlling a kit by generating a command for controlling the kit on the kit control terminal | |
CN108170295A (en) | Virtual camera condition control method, device, electronic equipment and storage medium | |
US20180300052A1 (en) | Operation input apparatus, information processing apparatus, information processing method, and program | |
CN107491262A (en) | Virtual object control method and device, storage medium, electronic equipment | |
CN108595010A (en) | The exchange method and device of dummy object in virtual reality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171020 |
|
RJ01 | Rejection of invention patent application after publication |