CN107132988B - Virtual objects condition control method, device, electronic equipment and storage medium - Google Patents
Virtual objects condition control method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN107132988B CN107132988B CN201710416850.3A CN201710416850A CN107132988B CN 107132988 B CN107132988 B CN 107132988B CN 201710416850 A CN201710416850 A CN 201710416850A CN 107132988 B CN107132988 B CN 107132988B
- Authority
- CN
- China
- Prior art keywords
- control
- touch
- rocking bar
- virtual
- virtual objects
- 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.)
- Active
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/04886—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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
- A63F13/2145—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
-
- 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/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- 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/0484—Interaction 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/10—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
- A63F2300/1068—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
- A63F2300/1075—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8076—Shooting
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 objects condition control method, device, electronic equipment and storage mediums.The disclosure judges whether the first touch-control startup operation occurs the virtual rocking bar region when detection receives the first touch-control startup operation by detecting whether to receive the first touch-control startup operation;The first touch-control startup operation generation is being judged at the virtual rocking bar region, controls the virtual objects according to mobile with the continuous slide of the first touch-control startup operation;It detects whether to receive with the continuous first touch-control end operation of the slide and when detection receives the first touch-control end operation, controls the virtual rocking bar and enter course changing control state;Under the course changing control state, when detecting the touch control operation for acting on the predeterminated position in the virtual rocking bar region, the target rotational direction of the virtual objects is determined according to the touch control operation.The disclosure improves the steering efficiency of virtual objects.
Description
Technical field
This disclosure relates to field of human-computer interaction, in particular to a kind of virtual objects condition control method, virtual objects
Behavior control device, electronic equipment and computer readable storage medium.
Background technique
With the fast development of the technology of mobile communication, occurs a large amount of game application on touch control terminal.All kinds of
In the scene of game, touch control terminal shows various game objects according to certain layout, true to present to user
Scene of game.
In FPS (First-Person Shooting Game, first person shooting game) or TPS (ThirdPerson
Shooting Game, third person shooting game) etc. in shootings mobile phone games, role is mobile and aiming is penetrated
It is essential for hitting operation.Due to being touched the limitation of terminal device, scheme in the prior art is general are as follows: such as Fig. 1 institute
Show, a virtual rocking bar region is set on the left of operation interface, it is mobile by left hand control role;In the non-control of operation interface
Region passes through right hand slide cutaway direction up and down and sighted direction.Significantly switch in the horizontal direction
When direction, it usually needs continuous several times sliding switches over.
Although it is high that existing way operates accuracy, it is not easy to maloperation occurs, when needing wide-angle switching direction,
Operating procedure is more, and operating efficiency is low, especially opponent's movement speed quickly or fight than comparatively dense in the case where, can not do
It turns to and aims to effective, significantly impact playability and feel, user experience is bad.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of virtual objects condition control method, virtual objects behavior control device, electricity
Sub- equipment and computer readable storage medium, so overcome limitation and defect due to the relevant technologies at least to a certain extent and
One or more caused problem.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
It is virtual right applied to that can present according to the disclosure in a first aspect, provide a kind of virtual objects condition control method
As the touch control terminal with virtual rocking bar region, the virtual objects are configured as being moved according to the control of the virtual rocking bar,
The described method includes:
It detects whether to receive the first touch-control startup operation, and sentences when detection receives the first touch-control startup operation
Whether the first touch-control startup operation of breaking occurs the virtual rocking bar region;
Judging that the first touch-control startup operation occurs at the virtual rocking bar region, is controlling the virtual objects root
According to mobile with the continuous slide of the first touch-control startup operation;
It detects whether to receive with the continuous first touch-control end operation of the slide and is received in detection described
When the first touch-control end operation, controls the virtual rocking bar and enter course changing control state;
Under the course changing control state, the touch control operation for acting on the predeterminated position in the virtual rocking bar region is detected
When, the target rotational direction of the virtual objects is determined according to the touch control operation.
In a kind of exemplary embodiment of the disclosure, the virtual rocking bar region includes the first subregion and the second sub-district
Domain;It controls the virtual rocking bar and enters course changing control state and include:
Judge whether the first touch-control end operation occurs judging the first touch-control knot in first subregion
Beam operation occurs in first subregion, controls the virtual rocking bar and enters course changing control state.
In a kind of exemplary embodiment of the disclosure, the control virtual rocking bar enters course changing control state and includes:
Whether the duration for judging that the virtual rocking bar enters course changing control state is more than preset duration;
When judging that the virtual rocking bar enters the duration of course changing control state more than the preset duration, the void is controlled
Quasi- rocking bar exits the course changing control state.
In a kind of exemplary embodiment of the disclosure, controls the virtual rocking bar and enters course changing control state further include:
When the duration that judgement enters course changing control state is less than the preset duration, one turn is provided in predetermined position
To control;
It detects whether to receive the second touch control operation, and judges whether second touch control operation occurs turning to controls region
Domain;
The second touch control operation generation is being judged when turning to control regions, and the orientation according to the steering control is determining
The target rotational direction of the virtual objects.
In a kind of exemplary embodiment of the disclosure, after the virtual rocking bar enters course changing control state, the side
Method further include:
Judge whether second touch control operation occurs the virtual rocking bar region except the steering control regions;
Judging that second touch control operation occurs at the virtual rocking bar region except the steering control regions,
It controls the virtual rocking bar and exits the course changing control state.
In a kind of exemplary embodiment of the disclosure, the virtual objects are determined according to the orientation for turning to control
Target rotational direction includes:
The minimum angles that central axes are formed are preset according to the orientation for turning to control and the virtual rocking bar region to determine
The target rotational direction.
In a kind of exemplary embodiment of the disclosure, determine that the target of the virtual objects turns according to the touch control operation
After dynamic direction, the method also includes:
It is turned to according to the target rotational direction controlling virtual objects, and display and the void in operation interface in real time
The scene of game picture of the rotation direction corresponding angle of quasi- object.
In a kind of exemplary embodiment of the disclosure, is turned to and wrapped according to the target rotational direction controlling virtual objects
It includes:
The virtual objects are controlled at the uniform velocity to rotate to the target rotational direction with default angular speed.
In a kind of exemplary embodiment of the disclosure, one is provided in predetermined position and turns to control further include:
When the virtual objects are moved, it is empty to provide one for the terminal point of the slide track in operation interface
Quasi- rocking bar mark;
After the virtual rocking bar enters course changing control state, the virtual rocking bar mark is converted into the steering and is controlled
Part.
In a kind of exemplary embodiment of the disclosure, one is provided in predetermined position and turns to control further include:
In the initial position of the virtual rocking bar, the virtual rocking bar is converted into the steering control.
In a kind of exemplary embodiment of the disclosure, the method also includes:
After the virtual rocking bar enters course changing control state, identification shows the target rotational direction.
In a kind of exemplary embodiment of the disclosure, the virtual objects are being determined according to the orientation for turning to control
Target rotational direction, further includes:
Judge whether the virtual objects go to the target rotational direction, is judging that it is described that the virtual objects have turned to
When target rotational direction, controls the virtual rocking bar and exit the course changing control state.
In a kind of exemplary embodiment of the disclosure, the method also includes:
When judging that the virtual objects do not go to the target rotational direction, detect whether second touch control operation is tied
Beam and at the end of detecting second touch control operation controls the virtual rocking bar and exits the course changing control state, and controls
The virtual objects continue to go to the target rotational direction.
In a kind of exemplary embodiment of the disclosure, the virtual rocking bar region is border circular areas;First sub-district
Domain and the second subregion are fan-shaped region complementary in the virtual rocking bar region.
According to another aspect of the disclosure, a kind of virtual objects condition control method is provided, it is virtual applied to that can present
The touch control terminal of object and virtual rocking bar region, the virtual objects are configured as being moved according to the control of the virtual rocking bar
Dynamic, the virtual rocking bar region includes first area and the circular first area including the first subregion and the second subregion
Second area, which comprises
It detects whether to receive the first touch-control startup operation, and sentences when detection receives the first touch-control startup operation
Whether the first touch-control startup operation of breaking occurs the second area;
Judging that the first touch-control startup operation occurs in the second area, control the virtual objects according to
The continuous slide of first touch-control startup operation is mobile;
It detects whether to receive with the continuous first touch-control end operation of the slide and is received in detection described
When the first touch-control end operation, judge whether the first touch-control end operation occurs in first subregion;
The first touch-control end operation generation is being judged in first subregion, controls the virtual rocking bar entrance
Course changing control state;
Under the course changing control state, when detecting the slide for acting on the virtual rocking bar region, according to institute
State the target rotational direction that slide determines the virtual objects.
In a kind of exemplary embodiment of the disclosure, the first area is border circular areas;The second area is ring
Annular region around the first area;First subregion and the second subregion are the fan annulus in the second area
Domain.
According to one aspect of the disclosure, a kind of virtual objects behavior control device is provided, it is virtual right applied to that can present
As the touch control terminal with virtual rocking bar region, the virtual objects are configured as being moved according to the control of the virtual rocking bar,
Described device includes:
First detection module for detecting whether receiving the first touch-control startup operation, and receives described in detection
Judge whether the first touch-control startup operation occurs the virtual rocking bar region when one touch-control startup operation;
Mobile control module, for judge the first touch-control startup operation generation at the virtual rocking bar region,
The virtual objects are controlled according to mobile with the continuous slide of the first touch-control startup operation;
Second detection module, for detecting whether receiving with the continuous first touch-control end operation of the slide simultaneously
When detection receives the first touch-control end operation, controls the virtual rocking bar and enter course changing control state;
Course changing control module, for detecting and acting on the virtual rocking bar region under the course changing control state
When the touch control operation of predeterminated position, the target rotational direction of the virtual objects is determined according to the touch control operation.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute void described in above-mentioned any one via the executable instruction is executed
Quasi- Obj State control method.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with,
The computer program realizes virtual objects condition control method described in above-mentioned any one when being executed by processor.
A kind of virtual objects condition control method of exemplary embodiment offer of the disclosure, virtual objects state control dress
It sets, in electronic equipment and computer readable storage medium, on the one hand, virtual rocking bar can be triggered by the first touch-control end operation
Into course changing control state, the operation that needs are repeatedly slided when being turned in the horizontal direction in the prior art is avoided,
The step of simplifying steering improves steering efficiency;On the other hand, virtual rocking bar region predeterminated position is acted on by detection
Touch control operation can more accurately control steering;On the other hand, control virtual objects are mobile and turn in virtual rocking bar region
It completes, improves screen utilization rate.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
Its example embodiment is described in detail by referring to accompanying drawing, the above and other feature and advantage of the disclosure will become
It is more obvious.It should be evident that the accompanying drawings in the following description is only some embodiments of the present disclosure, skill common for this field
For art personnel, without creative efforts, it is also possible to obtain other drawings based on these drawings.In attached drawing
In:
Fig. 1 is a kind of schematic diagram of mobile phone games operation interface in disclosure exemplary embodiment;
Fig. 2 schematically shows a kind of virtual objects condition control method flow diagram in disclosure exemplary embodiment;
Fig. 3 a schematically shows a kind of virtual rocking bar region division schematic diagram in disclosure exemplary embodiment;
Fig. 3 b schematically shows another virtual rocking bar region division schematic diagram in disclosure exemplary embodiment;
Fig. 4 schematically shows the schematic diagram that setting in disclosure exemplary embodiment turns to the operation interface of mark;
Fig. 5 schematically shows another virtual objects condition control method process signal in disclosure exemplary embodiment
Figure;
Fig. 6 schematically shows a kind of structural representation of virtual objects behavior control device in disclosure exemplary embodiment
Figure;
Fig. 7 schematically shows the block diagram of a kind of electronic equipment in disclosure exemplary embodiment;
Fig. 8 is schematically shown in disclosure exemplary embodiment for controlling a kind of program product of virtual objects state.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is 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 communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However,
It will be appreciated by persons skilled in the art that can be with technical solution of the disclosure without one in the specific detail or more
It is more, or can adopt with other methods, constituent element, material, device, step etc..In other cases, it is not shown in detail or describes
Known features, method, apparatus, realization, material or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings 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 of one or more softwares hardening
A part of 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 objects condition control method is disclosed in the present exemplary embodiment first, can be applied to present
The touch control terminal of virtual objects and virtual rocking bar region, the virtual objects be arranged to according to the control of the virtual rocking bar and
It is mobile.In the present exemplary embodiment, virtual rocking bar region can be located at any position of operation interface.The touch control terminal can be with
For the various electronic equipments with Touch Screen such as such as mobile phone, tablet computer, laptop, game machine, PDA.But it needs
Illustrate, keyboard and mouse action may also be modeled as touch-control by modes such as simulators in the non-touch-control equipment of part
Operation, this mode can equally be considered as touch control terminal described in the disclosure.With reference to shown in Fig. 2, the virtual objects shape
State control method may comprise steps of:
Step S110. detects whether to receive the first touch-control startup operation, and receives first touch-control in detection and rise
Begin to judge whether the first touch-control startup operation occurs the virtual rocking bar region when operation;
Step S120. is judging the first touch-control startup operation generation at the virtual rocking bar region, described in control
Virtual objects are according to mobile with the continuous slide of the first touch-control startup operation;
Step S130. is detected whether to receive and the continuous first touch-control end operation of the slide and be connect in detection
When receiving the first touch-control end operation, controls the virtual rocking bar and enter course changing control state;
Step S140. detects the predeterminated position for acting on the virtual rocking bar region under the course changing control state
Touch control operation when, the target rotational direction of the virtual objects is determined according to the touch control operation.
According to the virtual objects condition control method in this example embodiment, on the one hand, can be terminated by the first touch-control
Operation triggers virtual rocking bar and enters course changing control state, avoids and needs to carry out when being turned in the horizontal direction in the prior art
The operation repeatedly slided, improves steering efficiency at the step of simplifying steering;On the other hand, it is acted on by detection and is virtually shaken
The touch control operation of bar region predeterminated position can more accurately control steering;On the other hand, control virtual objects are mobile and turn to
Operation completed in virtual rocking bar region, do not need additional control control, improve screen utilization rate.
Next, further being solved referring to figs. 2 to Fig. 4 to each step in the virtual objects condition control method
Release explanation.
In step s 110, it detects whether to receive the first touch-control startup operation, and receives first touching in detection
Judge whether the first touch-control startup operation occurs the virtual rocking bar region when controlling startup operation.
In this example embodiment, it can detecte whether any position in the operation interface receives the first touching first
Control startup operation.The first touch-control startup operation can be understood as finger and contact the operation interface, move virtual objects
The trigger action that state is converted can detect the position at finger touch operation interface by position sensor, and judge institute
The coordinate of the position of the first touch-control startup operation generation is stated whether in virtual rocking bar regional scope.First touch-control startup operation can
To be touched by finger, touch interface can also be clicked, double-click, translate, pressing, pulling, slide by finger etc. singly
A operation can also combine progress simultaneously with two or more different single operations, such as carry out a little while slide
It hits operation or carries out pressing operation while clicking.Wherein, the position that the first touch-control startup operation occurs can be
Any position of any direction in virtual rocking bar region.Before receiving the first touch-control startup operation, the virtual objects can
To remain static, moving condition also may be at, be also in steering state either other states.
In the step s 120, judging that the first touch-control startup operation occurs at the virtual rocking bar region, control
The virtual objects are according to mobile with the continuous slide of the first touch-control startup operation.
In this illustrative embodiment, the coordinate in the position for judging the first touch-control startup operation generation is virtually being shaken
When in bar regional scope, virtual rocking bar region can be continued to test whether receive and continuously be slided with the first touch-control startup operation
Operation.Continuous slide can be understood as being immediately detected slide after the first touch-control startup operation herein,
Or it can be appreciated that detect slide in preset time after the first touch-control startup operation, herein default
Time can be shorter time interval, such as 5 milliseconds etc..The position that slide can be terminated with the first touch-control startup operation
It is set to starting point, using any position as terminal.When detecting slide, the track of available slide, and control institute
Virtual objects are stated to be moved according to the track of the slide.
In step s 130, it detects whether to receive and the continuous first touch-control end operation of the slide and examine
When survey receives the first touch-control end operation, controls the virtual rocking bar and enter course changing control state.
In this example embodiment, can detecte whether there is terminates to grasp with continuous first touch-control of the slide
Make.The first touch-control end operation can be understood as the operation that finger leaves the operation interface, or finger is at certain
One position continues the operation that residence time is more than preset time.Detecting the first touch-control end operation may include judging the first touching
Whether control operation terminates.First can be judged by detecting the duration, pressure or other feature of first touch control operation
Whether touch control operation terminates.It for example, can be by being in detection operation interface when the first touch control operation is clicking operation
It is no to judge whether clicking operation terminates there are contact point;It, can be by calculating long-pressing when the first touch control operation is long press operation
Whether the duration of operation is more than that the preset duration of long press operation judges whether long press operation terminates;It is weight in the first touch control operation
It perhaps can be by calculating whether pressure value is zero or judges whether weight or light press operation are tied close to zero when light press operation
Beam.
When detecting that finger leaves the operation interface, available finger leaves the present bit when operation interface
It sets, i.e., the coordinate for the position that the described first touch-control end operation occurs, and determine that the first touch-control end operation occurs by comparing
Position whether in virtual rocking bar region.It, can be with when detecting the first touch-control end operation for acting on virtual rocking bar region
It controls virtual rocking bar and course changing control state is switched to by initial mobile state of a control, turned to controlling virtual objects.
In step S140, under the course changing control state, detects and act on the default of the virtual rocking bar region
When the touch control operation of position, the target rotational direction of the virtual objects is determined according to the touch control operation.
In this example embodiment, under course changing control state, a target rotational direction can be determined, then with determination
Target rotational direction be target, control the virtual objects and rotated.Target rotational direction can be the virtual rocking bar
Any direction in region, target rotational direction can be determined according to the position of the end point of touch control operation.Predeterminated position can be
The position of first touch-control end operation, or the initial position of virtual rocking bar, or any other position.Touch-control behaviour
Making can be the single operations such as to be clicked to touch interface by finger, being double-clicked, translated, pressed, pulled, slided, can also be with
The combination operation of two or more different single operations.Detecting the touch-control behaviour for acting on virtual rocking bar region predeterminated position
When making, the target rotational direction of virtual objects can be determined according to the position that touch control operation occurs.
In addition, the virtual rocking bar region includes the first subregion and the second subregion, control in this example embodiment
The virtual rocking bar enters course changing control state
Judge whether the first touch-control end operation occurs judging the first touch-control knot in first subregion
Beam operation occurs in first subregion, controls the virtual rocking bar and enters course changing control state.
In this example embodiment, virtual rocking bar region may include the first subregion S1 and the second subregion S2, reference
Shown in Fig. 3.In the position for judging the first touch-control end operation generation in first subregion, it can control and virtually shake
Bar enters course changing control state, and controls virtual objects into state corresponding with the first subregion.This example embodiment
In, each sub-regions respectively correspond different motion states.For example, refering to what is shown in Fig. 4, when original state, virtual rocker base
Positioned at virtual rocking bar regional center, the button of rocking bar handle 42 is located at rocker base center;When the first touch control operation occurs virtual
When 43 any position of rocking bar region, rocking bar handle 42 can be with the first touch control operation change in location;Occur in the first touch control operation the
When one subregion and the second subregion, virtual objects are moved or are turned to;Occur in the first touch-control end operation in the first son
When region, virtual rocking bar enters course changing control state, and rocking bar handle can change;Occur in the first touch-control end operation second
When subregion, virtual rocking bar can return to original state.
In addition, in this example embodiment, controlling the virtual rocking bar to guarantee the steering for effectively controlling virtual objects
May include: into course changing control state
Whether the duration for judging that the virtual rocking bar enters course changing control state is more than preset duration;
When judging that the virtual rocking bar enters the duration of course changing control state more than the preset duration, the void is controlled
Quasi- rocking bar exits the course changing control state.
In this example embodiment, after virtual rocking bar enters course changing control state, Touch Screen can be left with finger
In virtual rocking bar region at the time of be starting point, calculate the duration that frames out of finger, that is, calculate virtual rocking bar and enter steering control
The duration of state processed, and judge whether to be more than preset duration.The preset duration can be made by oneself according to specific game contexts
Justice setting, such as can be 10S.It, can when judging that virtual rocking bar enters the duration of course changing control state and is more than preset duration 10S
So that virtual rocking bar exits course changing control state, the original state before restoring also returns to initial position.
In addition, turning to accurately control virtual objects, in this example embodiment, the control virtual rocking bar, which enters, to be turned
Can also include: to state of a control
When the duration that judgement enters course changing control state is less than the preset duration, one turn is provided in predetermined position
To control;
It detects whether to receive the second touch control operation, and judges whether second touch control operation occurs turning to controls region
Domain;
The second touch control operation generation is being judged when turning to control regions, and the orientation according to the steering control is determining
The target rotational direction of the virtual objects.
In this example embodiment, as shown in figure 4, judging that virtual rocking bar 42 enters the duration of course changing control state and do not surpass
When crossing the 10S of default, can position that finger frames out provide one turn to control either will be original virtual
Rocking bar handle 42 is registered as a steering control, text " pressing steering " can be shown on the steering control of registration or with its other party
Formula is shown.In preset duration 10S, the steering control of registration all keeps that state can be clicked.
It is provided in operation interface after turning to control, can detecte in the steering control regions whether receive the second touching
Control operation.Second touch control operation can be clicking operation, or weight, light pressure either long press operation, this example
This is not particularly limited in embodiment.It, can be with when detecting that the steering control regions receive such as clicking operation
Clicking operation is obtained to turn to the position of control regions and determining that the target of virtual objects turns according to the position that clicking operation occurs
Dynamic direction.Meanwhile the orientation for turning to control can also follow the position change of the second touch control operation, therefore alternatively basis turns
Target rotational direction is determined to the orientation of control., can be under click state turning to that control keeps in this example embodiment, it can be with
It is any to click any position for turning to control.
In this example embodiment, under conditions of the second touch control operation meets preset duration, then by rocking bar handle location
Domain is registered as turning to control regions, completes mobile in the same region and turns to two different operations, reduces a control
The engaged position in region processed improves screen utilization rate to save the display space of operation interface.This example embodiment
In, it can avoid and need in the prior art by carrying out the steering that quick and easy operation carries out wide-angle to rocking bar region
The problem for repeatedly turning to precision difference caused by slide up and down, simplify operating procedure and improving turn to efficiency with
Precision.
In addition, the motion state in order to guarantee virtual objects is unaffected, this example embodiment when there is maloperation
In, after the virtual rocking bar enters course changing control state, the method can also include:
Judge whether second touch control operation occurs turning to the virtual rocking bar region except control regions;
Judging that second touch control operation occurs at the virtual rocking bar region except the steering control regions,
It controls the virtual rocking bar and exits the course changing control state.
It, can be by the virtual rocking bar area after virtual rocking bar enters course changing control state in this example embodiment
Domain is divided into the region for turning to control regions and turning to except control regions.It is acted in the second touch control operation and turns to controls region
When domain, it can control virtual objects and turned to;The virtual rocking bar turned to except control regions is acted in the second touch control operation
When region, the virtual rocking bar can be made directly to exit course changing control state.Exit in this way course changing control state it
Afterwards, virtual objects still can be moved normally according to the track of slide.It is this to pass through determining second touch control operation hair
Whether raw region decision exits the mode of steering state, virtual rocking bar can be forced to immediately exit from steering when maloperation occurs
State of a control, to compensate for when maloperation occurs, the influence to virtual objects motion state provides that " go back on one's word behaviour for player
Make ".In addition to this, by judging whether the second touch control operation occurs turning to control regions, it is determined whether exit course changing control
State does not need to be arranged one again in operation interface and exits steering control, reduces the engaged position of a control area, from
And the display space of operation interface is saved, improve screen utilization rate.
When virtual objects exit steering state, can be prompted by text or other marks, it is described at this time to move back
It turns to the mode of control out and position can be depending on the circumstances, it is not limited to cited reality in this example embodiment
Existing mode.
In addition, determining that the target of the virtual objects turns according to the orientation for turning to control in this example embodiment
Dynamic direction may include:
The minimum angles that central axes are formed are preset according to the orientation for turning to control and the virtual rocking bar region to determine
The target rotational direction.
It, can be according to the default central axes in the orientation and the virtual rocking bar region for turning to control in this example embodiment
Determine target rotational direction.Default central axes can be the diameter in virtual rocking bar region direction straight up, or horizontal
The diameter of right direction either arbitrary diameter.The default central axes in the virtual rocking bar region can be rotated clockwise to steering
The position of control, can also rotate counterclockwise to the position for turning to control, and the angle being rotated both clockwise and counterclockwise is mutual round angle.
The size that two rotation angles can be compared rotates clockwise or counterclockwise according to wherein lesser rotation angle determination, from
And determination rotates virtual objects clockwise or counterclockwise to the position for turning to control from default central axes, to determine that target turns
Dynamic direction.For example, default central axes are the diameter in direction straight up, control is turned in 3 o ' clock orientations, then virtual objects should
It rotates clockwise 90 degree and goes to target rotational direction.
In addition, determining the target rotational direction of the virtual objects according to the touch control operation in this example embodiment
Later, the method can also include:
It is turned to according to the target rotational direction controlling virtual objects, and display and the void in operation interface in real time
The scene of game picture of the rotation direction corresponding angle of quasi- object.
In this example embodiment, the Touch Screen of touch control terminal can be controlled by the application programming interfaces of touch control terminal
Show the game operation interface, the operation interface can be full screen display, or Partial Window is shown.The operation
The scene of game picture including aiming at control, virtual objects, shooting control, virtual rocking bar region can be presented in interface.Except this
Except, it can also include enemy's virtual objects, virtual scene of fighting, virtual natural environment, map control in the operation interface
White space etc. except region, voice prompting region, information panel control area and each control area.
In this example embodiment, after determining target rotational direction, virtual objects are at the uniform velocity carried out with default angular speed
Rotation, is not that a step passes directly to target rotational direction.Therefore, in virtual objects rotation process, corresponding to each moment
Angle it is all different, virtual camera shooting field-of-view angle also with virtual objects rotation direction change, sighted direction
It can change with the rotation direction of virtual objects.In the process that the control virtual objects are turned to according to target rotational direction
In, the corresponding game that the field-of-view angle at each moment is presented according to the different angle of rotation, can be shown in operation interface
Scenic picture.
In addition, may include: according to the steering of target rotational direction controlling in this example embodiment
The virtual objects are controlled at the uniform velocity to rotate to the target rotational direction with default angular speed.
In this example embodiment, when the virtual objects are turned to according to target rotational direction controlling, void can control
Quasi- object is to preset angular speed uniform rotation.Default angular speed can be set as any number according to system is customized.Virtual
When object at the uniform velocity carries out circular motion, lens direction can be adjusted by the right hand, but the target rotational direction having determined is not
It can change.Target rotational direction can also be consistent with sighted direction.In steering procedure, virtual objects not can be carried out
It is mobile, and screen adjustment direction cannot be slided by the right hand.But in steering procedure, it the attack class behaviour such as can be shot at
Make, direction and 40 sighted direction of camera lens of attack are consistent.Process that is mobile and turning to relies on the touch-control startup operation of left hand
It is completed with touch-control end operation, the right hand can click shooting control 44 in steering procedure and carry out attack operation, increase game
Experience sense.
In addition, being switched to course changing control state, this example embodiment to control virtual rocking bar by moving state of a control
In, providing a steering control in predetermined position can also include:
When the virtual objects are moved, it is empty to provide one for the terminal point of the slide track in operation interface
Quasi- rocking bar mark;
After the virtual rocking bar enters course changing control state, the virtual rocking bar mark is converted into the steering and is controlled
Part.
In this example embodiment, the first touch-control startup operation is received in the first subregion of detection and the second subregion
When, control virtual objects are moved.When virtual objects are moved, can carry out meeting preset condition in operation interface
Slide, and a virtual rocking bar mark is provided according to the terminal of slide track in operation interface.It is described virtual
Rocking bar mark can be virtual rocking bar handle, and the color of virtual rocking bar handle is arranged to C0Color.Enter steering control in virtual rocking bar
After state processed, the virtual rocking bar handle of script can be replaced with into the steering control for being used to control virtual objects and turning to.Therefore,
According to the qualified touch control operation of user, the virtual rocking bar region of the current touch-control of finger can be registered as on demand turning to control
Operating efficiency is improved so as to quickly adjust motion state in region.
After virtual rocking bar mark is converted to steering control, the initial setting up for adjusting virtual rocking bar handle can also be corresponded to
Color.For example, by the C of script0Color changes into C1Color.After entering steering state, the color of control can be turned to by control
By C1Color is to rocking bar handle C0The method of color approach, indicates the duration of steering state.The color of control is being turned to by C1Discoloration is
Rocking bar handle C0When color, show that steering state terminates.It, can only display and the shifting in operation interface when virtual objects are moved
Move related component identification, such as map, route, task dispatching;It, can when virtual objects are switched to steering state from moving condition
It is only aobvious with hidden parts operation interface and control area, such as chat, task dispatching and the incoherent component identification of steering state
Show interface information relevant to steering, meanwhile, virtual camera visual angle is switched over according to the angle of rotation, to save behaviour
Make the space at interface.
In addition, providing a steering control in predetermined position can also include: in this example embodiment
In the initial position of the virtual rocking bar, the virtual rocking bar is converted into the steering control.
It, can also be directly in void other than setting sliding trace terminal point to turn to control in this example embodiment
Virtual rocking bar is converted to steering control by the initial position of quasi- rocking bar, and the virtual rocking bar can be virtual rocking bar handle, so that
Virtual rocking bar is more easily switched to course changing control state from mobile state of a control.
In addition, the steering procedure in order to more intuitively show virtual objects, in this example embodiment, the method may be used also
To include:
After the virtual rocking bar enters course changing control state, identification shows the target rotational direction.
In this example embodiment, refering to what is shown in Fig. 4, after virtual rocking bar enters course changing control state, it can be described
Setting turns to mark 45 to prompt target rotational direction in operation interface.For example, the steering mark of setting can for arrow or
It is the mark of other forms;Turning to can only include text in mark, can also only either simultaneously include text comprising arrow
And arrow.The mark that turns to can be the mark of random color, arbitrary shape, arbitrary size, right in this example embodiment
This is not particularly limited.It is described to turn to the arbitrary region that identifies and can be set around virtual objects, it also can be set and turning to
On the outside of control, virtual objects can also be set simultaneously and turned to around control, or any position of setting in the operation interface
It sets.Virtual objects and the steering mark turned to around control may be the same or different.It is identified by the steering of setting, energy
It is more intuitive, more easily judge target rotational direction.It is more than that preset duration automatically exits from steering in the duration for entering steering state
The In when turning to the virtual rocking bar region compulsory withdrawal steering state except control occurs for state or the second touch control operation
The steering mark of setting is no longer shown in operation interface, the steering control converted by rocking bar handle also reverts to the virtual of original state
Rocking bar handle.
In addition, in this example embodiment, in the target for determining the virtual objects according to the orientation for turning to control
After rotation direction, the method can also include:
Judge whether the virtual objects go to the target rotational direction, is judging that it is described that the virtual objects have turned to
When target rotational direction, controls the virtual rocking bar and exit the course changing control state.
It, can be by detecting whether finger leaves whether Touch Screen judges the second touch control operation in this example embodiment
Terminate.At the end of judging the second touch control operation, the position at the end of calculating the second touch control operation and default axis can be passed through
Angle between line judges whether virtual objects go to determining target rotational direction.Target rotational is gone in the virtual objects
When direction, turns to control and revert to initial virtual rocking bar, can detecte whether finger leaves virtual rocking bar, it, can if do not left
It is moved with controlling virtual objects;If finger leaves virtual rocking bar, can repeat before the step of loop to determine whether into
Row turns to next time.In this example embodiment, can also at the end of the second touch control operation the diameter of finger position with
When diameter where target rotational direction is in default error range, it is believed that go to target rotational direction.
In addition, in this example embodiment, in the target for determining the virtual objects according to the orientation for turning to control
After rotation direction, the method can also include:
When judging that the virtual objects do not go to the target rotational direction, detect whether second touch control operation is tied
Beam and at the end of detecting second touch control operation controls the virtual rocking bar and exits the course changing control state, and controls
The virtual objects continue to go to the target rotational direction.
In this example embodiment, the diameter of finger position does not turn with target at the end of judging the second touch control operation
When diameter is overlapped where dynamic direction, it can control virtual rocking bar and exit course changing control state, operation interface when into steering state
The steering control of upper registration can revert to the virtual rocking bar mark before turning to, that is, revert to the virtual rocking bar of original state
Handle.But the visual angle of virtual camera can still be rotated according to target rotational direction before, until and target rotational
Direction is overlapped.
In addition, the virtual rocking bar region is border circular areas in this example embodiment;First subregion and second
Subregion is fan-shaped region complementary in the virtual rocking bar region.
In this example embodiment, the virtual rocking bar region may include the first subregion S1, the second subregion S2.It is empty
Quasi- rocking bar region can be border circular areas, or other central symmetric segments.Wherein, the first subregion be with it is described virtual
Rocking bar region concentric, central angle are the fan-shaped region of predetermined angle;The circle of first subregion and second subregion
The sum of heart angle is equal to 360 degree.As shown in Figure 3a, the second subregion can be for direction is straight straight up with the virtual rocking bar region
Central angle between diameter is at V0With-V0Fan-shaped region, i.e., it is 2V that entire second subregion, which is central angle,0Fan-shaped region, first
Subregion is that central angle is 360-2V0Fan-shaped region.In this example embodiment, V0Smaller, the region for controlling steering is bigger,
Virtual objects are turned to more convenient.
In addition, also disclose a kind of virtual objects condition control method in the present exemplary embodiment, can be applied to can be with
The touch control terminal of virtual objects and virtual rocking bar region is presented, the virtual rocking bar region includes first area and includes first sub
The second area around the first area in region and the second subregion.In the present exemplary embodiment, the touch control terminal can
Think the various electronic equipments with Touch Screen such as mobile phone, tablet computer, laptop, game machine, PDA.But it needs
It is noted that keyboard and mouse action may also be modeled as touching by modes such as simulators in the non-touch-control equipment of part
Control operation, this mode can equally be considered as touch control terminal described in the disclosure.Refering to what is shown in Fig. 5, another described virtual
Obj State control method may comprise steps of:
Step S160. detects whether to receive the first touch-control startup operation, and receives first touch-control in detection and rise
Begin to judge whether the first touch-control startup operation occurs the second area when operation;
Step S170. is judging the first touch-control startup operation generation in the second area, and control is described virtual
Object is according to mobile with the continuous slide of the first touch-control startup operation;
Step S180. is detected whether to receive and the continuous first touch-control end operation of the slide and be connect in detection
When receiving the first touch-control end operation, judge whether the first touch-control end operation occurs in first subregion;
Step S190. is judging that the first touch-control end operation occurs in first subregion, controls the void
Quasi- object enters steering state to turn under the steering state according to target rotational direction controlling.
According to the virtual objects condition control method in this example embodiment, on the one hand, hand can be passed through in predeterminable area
Finger, which frames out, triggers virtual objects steering, avoids and needs repeatedly to be slided when being turned in the horizontal direction in the prior art
The step of moving operation, simplifying steering, improves steering efficiency;On the other hand, by the way that the virtual rocking bar region to be divided into not
Same subregion, can more accurately control steering;On the other hand, it is frameed out by finger and triggers rotation direction, control moves
Dynamic and steering operation is completed in the same area, improves screen utilization rate.
In addition, with reference to shown in Fig. 3 b, the first area is border circular areas in this example embodiment;Secondth area
Domain is the annular region around the first area;First subregion and the second subregion are the fan in the second area
Annular region.
In this example embodiment, the virtual rocking bar region may include: first area R1 and second area R2.It is described
First area can be border circular areas, or the region of square region either other shapes.The first area can be with
It is identical as the virtual rocking bar region shape, it can also be different.The second area is the annular around the first area
Region, the second area may include the first subregion and the second subregion again.Wherein, the first subregion be with it is described virtual
Rocking bar region concentric, central angle are the fan annular region of predetermined angle;First subregion and second subregion
The sum of central angle is equal to 360 degree.As shown in Figure 3b, the second subregion can for virtual rocking bar region direction straight up
Central angle between diameter is at V0With-V0Fan annular region, i.e., it is 2V that entire second subregion, which is central angle,0Fan annulus
Domain, the first subregion are that central angle is 360-2V0Fan annular region.In this example embodiment, V0It is smaller, control steering
Region is bigger, and virtual objects are turned to more convenient.
In virtual objects condition control method in present embodiment the detail of each step with it is previous corresponding virtual
The detail of each step is same or similar in Obj State control method embodiment, and in previous embodiment into
It has gone detailed description, therefore has no longer been repeated herein.
In an exemplary embodiment of the disclosure, a kind of virtual objects behavior control device is additionally provided, applied to can be in
The touch control terminal of existing virtual objects and virtual rocking bar region, the virtual objects are configured as the control according to the virtual rocking bar
And move, as shown in fig. 6, described device 200 may include:
First detection module 201 can be used for detecting whether receiving the first touch-control startup operation, and receive in detection
Judge whether the first touch-control startup operation occurs the virtual rocking bar region when the first touch-control startup operation;
Mobile control module 202 can be used for judging the first touch-control startup operation generation in the virtual rocking bar
When region, the virtual objects are controlled according to mobile with the continuous slide of the first touch-control startup operation;
Second detection module 203 can be used for detecting whether receiving and the continuous first touch-control knot of the slide
Beam operates and when detection receives the first touch-control end operation, controls the virtual rocking bar and enters course changing control state;
Course changing control module 204 can be used under the course changing control state, detects and acts on the virtual rocking bar
When the touch control operation of the predeterminated position in region, the target rotational direction of the virtual objects is determined according to the touch control operation.
The detail of each module is in corresponding virtual objects state control in above-mentioned virtual objects behavior control device
It is described in detail in method processed, therefore is no longer repeated herein.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
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 embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 7.The electronics that Fig. 7 is shown
Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
It includes but is not limited to: at least one above-mentioned processing unit 610, at least one above-mentioned storage unit 620, the different system components of connection
The bus 630 of (including storage unit 620 and processing unit 610), display unit 640.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610
Row, so that various according to the present invention described in the execution of the processing unit 610 above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 610 can execute step as shown in Figure 2.
Storage unit 620 may include the readable 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.
Storage unit 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
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit 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, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
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 local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, 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, other hardware and/or software module can not used in conjunction with electronic equipment 600, including but not
Be 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 also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage 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 comprising program code, when described program product is run on the terminal device, institute
Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 8, describing the program product for realizing the above method of embodiment according to the present invention
800, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable 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 above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), 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 may include in a base band or as carrier wave a part propagate data-signal,
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 other than readable storage medium storing program for executing
Matter, the readable 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 for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.
Claims (18)
1. a kind of virtual objects condition control method, applied to the touch control terminal that virtual objects and virtual rocking bar region can be presented,
The virtual objects are configured as being moved according to the control of the virtual rocking bar, which comprises
It detects whether to receive the first touch-control startup operation, and judges institute when detection receives the first touch-control startup operation
State whether the first touch-control startup operation occurs the virtual rocking bar region;
Judging that the first touch-control startup operation occurs at the virtual rocking bar region, control the virtual objects according to
The continuous slide of first touch-control startup operation is mobile;
It detects whether to receive and the continuous first touch-control end operation of the slide and receives described first in detection
When touch-control end operation, controls the virtual rocking bar and enter course changing control state;
Under the course changing control state, when detecting the touch control operation for acting on the predeterminated position in the virtual rocking bar region,
The target rotational direction of the virtual objects is determined according to the touch control operation;
Wherein, the control virtual rocking bar enters course changing control state, comprising: when judgement enters course changing control state
When length is less than preset duration, one is provided in predetermined position and turns to control;
Wherein, described when detecting the touch control operation for acting on the predeterminated position in the virtual rocking bar region, according to the touch-control
Operation determines the target rotational direction of the virtual objects, comprising:
It detects whether to receive the second touch control operation, and judges whether second touch control operation occurs turning to control regions;
The second touch control operation generation is being judged when turning to control regions, according to the orientation determination for turning to control
The target rotational direction of virtual objects.
2. virtual objects condition control method according to claim 1, which is characterized in that the virtual rocking bar region includes
First subregion and the second subregion;It controls the virtual rocking bar and enters course changing control state and include:
Judge whether the first touch-control end operation occurs in first subregion, is judging that first touch-control terminates to grasp
Work occurs in first subregion, controls the virtual rocking bar and enters course changing control state.
3. virtual objects condition control method according to claim 2, which is characterized in that the control virtual rocking bar enters
Course changing control state includes:
Whether the duration for judging that the virtual rocking bar enters course changing control state is more than preset duration;
When judging that the virtual rocking bar enters the duration of course changing control state more than the preset duration, control is described virtually to be shaken
Bar exits the course changing control state.
4. virtual objects condition control method according to claim 1, which is characterized in that enter in the virtual rocking bar and turn
To after state of a control, the method also includes:
Judge whether second touch control operation occurs the virtual rocking bar region except the steering control regions;
Judging that the control at the virtual rocking bar region except the steering control regions occurs for second touch control operation
The virtual rocking bar exits the course changing control state.
5. virtual objects condition control method according to claim 1, which is characterized in that according to the side for turning to control
Position determines that the target rotational direction of the virtual objects includes:
According to it is described turn to control orientation and the virtual rocking bar region preset central axes formed minimum angles determine described in
Target rotational direction.
6. virtual objects condition control method according to claim 1, which is characterized in that determined according to the touch control operation
After the target rotational direction of the virtual objects, the method also includes:
According to the target rotational direction controlling virtual objects turn to, and in real time in operation interface display with it is described virtually it is right
The scene of game picture of the rotation direction corresponding angle of elephant.
7. virtual objects condition control method according to claim 6, which is characterized in that according to the target rotational direction
Control virtual objects, which turn to, includes:
The virtual objects are controlled at the uniform velocity to rotate to the target rotational direction with default angular speed.
8. virtual objects condition control method according to claim 1, which is characterized in that provide one turn in predetermined position
To control further include:
When the virtual objects are moved, the terminal point of the slide track provides one and virtually shakes in operation interface
Bar mark;
After the virtual rocking bar enters course changing control state, the virtual rocking bar mark is converted into the steering control.
9. virtual objects condition control method according to claim 1, which is characterized in that provide one turn in predetermined position
To control further include:
In the initial position of the virtual rocking bar, the virtual rocking bar is converted into the steering control.
10. virtual objects condition control method according to claim 1, which is characterized in that the method also includes:
After the virtual rocking bar enters course changing control state, identification shows the target rotational direction.
11. virtual objects condition control method according to claim 1, which is characterized in that according to the steering control
Orientation determine the target rotational directions of the virtual objects, further includes:
Judge whether the virtual objects go to the target rotational direction, is judging that the virtual objects have turned to the target
When rotation direction, controls the virtual rocking bar and exit the course changing control state.
12. virtual objects condition control method according to claim 11, which is characterized in that the method also includes:
When judging that the virtual objects do not go to the target rotational direction, detect whether second touch control operation terminates simultaneously
At the end of detecting second touch control operation, controls the virtual rocking bar and exit the course changing control state, and described in control
Virtual objects continue to go to the target rotational direction.
13. virtual objects condition control method according to claim 2, which is characterized in that the virtual rocking bar region is
Border circular areas;First subregion and the second subregion are fan-shaped region complementary in the virtual rocking bar region.
14. a kind of virtual objects condition control method, applied to the touch control terminal that virtual objects and virtual rocking bar region can be presented,
The virtual objects are configured as being moved according to the control of the virtual rocking bar, and the virtual rocking bar region includes first area
And the second area around the first area including the first subregion and the second subregion, which comprises
It detects whether to receive the first touch-control startup operation, and judges institute when detection receives the first touch-control startup operation
State whether the first touch-control startup operation occurs the second area;
Judging that the first touch-control startup operation occurs in the second area, control the virtual objects according to it is described
The continuous slide of first touch-control startup operation is mobile;
It detects whether to receive and the continuous first touch-control end operation of the slide and receives described first in detection
When touch-control end operation, judge whether the first touch-control end operation occurs in first subregion;
The first touch-control end operation generation is being judged in first subregion, and the control virtual rocking bar enters steering
State of a control;
Under the course changing control state, when detecting the slide for acting on the virtual rocking bar region, according to the cunning
Dynamic operation determines the target rotational direction of the virtual objects;
Wherein, the control virtual rocking bar enters course changing control state, comprising: when judgement enters course changing control state
When length is less than preset duration, one is provided in predetermined position and turns to control.
15. virtual objects condition control method according to claim 14, which is characterized in that the first area is circle
Region;The second area is the annular region around the first area;First subregion and the second subregion are institute
State the fan annular region in second area.
16. a kind of virtual objects behavior control device, applied to the touch control terminal that virtual objects and virtual rocking bar region can be presented,
The virtual objects are configured as being moved according to the control of the virtual rocking bar, and described device includes:
First detection module for detecting whether receiving the first touch-control startup operation, and receives first touching in detection
Judge whether the first touch-control startup operation occurs the virtual rocking bar region when controlling startup operation;
Mobile control module is controlled for judge that the first touch-control startup operation occurs at the virtual rocking bar region
The virtual objects are according to mobile with the continuous slide of the first touch-control startup operation;
Second detection module, for detecting whether receiving and the continuous first touch-control end operation of the slide and examining
When survey receives the first touch-control end operation, controls the virtual rocking bar and enter course changing control state;
Course changing control module acts on the default of the virtual rocking bar region for detecting under the course changing control state
When the touch control operation of position, the target rotational direction of the virtual objects is determined according to the touch control operation;
Wherein, the control virtual rocking bar enters course changing control state, comprising:
When the duration that judgement enters course changing control state is less than preset duration, one is provided in predetermined position and turns to control;
Wherein, described when detecting the touch control operation for acting on the predeterminated position in the virtual rocking bar region, according to the touch-control
Operation determines the target rotational direction of the virtual objects, comprising:
It detects whether to receive the second touch control operation, and judges whether second touch control operation occurs turning to control regions;
The second touch control operation generation is being judged when turning to control regions, according to the orientation determination for turning to control
The target rotational direction of virtual objects.
17. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to come any one of perform claim requirement 1-15 institute via the execution executable instruction
The virtual objects condition control method stated.
18. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
Virtual objects condition control method described in any one of claim 1-15 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710416850.3A CN107132988B (en) | 2017-06-06 | 2017-06-06 | Virtual objects condition control method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710416850.3A CN107132988B (en) | 2017-06-06 | 2017-06-06 | Virtual objects condition control method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107132988A CN107132988A (en) | 2017-09-05 |
CN107132988B true CN107132988B (en) | 2019-11-05 |
Family
ID=59733755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710416850.3A Active CN107132988B (en) | 2017-06-06 | 2017-06-06 | Virtual objects condition control method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107132988B (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107890664A (en) * | 2017-10-23 | 2018-04-10 | 网易(杭州)网络有限公司 | Information processing method and device, storage medium, electronic equipment |
CN108079572B (en) * | 2017-12-07 | 2021-06-04 | 网易(杭州)网络有限公司 | Information processing method, electronic device, and storage medium |
CN108211350B (en) * | 2017-12-07 | 2021-06-04 | 网易(杭州)网络有限公司 | Information processing method, electronic device, and storage medium |
CN108170295A (en) * | 2017-12-21 | 2018-06-15 | 网易(杭州)网络有限公司 | Virtual camera condition control method, device, electronic equipment and storage medium |
CN108310770A (en) * | 2018-01-05 | 2018-07-24 | 腾讯科技(深圳)有限公司 | Control method, device, storage medium and the electronic device of virtual controlling object |
CN108245889B (en) * | 2018-02-12 | 2021-06-18 | 网易(杭州)网络有限公司 | Free visual angle orientation switching method and device, storage medium and electronic equipment |
CN108379844B (en) * | 2018-03-30 | 2020-10-23 | 腾讯科技(深圳)有限公司 | Method, device, electronic device and storage medium for controlling movement of virtual object |
CN108509139B (en) | 2018-03-30 | 2019-09-10 | 腾讯科技(深圳)有限公司 | Control method for movement, device, electronic device and the storage medium of virtual objects |
CN108595010B (en) * | 2018-04-27 | 2021-06-18 | 网易(杭州)网络有限公司 | Interaction method and device for virtual objects in virtual reality |
CN108553892B (en) * | 2018-04-28 | 2021-09-24 | 网易(杭州)网络有限公司 | Virtual object control method and device, storage medium and electronic equipment |
CN108771863B (en) * | 2018-06-11 | 2022-04-15 | 网易(杭州)网络有限公司 | Control method and device for shooting game |
CN109107151A (en) * | 2018-06-22 | 2019-01-01 | 网易(杭州)网络有限公司 | Virtual object control method and device, electronic equipment, storage medium |
CN109091862A (en) * | 2018-06-22 | 2018-12-28 | 网易(杭州)网络有限公司 | Virtual object control method and device, electronic equipment, storage medium |
CN109011559B (en) * | 2018-07-26 | 2021-09-07 | 网易(杭州)网络有限公司 | Method, device, equipment and storage medium for controlling virtual carrier in game |
CN109091865A (en) * | 2018-08-02 | 2018-12-28 | 苏州蜗牛数字科技股份有限公司 | Virtual role turns to synchronous method, storage equipment and game terminal |
CN109460179B (en) * | 2018-10-23 | 2021-01-15 | 网易(杭州)网络有限公司 | Virtual object control method and device, electronic equipment and storage medium |
CN111803935B (en) * | 2020-07-23 | 2024-02-09 | 网易(杭州)网络有限公司 | Method, device, equipment and storage medium for controlling rotation of virtual object |
CN112416196B (en) * | 2020-11-19 | 2022-08-30 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, equipment and computer readable storage medium |
CN112698780A (en) * | 2020-12-29 | 2021-04-23 | 贵阳动视云科技有限公司 | Virtual rocker control method and device |
CN113398591A (en) * | 2021-06-18 | 2021-09-17 | 网易(杭州)网络有限公司 | Game control method, device, equipment and storage medium |
CN114489457B (en) * | 2022-01-27 | 2024-01-19 | 北京字跳网络技术有限公司 | Virtual object control method and device, readable medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571900A (en) * | 2010-12-08 | 2012-07-11 | 中国电信股份有限公司 | System and method for implementing far-end real-time control |
CN104267904A (en) * | 2014-09-26 | 2015-01-07 | 深圳市睿德网络科技有限公司 | Touch screen virtual unit control method and mobile terminal |
CN105912162A (en) * | 2016-04-08 | 2016-08-31 | 网易(杭州)网络有限公司 | Method and apparatus for controlling virtual object, and touch control device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5563633B2 (en) * | 2012-08-31 | 2014-07-30 | 株式会社スクウェア・エニックス | Video game processing apparatus and video game processing program |
-
2017
- 2017-06-06 CN CN201710416850.3A patent/CN107132988B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571900A (en) * | 2010-12-08 | 2012-07-11 | 中国电信股份有限公司 | System and method for implementing far-end real-time control |
CN104267904A (en) * | 2014-09-26 | 2015-01-07 | 深圳市睿德网络科技有限公司 | Touch screen virtual unit control method and mobile terminal |
CN105912162A (en) * | 2016-04-08 | 2016-08-31 | 网易(杭州)网络有限公司 | Method and apparatus for controlling virtual object, and touch control device |
Also Published As
Publication number | Publication date |
---|---|
CN107132988A (en) | 2017-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107132988B (en) | Virtual objects condition control method, device, electronic equipment and storage medium | |
CN107533373B (en) | Input via context-sensitive collision of hands with objects in virtual reality | |
TWI528227B (en) | Ring-type wireless finger sensing controller, control method and control system | |
KR102151136B1 (en) | Intelligent wearable device and control method thereof | |
CN107967096A (en) | Destination object determines method, apparatus, electronic equipment and storage medium | |
JP6145099B2 (en) | Game controller for touch-enabled mobile devices | |
CN107678647A (en) | Virtual shooting main body control method, apparatus, electronic equipment and storage medium | |
CN107913520A (en) | Information processing method, device, electronic equipment and storage medium | |
JP2019037783A (en) | Shooting game control method and device, storage medium, processor, and terminal | |
CN107297073B (en) | Method and device for simulating peripheral input signal and electronic equipment | |
CN107273037A (en) | Virtual object control method and device, storage medium, electronic equipment | |
US11194400B2 (en) | Gesture display method and apparatus for virtual reality scene | |
CN105556423A (en) | Systems and methods for pressure-based haptic effects | |
CN110215685B (en) | Method, device, equipment and storage medium for controlling virtual object in game | |
CN106155553A (en) | Virtual objects motion control method and device | |
CN108837507A (en) | Virtual item control method and device, electronic equipment, storage medium | |
CN111467794B (en) | Game interaction method and device, electronic equipment and storage medium | |
CN108287657A (en) | Technical ability applying method and device, storage medium, electronic equipment | |
CN108579089A (en) | Virtual item control method and device, storage medium, electronic equipment | |
CN107823884A (en) | Destination object determines method, apparatus, electronic equipment and storage medium | |
CN109960558A (en) | Control method, device, computer storage medium and the electronic equipment of virtual objects | |
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 | |
CN113181651A (en) | Method and device for controlling movement of virtual object in game, electronic equipment and storage medium | |
CN109260713A (en) | Virtual objects remote assistance operating method and device, storage medium, electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |