CN107930106A - Virtual shooting main body control method, apparatus, electronic equipment and storage medium - Google Patents

Virtual shooting main body control method, apparatus, electronic equipment and storage medium Download PDF

Info

Publication number
CN107930106A
CN107930106A CN201710999929.3A CN201710999929A CN107930106A CN 107930106 A CN107930106 A CN 107930106A CN 201710999929 A CN201710999929 A CN 201710999929A CN 107930106 A CN107930106 A CN 107930106A
Authority
CN
China
Prior art keywords
slide
shooting
main body
control
ammunition
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
CN201710999929.3A
Other languages
Chinese (zh)
Other versions
CN107930106B (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 CN201710999929.3A priority Critical patent/CN107930106B/en
Publication of CN107930106A publication Critical patent/CN107930106A/en
Application granted granted Critical
Publication of CN107930106B publication Critical patent/CN107930106B/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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of virtual shooting main body control method, apparatus, electronic equipment and storage medium, this method to include:A shooting control is provided in the predeterminable area of graphic user interface;When detecting the slide for acting on shooting control, ammunition loading capacity is controlled according to the displacement distance of slide;At the end of slide is detected, virtual shooting main body is controlled to perform double hit operation, the shooting ammunition of double hit operation is equal to ammunition loading capacity.The present invention solves single shot and burst-firing in mobile terminal interactive mode must be by switching different controls the technical problem realized.

Description

Virtual shooting main body control method, apparatus, electronic equipment and storage medium
Technical field
The present invention relates to game technical field, in particular to a kind of virtual shooting main body control method, apparatus, electricity Sub- equipment and storage medium.
Background technology
With the development of mobile intelligent terminal and industry of playing, the hand trip of substantial amounts of, different subject matters is emerged, to meet to play The demand of family.In 2.5D shooting games application, it usually needs switching single-shot, running fire are grasped to perform different types of shooting Make.
In the prior art, realize that single shot operates by the shooting control of single shot;When need carry out burst-firing During operation, it is necessary first to switch to the shooting control of burst-firing, then perform corresponding touch control operation so as to fulfill burst-firing Operation.
In current interactive mode single shot from must be by switching different virtual weapons come real during burst-firing It is existing, it is impossible to realize that single-shot is operated with running fire at the same time to any single virtual weapon;It can not realize more running fire operations, i.e., cannot control The ammunition of each running fire.During switching virtual weapon, the energy of player can be consumed, and use different virtual weapons The interactive operation being shot at is different, and particularly when in face of complicated scene of fighting, switching virtual weapon can influence the stream of operation Smooth property.This interactive mode not only damages the interests of player, and improves operation threshold, reduces game experiencing.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
At least one embodiment of the present invention provides a kind of virtual shooting main body control method, is used applied to figure can be presented The touch control terminal at family interface, this method include:
A shooting control is provided in the predeterminable area of graphic user interface;
When detecting the slide for acting on shooting control, ammunition loading is controlled according to the displacement distance of slide Amount;
At the end of slide is detected, virtual shooting main body is controlled to perform double hit operation, the shooting bullet of double hit operation Dose is equal to the ammunition loading capacity.
Alternatively, the displacement distance of slide and ammunition loading capacity positive correlation.
Alternatively, this method further includes:
When detecting the slide for acting on shooting control, ammunition loading instruction letter is provided in graphic user interface Breath, ammunition loading configured information are used to indicate current ammunition loading capacity.
Alternatively, air line distance of the displacement distance of slide between the touch point and predeterminable area of slide.
Alternatively, this method further includes:
When detecting the slide for acting on shooting control, virtual shooting is controlled according to the moving direction of slide The firing direction of main body;
At the end of slide is detected, virtual shooting main body is controlled to perform double hit operation towards current firing direction.
Alternatively, this method further includes:
When the displacement distance for detecting slide meets a pre-determined distance, ammunition loading capacity adds for maximum preset ammunition Carrying capacity;
At the end of slide is detected, virtual shooting main body is controlled to perform double hit operation, the shooting of double hit operation Ammunition is equal to maximum preset ammunition loading capacity.
Alternatively, this method further includes:
When the displacement distance for detecting slide meets a pre-determined distance, ammunition loading capacity adds for maximum preset ammunition Carrying capacity;
When detecting the deliberate action of slide, virtual shooting main body is controlled to perform double hit operation, double hit operation Shooting ammunition be equal to maximum preset ammunition loading capacity.
Alternatively, this method further includes:
When detecting the touch control operation for acting on shooting control, virtual shooting main body is controlled to perform single shot operation.
A wherein embodiment according to the present invention, there is provided a kind of virtual shooting main body control device, applied to figure can be presented The touch control terminal of shape user interface, the device include:
Display unit, for providing a shooting control in the predeterminable area of graphic user interface;
Interactive unit, for when detect act on shooting control slide when, according to the movement of slide away from From control ammunition loading capacity;
Shooting criterions unit, at the end of slide is detected, controlling virtual shooting main body to perform double hit operation, The shooting ammunition of double hit operation is equal to ammunition loading capacity.
A wherein embodiment according to the present invention, there is provided a kind of computer-readable recording medium, is stored thereon with computer Program, realizes the virtual shooting main body control method of any of the above item when computer program is executed by processor.
A wherein embodiment according to the present invention, there is provided a kind of electronic equipment, including:Processor;And memory, it is used for Store the executable instruction of processor;Wherein, processor is configured to perform any of the above item via executable instruction is performed Virtual shooting main body control method.
In at least one embodiment of the present invention, when detecting the slide for acting on shooting control, according to cunning The displacement distance control ammunition loading capacity of dynamic operation;At the end of slide is detected, virtual shooting main body is controlled to perform company Operation is hit, the shooting ammunition of double hit operation is equal to ammunition loading capacity.
By method provided by the invention, the weapon type limitation in 2.5D shooting games, each virtual weapons are broken through It can realize the shooting interaction of single shot, short burst-firing, long burst-firing, i.e. player realizes single shot, short running fire When shooting, long burst-firing operation, it is not necessary to which switching virtual weapon, it is real by coherent interactive operation to may act on same control It is existing;Meanwhile when burst-firing operates, the ammunition quantity of burst-firing can be controlled.More abundant game is brought to player Experience, tactics of the game sense can also get a promotion, so solve single shot in mobile terminal interactive mode must with burst-firing Must be by switching different controls the technical problem realized.
Brief description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 schematically shows a kind of signal of the first graphic user interface of mobile terminal in disclosure exemplary embodiment Figure;
Fig. 2 schematically shows a kind of flow chart of virtual shooting main body control method in disclosure exemplary embodiment;
Fig. 3 schematically shows a kind of signal of the second graph user interface of mobile terminal in disclosure exemplary embodiment Figure;
Fig. 4 schematically shows a kind of signal of the 3rd graphic user interface of mobile terminal in disclosure exemplary embodiment Figure.
Embodiment
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Attached drawing, is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work, should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to the embodiment of the present invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
A wherein embodiment according to the present invention, there is provided a kind of embodiment of virtual shooting main body control method is, it is necessary to say Bright, step shown in the flowchart of the accompanying drawings can be held in the computer system of such as a group of computer-executable instructions OK, although also, show logical order in flow charts, in some cases, can be with different from order herein Perform shown or described step.
2.5D game is also known as fixed viewpoint 3D game, is that the game of 2D is adopted for 2D game and 3D game With the scene of game of 2D;3D game then uses 3D scene of game, while player can observe the visual angle of scene with unrestricted choice;2.5D Game is then to use 3D scene of game, but the visual angle for observing scene is set in advance, and player can control game role in 3D Moved in scene of game, but cannot arbitrarily change the observation visual angle of scene of game.
A kind of virtual shooting main body control method is disclosed in the present exemplary embodiment first, can be applied to that bag can be presented The touch control terminal of the graphic user interface of the scene of game picture of 2.5D shootings mobile phone games application is included, for performing shooting behaviour Make.Can be by performing software application on the processor of touch control terminal and rendering to obtain figure on the display of the touch control terminal Shape user interface.
As shown in Figure 1, the graphic user interface can include shooting control 301, displacement control 302, the corresponding void of user Intend shooting main body 303, and multiple virtual shooting objects, such as virtual shooting object 3041, virtual shooting object 3042 and void Intend shooting object 3042;Virtual shooting main body 303 can be configured as to be moved according to displacement control 302.Displacement control 302 Can there is the region that visually indicates effect or without visually indicating the region of effect in graphic user interface, It can also be that virtual rocking bar region, or direction controlling virtual key region, the present exemplary embodiment are not construed as limiting.
In addition, virtual scene of fighting, virtual natural environment, map control area can also be included in graphic user interface White space outside domain, information panel control area and each control area etc..Virtual shooting main body 303 can have a variety of tables Existing form, such as when virtual shooting main body 303 holds pistol, sniping gun, shooting cannon or mortar, different appearances is presented respectively Gesture, so that player quickly distinguishes the type that virtual shooting main body 303 holds virtual weapons.Displacement control 302 and shooting control 301 The not homonymy of graphic user interface is arranged on, such as shooting control 301 can be located at the optional position on the right side of graphic user interface, Corresponding displacement control 302 can be located at the optional position on the left of graphic user interface.The touch control terminal can be such as mobile phone, The various electronic equipments with Touch Screen such as tablet computer, laptop, game machine, PDA.Refering to what is shown in Fig. 2, this is virtual Shooting main body control method may comprise steps of:
Step S110, a shooting control is provided in the predeterminable area of graphic user interface;
Step S130, when detecting the slide for acting on shooting control, according to the displacement distance control of slide Ammunition loading capacity processed;
Step S150, at the end of slide is detected, controls virtual shooting main body to perform double hit operation, double hit operation Shooting ammunition be equal to ammunition loading capacity.
In 2.5D shooting games application, it usually needs switching single-shot, running fire perform different types of firing operation. Such as:Virtual weapons are selected, by pinning shooting control and dragging to adjust shooting angle, shooting control is unclamped and realizes that single-shot is penetrated Hit operation;And for example:Toggle control replaces virtual weapons, then small range dragging shooting control to adjust shooting angle, last long distance Burst-firing is realized from holding control and not putting.Since the on-screen display (osd) area of mobile touch control terminal (such as mobile phone) is non-in itself It is often limited, and display screen manipulates the contact panel of game, when control is more, switching virtual weapon as player at the same time Easily there is maloperation;It is especially under complicated combat environment, switching virtual weapon can influence the fluency of operation, order operation Become extremely lengthy and tedious, be more easy to maloperation occur, player experience is bad.Pass through the virtual shooting main body control in the present exemplary embodiment Method processed, on the one hand, break through the weapon type limitation in 2.5D shooting games, each virtual weapons can realize that single-shot is penetrated Hit, short burst-firing, long burst-firing shooting interaction, i.e. player realizes single shot, short burst-firing, long burst-firing During operation, it is not necessary to which switching virtual weapon, may act on same control and realized by coherent interactive operation;On the other hand, exist When burst-firing operates, the ammunition quantity of burst-firing can be controlled.Make the operation of player more smooth, brought to player richer Rich game experiencing, tactics of the game sense can also get a promotion, and then solve single shot and company in mobile terminal interactive mode Transmitting is hit must be by switching different controls the technical problem realized.
In the following, with reference to Fig. 3 to Fig. 4 to virtually each step of shooting main body control method is made into one in the present exemplary embodiment Step ground explanation.
Step S110, a shooting control is provided in the predeterminable area of graphic user interface.
In the present example embodiment, a shooting control 301 is provided in the predeterminable area 300 of graphic user interface, passed through Shooting control 301 is provided in the predeterminable area 300 of graphic user interface, detection acts on the interactive operation of shooting control 301, should Interactive operation can be one or more combinations in the operations such as slip, click, long-press or pressing.
Predeterminable area 300 can be had the region for visually indicating effect in graphic user interface or do not have Visually indicate the region of effect;Predeterminable area 300 can be more than shooting control 301, might be less that shooting control 301, for Effect is presented in its shape, size and vision, and the present exemplary embodiment is not construed as limiting.As a kind of preferred embodiment, preset Region 300 can be one similar to shooting 301 geometric profile of control, and the region that geometric center overlaps.When shooting control 301 with During with the slide movement for acting on it, predeterminable area 300 can be used for the initial position for determining shooting control 301, work as effect When the touch point of the interactive operation of shooting control 301 leaves shooting control 301, shooting control 301 returns to predeterminable area 300; When Following effect is not in its slide movement for shooting control 301, predeterminable area 300 can be shooting control 301 itself.
Shooting control 301 can be had the region for visually indicating effect in graphic user interface or do not have The region of effect is visually indicated, virtual rocking bar manipulation region or direction controlling virtual key region is can also be, is controlled for shooting Effect is presented in shape, size and the vision of part 301, and the present exemplary embodiment is not construed as limiting.
As described above, shooting control 301 can be oppositely arranged on the difference of graphic user interface with displacement control 302 Side, such as shooting control 301 can be located at the optional position on the right side of graphic user interface, and corresponding displacement control 302 can position Optional position on the left of graphic user interface.Preferably, in a specific embodiment of the invention, shooting control 301 is positioned at figure Shape user interface bottom right side position, corresponding displacement control 302 are located at graphic user interface lower-left side position.So as in the reality Apply in example, it is convenient that virtual shooting main body 303 can be controlled to carry out displacement and rotation in scene of game by left hand, pass through right hand control System virtual shooting main body 303 such as is shot at the operation.
Step S130, when detecting the slide for acting on shooting control, according to the displacement distance control of slide Ammunition loading capacity processed.
In this illustrative embodiments, when detecting the slide for acting on shooting control 301, grasped according to sliding The displacement distance control ammunition loading capacity of work.
Specifically, the displacement distance of slide and ammunition loading capacity positive correlation.I.e. the displacement distance of slide with Ammunition loading capacity maps one by one, and the displacement distance of slide is longer, and ammunition loading capacity is bigger;The displacement distance of slide is got over Short, ammunition loading capacity is smaller.Changed according to the displacement distance of slide, adjust ammunition loading capacity immediately.At this time, when player needs When cancelling operation, finger need to only be slided to a predeterminated position, which can be in predeterminable area 300, or One set on graphic user interface cancels at control (not shown).
In addition, clearly directly obtaining the information of ammunition loading capacity for ease of player, shooting control is acted on when detecting Slide when, graphic user interface provide an ammunition loading configured information, ammunition loading configured information be used for indicate work as Preceding ammunition loading capacity.
In the present example embodiment, when detecting the slide for acting on shooting control 301, in graphical user circle Face provides ammunition loading configured information 305, and ammunition loading configured information 305 can be progress bar, the number for having preset length The combination of word, or both or any other mode that can indicate ammunition loading capacity.For example, have in the present invention one In body embodiment, as shown in figure 3, ammunition loading configured information 305 is the progress bar with preset length, pass through the length of progress bar Short instruction ammunition loading capacity, the progress bar are indicated in the form of bullet icon, i.e. act on shooting control when detecting During 301 slide, the displacement distance of slide is bigger, and the quantity of bullet icon is more, and progress bar is longer, illustrates current Ammunition loading capacity is bigger.In other embodiments, in order to make player more intuitively obtain the information of ammunition loading capacity, ammunition loading refers to It can be progress bar and digital combination to show information 305, i.e. when detecting the slide for acting on shooting control 301, The displacement distance of slide is bigger, and progress bar is longer, and numeral is bigger, illustrates that current ammunition loading capacity is bigger, digital representation tool The ammunition loading capacity of body.It should be understood that ammunition loading configured information 305 may also be only numeral, directly numerically go out Ammunition loading capacity.
In the present example embodiment, the displacement distance of slide is between the touch point and predeterminable area of slide Air line distance.
The displacement distance of shooting control 301 is perceived for convenience of player, predeterminable area 300, which is arranged to one, has default transparency Region;Shooting control 301 is arranged at the geometric center of predeterminable area 300, and can be according to the cunning for acting on shooting control 301 Move operation and move, player can judge the shifting of slide by shooting the relative position between control 301 and predeterminable area 300 Dynamic distance.Specifically, when detecting the slide for acting on shooting control 301, shooting control 301 is according to slide Touch point it is mobile and move, and the touch point of slide is the geometric center for shooting control 301, the shifting of slide Air line distance of the dynamic distance between the touch point of slide and the geometric center of predeterminable area 300.With 300 He of predeterminable area Exemplified by control 301 is shot as circle, the displacement distance of slide is the touch point of slide and the center of circle of predeterminable area 300 Between air line distance.
It should be understood that to save screen space, shooting space 301 may be alternatively provided as not following slide to move, this When, predeterminable area 300 can be shooting control 301 itself, and the displacement distance of slide is the touch point of slide and presets Air line distance between the geometric center in region 300 (shooting control 301).
Slide is being carried out, while changing ammunition loading capacity by the displacement distance of slide, can also pass through cunning The firing direction of the virtual shooting main body of moving direction control of dynamic operation.
In the present example embodiment, when detecting the slide for acting on shooting control, according to slide The firing direction of the virtual shooting main body of moving direction control;At the end of slide is detected, virtual shooting main body court is controlled Current firing direction performs double hit operation.
Specifically, according to the direction in the touch point absolute presupposition region 300 for the slide for acting on shooting control 301 The firing direction of the virtual shooting main body 303 of adjustment, i.e. firing direction are touch-control of 300 geometric center of predeterminable area to slide The direction vector of point;At the end of slide is detected, virtual shooting main body is controlled to perform double hit behaviour towards current firing direction Make.For example, as shown in figure 3, the touch point for acting on the slide of shooting control 301 is moved to 11 o'clock of predeterminable area Direction, then virtually shooting main body 303 aims at the virtual shooting object 3041 in its direction at 11 o'clock;When detecting that slide terminates When, control virtual shooting main body to perform double hit operation towards its 11 directions.In the present example embodiment, penetrated for the ease of instruction Direction is hit, while the firing direction of the virtual shooting main body 303 of moving direction control by slide, generation one aims at Configured information 3031 is aided in, visualizes firing direction;Aiming auxiliary configured information 3031 can be a sector region, also may be used To be a ray, or any other visual information for being capable of direction indication.
In the present example embodiment, when detecting the touch control operation for acting on shooting control, virtual shooting master is controlled Body performs single shot operation.
Specifically, when detecting a touch control operation for acting on shooting control 301, virtual shooting main body is controlled 303 perform single shot operation;When detecting the multiple touch control operation for acting on shooting control 301, virtual shooting master is controlled Body 303 performs multiple single shot operation.The touch control operation can be the operation such as click, long-press, pressing.
Step S150, at the end of slide is detected, controls virtual shooting main body to perform double hit operation, double hit operation Shooting ammunition be equal to ammunition loading capacity.
In step 130, according to act on shooting control 301 slide determine required ammunition loading capacity and After firing direction, at the end of slide is detected, virtual shooting main body 303 is controlled to perform double hit towards current firing direction Operation, continues battery has fired by the ammunition battery of loading, is operated so as to fulfill burst-firing.
It should be understood that in other embodiments, when detecting slide, it can not also detect the movement of slide Direction, required ammunition loading capacity is determined according to the displacement distance for the slide for acting on shooting control 301;When detecting cunning At the end of dynamic operation, the direction that virtual shooting main body 303 is determined towards preset algorithm is controlled to perform double hit operation, the preset algorithm is true Fixed direction can be with virtually shooting the closest target direction of main body 303 or the minimum target direction of blood volume.
In the present example embodiment, slide terminates can be that touch control object (such as stylus or finger) leaves tactile Control screen or touch control object stops sliding, such as the operation such as long-press, pressing.
For example, when detecting the slide for acting on shooting control 301, controlled according to the displacement distance of slide Ammunition loading capacity, and the virtual firing direction for shooting main body 303 is controlled according to the moving direction of slide;In definite ammunition After loading capacity and firing direction, finger is unclamped, you can the virtual shooting main body 303 of control performs double hit operation, and double hit operation is penetrated Hit ammunition and be equal to ammunition loading capacity.In this specific embodiment, double hit operation is if desired cancelled, can touch-control graphic user interface Optional position;It can not cancel it should be understood that double hit operation can also be arranged to once triggering.
For another example, when detecting the slide for acting on shooting control 301, controlled according to the displacement distance of slide Ammunition loading capacity, and the virtual firing direction for shooting main body 303 is controlled according to the moving direction of slide;In definite ammunition After loading capacity and firing direction, slide final touch point position long-press or press again, you can the virtual shooting master of control Body 303 performs double hit operation.In this specific embodiment, long-press need to be kept or again by until ammunition battery's supervention of loading is shot away Finish;If desired cancel double hit operation, finger can be unclamped;It should be understood that double hit operation can also be arranged to once triggering i.e. not It can cancel.
In the present example embodiment, to ensure the balance of game, a maximum preset ammunition loading capacity is set, works as detection To slide displacement distance meet a pre-determined distance when, ammunition loading capacity is maximum preset ammunition loading capacity.
Specifically, when the displacement distance for detecting slide meets a pre-determined distance, ammunition loading capacity is maximum Default ammunition loading capacity;At the end of slide is detected, virtual shooting main body is controlled to perform double hit operation, double hit operation Shooting ammunition is equal to maximum preset ammunition loading capacity.
As described above, slide terminates be that touch control object (such as stylus or finger) leaves Touch Screen, Can also be that touch control object stops sliding, such as the operation such as long-press, pressing, this will not be repeated here.At the end of slide is detected, The virtual shooting main body of control performs double hit operation, and the ammunition battery of loading is continued battery has fired, is operated so as to fulfill long burst-firing.
In embodiments of the present invention, when the displacement distance for detecting slide meets a pre-determined distance, ammunition loading Measure as maximum preset ammunition loading capacity;When detecting the deliberate action of slide, virtual shooting main body is controlled to perform double hit Operation, the shooting ammunition of double hit operation are equal to maximum preset ammunition loading capacity.The deliberate action of slide can be long-press, Press again, or more than slide after pre-determined distance etc..For example, when the displacement distance for detecting slide meets that one is default Apart from when, ammunition loading capacity is maximum preset ammunition loading capacity;When the displacement distance for detecting slide be more than this it is default away from From when, at this time, do not change ammunition loading capacity and firing direction more than the slide outside the pre-determined distance scope, in pre-determined distance Outer slide can control virtual shooting main body 303 to perform double hit operation.
Pass through method provided by the invention, on the one hand, break through the weapon type limitation in 2.5D shooting games, each is empty Intend weapon can realize single shot, short burst-firing, long burst-firing shooting interaction, i.e. player realize single shot, When short burst-firing, long burst-firing operation, it is not necessary to which switching virtual weapon, may act on same control and pass through coherent interaction Operation is realized;On the other hand, when burst-firing operates, the ammunition quantity of burst-firing can be controlled.Make the operation of player more Smoothness, more abundant game experiencing is brought to player, tactics of the game sense can also get a promotion, and then solve mobile terminal friendship Single shot and burst-firing must be by switching different controls the technical problem realized in mutual mode.Solve mobile whole The technical problem of multithreading operation can not be realized in the interactive mode of end.
A wherein embodiment according to the present invention, additionally provides a kind of virtual shooting main body control device, applied to can present The touch control terminal of graphic user interface, the device include:
Display unit, for providing a shooting control in the predeterminable area of graphic user interface;
Interactive unit, for when detect act on shooting control slide when, according to the movement of slide away from From control ammunition loading capacity;
Shooting criterions unit, at the end of slide is detected, controlling virtual shooting main body to perform double hit operation, The shooting ammunition of double hit operation is equal to ammunition loading capacity.
The detail of each virtual shooting main body control device unit is in corresponding virtual shooting main body control in above-mentioned It is described in detail in method processed, therefore details are not described herein again.
It should be noted that although some modules or list of the equipment for action executing are referred in above-detailed Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Either the feature of unit and function can embody module in a module or unit.A conversely, above-described mould Either the feature of unit and function can be further divided into being embodied by multiple modules or unit block.
A wherein embodiment according to the present invention, additionally provides a kind of computer-readable recording medium, and being stored thereon with can Realize the program product of this specification above method.In some possible embodiments, various aspects of the invention can be with It is embodied as a kind of form of program product, it includes program code, when program product is run on the terminal device, program code For making terminal device perform the exemplary realities various according to the present invention described in above-mentioned " illustrative methods " part of this specification The step of applying mode.It can use portable compact disc read only memory (CD-ROM) and including program code, and can be Run on terminal device, such as PC.However, the program product not limited to this of the present invention, in this document, readable storage Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device Using or it is in connection.
Program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be that readable signal is situated between Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any combination above.More specifically example (the non exhaustive row of readable storage medium storing program for executing Table) include:Electrical connection, portable disc, hard disk, random access memory (RAM), read-only storage with one or more conducting wires Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
A wherein embodiment according to the present invention, additionally provides a kind of electronic equipment, which includes:Processing component, It can further include one or more processors, and as the memory resource representated by memory, can be by for storing The instruction that processing component performs, such as application program.The application program stored in memory can include one or more Each correspond to the module of one group of instruction.In addition, processing component is configured as execute instruction, to perform above-mentioned virtual penetrate Hit main body control method.
The electronic equipment can also include:One power supply module, power supply module are configured to carry out to performing electronic equipment Power management;One wired or wireless network interface, is configured to electronic equipment being connected to network;An and input and output (I/O) interface.The electronic equipment can be operated based on the operating system for being stored in memory, such as Android, iOS, Windows, MacOSX, Unix, Linux, FreeBSD or similar.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can pass through others Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of unit, can be one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of unit or module, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit Component may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple units On.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can To be stored in a computer read/write memory medium.Based on such understanding, technical scheme substantially or Saying all or part of the part to contribute to the prior art or the technical solution can be embodied in the form of software product Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server-side or network equipment etc.) performs all or part of step of each embodiment method of the present invention Suddenly.
It the above is only the preferred embodiment of the present invention, it is noted that come for those skilled in the art Say, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (11)

  1. A kind of 1. virtual shooting main body control method, applied to the touch control terminal that graphic user interface can be presented, it is characterised in that The described method includes:
    A shooting control is provided in the predeterminable area of the graphic user interface;
    When detecting the slide for acting on the shooting control, ammunition is controlled according to the displacement distance of the slide Loading capacity;
    At the end of the slide is detected, the virtual shooting main body is controlled to perform double hit operation, the double hit operation Shooting ammunition be equal to the ammunition loading capacity.
  2. 2. the method as described in claim 1, it is characterised in that the displacement distance and ammunition loading capacity positive of the slide Close.
  3. 3. the method as described in claim 1, it is characterised in that the method further includes:
    When detecting the slide for acting on the shooting control, provide ammunition loading in the graphic user interface and refer to Show information, the ammunition loading configured information is used to indicate the current ammunition loading capacity.
  4. 4. the method as described in claim 1, it is characterised in that the displacement distance of the slide is grasped for described slide Air line distance between the touch point of work and the predeterminable area.
  5. 5. the method as described in claim 1, it is characterised in that the method further includes:
    When detecting the slide for acting on the shooting control, controlled according to the moving direction of the slide The firing direction of the virtual shooting main body;
    At the end of the slide is detected, the virtual shooting main body is controlled to perform the double hit towards current firing direction Operation.
  6. 6. the method as described in claim 1, it is characterised in that the method further includes:
    When the displacement distance for detecting the slide meets a pre-determined distance, the ammunition loading capacity is maximum pre- If ammunition loading capacity;
    At the end of the slide is detected, the virtual shooting main body is controlled to perform the double hit operation, the double hit The shooting ammunition of operation is equal to the maximum preset ammunition loading capacity.
  7. 7. the method as described in claim 1, it is characterised in that the method further includes:
    When the displacement distance for detecting the slide meets a pre-determined distance, the ammunition loading capacity is maximum pre- If ammunition loading capacity;
    When detecting the deliberate action of the slide, the virtual shooting main body is controlled to perform the double hit operation, institute The shooting ammunition for stating double hit operation is equal to the maximum preset ammunition loading capacity.
  8. 8. the method as described in claim 1, it is characterised in that the method further includes:
    When detecting the touch control operation for acting on the shooting control, the virtual shooting main body is controlled to perform single shot behaviour Make.
  9. A kind of 9. virtual shooting main body control device, applied to the touch control terminal that graphic user interface can be presented, it is characterised in that Described device includes:
    Display unit, for providing a shooting control in the predeterminable area of the graphic user interface;
    Interactive unit, for when detect act on it is described shooting control slide when, according to the shifting of the slide Dynamic distance controlling ammunition loading capacity;
    Shooting criterions unit, at the end of the slide is detected, controlling the virtual shooting main body to perform double hit Operation, the shooting ammunition of the double hit operation are equal to the ammunition loading capacity.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The virtual shooting main body control method described in any one in claim 1-8 is realized when being executed by processor.
  11. 11. a kind of electronic equipment, it is characterised in that including:
    Processor;And
    Memory, for storing the executable instruction of the processor;
    Wherein, the processor is configured to come any one institute in perform claim requirement 1-8 via the execution executable instruction The virtual shooting main body control method stated.
CN201710999929.3A 2017-10-24 2017-10-24 Virtual shooting subject control method and device, electronic equipment and storage medium Active CN107930106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710999929.3A CN107930106B (en) 2017-10-24 2017-10-24 Virtual shooting subject control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710999929.3A CN107930106B (en) 2017-10-24 2017-10-24 Virtual shooting subject control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107930106A true CN107930106A (en) 2018-04-20
CN107930106B CN107930106B (en) 2020-07-03

Family

ID=61936355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710999929.3A Active CN107930106B (en) 2017-10-24 2017-10-24 Virtual shooting subject control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107930106B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108970112A (en) * 2018-07-05 2018-12-11 腾讯科技(深圳)有限公司 The method of adjustment and device of posture, storage medium, electronic device
CN109847370A (en) * 2019-03-26 2019-06-07 网易(杭州)网络有限公司 Control method, device, equipment and the storage medium of shooting game
CN110665229A (en) * 2019-10-11 2020-01-10 腾讯科技(深圳)有限公司 Method and related device for element interaction in shooting game
CN111185007A (en) * 2019-12-31 2020-05-22 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN111346369A (en) * 2020-03-02 2020-06-30 网易(杭州)网络有限公司 Shooting game interaction method and device, electronic equipment and storage medium
CN112843698A (en) * 2021-02-22 2021-05-28 网易(杭州)网络有限公司 Control method of virtual weapon, storage medium, and electronic apparatus
CN112973115A (en) * 2021-03-05 2021-06-18 网易(杭州)网络有限公司 Method and device for processing shooting in game and electronic equipment
CN113599804A (en) * 2021-08-06 2021-11-05 腾讯科技(深圳)有限公司 Control method, device, equipment and medium of virtual prop

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105900056A (en) * 2014-01-10 2016-08-24 微软技术许可有限责任公司 Hover-sensitive control of secondary display
CN107193479A (en) * 2017-05-26 2017-09-22 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105900056A (en) * 2014-01-10 2016-08-24 微软技术许可有限责任公司 Hover-sensitive control of secondary display
CN107193479A (en) * 2017-05-26 2017-09-22 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12023585B2 (en) 2018-07-05 2024-07-02 Tencent Technology (Shenzhen) Company Limited Posture adjustment method and apparatus, storage medium, and electronic device
CN108970112A (en) * 2018-07-05 2018-12-11 腾讯科技(深圳)有限公司 The method of adjustment and device of posture, storage medium, electronic device
CN109847370A (en) * 2019-03-26 2019-06-07 网易(杭州)网络有限公司 Control method, device, equipment and the storage medium of shooting game
CN110665229A (en) * 2019-10-11 2020-01-10 腾讯科技(深圳)有限公司 Method and related device for element interaction in shooting game
CN111185007B (en) * 2019-12-31 2022-03-11 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN111185007A (en) * 2019-12-31 2020-05-22 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN111346369B (en) * 2020-03-02 2023-09-08 网易(杭州)网络有限公司 Shooting game interaction method and device, electronic equipment and storage medium
CN111346369A (en) * 2020-03-02 2020-06-30 网易(杭州)网络有限公司 Shooting game interaction method and device, electronic equipment and storage medium
CN112843698A (en) * 2021-02-22 2021-05-28 网易(杭州)网络有限公司 Control method of virtual weapon, storage medium, and electronic apparatus
CN112843698B (en) * 2021-02-22 2024-03-22 网易(杭州)网络有限公司 Control method of virtual weapon, storage medium and electronic device
CN112973115A (en) * 2021-03-05 2021-06-18 网易(杭州)网络有限公司 Method and device for processing shooting in game and electronic equipment
CN113599804A (en) * 2021-08-06 2021-11-05 腾讯科技(深圳)有限公司 Control method, device, equipment and medium of virtual prop
CN113599804B (en) * 2021-08-06 2023-10-03 腾讯科技(深圳)有限公司 Virtual prop control method, device, equipment and medium

Also Published As

Publication number Publication date
CN107930106B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN107930106A (en) Virtual shooting main body control method, apparatus, electronic equipment and storage medium
CN107773987B (en) Virtual shooting subject control method and device, electronic equipment and storage medium
US11383161B2 (en) Virtual character control method and apparatus, terminal, and computer-readable storage medium
US10500504B2 (en) Shooting game control method and apparatus, storage medium, processor, and terminal
US11998844B2 (en) Information processing method and apparatus, storage medium, electronic device
CN107193479B (en) Information processing method, device, electronic equipment and storage medium
JP5563709B2 (en) System and method for facilitating interaction with virtual space via a touch-sensitive surface
AU2021250929B2 (en) Virtual object control method and apparatus, device, and storage medium
CN108144293A (en) Information processing method, information processing device, electronic equipment and storage medium
WO2020042746A1 (en) Method and apparatus for picking up virtual object in virtual environment, terminal, and computer readable storage medium
US11577171B2 (en) Method and apparatus for prompting that virtual object is attacked, terminal, and storage medium
US9764226B2 (en) Providing enhanced game mechanics
US9480921B2 (en) Potential damage indicator of a targeted object
CN107678647A (en) Virtual shooting main body control method, apparatus, electronic equipment and storage medium
CN110075522A (en) The control method of virtual weapons, device and terminal in shooting game
JP2018008073A (en) Graphical user interface for game system
CN108196765A (en) Display control method, electronic equipment and storage medium
US9004997B1 (en) Providing enhanced game mechanics
CN107789830A (en) Information processing method, device, electronic equipment and storage medium
CN107832001B (en) Information processing method, information processing device, electronic equipment and storage medium
CN107913516B (en) Information processing method, information processing device, electronic equipment and storage medium
CN112138391A (en) Method and device for controlling virtual weapon in game, electronic equipment and storage medium
US9033797B1 (en) Multiple user viewing modes of an environment
JP2023552772A (en) Virtual item switching method, device, terminal and computer program
CN108854063A (en) Method of sight, device, electronic equipment and storage medium in shooting game

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