CN108771863A - The control method and device of shooting game - Google Patents
The control method and device of shooting game Download PDFInfo
- Publication number
- CN108771863A CN108771863A CN201810595001.3A CN201810595001A CN108771863A CN 108771863 A CN108771863 A CN 108771863A CN 201810595001 A CN201810595001 A CN 201810595001A CN 108771863 A CN108771863 A CN 108771863A
- Authority
- CN
- China
- Prior art keywords
- control
- touch operation
- area
- foresight
- shooting
- 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
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
- A63F13/426—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling 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/537—Controlling 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
- A63F13/5375—Controlling 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 for graphically or textually suggesting an action, e.g. by displaying an arrow indicating a turn in a driving game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Optics & Photonics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of control method and device of shooting game, including:Show that the visual field adjusts control on game interaction interface, it includes first area and second area which, which adjusts control, wherein the inner boundary of second area is overlapped with the outer boundary of first area;When detecting the first touch operation acted in first area, foresight movement is controlled according to the first touch operation;When detecting that the touch location of the first touch operation enters second area from first area, shooting control is generated centered on the initial touch position for entering second area;When detecting the second touch operation for acting on shooting control, it is shot at according to the second touch operation.The method, the finger of game player need not switch between different controls can be realized aiming and shooting, to improve the rate of driving the cross, and reduces the button on game interaction interface, can improve user experience to avoid game player's maloperation.
Description
Technical field
The present invention relates to field of play more particularly to the control methods and device of a kind of shooting game.
Background technology
Currently, popularizing with smart mobile phone, online game has obtained development at full speed, and many online games at present all may be used
To operate on mobile phone, therefore also referred to as hand is swum.Existing online game is roughly divided into:Racing type, shooting type, action class
Type, policing type and role playing type etc..
Main operate includes in shooting game:Mobile, aiming and shooting.In the prior art, it is arranged in interface
The control of three different operation functions:Direction adjusts control, aims at control and shooting control, and direction adjustment control is generally arranged at
The lower left of interface, game player by left-handed operation direction adjust control control game role move, aim at control and
Shooting control is generally arranged at the lower right corner of interface, and user is operated by the right hand aims at control to adjust the visual field, is aiming at
After target, finger is moved to shooting control and is shot at by user.
But existing method, three kinds of mobile, aiming, shooting operations are separation, and game player needs complete by both hands
At operation ability goal three times, user experience is reduced.
Invention content
The present invention provides a kind of control method and device of shooting game, improves user experience.
First aspect present invention provides a kind of control method of shooting game, including:
Show that the visual field adjusts control on game interaction interface, the visual field adjustment control includes first area and the secondth area
Domain, wherein the inner boundary of the second area is overlapped with the outer boundary of the first area;
When detect act on the first touch operation in the first area when, according to first touch operation control
Foresight moves;
When detecting that the touch location of first touch operation enters the second area from the first area, with
Shooting control is generated centered on into the initial touch position of the second area;
When detecting the second touch operation for acting on the shooting control, penetrated according to second touch operation
It hits.
Optionally, foresight movement is controlled according to first touch operation, including:
The moving direction that the foresight is determined according to the touch location of first touch operation is touched according to described first
The touch location of operation determines the movement speed of the foresight at a distance from the center that the visual field adjusts control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
Optionally, true at a distance from the center that the visual field adjusts control according to the touch location of first touch operation
The movement speed of the fixed foresight, including:
The movement speed of the foresight is calculated according to following formula:
V1=| L0P0|×m1|;
Wherein, V1Indicate the movement speed of the foresight, L0Indicate the touch location of first touch operation, P0It indicates
The center of the visual field adjustment control, m1Indicate Dynamic gene, | L0P0| indicate touch location and the institute of first touch operation
State the distance at the center of visual field adjustment control.
Optionally, described when detecting the second touch operation for acting on the shooting control, it is touched according to described second
Operation is touched to be shot at, including:
When detect act on it is described shooting control on the second touch operation when, according to second touch operation control
The foresight movement, and trigger firing operation.
Optionally, foresight movement is controlled according to second touch operation, including:
The moving direction that foresight is determined according to the touch location of second touch operation, according to second touch operation
Touch location determine the movement speed of the foresight at a distance from the center of the shooting control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
Optionally, institute is determined at a distance from the center of the shooting control according to the touch location of second touch operation
The movement speed of foresight is stated, including:
The movement speed of the foresight is calculated according to following formula:
V2=| L'0P0'|×m2|;
Wherein, V2Indicate the movement speed of the foresight, L'0Indicate the touch location of second touch operation, P0' table
Show the center of the shooting control, m2Indicate Dynamic gene, | L'0P0' | indicate touch location and the institute of second touch operation
State the distance at the center of shooting control.
Optionally, second touch operation is that the continuous touch of first touch operation operates.
Optionally, further include:
After generating the shooting control, hides the visual field and adjust control.
Optionally, further include:
After firing operation, the shooting control is hidden, the visual field adjustment control is shown in games page.
Second aspect of the present invention provides a kind of control device of shooting game, including:
Display module, for show that the visual field adjusts control on game interaction interface, visual field adjustment control includes the
One region and second area, wherein the inner boundary of the second area is overlapped with the outer boundary of the first area;
The visual field adjust module, for when detect act on the first touch operation in the first area when, according to institute
State the first touch operation control foresight movement;
Generation module, for working as the touch location for detecting first touch operation from described in the entrance of the first area
When second area, shooting control is generated centered on the initial touch position for entering the second area;
Shoot module, for when detect act on it is described shooting control the second touch operation when, according to described second
Touch operation is shot at.
Optionally, the visual field adjustment module is specifically used for:
The moving direction that the foresight is determined according to the touch location of first touch operation is touched according to described first
The touch location of operation determines the movement speed of the foresight at a distance from the center that the visual field adjusts control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
Optionally, the visual field adjustment module is specifically used for:
The movement speed of the foresight is calculated according to following formula:
V1=| L0P0|×m1|;
Wherein, V1Indicate the movement speed of the foresight, L0Indicate the touch location of first touch operation, P0It indicates
The center of the visual field adjustment control, m1Indicate Dynamic gene, | L0P0| indicate touch location and the institute of first touch operation
State the distance at the center of visual field adjustment control.
Optionally, the shooting module, including:
Auxiliary adjustment submodule, for when detect act on it is described shooting control on the second touch operation when, according to
Second touch operation controls the foresight movement;
Submodule is shot, for triggering firing operation according to second touch operation.
Optionally, the auxiliary adjustment submodule is specifically used for:
The moving direction that foresight is determined according to the touch location of second touch operation, according to second touch operation
Touch location determine the movement speed of the foresight at a distance from the center of the shooting control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
Optionally, the auxiliary adjustment submodule is specifically used for:
The movement speed of the foresight is calculated according to following formula:
V2=| L'0P0'|×m2|;
Wherein, V2Indicate the movement speed of the foresight, L'0Indicate the touch location of second touch operation, P0' table
Show the center of the shooting control, m2Indicate Dynamic gene, | L'0P0' | indicate touch location and the institute of second touch operation
State the distance at the center of shooting control.
Optionally, second touch operation is the continuous touch operation after first touch operation.
Optionally, further include:
Hidden module adjusts control for after generating the shooting control, hiding the visual field.
Optionally, the hidden module is additionally operable to:
After firing operation, the shooting control is hidden, the visual field adjustment control is shown in games page.
Third aspect present invention provides a kind of game terminal, including:Processor, memory and transceiver, the memory
For storing instruction, the transceiver is used for and other equipment communication, the processor are stored for executing in the memory
Instruction so that the game terminal executes the control method of shooting game as described in the first aspect of the invention.
Fourth aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has
Instruction, when executed so that computer executes the controlling party of shooting game as described in the first aspect of the invention
Method.
The control method and device of shooting game provided by the invention, including:Visual field tune is shown on game interaction interface
Whole control, it includes first area and second area which, which adjusts control, wherein the inner boundary of second area and first area
Outer boundary overlaps;When detecting the first touch operation acted in first area, foresight is controlled according to the first touch operation
It is mobile;When detecting that the touch location of the first touch operation enters second area from first area, to enter second area
Shooting control is generated centered on initial touch position;When detecting the second touch operation for acting on shooting control, according to the
Two touch operations are shot at.The method, the finger of game player need not switch can be realized between different controls to be taken aim at
Accurate and shooting, to improve the rate of driving the cross, and reduces the button on game interaction interface, can be to avoid game player
Maloperation improves user experience.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart of the control method for the shooting game that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic diagram that the visual field adjusts control;
Fig. 3 is another schematic diagram that the visual field adjusts control;
Fig. 4 is the schematic diagram of the moving direction of foresight;
Fig. 5 is a kind of schematic diagram for shooting control;
Fig. 6 is the flow chart of the control method of shooting game provided by Embodiment 2 of the present invention;
Fig. 7 is another schematic diagram for shooting control;
Fig. 8 is the structural schematic diagram of the control device for the shooting game that the embodiment of the present invention three provides;
Fig. 9 is the structural schematic diagram of the control device for the shooting game that the embodiment of the present invention four provides;
Figure 10 is the structural schematic diagram for the game terminal that the embodiment of the present invention five provides.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate idea of the invention.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The present invention provides a kind of control method of shooting game, and method of the invention can be applied in game terminal, should
Game terminal can be smart mobile phone, tablet computer, laptop, game machine, personal digital assistant (Personal
Digital Assistant, PDA) etc. with touch screen electronic equipment.
Term " first ", " second " in description and claims of this specification etc. are for distinguishing similar pair
As, rather than for describing specific sequence or tandem.
Fig. 1 is the flow chart of the control method for the shooting game that the embodiment of the present invention one provides, refering to what is shown in Fig. 1, this reality
The method for applying example offer includes the following steps:
Step S101, show that the visual field adjusts control on game interaction interface, it includes first area which, which adjusts control,
And second area, wherein the inner boundary of second area is overlapped with the outer boundary of first area.
Visual field adjustment control is used to adjust the visual field of game camera lens, during a game running process, on game interaction interface
The content of display is the picture played in the camera lens visual field.The visual field adjusts control and also referred to as aims at control or camera lens adjustment control.
In the present invention, control can also replace with button or rocking bar.
The visual field, which adjusts control, to be round or rectangle, it is of course also possible to use other shapes the present embodiment is not right
This is limited.When visual field adjustment control is round, first area and second area be two circular concentrics at region, the
The radius in two regions is more than the radius of first area, and the line of demarcation of first area and second area is the radius of first area.When
When visual field adjustment control is rectangle, first area and second area can be the region of concentric two rectangles formation, the secondth area
The length of side in domain is more than the length of side of first area, and the line of demarcation of first area and second area is the side of first area.
Fig. 2 is a kind of schematic diagram that the visual field adjusts control, as shown in Fig. 2, visual field adjustment control is circle, including:The
One region S1With second area S2, the center that the visual field adjusts control is P0, first area S1For with P0The circle for being R1 for center of circle radius
Shape region, first area S1Outer boundary be P1;Second area S2For with P0For the center of circle, internal diameter R1, outer diameter is the circle that R2 is formed
Ring region, second area S2Outer boundary be P2, the inner boundary of second area is P1。
Optionally, first area can also include two sub-regions:First subregion and the second subregion, the second subregion
Inner boundary overlapped with the outer boundary of the first subregion.Fig. 3 is another schematic diagram that the visual field adjusts control, as shown in figure 3, the
One region S1Including the first subregion S11With the second subregion S12, the first subregion S11For with P0The circle for being R0 for center of circle radius
Region;Second subregion S12For with P0For the center of circle, internal diameter R0, outer diameter is the circle ring area that R1 is formed;Second area S2For with P0
For the center of circle, internal diameter R1, outer diameter is the circle ring area that R2 is formed, the first subregion S11Boundary be P01, the second subregion S12's
Outer boundary is P1, inner boundary P01, second area S2Outer boundary be P2, the inner boundary of second area is P1。
Can also include other controls on game interaction interface, for example, direction adjusts control.Direction adjustment control is used for
Game role movement is controlled, when game role moves, the visual field follows game role to move.Direction adjusts control and visual field adjustment
Control can be located at game interaction interface both sides, in order to game player can both hands simultaneously operate two controls, for example, side
It is located at the lower left corner at game interaction interface to adjustment control, visual field adjustment control is located at the lower right corner at game interaction interface.
Game player adjusts control search target by operating direction, and after searching target, the operation visual field adjusts control
Mobile foresight, foresight refer to the aiming point of gun in shooting game, and foresight is normally at the center in the visual field, foresight and game camera lens
The visual field binding, adjustment the visual field be adjust foresight position, adjustment foresight be for aimed fire target.
Step S102, when detecting the first touch operation acted in first area, according to the first touch operation control
Foresight movement processed.
When game player carries out slide or drag operation in first area, game terminal detection acts on first
First touch operation in region controls foresight movement according to the first touching manipulation.
In a kind of mode, game terminal determines the moving direction of foresight according to the touch location of the first touch operation, according to
The moving direction of foresight and the control foresight movement of preset movement speed.Wherein, moving direction can be to adjust control with the visual field
Center be origin, from the visual field adjust control center to the first touch operation touch location formed ray direction subject to
The moving direction of star, the moving direction can be expressed as u=by vector<P0,L0>, P0The center of control, L are adjusted for the visual field0
For the touch location of the first touch operation.
Fig. 4 is the schematic diagram of the moving direction of foresight, as shown in figure 4, the touch location L of the first touch operation0Positioned at
One region S1Interior, the visual field adjusts the center P of control0To the touch location L of the first touch operation0Subject to the direction of the ray of formation
The moving direction of star, i.e., the direction of arrow is the moving direction of foresight in figure.When the finger of game player moves in first area
When dynamic, with the transformation of touch location, the moving direction of foresight is also variation.
In the present embodiment, if first area includes the first subregion and the second subregion, when touch location is located at first
When in subregion and in the second subregion, the movement speed of preset foresight may be the same or different.
In another way, game terminal determines the moving direction of foresight, root according to the touch location of the first touch operation
The movement speed of foresight is determined at a distance from the center that the visual field adjusts control according to the touch location of the first touch operation.Wherein, it moves
The determination method in dynamic direction is referred to the associated description of foregoing manner, and which is not described herein again.
In a kind of exemplary approach, game terminal calculates the movement speed of foresight according to following formula:
V1=| L0P0|×m1|;
Wherein, V1Indicate the movement speed of foresight, L0Indicate the touch location of the first touch operation, P0Indicate visual field adjustment
The center of control, m1Indicate Dynamic gene, | L0P0| indicate the center of the touch location and visual field adjustment control of the first touch operation
Distance.
m1Value be more than 0, in the present embodiment, if first area includes the first subregion and the second subregion, when touching
Touch position be located in the first subregion and the second subregion in when, m1Value can be the same or different.Work as m1Value phase
Meanwhile the movement speed of foresight is identical, works as m1Value difference when, the movement speed of foresight is different.
Above-mentioned formula is merely illustrative, and the movement speed of foresight can also calculate by other means, and the present embodiment is not
This is limited.
Step S103, when detecting that the touch location of the first touch operation enters second area from first area, with into
Control is shot in generation centered on entering the initial touch position of second area.
When the finger of game player is included in second area from first area, game terminal detection is included in the first of second area
Beginning touch location generates shooting control centered on the initial touch position.Optionally, it after generating shooting control, hides
The shooting adjusts control, and game player can only see shooting control on game interaction interface, can't see visual field adjustment control.When
So, visual field adjustment control and shooting control can also be simultaneously displayed on game interaction interface, and the present embodiment is limited not to this
System.When visual field adjustment control and shooting control are simultaneously displayed on game interaction interface, visual field adjustment control may be at
Translucent, shooting control is normally shown, to highlight shooting control.
In addition, the present embodiment does not limit the size and shape for shooting control, shooting control can use existing
Control is shot, a kind of shooting control can also be newly designed, which can be round or rectangle.The shooting control can be with
Include that a region or multiple regions shoot the interior of the second area of control for example, the shooting control includes two regions
Boundary is overlapped with the outer boundary of first area.Optionally, which adjusts the shape phase of control with the visual field shown in Fig. 2
Together.The shooting control can only have the function of shooting, can also have the function of shooting and visual field adjustment simultaneously.
Optionally, after control is shot in display, corresponding control mark is shown on shooting control, is generated with prompt
Shooting adjustment control, control mark can be word or pattern, for example, shooting pattern is shown on shooting control, alternatively,
It is shot by text prompt user around shooting control.
Fig. 5 is a kind of schematic diagram for shooting control, as shown in figure 5, shooting control and visual field adjustment control are shown simultaneously, when
When the shooting control only shoots function, if game terminal detects game player to shooting the clicking operation of control or touching
When touching release operation (i.e. finger leaves shooting control), the firing operation to goal is triggered.When the shooting control has
Shooting function has the function of visual field adjustment again when, when terminal device detects touch operation of the game player to shooting control,
Foresight movement is controlled, control method is referred to the method in step S102, when terminal device detects game player to shooting
When the touch release operation of control, the firing operation to goal is triggered.Optionally, shooting mark is shown on the shooting control
Know, shooting mark for example, sub warhead.
Step S104, it when detecting the second touch operation for acting on shooting control, is carried out according to the second touch operation
Shooting.
In the present embodiment, the first touch operation can be independent two operations with the second touch operation, or even
Continuous touch operation.Second touch operation refers to continuously with the first touch operation:First touch operation refers to game player to regarding
A series of touch operations of open country adjustment control, after the first touch operation, the finger of game player is without departing from screen, game player
A series of continuous touch operations to shooting control are the second touch operation.When the first touch operation and the second touch operation
For continuous touch operation when, game player can realize by an operation and adjust visual field direction when opening fire, to make
It must entirely manipulate more smooth.
At the end of detecting the second touch operation for acting on shooting control, i.e. the finger of game player leaves shooting control
Part then returns to original state, that is, hides the shooting control, shows that the visual field adjusts control on the game interaction page.
In the process for adjusting control generation shooting control according to the visual field and later, the finger of game player need not leave trip
Play interactive interface, the finger of game player may remain in the same position on game interaction interface, visual field adjustment and shooting behaviour
Work is the equal of the continuous operation to the same control (i.e. the first touch operation and the second touch operation operate for continuous touch).
Under normal circumstances, game player repeats to click the same control, and prodigious problem is not had in operation, but if needing frequent
Switch between two similar controls, then can be easy to generate maloperation.The method of the present invention is realized by control conversion and is taken aim at
Accurate and firing operation, reduces the control quantity on game interaction interface, can be to avoid maloperation.In addition, finger need not be
Aiming and shooting can be realized in switching between different controls, from the time difference very little for being targeted to shooting, it is believed that be continuous
Operation, to improve the rate of driving the cross.
In the present embodiment, show that the visual field adjusts control on game interaction interface, it includes the firstth area which, which adjusts control,
Domain and second area, wherein the inner boundary of second area is overlapped with the outer boundary of first area;The firstth area is acted on when detecting
When the first touch operation in domain, foresight movement is controlled according to the first touch operation;When the touch for detecting the first touch operation
When position enters second area from first area, shooting control is generated centered on the initial touch position for entering second area;
When detecting the second touch operation for acting on shooting control, it is shot at according to the second touch operation.The method is reduced
Button on game interaction interface, can improve user experience to avoid game player's maloperation.
On the basis of embodiment shown in Fig. 1, Fig. 6 is the control method of shooting game provided by Embodiment 2 of the present invention
Flow chart, as shown in fig. 6, method provided in this embodiment includes the following steps:
Step S201, show that the visual field adjusts control on game interaction interface, it includes first area which, which adjusts control,
And second area, wherein the inner boundary of second area is overlapped with the outer boundary of first area.
Step S202, when detecting the first touch operation acted in first area, according to the first touch operation control
Foresight movement processed.
The description of specific implementation reference embodiment one the step S101 and S102 of step S201 and S202, here no longer
It repeats.
Step S203, when detecting that the touch location of the first touch operation enters second area from first area, with into
Control is shot in generation centered on entering the initial touch position of second area.
Fig. 7 is another schematic diagram for shooting control, as shown in fig. 7, shooting control and visual field adjustment control are shown simultaneously,
It is round control that the visual field, which adjusts control and uses shape shown in Fig. 3, the shooting control, which includes first area S1'
With second area S'2.The center for shooting control is P0', first area S1' for P0' it is the border circular areas that center of circle radius is R3,
First area S1' outer boundary be P1';Second area S'2For with P0' it is the center of circle, internal diameter R3, outer diameter is the annulus that R4 is formed
Region, second area S'2Outer boundary be P2', second area S'2Inner boundary be P1'。
Step S204, when detect act on shooting control on the second touch operation when, according to the second touch operation control
Foresight movement processed, and trigger firing operation.
Optionally, game terminal determines the moving direction of foresight according to the touch location of the second touch operation, according to second
The touch location of touch operation determines the movement speed of foresight at a distance from the center of shooting control;According to the moving direction of foresight
With movement speed control foresight movement.
Illustratively, the movement speed of foresight can be calculated according to following formula:
V2=| L'0P0'|×m2|;
Wherein, V2Indicate the movement speed of foresight, L'0Indicate the touch location of the second touch operation, P0' indicate shooting control
The center of part, m2Indicate Dynamic gene, | L'0P0' | indicate the second touch operation touch location with shooting control center away from
From.
The movement speed of foresight can also be pre-set, the computational methods of the movement speed of the present embodiment misalignment star
It is limited.The determination method of the moving direction of foresight is referred to the associated description of embodiment one, and which is not described herein again.
In the present embodiment, when it includes first area and second area to shoot control, for example, by using shape shown in Fig. 7
When, first area can be that the visual field assists adjustment region, and second area is sector of fire, when game terminal is examined in first area
When measuring the second touch operation, foresight movement is controlled according to the second touch operation, when game terminal detects in second area
When touch operation (for example, the finger of game player is included in second area from first area), firing operation is triggered.Since shooting is controlled
The first area of part is that the visual field assists adjustment region, and therefore, when controlling foresight movement, the movement speed of foresight can be less than and make
The movement speed of foresight when adjusting the visual field with visual field adjustment control, so as to slewing goal.
Certainly, when shooting control only there are one when region, which can also complete visual field adjustment and shooting function,
In a kind of mode, the moving direction of foresight is determined according to the touch location of the second touch operation, while controlling foresight movement
It is shot at.In another way, visual field adjustment and shooting can be distinguished by two different operations, for example, using touching
Operation triggering visual field adjustment, is shot at using clicking operation.
In the present embodiment, when detect act on shooting control on the second touch operation when, according to the second touch operation
Foresight movement is controlled, and triggers firing operation.Control progress visual field adjustment is adjusted by shooting control auxiliary visual field, it can be quick
Accurate run-home, improves user experience.
Fig. 8 is the structural schematic diagram of the control device for the shooting game that the embodiment of the present invention three provides, which can answer
In game terminal, as shown in figure 8, device provided in this embodiment, including:
Display module 11, for showing that the visual field adjusts control on game interaction interface, the visual field adjustment control includes
First area and second area, wherein the inner boundary of the second area is overlapped with the outer boundary of the first area;
The visual field adjust module 12, for when detect act on the first touch operation in the first area when, according to
The first touch operation control foresight movement;
Generation module 13 detects that the touch location of first touch operation enters institute from the first area for working as
When stating second area, shooting control is generated centered on the initial touch position for entering the second area;
Module 14 is shot, for when detecting the second touch operation for acting on the shooting control, according to described the
Two touch operations are shot at.
Optionally, the visual field adjustment module 12 is specifically used for:
The moving direction that the foresight is determined according to the touch location of first touch operation is touched according to described first
The touch location of operation determines the movement speed of the foresight at a distance from the center that the visual field adjusts control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
Optionally, the visual field adjustment module 12 calculates the movement speed of the foresight according to following formula:
V1=| L0P0|×m1|;
Wherein, V1Indicate the movement speed of the foresight, L0Indicate the touch location of first touch operation, P0It indicates
The center of the visual field adjustment control, m1Indicate Dynamic gene, | L0P0| indicate touch location and the institute of first touch operation
State the distance at the center of visual field adjustment control.
Fig. 9 is the structural schematic diagram of the control device for the shooting game that the embodiment of the present invention four provides, and the device is in Fig. 8 institutes
On the basis of showing device, shooting module 14 includes:
Auxiliary adjustment submodule 141, for when detect act on it is described shooting control on the second touch operation when, root
The foresight movement is controlled according to second touch operation;
Submodule 142 is shot, firing operation is triggered with specific reference to second touch operation.
Optionally, the auxiliary adjustment submodule 141 is specifically used for:
The moving direction that foresight is determined according to the touch location of second touch operation, according to second touch operation
Touch location determine the movement speed of the foresight at a distance from the center of the shooting control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
Optionally, the auxiliary adjustment submodule 141 is specifically used for:
The movement speed of the foresight is calculated according to following formula:
V2=| L'0P0'|×m2|;
Wherein, V2Indicate the movement speed of the foresight, L'0Indicate the touch location of second touch operation, P0' table
Show the center of the shooting control, m2Indicate Dynamic gene, | L'0P0' | indicate touch location and the institute of second touch operation
State the distance at the center of shooting control.
Optionally, further include:Hidden module (not shown), it is described for after generating the shooting control, hiding
The visual field adjusts control.The hidden module is additionally operable to:After firing operation, the shooting control is hidden, in games page
The upper display visual field adjusts control.
The control device of shooting game provided in this embodiment can be used for executing above-described embodiment one to the side of embodiment two
Method, specific implementation is similar with technique effect, please refers to above method embodiment, and details are not described herein again.
Figure 10 is the structural schematic diagram for the game terminal that the embodiment of the present invention five provides, and as shown in Figure 10, the present embodiment carries
The game terminal of confession, including:Processor 21, memory 22 and transceiver 23, the memory 22 for storing instruction, the receipts
It sends out device 23 to be used to communicate with other equipment, the processor 21 is for executing the instruction stored in the memory 22, so that institute
It states game terminal and executes such as above-described embodiment one to the method for embodiment two, specific implementation is similar with technique effect, here
It repeats no more.
The embodiment of the present invention six provides a kind of computer readable storage medium, and the computer-readable recording medium storage has
Instruction, when executed so that computer executes the method to embodiment two such as above-described embodiment one, specific implementation
Mode is similar with technique effect, and which is not described herein again.
It should be understood that in above-described embodiment, processor can be central processing unit (English:Central Processing
Unit, referred to as:CPU), it can also be other general processors, digital signal processor (English:Digital Signal
Processor, referred to as:DSP), application-specific integrated circuit (English:Application Specific Integrated
Circuit, referred to as:ASIC) etc..General processor can be microprocessor or the processor can also be any conventional place
Device etc. is managed, and memory above-mentioned can be read-only memory (English:Read-only memory, abbreviation:ROM it), deposits at random
Access to memory (English:Random access memory, referred to as:RAM), flash memory, hard disk or solid state disk.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims
System.
Claims (12)
1. a kind of control method of shooting game, which is characterized in that including:
Showing that the visual field adjusts control on game interaction interface, visual field adjustment control includes first area and second area,
Wherein, the inner boundary of the second area is overlapped with the outer boundary of the first area;
When detect act on the first touch operation in the first area when, according to first touch operation control foresight
It is mobile;
When detecting that the touch location of first touch operation enters the second area from the first area, to enter
Shooting control is generated centered on the initial touch position of the second area;
When detecting the second touch operation for acting on the shooting control, it is shot at according to second touch operation.
2. according to the method described in claim 1, it is characterized in that, controlling foresight movement, packet according to first touch operation
It includes:
The moving direction that the foresight is determined according to the touch location of first touch operation, according to first touch operation
Touch location and the visual field adjust the movement speed that the foresight is determined at a distance from the center of control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
3. according to the method described in claim 2, it is characterized in that, according to the touch location of first touch operation with it is described
The distance at the center of visual field adjustment control determines the movement speed of the foresight, including:
The movement speed of the foresight is calculated according to following formula:
V1=| L0P0|×m1|;
Wherein, V1Indicate the movement speed of the foresight, L0Indicate the touch location of first touch operation, P0Described in expression
The visual field adjusts the center of control, m1Indicate Dynamic gene, | L0P0| indicate that the touch location of first touch operation is regarded with described
The distance at the center of open country adjustment control.
4. according to the method described in claim 1, it is characterized in that, described ought detect acts on the second of the shooting control
When touch operation, it is shot at according to second touch operation, including:
When detect act on it is described shooting control on the second touch operation when, according to second touch operation control described in
Foresight moves, and triggers firing operation.
5. according to the method described in claim 4, it is characterized in that, controlling foresight movement, packet according to second touch operation
It includes:
The moving direction that foresight is determined according to the touch location of second touch operation, according to touching for second touch operation
Touch the movement speed that position determines the foresight at a distance from the center of the shooting control;
The foresight movement is controlled according to the moving direction of the foresight and the movement speed.
6. according to the method described in claim 5, it is characterized in that, according to the touch location of second touch operation with it is described
The distance for shooting the center of control determines the movement speed of the foresight, including:
The movement speed of the foresight is calculated according to following formula:
V2=| L'0P′0|×m2|;
Wherein, V2Indicate the movement speed of the foresight, L'0Indicate the touch location of second touch operation, P '0Indicate institute
State the center of shooting control, m2Indicate Dynamic gene, | L'0P′0| indicate that the touch location of second touch operation is penetrated with described
Hit the distance at the center of control.
7. according to the method described in claim 4, it is characterized in that, second touch operation is first touch operation
Continuous touch operates.
8. according to claim 1-7 any one of them methods, which is characterized in that further include:
After generating the shooting control, hides the visual field and adjust control.
9. according to the method described in claim 8, it is characterized in that, further including:
After firing operation, the shooting control is hidden, the visual field adjustment control is shown in games page.
10. a kind of control device of shooting game, which is characterized in that including:
Display module, for showing that the visual field adjusts control on game interaction interface, the visual field adjustment control includes the firstth area
Domain and second area, wherein the inner boundary of the second area is overlapped with the outer boundary of the first area;
The visual field adjusts module, for when detect act on the first touch operation in the first area when, according to described the
One touch operation controls foresight movement;
Generation module detects that the touch location of first touch operation enters described second from the first area for working as
When region, shooting control is generated centered on the initial touch position for entering the second area;
Module is shot, for when detecting the second touch operation for acting on the shooting control, being touched according to described second
Operation is shot at.
11. a kind of game terminal, which is characterized in that including:Processor, memory and transceiver, the memory is for storing
Instruction, the transceiver is used for and other equipment communication, and the processor is used to execute the instruction stored in the memory, with
The game terminal is set to execute the control method such as claim 1-9 any one of them shooting games.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has instruction, when
Described instruction is performed so that computer executes the control method such as claim 1-9 any one of them shooting games.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595001.3A CN108771863B (en) | 2018-06-11 | 2018-06-11 | Control method and device for shooting game |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595001.3A CN108771863B (en) | 2018-06-11 | 2018-06-11 | Control method and device for shooting game |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108771863A true CN108771863A (en) | 2018-11-09 |
CN108771863B CN108771863B (en) | 2022-04-15 |
Family
ID=64024909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810595001.3A Active CN108771863B (en) | 2018-06-11 | 2018-06-11 | Control method and device for shooting game |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108771863B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110141869A (en) * | 2019-04-11 | 2019-08-20 | 腾讯科技(深圳)有限公司 | Method of controlling operation thereof, device, electronic equipment and storage medium |
CN111282284A (en) * | 2020-03-02 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, terminal and storage medium |
CN112044066A (en) * | 2020-09-10 | 2020-12-08 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and readable storage medium |
CN113398564A (en) * | 2021-07-12 | 2021-09-17 | 网易(杭州)网络有限公司 | Virtual role control method, device, storage medium and computer equipment |
KR20210142705A (en) * | 2019-07-26 | 2021-11-25 | 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 | View angle rotation method, device, apparatus, and storage medium |
US12005360B2 (en) | 2020-06-05 | 2024-06-11 | Tencent Technology (Shenzhen) Company Ltd | Virtual object control method and apparatus, computer device, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120329558A1 (en) * | 2006-09-14 | 2012-12-27 | Nintendo Co., Ltd. | Method and apparatus for using a common pointing input to control 3d viewpoint and object targeting |
US20130288790A1 (en) * | 2012-04-25 | 2013-10-31 | Fourier Information Corp. | Interactive game controlling method for use in touch panel device medium |
CN106933466A (en) * | 2015-12-31 | 2017-07-07 | 广州爱九游信息技术有限公司 | Page interaction and system |
CN107132988A (en) * | 2017-06-06 | 2017-09-05 | 网易(杭州)网络有限公司 | Virtual objects condition control method, device, electronic equipment and storage medium |
CN107661630A (en) * | 2017-08-28 | 2018-02-06 | 网易(杭州)网络有限公司 | A kind of control method and device of shooting game, storage medium, processor, terminal |
CN107678647A (en) * | 2017-09-26 | 2018-02-09 | 网易(杭州)网络有限公司 | Virtual shooting main body control method, apparatus, electronic equipment and storage medium |
CN107754308A (en) * | 2017-09-28 | 2018-03-06 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
CN107913520A (en) * | 2017-12-14 | 2018-04-17 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
-
2018
- 2018-06-11 CN CN201810595001.3A patent/CN108771863B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120329558A1 (en) * | 2006-09-14 | 2012-12-27 | Nintendo Co., Ltd. | Method and apparatus for using a common pointing input to control 3d viewpoint and object targeting |
US20130288790A1 (en) * | 2012-04-25 | 2013-10-31 | Fourier Information Corp. | Interactive game controlling method for use in touch panel device medium |
CN106933466A (en) * | 2015-12-31 | 2017-07-07 | 广州爱九游信息技术有限公司 | Page interaction and system |
CN107132988A (en) * | 2017-06-06 | 2017-09-05 | 网易(杭州)网络有限公司 | Virtual objects condition control method, device, electronic equipment and storage medium |
CN107661630A (en) * | 2017-08-28 | 2018-02-06 | 网易(杭州)网络有限公司 | A kind of control method and device of shooting game, storage medium, processor, terminal |
CN107678647A (en) * | 2017-09-26 | 2018-02-09 | 网易(杭州)网络有限公司 | Virtual shooting main body control method, apparatus, electronic equipment and storage medium |
CN107754308A (en) * | 2017-09-28 | 2018-03-06 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
CN107913520A (en) * | 2017-12-14 | 2018-04-17 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
PQ: "绝地求生刺激战场怎么持续冲刺?人物持续奔跑方法一览[图]", 《HTTPS://WWW.VIPCN.COM/SHOUJIGAME/YOUXIGONGLUE/511924.HTML》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110141869A (en) * | 2019-04-11 | 2019-08-20 | 腾讯科技(深圳)有限公司 | Method of controlling operation thereof, device, electronic equipment and storage medium |
KR20210142705A (en) * | 2019-07-26 | 2021-11-25 | 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 | View angle rotation method, device, apparatus, and storage medium |
JP2022531599A (en) * | 2019-07-26 | 2022-07-07 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Viewpoint rotation methods, devices, terminals and computer programs |
JP7309913B2 (en) | 2019-07-26 | 2023-07-18 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Viewpoint rotation method, device, terminal and computer program |
US11878240B2 (en) | 2019-07-26 | 2024-01-23 | Tencent Technology (Shenzhen) Company Limited | Method, apparatus, device, and storage medium for perspective rotation |
KR102663747B1 (en) | 2019-07-26 | 2024-05-09 | 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 | Viewing angle rotation method, device, apparatus, and storage medium |
CN111282284A (en) * | 2020-03-02 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, terminal and storage medium |
US12005360B2 (en) | 2020-06-05 | 2024-06-11 | Tencent Technology (Shenzhen) Company Ltd | Virtual object control method and apparatus, computer device, and storage medium |
CN112044066A (en) * | 2020-09-10 | 2020-12-08 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and readable storage medium |
CN112044066B (en) * | 2020-09-10 | 2022-03-08 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and readable storage medium |
CN113398564A (en) * | 2021-07-12 | 2021-09-17 | 网易(杭州)网络有限公司 | Virtual role control method, device, storage medium and computer equipment |
CN113398564B (en) * | 2021-07-12 | 2024-02-13 | 网易(杭州)网络有限公司 | Virtual character control method, device, storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108771863B (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108771863A (en) | The control method and device of shooting game | |
US11250660B2 (en) | Graphical user interface for a gaming system | |
US11400374B2 (en) | Virtual character processing method, virtual character processing device, electronic apparatus and storage medium | |
US8939836B2 (en) | Interactive game controlling method for use in touch panel device medium | |
CN107519641B (en) | Method and device for controlling game skill release, storage medium and mobile terminal | |
CN109224439A (en) | The method and device of game aiming, storage medium, electronic device | |
CN108525294B (en) | Control method and device for shooting game | |
US20130217498A1 (en) | Game controlling method for use in touch panel medium and game medium | |
JP5727655B1 (en) | Information processing apparatus, information processing method, and program | |
TW201727470A (en) | Method and apparatus for human-computer interaction (HCI) including a display module, a detection module, a viewing angle conversion module, a tracking module, and a touch-trigger module | |
CN107773983B (en) | Shooting control method and device in game | |
JP6561163B1 (en) | GAME DEVICE AND GAME PROGRAM | |
CN114681926B (en) | Information processing apparatus and information processing method | |
US20210322866A1 (en) | Apparatus and method for controlling user interface of computing apparatus | |
JP5781563B2 (en) | Movement control device, movement control method, and program | |
CN108351748B (en) | Computer readable medium and portable terminal | |
CN114404944A (en) | Method and device for controlling player character, electronic device and storage medium | |
KR20160126848A (en) | Method for processing a gesture input of user | |
CN117839204A (en) | Method and device for displaying interface in game, terminal equipment and storage medium | |
CN114404943A (en) | Method and device for controlling player character, electronic device and storage medium | |
CN113663326A (en) | Game skill aiming method and device |
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 |