CN110270086A - The control method for movement and device of virtual role in a kind of game - Google Patents

The control method for movement and device of virtual role in a kind of game Download PDF

Info

Publication number
CN110270086A
CN110270086A CN201910647154.2A CN201910647154A CN110270086A CN 110270086 A CN110270086 A CN 110270086A CN 201910647154 A CN201910647154 A CN 201910647154A CN 110270086 A CN110270086 A CN 110270086A
Authority
CN
China
Prior art keywords
control
state
touch point
game
drag operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910647154.2A
Other languages
Chinese (zh)
Other versions
CN110270086B (en
Inventor
党向前
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910647154.2A priority Critical patent/CN110270086B/en
Publication of CN110270086A publication Critical patent/CN110270086A/en
Application granted granted Critical
Publication of CN110270086B publication Critical patent/CN110270086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input 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/2145Input 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing 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
    • A63F13/426Processing 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 involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application provides the control method for movement and device of virtual role in a kind of game, comprising: response is directed to the drag operation of virtual rocking bar, and control destination virtual role moves in scene of game;The position for responding the touch point of drag operation meets first position condition, controls control at least two state of graphical user interface displays;Respond the end of drag operation, determine that first object state controls control at least two states control control according to the end position of touch point, control destination virtual role switches to the first object state of matching first object state control control and continued to move in scene of game;The position for responding the touch point of drag operation meets second position condition, and after drag operation, control destination virtual role stops movement in scene of game.The complexity for reducing operating interactive improves human-computer interaction efficiency.

Description

The control method for movement and device of virtual role in a kind of game
Technical field
This application involves game technical fields, in particular to a kind of control method for movement of virtual role in game And device.
Background technique
With the popularization and application of mobile intelligent terminal, more and more game are from personal computer (personal Computer, PC) end be transferred to mobile terminal.For example, more online tactics competitive game (Multiplayer Online of people Battle Arena, MOBA), shooting game etc..
In the shooting game of mobile terminal, need to control destination virtual role (user manipulation game in personage or Other objects) switching state be it is various, when need to control the destination virtual role in game continue some state move when, The relevant action control first clicked and match the state is generally required, is then made again by operation for controlling mobile virtual rocking bar Destination virtual role is persistently moved with the state.
But above-mentioned control mode needs toggle operation between different controls, operation complexity is higher, influences man-machine Interactive efficiency.
Summary of the invention
In view of this, the embodiment of the present application be designed to provide in a kind of game the control method for movement of virtual role and Device reduces the complexity of operating interactive, improves human-computer interaction efficiency.
In a first aspect, the embodiment of the present application provides a kind of control method for movement of virtual role in game, it is applied to touching Control terminal includes destination virtual role in the scene of game of the game, and the destination virtual role is according to the touch control terminal The instruction operation received executes virtual acting, includes a virtual rocking bar in the graphic user interface of the touch control terminal, described Control method for movement includes:
Response is directed to the drag operation of the virtual rocking bar, controls the destination virtual role and moves in the scene of game It is dynamic;The position for responding the touch point of the drag operation meets first position condition, the graphical user interface displays at least Two states control control;The end for responding the drag operation, according to the end position of the touch point described at least two It determines that a first object state controls control in a state control control, controls the destination virtual role in the scene of game In switch to first object state and continue to move to, wherein the first object state is first object state control control The corresponding state of part;
The position for responding the touch point of the drag operation meets second position condition, after the drag operation, It controls the destination virtual role and stops movement in the scene of game.
In a kind of possible embodiment, the position of the touch point meets first position condition, including following any Condition:
The position of the touch point is located in predeterminable area;
The distance between initial position of the position of the touch point and the virtual rocking bar is located within the scope of pre-determined distance.
In a kind of possible embodiment, at least two state control control include first state control control and Second state controls control, and the first state control control and second state control control indicate respectively that the target is empty Two different postures of quasi- role.
In a kind of possible embodiment, described two different postures include any two kinds in following posture: being stood It stands, squat down, crawl.
In a kind of possible embodiment, the position of the touch point of the response drag operation meets first position Condition controls control at least two state of graphical user interface displays, comprising:
The position for responding the touch point of the drag operation meets first position condition, according to the dragging side of the touch point To status control region determining in the graphic user interface, and at least two shape is shown in the status control region State controls control.
In a kind of possible embodiment, the status control region is at least partially situated at according to the drag direction On the extended line of determining dragging track, the extended line passes through the touch point.
In a kind of possible embodiment, the position of the touch point of the response drag operation meets first position Condition controls control at least two state of graphical user interface displays, comprising:
The position for responding the touch point of the drag operation meets first position condition, in the mesh of the graphic user interface Mark region shows at least two states control control.
In a kind of possible embodiment, in the graphic user interface, the target area is located at described virtual The top of rocking bar.
In a kind of possible embodiment, the position of the touch point of the response drag operation meets first position Condition controls control at least two state of graphical user interface displays, comprising:
When the touch point of the drag operation is sequentially located at at least two states control control corresponding first When in predeterminable area, at least two states control control is successively shown;
Alternatively, when the touch point of the drag operation is located at least two state control control corresponding same second When in predeterminable area, at least two states described in simultaneous display control control.
In a kind of possible embodiment, the position of the touch point of the response drag operation meets first position Condition controls control at least two state of graphical user interface displays, comprising:
When the touch point of the drag operation is sequentially located at at least two states control control corresponding first When in distance range, at least two states control control is successively shown;
Alternatively, when the touch point of the drag operation is located at least two state control control corresponding same second When in distance range, at least two states described in simultaneous display control control.
It is described successively to show at least two states control control, comprising: to drag in a kind of possible embodiment It drags and successively shows at least two states control control on the extended line of track;
At least two states described in the simultaneous display control control, comprising: the control at least two states control control The synchronous arrangement display of part camber, and be symmetrically arranged along the extended line for pulling track;
Wherein, the extended line is will to pull the line after track extends according to drag direction.
In a kind of possible embodiment, the control destination virtual role switches in the scene of game First object state and after continuing to move to, the control method for movement further include:
Show that the virtual rocking bar of locking, the virtual rocking bar of the locking are used to indicate the destination virtual role switching to institute State the mobile lock state of first object state.
In a kind of possible embodiment, the control method for movement further include:
Response for the locking virtual rocking bar drag operation, the graphic user interface show again described in extremely Few two states control control;
The end for responding the drag operation is controlled according to the end position of the touch point at least two state It determines that one second dbjective state controls control in control, controls the destination virtual role and switch to the in the scene of game Two dbjective states simultaneously continue to move to;Wherein, second dbjective state is that second dbjective state controls the corresponding shape of control State.
In a kind of possible embodiment, the control method for movement further include:
Response controls the destination virtual role and exits Current lock for the touch control operation of the virtual rocking bar of the locking State.
It is described to control control at least two state of graphical user interface displays in a kind of possible embodiment Later, the control method for movement further include:
When the position of the touch point no longer meets the first position condition, alternatively, controlling the destination virtual role After switching to first object state in the scene of game and continuing to move to, cancel at least two states control control of display Part.
Second aspect, the embodiment of the present application also provides a kind of mobile controller of virtual role in game, the trips It include destination virtual role, the finger that the destination virtual role receives according to the mobile controller in the scene of game of play It enables operation execute virtual acting, includes a virtual rocking bar in the graphic user interface of the mobile controller, the mobile control Device processed includes:
First control module controls the destination virtual role for responding the drag operation for being directed to the virtual rocking bar It is moved in the scene of game;
First display module meets first position condition for responding the position of touch point of the drag operation, in institute State at least two state of graphical user interface displays control control;
First determining module, for responding the end of the drag operation, according to the end position of the touch point in institute It states and determines first object state control control at least two states control control;
Second control module switches to first object shape for controlling the destination virtual role in the scene of game State simultaneously continues to move to, wherein the first object state is that the first object state controls the corresponding state of control;
Third control module meets second position condition for responding the position of touch point of the drag operation, in institute After stating drag operation, controls the destination virtual role and stop movement in the scene of game.
In a kind of possible embodiment, the position of the touch point meets first position condition, including following any Condition:
The position of the touch point is located in predeterminable area;
The distance between initial position of the position of the touch point and the virtual rocking bar is located within the scope of pre-determined distance.
In a kind of possible embodiment, at least two state control control include first state control control and Second state controls control, and the first state control control and second state control control indicate respectively that the target is empty Two different postures of quasi- role.
In a kind of possible embodiment, described two different postures include any two kinds in following posture: being stood It stands, squat down, crawl.
In a kind of possible embodiment, first display module is specifically used for:
The position for responding the touch point of the drag operation meets first position condition, according to the dragging side of the touch point To status control region determining in the graphic user interface, and at least two shape is shown in the status control region State controls control.
In a kind of possible embodiment, the status control region is at least partially situated at according to the drag direction On the extended line of determining dragging track, the extended line passes through the touch point.
In a kind of possible embodiment, first display module is specifically used for:
The position for responding the touch point of the drag operation meets first position condition, in the mesh of the graphic user interface Mark region shows at least two states control control.
In a kind of possible embodiment, in the graphic user interface, the target area is located at described virtual The top of rocking bar.
In a kind of possible embodiment, first display module is specifically used for:
When the touch point of the drag operation is sequentially located at at least two states control control corresponding first When in predeterminable area, at least two states control control is successively shown;
Alternatively, when the touch point of the drag operation is located at least two state control control corresponding same second When in predeterminable area, at least two states described in simultaneous display control control.
In a kind of possible embodiment, first display module is specifically used for:
When the touch point of the drag operation is sequentially located at at least two states control control corresponding first When in distance range, at least two states control control is successively shown;
Alternatively, when the touch point of the drag operation is located at least two state control control corresponding same second When in distance range, at least two states described in simultaneous display control control.
In a kind of possible embodiment,
First display module, specifically for successively showing at least two state on the extended line for pulling track Control control;Alternatively,
It is aobvious to be specifically used for the synchronous arrangement of the control at least two states control control camber for first display module Show, and is symmetrically arranged along the extended line for pulling track;
Wherein, the extended line is will to pull the line after track extends according to drag direction.
In a kind of possible embodiment, the mobile controller further include:
Second display module, for switching to first object in the scene of game in the control destination virtual role State and after continuing to move to, shows that the virtual rocking bar of locking, the virtual rocking bar of the locking are used to indicate the destination virtual The role switching lock state mobile to the first object state.
In a kind of possible embodiment, the mobile controller further include:
Third display module, for responding the drag operation for being directed to the virtual rocking bar of the locking, in the graphical user Interface shows at least two states control control again;
Second determining module, for responding the end of the drag operation, according to the end position of the touch point in institute It states and determines one second dbjective state control control at least two states control control;
4th control module switches to the second target-like for controlling the destination virtual role in the scene of game State simultaneously continues to move to;Wherein, second dbjective state is that second dbjective state controls the corresponding state of control.
In a kind of possible embodiment, the mobile controller further include:
It is empty to control the target for responding the touch control operation for being directed to the virtual rocking bar of the locking for 5th control module Quasi- role exits Current lock state.
In a kind of possible embodiment, the mobile controller further include:
Cancel module, is used for after at least two state of graphical user interface displays controls control, when the touching The position of control point no longer meets the first position condition, alternatively, controlling the destination virtual role in the scene of game After switching to first object state and continuing to move to, cancel at least two states control control of display.
The third aspect, the embodiment of the present application also provides a kind of electronic equipment, comprising: processor, storage medium and bus, The storage medium is stored with the executable machine readable instructions of the processor, when electronic equipment operation, the processor By bus communication between the storage medium, the processor executes the machine readable instructions, to execute such as first party In the described in any item game in face the step of the control method for movement of virtual role.
Fourth aspect, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages It is stored with computer program on medium, such as first aspect described in any item trips are executed when which is run by processor In play the step of the control method for movement of virtual role.
The control method for movement and device of virtual role in a kind of game provided by the embodiments of the present application are pulled by response The position of the touch point of operation meets first position condition, controls control at least two state of graphical user interface displays, with Give user's prompt for selecting different conditions control control;The end for responding drag operation, exists according to the end position of touch point At least two states, which control, determines that a first object state controls control in control, control destination virtual role in scene of game It switches to the first object state of matching first object state control control and continues to move to.The embodiment of the present application reduces operation Interactive complexity improves human-computer interaction efficiency.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 a shows the process of the control method for movement of virtual role in a kind of game provided by the embodiment of the present application Figure.
Fig. 1 b, which is shown, shows showing at least two states control control in interface provided by the embodiment of the present application It is intended to.
Fig. 1 c shows the stop bits set of the touch point of drag operation in interface provided by the embodiment of the present application The schematic diagram of state control control is selected in any state control control.
Fig. 1 d shows the schematic diagram of the virtual rocking bar including operation button and the connecting rod for connecting the operation button.
Fig. 2 shows the provided first state control control of the embodiment of the present application and the control control instruction of the second state are different The schematic diagram of posture.
Fig. 3 a and Fig. 3 b respectively illustrate the schematic diagram in the status control region under different situations.
Fig. 4 a and Fig. 4 b respectively illustrate the schematic diagram of the target area under different situations.
Fig. 5 a shows the schematic diagram that different state control controls corresponds to the first different predeterminable areas.
Figure 5b shows that the schematic diagrames that different states control control corresponds to same second predeterminable area.
Fig. 6 a shows the schematic diagram that different state control controls corresponds to different first distance ranges.
Fig. 6 b shows the schematic diagram that different state control controls corresponds to same second distance range.
Fig. 7 a shows the schematic diagram of the virtual rocking bar of the locking of display.
Fig. 7 b shows the stream of the control method for movement of virtual role in another kind game provided by the embodiment of the present application Cheng Tu.
Fig. 7 c is shown when detecting that the virtual rocking bar of locking is dragged, shows at least two again in current game interface The schematic diagram of state control control.
Fig. 8 shows the schematic diagram of virtual control area.
The structure that Fig. 9 shows the mobile controller of virtual role in a kind of game provided by the embodiment of the present application is shown It is intended to.
Figure 10 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application Middle attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the application's provided in the accompanying drawings The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application Apply example.Based on embodiments herein, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall in the protection scope of this application.
In addition, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
It should be noted that term " includes " will be used in the embodiment of the present application, for pointing out the spy stated thereafter The presence of sign, but the other features of increase are not precluded.
Currently, due to the diversification of scene of game, user has control destination virtual angle in the shooting game of mobile terminal Color switches to the demand of different conditions, while in order to realize quick response, to wanting for human-computer interaction efficiency during manipulation Ask higher.
Before proposing application scheme, control destination virtual role (user manipulation game in virtual portrait or Other virtual objects) when switching to a certain state, universal mode of operation is the relevant action control for first selecting the state, then is led to It crosses and operates virtual rocking bar and move destination virtual role persistently with the state.For example, user passes through first clicks phase on the right side of screen Pass movement control, which chooses, needs the state that switches, then again by pull on the left of screen virtually rocking bar make destination virtual role with The state persistently moves.
Under above-mentioned control mode, due to the dispersion of cumbersome and operating procedure, so that the complexity of operation is higher, it is man-machine Interactive efficiency is lower.
Based on this, control method for movement, device, the electronics that the embodiment of the present application provides virtual role in a kind of game are set Standby and storage medium, can be applied to mobile phone, tablet computer, game machine etc. may be implemented human-computer interaction and has touch function In equipment (namely touch control terminal).Wherein, above-mentioned touch control terminal includes touch screen and processor, touch screen figure for rendering User interface and reception are operated for the instruction of graphic user interface.The embodiment of the present application can be adapted for the game such as shooting In.
For convenient for understanding the present embodiment, in conjunction with scene of game to empty in a kind of game provided by the embodiments of the present application Control method for movement, device, electronic equipment and the storage medium of quasi- role describes in detail.
As shown in Figure 1a, the embodiment of the present application provides a kind of control method for movement of virtual role in game, is applied to Touch control terminal, the touch control terminal, that is, above-mentioned realization human-computer interaction and the equipment with touch function;The scene of game of the game In include destination virtual role, the instruction operation that the destination virtual role receives according to the touch control terminal executes virtual dynamic Make, include a virtual rocking bar in the graphic user interface of the touch control terminal, the control method for movement includes:
S101, response are directed to the drag operation of the virtual rocking bar, control the destination virtual role in the sports ground It is moved in scape.
In one embodiment, touch control terminal is enabling target application (it is game application that goal, which is applied) wash with watercolours afterwards Dye obtains the interface corresponding to the target application, and content shown by the interface at least partly includes a sports ground Scape and at least partly include a destination virtual role;It include a mobile controller, movement control in current game interface Device includes that a Target indication region and initial position are located at the virtual rocking bar in the Target indication region.As a kind of embodiment party Formula, the initial position of above-mentioned virtual rocking bar are located at the center in Target indication region.In the embodiment of the present application, above-mentioned target refers to Show that region can be but be not limited to border circular areas.
In practical operation, user sends operation to destination virtual role by pulling the virtual rocking bar in current game interface Instruction, touch control terminal are directed to the drag operation of virtual rocking bar in response to user, and control destination virtual role moves in scene of game It is dynamic.
As an alternative embodiment, touch control terminal controls destination virtual role along the drag direction of drag operation It is mobile, and according to the dragging distance controlling destination virtual role between the touch point of drag operation and the initial position of virtual rocking bar Movement speed.
In optional embodiment, the movement of virtual rocking bar can be limited in Target indication region alternatively, by It is limited in the marginal position range in above-mentioned Target indication region, in this way, when the touch point for the drag operation for acting on virtual rocking bar When moving in Target indication region, the position of virtual rocking bar and the position of touch point are synchronous;When touch point leaves Target indication Behind region, as shown in Figure 1 b, virtual rocking bar is limited in the marginal position range in Target indication region, and Target indication region Central point, virtual rocking bar, touch point are kept point-blank.Here, the marginal position range in Target indication region refers to With the range of the border certain distance in Target indication region.
S102, the response drag operation the position of touch point meet first position condition, in graphical user circle Face shows that at least two states control control;The end for responding the drag operation exists according to the end position of the touch point It determines that a first object state controls control in at least two states control control, controls the destination virtual role in institute It states and switches to first object state in scene of game and continue to move to, wherein the first object state is the first object State controls the corresponding state of control.
As an implementation, during user executes drag operation, touch control terminal real-time detection drag operation Touch point position, and judge whether the position of touch point meets first position condition, if it is satisfied, in the graphical user At least two state of interface display controls control;As shown in Figure 1 b, two states control controls are shown in Fig. 1 b, respectively the One state controls control and the second state controls control.
In the embodiment of the present application, the end of drag operation refer to drag operation touch point disappear namely user no longer The screen of touch-control touch control terminal, such as the finger of user leave the screen of touch control terminal.At this point, touch control terminal controls destination virtual First object state that role switching is selected to user simultaneously continues to move to.
As illustrated in figure 1 c, being located at the second state control control in the end position of touch point (is standing state control in Fig. 1 c Control processed is referred to as stood) position at when, user loose one's grip if detecting (namely the finger of user leave the touch of touch control terminal Screen), then destination virtual role switching is controlled to standing state and the direction pointed by the virtual rocking bar and touch point is persistently moved.
As shown in Figure 1 d, above-mentioned virtual rocking bar includes operation button and the connecting rod for connecting the operation button, aforesaid operations The initial position of button and connecting rod is respectively positioned on the center in Target indication region;Wherein, operation button follows drag operation Touch point moved, connecting rod can then follow the movement of operation button and stretch.
S103, the response drag operation the position of touch point meet second position condition, in the drag operation knot Shu Hou controls the destination virtual role and stops movement in the scene of game.
In the embodiment of the present application, second position condition is different from first position condition, and second position condition here can be with Refer to the other positions condition in addition to the condition of first position.That is, when the position of touch point is unsatisfactory for first position condition, Then meet second position condition.When touch control terminal detects that the position of the touch point of drag operation meets second position condition, control Destination virtual role processed is mobile according to the drag direction of drag operation;Terminate (the i.e. touch-control of drag operation in the drag operation Point disappears) after, control destination virtual role stops movement in scene of game.
In above-mentioned game in the control method for movement of virtual role, pass through the touch-control of the drag operation for virtual rocking bar The locality condition triggering of point shows that selectable at least two state controls control, and guides touch-control of the user by drag operation The selection that corresponding dbjective state is realized at the end position of point to any target state control control, has selected first in user After dbjective state controls control, control destination virtual role switching to the first object state with user's selection controls control phase The first object state matched simultaneously continues to move to, in this way, can be during carrying out mobile control to virtual role by continuous Operation is rapidly switched to required dbjective state and is persistently moved with the dbjective state, is reduced the complexity of operating interactive, is mentioned High human-computer interaction efficiency.
In the embodiment of the present application, above-mentioned first position condition can be set by regions mechanism, distance can also be passed through Above-mentioned first position condition is arranged in mechanism.Correspondingly, the position of above-mentioned touch point meets first position condition, including following any Condition:
The position of the touch point is located in predeterminable area;
The distance between initial position of the position of the touch point and the virtual rocking bar is located within the scope of pre-determined distance.
In the embodiment of the present application, under a kind of embodiment under regions mechanism, different state control controls is right respectively Different predeterminable areas is answered, correspondingly, corresponding at least two predeterminable areas of at least two states control control, and any two shape It is different that state controls the corresponding predeterminable area of control.Under the another embodiment under regions mechanism, at least two state controls Control processed respectively corresponds same predeterminable area.
Under a kind of embodiment apart from mechanism, different state control controls respectively corresponds different pre-determined distance models It encloses, correspondingly, the corresponding at least two pre-determined distance ranges of at least two states control control, and any two state controls control Corresponding pre-determined distance range is different.Under the another embodiment apart from mechanism, at least two states control control point Same pre-determined distance range is not corresponded to.
Further, as shown in Fig. 2, in game provided by the embodiments of the present application in the control method for movement of virtual role, At least two states control control include first state control control and the second state control control, first state control control and Second state control control indicates respectively two different postures of destination virtual role.Wherein, above two different posture Include any two kinds in following posture: standing, squats down, crawls.
In Fig. 2, first state controls the posture of squatting down of the destination virtual role of control instruction, when the touch-control of drag operation For the end position of point when first state controls control position, touch control terminal controls destination virtual role in scene of game It switches to squat down and posture and continues to move.
In Fig. 2, the second state controls the midstance of the destination virtual role of control instruction, when the touch-control of drag operation For the end position of point when the second state controls control position, touch control terminal controls destination virtual role in scene of game It switches to midstance and continues to move.
In the embodiment of the present application, can have in the mode of at least two state of graphical user interface displays control control It is a variety of, specific as follows:
The first, the position of the touch point of the response drag operation meet first position condition, in the figure User interface shows that at least two states control control, comprising:
The position for responding the touch point of the drag operation meets first position condition, according to the dragging side of the touch point To status control region determining in the graphic user interface, and at least two shape is shown in the status control region State controls control.
In the embodiment of the present application, as best shown in figures 3 a and 3b, at least two states control control as a whole, and corresponding one Status control region shows that at least two states control control by the status control region.
Touch control terminal is based on virtual rocking bar when the position for the touch point for detecting drag operation meets first position condition Initial position and touch point current location, determine correspond to current drag operation drag direction, and be based on the dragging side To the status control region determined in graphic user interface, to show the control control of at least two states by the status control region Part.
As a kind of specific embodiment, touch control terminal is dragged after drag direction has been determined based on drag direction determination It drags the extended line of track and the extended line is by touch point;Above-mentioned status control region is at least partially situated at above-mentioned dragging track Extended line on.
For example, as best shown in figures 3 a and 3b, when drag direction be along graphic user interface vertically upward, then status control area Domain is located on the extended line of the dragging track along graphic user interface vertically upward.Correspondingly, when drag direction is along figure Laterally to the left, then status control region is located at the extended line of the dragging track along graphic user interface laterally to the left to user interface On.When drag direction is lateral to the right along graphic user interface, then status control region is located at along graphic user interface cross To on the extended line of dragging track to the right.
Second, the position of the touch point of the response drag operation meets first position condition, in the figure User interface shows that at least two states control control, further includes:
The position for responding the touch point of the drag operation meets first position condition, in the mesh of the graphic user interface Mark region shows at least two states control control.
In the embodiment of the present application, as shown in figures 4 a and 4b, there is a target area in the graphic user interface of touch control terminal Domain shows that at least two states control control in the region of interest.
As an implementation, touch control terminal meets first position item in the position for the touch point for detecting drag operation When part, at this point, the direction of the drag direction regardless of the drag operation for virtual rocking bar, shows two shapes in target area State controls control.
As another embodiment, touch control terminal meets first position in the position for the touch point for detecting drag operation When condition, at this point, when direction of the drag direction of the drag operation for virtual rocking bar towards target area position, Target area shows two state control controls.
It is shown as shown in figures 4 a and 4b as a kind of specific embodiment, in graphical user interfaces, above-mentioned target area Domain is located at the top of virtual rocking bar namely above-mentioned target area is located at the top in Target indication region.
In the embodiment of the present application, first position condition can be arranged by regions mechanism, it can also be by being set apart from mechanism First position condition is set, any mechanism is can choose when specifically used and above-mentioned first position condition is set.
Separately below to based on regions mechanism setting first position condition and based on apart from mechanism setting first position condition It is illustrated:
The first, under regions mechanism, the position of the touch point of the response drag operation meets first position condition, Control is controlled at least two state of graphical user interface displays, comprising:
1, when the touch point of the drag operation is sequentially located at least two state control control corresponding the When in one predeterminable area, at least two states control control is successively shown.
Here, each state control control at least two states control control is corresponding in the first predeterminable area, And corresponding first predeterminable area of any two state control control is different (as shown in Figure 5 a).When touch point end position according to It is secondary when being located in corresponding first predeterminable area of any state control control, successively show that at least two states control control.
As a kind of optional embodiment, at least two first predeterminable areas are sequentially located on the extended line for pulling track, Correspondingly, at least two states control control is sequentially located on the extended line for pulling track.Wherein, each state controls control Initial position the distance between of the central point apart from virtual rocking bar is more than or equal to, which controls corresponding first preset areas of control The maximum distance of initial position of the domain apart from virtual rocking bar.
As shown in Figure 5 a, the signal that different state control controls corresponds to the first different predeterminable areas is shown in Fig. 5 a Figure.When the end position of touch point, which is located at, squats down in corresponding first predeterminable area of state, show that the state of squatting down is corresponding State of squatting down controls control (referred to as squatting down in Fig. 5 a).When the end position of touch point is located to standing state corresponding first in advance If when in region, showing the corresponding standing state control control (referred to as standing in Fig. 5 a) of the standing state.
As another optional embodiment, the arrangement of at least two first predeterminable area cambers is shown, and at least partly First predeterminable area is located on the extended line for pulling track;Correspondingly, the control control camber arrangement display of at least two states, And at least two state control control be at least partially situated at pull track extended line on.Wherein, each state controls control Initial position the distance between of the central point apart from virtual rocking bar be more than or equal to, it is corresponding first default which controls control The maximum distance of the initial position of the virtual rocking bar of region distance.
2, when the touch point of the drag operation is located at least two state control control corresponding same second in advance If when in region, at least two states described in simultaneous display control control.
Here, at least two states control control corresponds to same second predeterminable area.When the stop bits set of touch point When above-mentioned second predeterminable area, the above-mentioned at least two states control control of simultaneous display is (as shown in Figure 5 b, in Fig. 5 b under abbreviation It squats and stands).
As a kind of optional embodiment, the second predeterminable area is located on the extended line for pulling track, correspondingly, at least two A state control control camber arrangement display, and at least two states control control is at least partially situated at and pulls prolonging for track On long line.
As shown in Figure 5 b, Figure 5b shows that different states control controls to correspond to the signal of same second predeterminable area Figure.When the end position of touch point is located in the second predeterminable area, simultaneous display squats down state and standing state respectively corresponds Squat down state control control and standing state control control.
As another optional embodiment, the second predeterminable area is located on the extended line for pulling track, at least two shapes State control control is respectively positioned on the extended line for pulling track.Wherein, the extended line is will to pull track to prolong according to drag direction Line after length.
The second, under mechanism, the position of the touch point of the response drag operation meets first position condition, Control is controlled at least two state of graphical user interface displays, comprising:
1, when the touch point of the drag operation is sequentially located at least two state control control corresponding the When in one distance range, at least two states control control is successively shown;
Here, each state control control at least two states control control is corresponding with first distance range, and It is different (as shown in Figure 6 a) that any two state controls the corresponding first distance range of control.When touch point end position successively When within the scope of the corresponding first distance of any state control control, successively show that at least two states control control.
As a kind of optional embodiment, at least two states control control is sequentially located at, and pulls the extended line of trajectory line Each position that is upper and being more than or equal to the maximum distance of any first distance range at least two first distance ranges.Wherein, Initial position the distance between of the central point of each state control control apart from virtual rocking bar is more than or equal to, state control control The maximum distance of the initial position of the corresponding first distance range of part and virtual rocking bar.
As shown in Figure 6 a, the signal that different state control controls corresponds to different first distance ranges is shown in Fig. 6 a Figure.When the end position of touch point, which is located at, squats down within the scope of the corresponding first distance of state, show that the state of squatting down is corresponding State of squatting down controls control (referred to as squatting down in Fig. 6 a).When touch point end position be located to standing state corresponding first away from When from range, the corresponding standing state control control (referred to as standing in Fig. 6 a) of the standing state is shown.
As another optional embodiment, at least two states control the arrangement display of control camber;Wherein, Mei Gezhuan Initial position the distance between of the central point of state control control apart from virtual rocking bar is more than or equal to, and it is corresponding which controls control First distance range and virtual rocking bar initial position maximum distance.
2, when the touch point of the drag operation be located at least two state control control corresponding same second away from When from range, at least two states described in simultaneous display control control.
Here, at least two states control control corresponds to the same second distance range.When the stop bits set of touch point When within the scope of above-mentioned second distance, above-mentioned at least two state of simultaneous display controls control.
As a kind of optional embodiment, at least two states control the arrangement display of control camber, and along dragging track Extended line be symmetrically arranged (as shown in Figure 6 b, referred to as squat down and stand in Fig. 6 b).
As shown in Figure 6 b, the distance of the initial position when the end position of touch point apart from virtual rocking bar is located at second distance When in range, simultaneous display squat down state and standing state it is corresponding squat down state control control and standing state control control Part, and the extended line of state control control and standing state control control along dragging track of squatting down is symmetrically arranged.
As another optional embodiment, at least two states control control is respectively positioned on the extended line for pulling track. Wherein, the extended line is will to pull the line after track extends according to drag direction.
It, can be according to first object side in at least two states control control successively shown in the embodiment of the present application Formula shows each state control control, while showing that first object state controls control according to first object mode, for Other state control controls can show (i.e. mode one) using non-first object mode, can not also show, that is, stash (i.e. mode two)
For example, can show that first object state controls control according to the first brightness, and bright according to second in mode one Degree shows that other states control control, and first brightness is greater than the second brightness;First brightness is such as highlighted, and the second brightness is for example low It is bright, to highlight first object state control control.The embodiment of the present application does not carry out the specific value of above-mentioned display brightness Limitation.
In mode two, it can show that first object state controls control according to third brightness, hide other state controls Control;Third brightness such as highlighted state or normal brightness.
In the embodiment of the present application, at least two state of simultaneous display control control in, according to the second targeted manner show to Few two states control control.
Here, the second targeted manner, which can refer to, shows that at least two states control control according to identical brightness, for example, the Two targeted manners may include: to show that at least two states control control according to highlighted brightness;Alternatively, being shown according to normal brightness At least two states control control;Alternatively, showing that at least two states control control according to low brightness.In specific product, It is general to use highlighted or normal brightness.
Destination virtual role switching to first object state and continue it is mobile after (namely destination virtual role has locked the After one dbjective state), by the virtual rocking bar of display locking, mentioning for current first object state is locked to give user in real time Show, it is further, as shown in Figure 7a, described in game provided by the embodiments of the present application in the control method for movement of virtual role Control the movement after the destination virtual role switches to first object state and continued to move in the scene of game Control method further include:
Show that the virtual rocking bar of locking, the virtual rocking bar of the locking are used to indicate the destination virtual role switching to institute State the mobile lock state of first object state.
As an implementation, when virtual rocking bar is not dragged goes out Target indication region, virtual rocking bar is with start bit Being set to the center of circle follows the touch point of the drag operation of user to move;When virtual rocking bar is moved to the edge in Target indication region Behind position, if detecting, user continues out the drag operation (i.e. touch point leaves Target indication region) in Target indication region, Then virtual rocking bar is limited within the scope of the marginal position in Target indication region;At this point, the dragging side of the drag operation as user The drag operation of user is followed to drag within the scope of the marginal position in Target indication region to virtual rocking bar when changing, is controlled Direction is dragged to be moved.
When the end position of touch point is located at the location of first object state control control, along the quilt of virtual rocking bar In drag direction, virtual rocking bar is locked in the marginal position range in Target indication region, meanwhile, it shows and refers on virtual rocking bar Show the instruction information of the first object state of user's selection.Wherein, instruction information here can be text information, be also possible to Icon information.
As shown in Figure 7a, after user has selected the corresponding control control of the state of squatting down, touch control terminal locks virtual rocking bar Marginal position range in Target indication region, and display is squatted down the instruction icon of posture on virtual rocking bar.
It, can be current aobvious by triggering when being currently at the lock state of first object state in the embodiment of the present application The virtual rocking bar for the locking shown realizes current first object state being switched fast to the second dbjective state, correspondingly, as schemed Shown in 7b, in game provided by the embodiments of the present application in the control method for movement of virtual role, the control method for movement is also wrapped It includes:
S701, response are shown for the drag operation of the virtual rocking bar of the locking in the graphic user interface again At least two state controls control;
The end of S702, the response drag operation, according to the end position of the touch point at least two shape State, which controls, determines that one second dbjective state controls control in control, control the destination virtual role and cut in the scene of game It shifts to the second dbjective state and continues to move to;Wherein, second dbjective state is that second dbjective state controls control pair The state answered.
As shown in Figure 7 c, it when the virtual rocking bar for detecting locking is dragged, is shown again at least in current game interface Two states control control, when the end position of the touch point of the drag operation of user is located at the second dbjective state control control institute Position when, control destination virtual role switch to matched second dbjective state in scene of game and continue to move to.
As an implementation, the distance in current game interface, in the center of distance objective indicating area Greater than at multiple positions of the center of the virtual rocking bar distance objective indicating area of locking, at least two shapes are shown again State controls control, and the control control camber arrangement display of at least two states, any two state control control refer to target The distance between the center for showing region is equal.
In this way, user can be locked in the virtual rocking bar of Target indication edges of regions by pulling, realize different conditions it Between be switched fast.
In the embodiment of the present application, after destination virtual role switching to the lock state with any target state, moreover it is possible to Cancel the lock state of destination virtual role, specific canceling method includes:
Response controls the destination virtual role and exits Current lock for the touch control operation of the virtual rocking bar of the locking State.
As an implementation, when virtual rocking bar is triggered, control destination virtual role exits current goal state The lock state of (including first object state and the second dbjective state).
As another embodiment, when user triggers any position of virtual control area, destination virtual angle is controlled Color exits the lock state of current goal state (including first object state and the second dbjective state);Wherein, as shown in figure 8, Virtual control area includes Target indication region.
It is described in graphical user circle in game provided by the embodiments of the present application in the control method for movement of virtual role After face shows at least two states control control, the control method for movement further include:
When the position of the touch point no longer meets the first position condition, alternatively, controlling the destination virtual role After switching to first object state in the scene of game and continuing to move to, cancel at least two states control control of display Part.
In the embodiment of the present application, when the position of touch point has exceeded predeterminable area, alternatively, the position of touch point and the void The distance between the initial position of quasi- rocking bar has exceeded pre-determined distance range, cancels at least two shown in current game interface A state controls control.
The control method for movement of virtual role in a kind of game provided by the embodiments of the present application, the position item based on touch point Part triggering shows that selectable at least two state controls control, to guide user's touch-control state control control to switch to required shape State reduces the complexity of operating interactive, improves human-computer interaction efficiency.
Fig. 9 is the block diagram of the mobile controller of virtual role in the game for show some embodiments of the present application, the trip The control method for movement that the function that the mobile controller of virtual role is realized in play corresponds to virtual role in above-mentioned game executes The step of.The mobile controller of virtual role can be understood as the processor of touch control terminal in the game, it is understood that be Independently of the component for realizing the application function under touch control terminal control except above-mentioned touch control terminal or processor, such as Fig. 9 institute Show, includes destination virtual role in the scene of game of the game, the destination virtual role is according to the mobile controller The instruction operation received executes virtual acting, includes a virtual rocking bar in the graphic user interface of the mobile controller, The mobile controller of virtual role may include: in the game
First control module 901 controls the destination virtual angle for responding the drag operation for being directed to the virtual rocking bar Color moves in the scene of game;
First display module 902 meets first position condition for responding the position of touch point of the drag operation, At least two state of graphical user interface displays controls control;
First determining module 903 exists for responding the end of the drag operation according to the end position of the touch point Determine that a first object state controls control in at least two states control control;
Second control module 904 switches to the first mesh for controlling the destination virtual role in the scene of game Mark state simultaneously continues to move to, wherein the first object state is that the first object state controls the corresponding state of control;
Third control module 905 meets second position condition for responding the position of touch point of the drag operation, After the drag operation, controls the destination virtual role and stop movement in the scene of game.
In a kind of possible embodiment, the position of the touch point meets first position condition, including following any Condition:
The position of the touch point is located in predeterminable area;
The distance between initial position of the position of the touch point and the virtual rocking bar is located within the scope of pre-determined distance.
In a kind of possible embodiment, at least two state control control include first state control control and Second state controls control, and the first state control control and second state control control indicate respectively that the target is empty Two different postures of quasi- role.
In a kind of possible embodiment, described two different postures include any two kinds in following posture: being stood It stands, squat down, crawl.
In a kind of possible embodiment, the first display module 902 is specifically used for:
The position for responding the touch point of the drag operation meets first position condition, according to the dragging side of the touch point To status control region determining in the graphic user interface, and at least two shape is shown in the status control region State controls control.
In a kind of possible embodiment, the status control region is at least partially situated at according to the drag direction On the extended line of determining dragging track, the extended line passes through the touch point.
In a kind of possible embodiment, the first display module 902 is specifically used for:
The position for responding the touch point of the drag operation meets first position condition, in the mesh of the graphic user interface Mark region shows at least two states control control.
In a kind of possible embodiment, in the graphic user interface, the target area is located at described virtual The top of rocking bar.
In a kind of possible embodiment, the first display module 902 is specifically used for:
When the touch point of the drag operation is sequentially located at at least two states control control corresponding first When in predeterminable area, at least two states control control is successively shown;
Alternatively, when the touch point of the drag operation is located at least two state control control corresponding same second When in predeterminable area, at least two states described in simultaneous display control control.
In a kind of possible embodiment, the first display module 902 is specifically used for:
When the touch point of the drag operation is sequentially located at at least two states control control corresponding first When in distance range, at least two states control control is successively shown;
Alternatively, when the touch point of the drag operation is located at least two state control control corresponding same second When in distance range, at least two states described in simultaneous display control control.
In a kind of possible embodiment,
First display module 902, specifically for successively showing at least two state on the extended line for pulling track Control control;Alternatively,
It is aobvious to be specifically used for the synchronous arrangement of the control at least two states control control camber for first display module 902 Show, and is symmetrically arranged along the extended line for pulling track;
Wherein, the extended line is will to pull the line after track extends according to drag direction.
In a kind of possible embodiment, the mobile controller further include:
Second display module, for switching to first object in the scene of game in the control destination virtual role State and after continuing to move to, shows that the virtual rocking bar of locking, the virtual rocking bar of the locking are used to indicate the destination virtual The role switching lock state mobile to the first object state.
In a kind of possible embodiment, the mobile controller further include:
Third display module, for responding the drag operation for being directed to the virtual rocking bar of the locking, in the graphical user Interface shows at least two states control control again;
Second determining module, for responding the end of the drag operation, according to the end position of the touch point in institute It states and determines one second dbjective state control control at least two states control control;
4th control module switches to the second target-like for controlling the destination virtual role in the scene of game State simultaneously continues to move to;Wherein, second dbjective state is that second dbjective state controls the corresponding state of control.
In a kind of possible embodiment, the mobile controller further include:
It is empty to control the target for responding the touch control operation for being directed to the virtual rocking bar of the locking for 5th control module Quasi- role exits Current lock state.
In a kind of possible embodiment, the mobile controller further include:
Cancel module, is used for after at least two state of graphical user interface displays controls control, when the touching The position of control point no longer meets the first position condition, alternatively, controlling the destination virtual role in the scene of game After switching to first object state and continuing to move to, cancel at least two states control control of display.
The mobile controller of virtual role in a kind of game provided by the embodiments of the present application, the position item based on touch point Part triggering shows that selectable at least two state controls control, to guide user's touch-control state control control to switch to required shape State reduces the complexity of operating interactive, improves human-computer interaction efficiency.
As shown in Figure 10, a kind of electronic equipment 1000 provided by the embodiments of the present application, comprising: processor 1001, memory 1002 and bus, the memory 1002 is stored with the executable machine readable instructions of the processor 1001, works as electronic equipment When operation, by bus communication between the processor 1001 and the memory 1002, the processor 1001 executes described Machine readable instructions, to execute as in above-mentioned game the step of the control method for movement of virtual role.
Specifically, above-mentioned memory 1002 and processor 1001 can be general memory and processor, not do here It is specific to limit, when the computer program of 1001 run memory 1002 of processor storage, it is able to carry out in above-mentioned game virtual The control method for movement of role.
Corresponding to the control method for movement of virtual role in above-mentioned game, the embodiment of the present application also provides a kind of computers Readable storage medium storing program for executing is stored with computer program on the computer readable storage medium, and the computer program is by processor The step of control method for movement of virtual role in above-mentioned game is executed when operation.
The mobile controller of virtual role can be specific hard in equipment in game provided by the embodiment of the present application Part or the software being installed in equipment or firmware etc..Device provided by the embodiment of the present application, realization principle and generation Technical effect is identical with preceding method embodiment, and to briefly describe, Installation practice part does not refer to place, can refer to aforementioned side Corresponding contents in method embodiment.It is apparent to those skilled in the art that for convenience and simplicity of description, it is aforementioned System, the specific work process of device and unit of description, the corresponding process during reference can be made to the above method embodiment, herein It repeats no more.
In embodiment provided herein, it should be understood that disclosed device and method, it can be by others side Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled Function division is collected, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in embodiment provided by the present application can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment of the application described in control method for movement whole or portion Step by step.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), with Machine accesses various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic or disk Matter.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing, in addition, term " the One ", " second ", " third " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen It please be described in detail, those skilled in the art should understand that: anyone skilled in the art Within the technical scope of the present application, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution.The protection in the application should all be covered Within the scope of.Therefore, the protection scope of the application should be subject to the protection scope in claims.

Claims (18)

1. the control method for movement of virtual role in a kind of game is applied to touch control terminal, which is characterized in that the trip of the game It include destination virtual role in scene of playing, the instruction operation that the destination virtual role receives according to the touch control terminal executes Virtual acting, includes a virtual rocking bar in the graphic user interface of the touch control terminal, and the control method for movement includes:
Response is directed to the drag operation of the virtual rocking bar, controls the destination virtual role and moves in the scene of game;
The position for responding the touch point of the drag operation meets first position condition, the graphical user interface displays at least Two states control control;The end for responding the drag operation, according to the end position of the touch point described at least two It determines that a first object state controls control in a state control control, controls the destination virtual role in the scene of game In switch to first object state and continue to move to, wherein the first object state is first object state control control The corresponding state of part;
The position for responding the touch point of the drag operation meets second position condition, after the drag operation, control The destination virtual role stops movement in the scene of game.
2. being wrapped the method according to claim 1, wherein the position of the touch point meets first position condition Include following either condition:
The position of the touch point is located in predeterminable area;
The distance between initial position of the position of the touch point and the virtual rocking bar is located within the scope of pre-determined distance.
3. the method according to claim 1, wherein at least two state control control includes first state It controls control and the second state controls control, the first state control control and second state control control indicate respectively Two different postures of the destination virtual role.
4. according to the method described in claim 3, it is characterized in that, described two different postures include appointing in following posture Two kinds of meaning: it stands, squat down, crawl.
5. the method according to claim 1, wherein the position of the touch point of the response drag operation is full Sufficient first position condition controls control at least two state of graphical user interface displays, comprising:
The position for responding the touch point of the drag operation meets first position condition, is existed according to the drag direction of the touch point Status control region is determined in the graphic user interface, and shows at least two states control in the status control region Control processed.
6. according to the method described in claim 5, it is characterized in that, the status control region is at least partially situated at according to institute On the extended line for stating the dragging track that drag direction determines, the extended line passes through the touch point.
7. the method according to claim 1, wherein the position of the touch point of the response drag operation is full Sufficient first position condition controls control at least two state of graphical user interface displays, comprising:
The position for responding the touch point of the drag operation meets first position condition, in the target area of the graphic user interface Domain shows at least two states control control.
8. the method according to the description of claim 7 is characterized in that in the graphic user interface, the target area position In the top of the virtual rocking bar.
9. according to the method described in claim 2, it is characterized in that, the position of the touch point of the response drag operation is full Sufficient first position condition controls control at least two state of graphical user interface displays, comprising:
It is preset when the touch point of the drag operation is sequentially located at at least two states control control corresponding first When in region, at least two states control control is successively shown;
Alternatively, being preset when the touch point of the drag operation is located at least two state control control corresponding same second When in region, at least two states described in simultaneous display control control.
10. according to the method described in claim 2, it is characterized in that, the position of the touch point of the response drag operation Meet first position condition, control control at least two state of graphical user interface displays, comprising:
When the touch point of the drag operation is sequentially located at at least two states control corresponding first distance of control When in range, at least two states control control is successively shown;
Alternatively, when the touch point of the drag operation is located at the corresponding same second distance of at least two state control control When in range, at least two states described in simultaneous display control control.
11. method according to claim 9 or 10, which is characterized in that described successively to show at least two states control Control processed, comprising: at least two states control control is successively shown on the extended line for pulling track;
At least two states described in the simultaneous display control control, comprising: control at least two state control control at Arc-shape synchronous arrangement display, and be symmetrically arranged along the extended line for pulling track;
Wherein, the extended line is will to pull the line after track extends according to drag direction.
12. the method according to claim 1, wherein the control destination virtual role is in the game After switching to first object state in scene and continuing to move to, the control method for movement further include:
Show that the virtual rocking bar of locking, the virtual rocking bar of the locking are used to indicate the destination virtual role switching to described the The mobile lock state of one dbjective state.
13. according to the method for claim 12, which is characterized in that the control method for movement further include:
Response shows described at least two in the graphic user interface for the drag operation of the virtual rocking bar of the locking again A state controls control;
The end for responding the drag operation controls control at least two state according to the end position of the touch point Middle one second dbjective state of determination controls control, controls the destination virtual role and switches to the second mesh in the scene of game Mark state simultaneously continues to move to;Wherein, second dbjective state is that second dbjective state controls the corresponding state of control.
14. method according to claim 12 or 13, which is characterized in that the control method for movement further include:
Response controls the destination virtual role and exits Current lock shape for the touch control operation of the virtual rocking bar of the locking State.
15. the method according to claim 1, wherein described in the graphical user interface displays at least two After state controls control, the control method for movement further include:
When the position of the touch point no longer meets the first position condition, alternatively, controlling the destination virtual role in institute It states after switching to first object state in scene of game and continuing to move to, cancels at least two states control control of display.
16. the mobile controller of virtual role in a kind of game, which is characterized in that include mesh in the scene of game of the game Virtual role is marked, the instruction operation that the destination virtual role receives according to the mobile controller executes virtual acting, It include a virtual rocking bar in the graphic user interface of the mobile controller, the mobile controller includes:
First control module controls the destination virtual role in institute for responding the drag operation for being directed to the virtual rocking bar It states in scene of game and moves;
First display module meets first position condition for responding the position of touch point of the drag operation, in the figure Shape user interface shows that at least two states control control;
First determining module, for responding the end of the drag operation, according to the end position of the touch point it is described extremely Determine that a first object state controls control in few two states control control;
Second control module switches to first object state simultaneously in the scene of game for controlling the destination virtual role It continues to move to, wherein the first object state is that the first object state controls the corresponding state of control;
Third control module meets second position condition for responding the position of touch point of the drag operation, drags described After dragging operation, controls the destination virtual role and stop movement in the scene of game.
17. a kind of electronic equipment characterized by comprising processor, storage medium and bus, the storage medium are stored with The executable machine readable instructions of the processor, when electronic equipment operation, between the processor and the storage medium By bus communication, the processor executes the machine readable instructions, to execute as claim 1 to 15 is described in any item In game the step of the control method for movement of virtual role.
18. a kind of computer readable storage medium, which is characterized in that be stored with computer journey on the computer readable storage medium Sequence executes when the computer program is run by processor such as virtual role in the described in any item game of claim 1 to 15 The step of control method for movement.
CN201910647154.2A 2019-07-17 2019-07-17 Method and device for controlling movement of virtual character in game Active CN110270086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910647154.2A CN110270086B (en) 2019-07-17 2019-07-17 Method and device for controlling movement of virtual character in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910647154.2A CN110270086B (en) 2019-07-17 2019-07-17 Method and device for controlling movement of virtual character in game

Publications (2)

Publication Number Publication Date
CN110270086A true CN110270086A (en) 2019-09-24
CN110270086B CN110270086B (en) 2023-03-24

Family

ID=67964524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910647154.2A Active CN110270086B (en) 2019-07-17 2019-07-17 Method and device for controlling movement of virtual character in game

Country Status (1)

Country Link
CN (1) CN110270086B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110652724A (en) * 2019-10-31 2020-01-07 网易(杭州)网络有限公司 Display control method and device in game
CN111111190A (en) * 2019-12-17 2020-05-08 网易(杭州)网络有限公司 Interaction method and device for virtual characters in game and touch terminal
CN111142689A (en) * 2019-12-31 2020-05-12 腾讯科技(深圳)有限公司 Mobile control method, device and equipment and computer readable storage medium
CN111330272A (en) * 2020-02-14 2020-06-26 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111481923A (en) * 2020-05-18 2020-08-04 网易(杭州)网络有限公司 Rocker display method and device, computer storage medium and electronic equipment
CN111729297A (en) * 2020-06-15 2020-10-02 网易(杭州)网络有限公司 Prop control method and device, computer equipment and medium
CN111773681A (en) * 2020-08-03 2020-10-16 网易(杭州)网络有限公司 Method and device for controlling virtual game role
CN111968621A (en) * 2020-08-10 2020-11-20 腾讯科技(深圳)有限公司 Audio testing method and device and computer readable storage medium
CN112245918A (en) * 2020-11-13 2021-01-22 腾讯科技(深圳)有限公司 Control method and device of virtual role, storage medium and electronic equipment
CN112402959A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and computer readable storage medium
CN112416196A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and computer readable storage medium
CN112402960A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 State switching method, device, equipment and storage medium in virtual scene
CN112426719A (en) * 2020-11-27 2021-03-02 网易(杭州)网络有限公司 Football game control method, device, equipment and storage medium
CN112933591A (en) * 2021-03-15 2021-06-11 网易(杭州)网络有限公司 Method and device for controlling game virtual character, storage medium and electronic equipment
CN113244604A (en) * 2021-06-02 2021-08-13 网易(杭州)网络有限公司 Method and device for processing motion data in game
CN113318430A (en) * 2021-05-28 2021-08-31 网易(杭州)网络有限公司 Virtual character posture adjusting method and device, processor and electronic device
CN113398573A (en) * 2021-06-29 2021-09-17 网易(杭州)网络有限公司 Virtual character displacement control method and device
CN113577763A (en) * 2021-07-29 2021-11-02 网易(杭州)网络有限公司 Control method and device for game role
CN114296597A (en) * 2021-12-01 2022-04-08 腾讯科技(深圳)有限公司 Object interaction method, device, equipment and storage medium in virtual scene
WO2022247196A1 (en) * 2021-05-24 2022-12-01 网易(杭州)网络有限公司 Game positioning method and apparatus, and mobile terminal
WO2022267570A1 (en) * 2021-06-25 2022-12-29 网易(杭州)网络有限公司 Game character moving state switching method and apparatus, device, and storage medium
JP2023506106A (en) * 2020-11-13 2023-02-15 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド VIRTUAL OBJECT CONTROL METHOD AND APPARATUS, ELECTRONIC DEVICE, AND COMPUTER PROGRAM
US11803301B2 (en) 2020-11-19 2023-10-31 Tencent Technology (Shenzhen) Company Limited Virtual object control method and apparatus, device, storage medium, and computer program product
WO2024000980A1 (en) * 2022-06-29 2024-01-04 网易(杭州)网络有限公司 Game interaction method and apparatus, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011229716A (en) * 2010-04-28 2011-11-17 Square Enix Co Ltd User interface processor, user interface processing method, and user interface processing program
CN104267904A (en) * 2014-09-26 2015-01-07 深圳市睿德网络科技有限公司 Touch screen virtual unit control method and mobile terminal
CN106951178A (en) * 2017-05-11 2017-07-14 天津卓越互娱科技有限公司 A kind of method and system for controlling game role to move
JP2018068781A (en) * 2016-10-31 2018-05-10 株式会社バンク・オブ・イノベーション Video game processing apparatus and video game processing program
CN108509139A (en) * 2018-03-30 2018-09-07 腾讯科技(深圳)有限公司 Control method for movement, device, electronic device and the storage medium of virtual objects
CN108905198A (en) * 2018-06-04 2018-11-30 网易(杭州)网络有限公司 A kind of control method and device of virtual objects jump
CN109224438A (en) * 2018-10-26 2019-01-18 网易(杭州)网络有限公司 The control method and device of virtual role in game

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011229716A (en) * 2010-04-28 2011-11-17 Square Enix Co Ltd User interface processor, user interface processing method, and user interface processing program
CN104267904A (en) * 2014-09-26 2015-01-07 深圳市睿德网络科技有限公司 Touch screen virtual unit control method and mobile terminal
JP2018068781A (en) * 2016-10-31 2018-05-10 株式会社バンク・オブ・イノベーション Video game processing apparatus and video game processing program
CN106951178A (en) * 2017-05-11 2017-07-14 天津卓越互娱科技有限公司 A kind of method and system for controlling game role to move
CN108509139A (en) * 2018-03-30 2018-09-07 腾讯科技(深圳)有限公司 Control method for movement, device, electronic device and the storage medium of virtual objects
CN108905198A (en) * 2018-06-04 2018-11-30 网易(杭州)网络有限公司 A kind of control method and device of virtual objects jump
CN109224438A (en) * 2018-10-26 2019-01-18 网易(杭州)网络有限公司 The control method and device of virtual role in game

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110652724A (en) * 2019-10-31 2020-01-07 网易(杭州)网络有限公司 Display control method and device in game
CN110652724B (en) * 2019-10-31 2023-06-13 网易(杭州)网络有限公司 Display control method and device in game
CN111111190A (en) * 2019-12-17 2020-05-08 网易(杭州)网络有限公司 Interaction method and device for virtual characters in game and touch terminal
CN111111190B (en) * 2019-12-17 2023-04-18 网易(杭州)网络有限公司 Interaction method and device for virtual characters in game and touch terminal
CN111142689A (en) * 2019-12-31 2020-05-12 腾讯科技(深圳)有限公司 Mobile control method, device and equipment and computer readable storage medium
CN111330272B (en) * 2020-02-14 2021-12-31 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111330272A (en) * 2020-02-14 2020-06-26 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111481923B (en) * 2020-05-18 2023-09-26 网易(杭州)网络有限公司 Rocker display method and device, computer storage medium and electronic equipment
CN111481923A (en) * 2020-05-18 2020-08-04 网易(杭州)网络有限公司 Rocker display method and device, computer storage medium and electronic equipment
CN111729297A (en) * 2020-06-15 2020-10-02 网易(杭州)网络有限公司 Prop control method and device, computer equipment and medium
CN111773681A (en) * 2020-08-03 2020-10-16 网易(杭州)网络有限公司 Method and device for controlling virtual game role
CN111968621A (en) * 2020-08-10 2020-11-20 腾讯科技(深圳)有限公司 Audio testing method and device and computer readable storage medium
CN111968621B (en) * 2020-08-10 2022-08-30 腾讯科技(深圳)有限公司 Audio testing method and device and computer readable storage medium
WO2022100339A1 (en) * 2020-11-13 2022-05-19 腾讯科技(深圳)有限公司 Virtual object control method and apparatus, storage medium, and electronic device
JP2023506106A (en) * 2020-11-13 2023-02-15 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド VIRTUAL OBJECT CONTROL METHOD AND APPARATUS, ELECTRONIC DEVICE, AND COMPUTER PROGRAM
CN112245918A (en) * 2020-11-13 2021-01-22 腾讯科技(深圳)有限公司 Control method and device of virtual role, storage medium and electronic equipment
JP7418554B2 (en) 2020-11-13 2024-01-19 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド Virtual object control method and device, electronic equipment, and computer program
CN112416196A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and computer readable storage medium
TWI831066B (en) * 2020-11-19 2024-02-01 大陸商騰訊科技(深圳)有限公司 Method for state switching in virtual scene, device, apparatus, medium and program product
CN112416196B (en) * 2020-11-19 2022-08-30 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and computer readable storage medium
CN112402960A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 State switching method, device, equipment and storage medium in virtual scene
CN112402959A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and computer readable storage medium
US11803301B2 (en) 2020-11-19 2023-10-31 Tencent Technology (Shenzhen) Company Limited Virtual object control method and apparatus, device, storage medium, and computer program product
CN112426719A (en) * 2020-11-27 2021-03-02 网易(杭州)网络有限公司 Football game control method, device, equipment and storage medium
CN112426719B (en) * 2020-11-27 2024-05-10 网易(杭州)网络有限公司 Football game control method, device, equipment and storage medium
CN112933591A (en) * 2021-03-15 2021-06-11 网易(杭州)网络有限公司 Method and device for controlling game virtual character, storage medium and electronic equipment
WO2022247196A1 (en) * 2021-05-24 2022-12-01 网易(杭州)网络有限公司 Game positioning method and apparatus, and mobile terminal
CN113318430A (en) * 2021-05-28 2021-08-31 网易(杭州)网络有限公司 Virtual character posture adjusting method and device, processor and electronic device
CN113244604A (en) * 2021-06-02 2021-08-13 网易(杭州)网络有限公司 Method and device for processing motion data in game
CN113244604B (en) * 2021-06-02 2024-06-04 网易(杭州)网络有限公司 Method and device for processing motion data in game
WO2022267570A1 (en) * 2021-06-25 2022-12-29 网易(杭州)网络有限公司 Game character moving state switching method and apparatus, device, and storage medium
CN113398573A (en) * 2021-06-29 2021-09-17 网易(杭州)网络有限公司 Virtual character displacement control method and device
CN113577763A (en) * 2021-07-29 2021-11-02 网易(杭州)网络有限公司 Control method and device for game role
CN113577763B (en) * 2021-07-29 2024-05-28 网易(杭州)网络有限公司 Game role control method and device
CN114296597A (en) * 2021-12-01 2022-04-08 腾讯科技(深圳)有限公司 Object interaction method, device, equipment and storage medium in virtual scene
WO2024000980A1 (en) * 2022-06-29 2024-01-04 网易(杭州)网络有限公司 Game interaction method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN110270086B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN110270086A (en) The control method for movement and device of virtual role in a kind of game
CN110215691A (en) The control method for movement and device of virtual role in a kind of game
US10500483B2 (en) Information processing method and apparatus, storage medium, and electronic device
US10716997B2 (en) Information processing method and apparatus, electronic device, and storage medium
CN108509139B (en) Control method for movement, device, electronic device and the storage medium of virtual objects
CN109432766B (en) Game control method and device
CN107648847B (en) Information processing method and device, storage medium and electronic equipment
CN107741819B (en) Information processing method, device, electronic equipment and storage medium
US20220314116A1 (en) Object display method and apparatus, storage medium, and electronic device
CN103502920B (en) Use displayable keyboard, auxiliary keyboard and/or other user input device to manage, select and upgrade the system and method for visual interface content
CN108905212A (en) Display control method and device, storage medium, the electronic equipment of game picture
US11707669B2 (en) Program, control method, and information processing apparatus
US20190070493A1 (en) Information Processing Method and Apparatus, Electronic Device, and Storage Medium
CN107617213A (en) Information processing method and device, storage medium, electronic equipment
EP1716897A2 (en) Storage medium having game program stored thereon and game apparatus
KR20170103932A (en) Operation and control method and terminal based on touch screen
CN108379844A (en) Control method, apparatus, electronic device and the storage medium of virtual objects movement
JP6447853B1 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
CN109843399A (en) For providing equipment, method and the graphic user interface of game control
CN108579089A (en) Virtual item control method and device, storage medium, electronic equipment
CN110772795B (en) Game history operation display method, device, equipment and readable storage medium
CN109589605A (en) The display control method and device of game
CN110420462A (en) The method and device of virtual objects locking, electronic equipment, storage medium in game
CN105413171B (en) A kind of control method and device that game role is mobile
CN108939546A (en) Drift control practice and device, electronic equipment, the storage medium of virtual objects

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