CN111346369A - Shooting game interaction method and device, electronic equipment and storage medium - Google Patents

Shooting game interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111346369A
CN111346369A CN202010136990.7A CN202010136990A CN111346369A CN 111346369 A CN111346369 A CN 111346369A CN 202010136990 A CN202010136990 A CN 202010136990A CN 111346369 A CN111346369 A CN 111346369A
Authority
CN
China
Prior art keywords
shooting
virtual
virtual weapon
weapon
execute
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
CN202010136990.7A
Other languages
Chinese (zh)
Other versions
CN111346369B (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 CN202010136990.7A priority Critical patent/CN111346369B/en
Publication of CN111346369A publication Critical patent/CN111346369A/en
Application granted granted Critical
Publication of CN111346369B publication Critical patent/CN111346369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • 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/25Output arrangements for video game devices
    • A63F13/28Output arrangements for video game devices responding to control signals received from the game device for affecting ambient conditions, e.g. for vibrating players' seats, activating scent dispensers or affecting temperature or light
    • A63F13/285Generating tactile feedback signals via the game input device, e.g. force feedback
    • 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/1037Features 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 for converting control signals received from the game device into a haptic signal, e.g. using force feedback
    • 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 provides a shooting game interaction method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The shooting game interaction method comprises the following steps: providing a firing trigger control at the graphical user interface; responding to the sliding operation continuously acting on the shooting trigger control, and determining the initial touch point position corresponding to the shooting trigger control; responding to the detected deviation of the sliding operation and the initial touch point position, and acquiring the movement data corresponding to the sliding operation and the initial touch point position; and selecting the virtual weapon in the game scene corresponding to the shooting game according to the movement data so as to enable the selected virtual weapon to execute a shooting event. The technical scheme of the embodiment of the invention can improve the operability of the shooting game, enhance the substitution feeling of the player and improve the game experience of the player.

Description

Shooting game interaction method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a shooting game interaction method, a shooting game interaction apparatus, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of internet technology, electronic games are becoming an indispensable entertainment mode in people's life. Among them, a Shooter game (STG) is one kind of electronic games.
At present, most shooting games at a mobile phone end have the interactive mode that firing keys on a screen are only clicked or pressed for a long time to shoot, if a design of holding weapons by two hands is adopted, the experience that a left weapon and a right weapon are selected by a mouse or a keyboard to shoot at a PC (Personal Computer) end cannot be restored, the interactivity of a player and the games is reduced, the interestingness and the substitution sense of the games are reduced, and the game experience of the player is influenced.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of embodiments of the present invention is to provide a shooting game interaction method, a shooting game interaction apparatus, an electronic device, and a computer-readable storage medium, so as to overcome the problems of poor shooting game interactivity, low interest, and low substitution sense in related art schemes at least to a certain extent.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to a first aspect of the embodiments of the present invention, there is provided a shooting game interaction method, in which a graphical user interface is provided through a mobile terminal, and a virtual character is included in the shooting game, the method including: providing a firing trigger control at the graphical user interface; responding to the sliding operation acted on the shooting trigger control, determining the initial touch point position of the sliding operation, and acquiring the movement data of the touch point of the sliding operation based on the initial touch point position; and selecting a target virtual weapon from the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
In some example embodiments of the present invention, based on the foregoing, the movement data comprises a movement direction, and the selecting a target virtual weapon from among the virtual weapons currently held by the virtual character based on the movement data comprises: and selecting the target virtual weapon corresponding to the moving direction from the virtual weapons currently held by the virtual character according to the moving direction.
In some example embodiments of the present invention, based on the foregoing, the movement data includes a movement frequency, and the selecting a target virtual weapon from virtual weapons currently held by the virtual character according to the movement data and controlling the target virtual weapon to execute a firing event further includes: and determining the shooting frequency corresponding to the target virtual weapon according to the moving frequency, and controlling the target virtual weapon to execute the shooting event according to the shooting frequency.
In some example embodiments of the present invention, based on the foregoing, the movement data includes a movement distance, the selecting a target virtual weapon from virtual weapons currently held by the virtual character according to the movement data and controlling the target virtual weapon to perform a firing event further includes: detecting whether the movement distance is greater than or equal to a distance threshold; and responding to the movement distance being larger than or equal to the distance threshold value, selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
In some example embodiments of the present invention, based on the foregoing solution, in response to a sliding operation applied to the shooting trigger control, determining an initial touch point position of the sliding operation, and acquiring movement data of a touch point of the sliding operation based on the initial touch point position, further includes: acquiring default shooting data in response to the movement distance being less than the distance threshold; and selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the default shooting data, and controlling the target virtual weapon to execute a shooting event.
In some example embodiments of the present invention, based on the foregoing, the method further comprises: acquiring a reference position of the shooting trigger control in the graphical user interface; according to the relation between the position of the initial touch point and the reference position, determining an initial virtual weapon in the virtual weapons currently held by the virtual character, and controlling the initial virtual weapon to execute a shooting event.
In some example embodiments of the present invention, based on the foregoing solution, the virtual weapon currently held by the virtual character includes a first virtual weapon and a second virtual weapon, and the method further includes: and responding to continuous clicking operation acted on the shooting trigger control, and sequentially and alternately selecting and controlling the first virtual weapon and the second virtual weapon to execute shooting events.
In some example embodiments of the present invention, based on the foregoing solution, the selecting a target virtual weapon from virtual weapons currently held by the virtual character according to the movement data and controlling the target virtual weapon to execute a firing event further includes: and continuously controlling the target virtual weapon to execute the shooting event according to the movement data, and controlling another virtual weapon in the currently held virtual weapon to execute a bullet supplementing event.
In some example embodiments of the present invention, based on the foregoing, the method further comprises: responding to the setting operation of the operation mode, and providing a first trigger control and a second trigger control on the graphical user interface; responding to the triggering operation of the first triggering control and the second triggering control, and acquiring operation data corresponding to the triggering operation; and selecting the virtual weapon in the game scene corresponding to the shooting game according to the operation data so as to enable the selected virtual weapon to execute a shooting event.
In some example embodiments of the present invention, based on the foregoing scheme, the operation data includes mapping relationships between the first trigger control and the second trigger control and the virtual weapon in a game scene corresponding to the shooting game; the operation data further comprises a first trigger frequency corresponding to the first trigger control and a second trigger frequency corresponding to the second trigger control; selecting the virtual weapon in a game scene corresponding to the shooting game according to the operation data so as to enable the selected virtual weapon to execute a shooting event, wherein the shooting event comprises the following steps: responding to the trigger operation to trigger the first trigger control, and controlling the virtual weapon corresponding to the first trigger control to execute a shooting event according to the mapping relation and the first trigger frequency; and responding to the triggering operation to trigger the second triggering control, and controlling the virtual weapon corresponding to the second triggering control to execute a shooting event according to the mapping relation and the second triggering frequency.
According to a second aspect of an embodiment of the present invention, there is provided a shooting game interaction apparatus including: the control providing module is used for providing a shooting trigger control on the graphical user interface; the mobile data acquisition module is used for responding to the sliding operation acted on the shooting trigger control, determining the initial touch point position of the sliding operation and acquiring mobile data of the touch point of the sliding operation based on the initial touch point position; and the shooting event execution module is used for selecting a target virtual weapon from the virtual weapons currently held by the virtual character according to the movement data and controlling the target virtual weapon to execute a shooting event.
In an exemplary embodiment of the invention, based on the foregoing, the firing event execution module further includes a virtual weapon selection unit configured to: and selecting the target virtual weapon corresponding to the moving direction from the virtual weapons currently held by the virtual character according to the moving direction.
In an exemplary embodiment of the present invention, based on the foregoing, the firing event execution module further includes a virtual weapon firing unit configured to: and determining the shooting frequency corresponding to the target virtual weapon according to the moving frequency, and controlling the target virtual weapon to execute the shooting event according to the shooting frequency.
In an exemplary embodiment of the present invention, based on the foregoing, the shooting event executing module is further configured to: detecting whether the movement distance is greater than or equal to a distance threshold; and responding to the movement distance being larger than or equal to the distance threshold value, selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing solution, the mobile data acquiring module is further configured to: acquiring default shooting data in response to the movement distance being less than the distance threshold; and selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the default shooting data, and controlling the target virtual weapon to execute a shooting event.
In some example embodiments of the present invention, based on the foregoing, the shooting game interacting apparatus further includes an initial virtual weapon determining unit configured to: acquiring a reference position of the shooting trigger control in the graphical user interface; according to the relation between the position of the initial touch point and the reference position, determining an initial virtual weapon in the virtual weapons currently held by the virtual character, and controlling the initial virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing solution, the firing event executing module further includes a default firing event executing unit, and the default firing event executing unit is configured to: and responding to continuous clicking operation acted on the shooting trigger control, and sequentially and alternately selecting and controlling the first virtual weapon and the second virtual weapon to execute shooting events.
In an exemplary embodiment of the present invention, based on the foregoing, the default firing event performing unit is further configured to: and continuously controlling the target virtual weapon to execute the shooting event according to the movement data, and controlling another virtual weapon in the currently held virtual weapon to execute a bullet supplementing event.
In an exemplary embodiment of the present invention, based on the foregoing, the shooting game interacting apparatus further includes an operation mode switching unit configured to: responding to the setting operation of the operation mode, and providing a first trigger control and a second trigger control on the graphical user interface; responding to the triggering operation of the first triggering control and the second triggering control, and acquiring operation data corresponding to the triggering operation; and selecting the virtual weapon in the game scene corresponding to the shooting game according to the operation data so as to enable the selected virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the operation manner switching unit is further configured to: responding to the trigger operation to trigger the first trigger control, and controlling the virtual weapon corresponding to the first trigger control to execute a shooting event according to the mapping relation and the first trigger frequency; and responding to the triggering operation to trigger the second triggering control, and controlling the virtual weapon corresponding to the second triggering control to execute a shooting event according to the mapping relation and the second triggering frequency.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, including: a processor; and a memory having computer readable instructions stored thereon which, when executed by the processor, implement any of the above-described shooting game interaction methods.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a shooting game interaction method according to any one of the above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the interactive method for the shooting game in the exemplary embodiment of the invention, in response to a sliding operation acting on a shooting trigger control provided by a graphical user interface, an initial touch point position of the sliding operation is determined, movement data of a touch point of the sliding operation based on the initial touch point position is acquired, a target virtual weapon is selected from virtual weapons currently held by a virtual character according to the movement data, and the target virtual weapon is controlled to execute a shooting event. On one hand, the corresponding virtual weapon in the game scene is selected according to the movement data corresponding to the sliding operation and the initial touch point position, so that the player can select the weapon through the sliding operation and control the shooting frequency of different weapons, the substitution feeling of the player is improved, the immersion feeling of the game is enhanced, and the interactivity and the interestingness of the shooting game are improved; on the other hand, the movement data of the sliding operation is judged through the initial touch point position, so that the weapon selected by the movement direction of the sliding operation can be accurately judged, the operation accuracy of a player is improved, and the game experience of the player is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 schematically illustrates a schematic diagram of a shooting game interaction method according to some embodiments of the invention;
FIG. 2 schematically illustrates an interface diagram for implementing a shooting game interaction method according to some embodiments of the invention;
FIG. 3 schematically illustrates a schematic diagram of a shooting game interaction method according to further embodiments of the present invention;
FIG. 4 schematically illustrates a flow diagram for controlling a virtual weapon to fire, in accordance with some embodiments of the invention;
FIG. 5 schematically illustrates an interface diagram for implementing a shooting game interaction method according to further embodiments of the present invention;
FIG. 6 schematically illustrates a schematic diagram of a shooting game interaction apparatus, according to some embodiments of the invention;
FIG. 7 schematically illustrates a structural schematic of a computer system of an electronic device according to some embodiments of the invention;
FIG. 8 schematically illustrates a schematic diagram of a computer-readable storage medium according to some embodiments of the invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
Furthermore, the drawings are merely schematic illustrations and are not necessarily drawn to scale. The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
In this exemplary embodiment, first, a shooting game interaction method is provided, where the shooting game interaction method may be applied to a terminal device, for example, an electronic device such as a mobile phone and a computer, and may also be applied to a server, for example, a cloud game is executed by the terminal device, and this is not particularly limited in this exemplary embodiment.
In an alternative embodiment, cloud gaming refers to a cloud computing-based gaming mode. In the running mode of the cloud game, the running main body of the game program and the game picture presenting main body are separated, the storage and the running of the shooting game interaction method are completed on a cloud game server, and the cloud game client is used for receiving and sending data and presenting the game picture, for example, the cloud game client can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device for the shooting game interaction is a cloud game server at the cloud end. When a game is played, a player operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the cloud game client through a network, and finally the data are decoded through the cloud game client and the game pictures are output.
In an alternative embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
Taking the method performed by the terminal device as an example, fig. 1 schematically shows a schematic diagram of a shooting game interaction method flow according to some embodiments of the present invention. Referring to fig. 1, the shooting game interaction method may include the steps of:
step S110, providing a shooting trigger control on the graphical user interface;
step S120, responding to the sliding operation acted on the shooting trigger control, determining the initial touch point position of the sliding operation, and acquiring the movement data of the touch point of the sliding operation based on the initial touch point position;
and step S130, selecting a target virtual weapon from the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
According to the shooting game interaction method in the exemplary embodiment, on one hand, the corresponding virtual weapon in the game scene is selected according to the movement data corresponding to the initial touch point position of the sliding operation, so that the player can select the weapon through the sliding operation and control the shooting frequency of different weapons, the substitution feeling of the player is improved, the immersion feeling of the game is enhanced, and the interactivity and the interestingness of the shooting game are improved; on the other hand, the movement data of the sliding operation is judged through the initial touch point position, so that the weapon selected by the movement direction of the sliding operation can be accurately judged, the operation accuracy of a player is improved, and the game experience of the player is improved.
Next, the shooting game interaction method in the present exemplary embodiment will be further described.
In step S110, a shooting trigger control is provided on the graphical user interface.
In an example embodiment of the present invention, a player starts an Application (APP) corresponding to a shooting game installed in a mobile terminal through a start instruction (e.g., a trigger operation such as a click operation) so that the APP renders a shooting game corresponding game scene screen on a graphical user interface of the mobile terminal, and simultaneously provides a game control for game interaction in a target area on the graphical user interface. The game control may include, but is not limited to, a shooting trigger control, a movement control, and the like, and this example embodiment is not particularly limited thereto.
In step S120, in response to a sliding operation applied to the shooting trigger control, an initial touch point position of the sliding operation is determined, and movement data of a touch point of the sliding operation based on the initial touch point position is acquired.
In an example embodiment of the present invention, the sliding operation may refer to an operation of a shooting trigger control provided on the graphical user interface by a player acting on the shooting trigger control through a finger, for example, the sliding operation may be a continuous touch operation that the player continuously acts on the shooting trigger control, and of course, other sliding operations that continuously act on the shooting trigger control may also be used, which is not limited in this example embodiment.
In addition, the initial touch point position may be a position coordinate, corresponding to the graphical interface, of a shooting trigger control at the beginning of the contact of the finger when the player performs the sliding operation with the finger, and may be used to determine whether the sliding operation is deviated. The initial touch point position may be displayed in the graphical user interface, or may be hidden and not displayed, and the player may perform a user-defined setting in a specific manner, which is not particularly limited in this example embodiment.
In an example embodiment of the invention, an initial virtual weapon may be determined by: acquiring a reference position of a shooting trigger control in a graphical user interface; and determining an initial virtual weapon in the virtual weapons currently held by the virtual character according to the relation between the position of the initial touch point and the reference position, and controlling the initial virtual weapon to execute a shooting event.
The reference position may be a geometric center of the shooting trigger control, and the initial virtual weapon may be a virtual weapon that needs to execute a shooting event when a sliding operation of the player contacts the shooting trigger control (i.e. the sliding operation of the player has not performed sliding and generated movement data), for example, assuming that the position coordinates of the reference position are (2.5 ), the position coordinates of the initial touch point position of the sliding operation are (2.4, 2.5), and the relationship between the initial touch point position and the reference position is: the initial touch point position is on the left side of the reference position. Therefore, the initial virtual weapon is determined as the left virtual weapon at the moment, the left virtual weapon is controlled to shoot, and the player waits for the next operation; if the left-hand virtual weapon is slid to the left, the left-hand virtual weapon is kept to execute the shooting event, and if the right-hand virtual weapon is slid to the right, the right-hand virtual weapon is selected to execute the shooting event.
In addition, the movement data may refer to data that changes between an end position coordinate of the sliding operation and a position coordinate of the initial touch point position when the sliding operation and the initial touch point position are deviated, and the movement data may include data such as a movement direction, a movement distance, and the like, for example, if the position coordinate of the initial touch point position of the sliding operation is (2.5 ), and if the corresponding end position coordinate of the sliding operation when the sliding operation is deviated is (2.4, 2.5), the movement data may be determined as: the moving direction is leftward, and the moving distance is 0.1 (specifically, the moving distance on the axis of abscissa may be a moving offset distance), which is only schematically illustrated here and should not cause any particular limitation to this exemplary embodiment.
Optionally, when it is detected that the position of the sliding operation does not deviate from the initial touch point position, the following steps are performed:
responding to the movement distance smaller than the distance threshold value, and acquiring default shooting data;
and selecting a virtual weapon in a game scene corresponding to the shooting game according to default shooting data, and controlling the virtual weapon to execute a shooting event.
The distance threshold may be data used to determine whether the sliding operation of the player is intended to select a virtual weapon and trigger the virtual weapon, for example, the distance threshold may be 1, that is, when the movement distance of the movement data in the positive direction is less than 1, it is considered that the sliding operation of the player does not intend to select a virtual weapon and shoot, of course, the distance threshold may also be 2, and the specific situation may be set by a user according to an actual situation, which is not particularly limited in this example embodiment.
In addition, the default shooting data may be shooting data preset when it is detected that the sliding operation does not deviate from the initial touch point position, or the moving distance is smaller than the distance threshold, for example, the default shooting data may be shooting once by selecting a left-hand weapon, or shooting once by selecting a right-hand weapon, or of course, shooting alternately by selecting a left-hand weapon and a right-hand weapon, and a specific default shooting data player may perform custom setting, which is not particularly limited in this example embodiment. For example, in a scene of actually playing a shooting game, a player presses a shooting trigger control on a graphical user interface, but does not move, and it is detected that a sliding operation is not offset from an initial touch point position, or a movement distance is smaller than a distance threshold, so that default shooting data is directly executed, for example, after a left weapon is designed once, the default shooting data is finished, and a subsequent operation of the player is waited, although this is only an illustrative example, and this should not cause any special limitation to this exemplary embodiment.
In step S130, a target virtual weapon is selected from the virtual weapons currently held by the virtual character according to the movement data, and the target virtual weapon is controlled to execute a firing event.
In an example embodiment of the present invention, a virtual weapon may refer to a virtual object held by a virtual character in a game scene that may be used to perform a shooting event, and in this example embodiment, the number of virtual weapons may be two or more, for example, a virtual weapon may include, but is not limited to, a pistol.
In addition, the shooting event may refer to a trigger event set in a game trigger corresponding to the shooting game, for example, when the virtual weapon is a pistol grip, the shooting event may be a pistol grip to shoot, and when the virtual weapon is a sword grip, the shooting event may be a sword grip to stab, which is not limited in this example embodiment.
Specifically, the movement data may include a movement direction, and a virtual weapon corresponding to the movement direction is selected in a game scene corresponding to the shooting game according to the movement direction, for example, if the initial position coordinate of the sliding operation is (2.5 ), and if the initial position coordinate corresponding to the sliding operation when the sliding operation is shifted is (2.0, 2.5), it may be determined that the movement data is: when the moving direction is leftward, the moving distance is 0.5 (assuming that the distance threshold is 0.3), and the moving distance is greater than the distance threshold, it is determined that the player intentionally shoots the selected virtual weapon, and the virtual weapon corresponding to the moving direction, that is, the virtual weapon whose relative position is on the left side in the game scene, is selected.
Further, the movement data may include a movement frequency, a firing frequency corresponding to the virtual weapon may be determined based on the movement frequency, and the virtual weapon may be controlled to perform a firing event based on the firing frequency. The moving frequency may refer to the number of times that the sliding operation of the player is shifted in the moving direction, for example, after the moving distance of the sliding operation of the player is greater than a distance threshold (the virtual weapon is shot once), the position coordinates corresponding to the sliding operation are returned to the initial touch point position again or the moving distance is smaller than the distance threshold (the virtual weapon is not shot) as one shift, that is, the moving frequency is 1, and of course, the step is repeated for a plurality of times, that is, the moving frequency is the number of times that the step is repeated.
Optionally, the movement data may include a movement distance, and it is detected whether the movement distance is greater than or equal to a distance threshold; and responding to the movement distance being larger than or equal to the distance threshold value, selecting a virtual weapon in a game scene corresponding to the shooting game according to the movement data so that the selected virtual weapon executes a shooting event. In an example embodiment, selecting a virtual weapon corresponding to the direction of movement and controlling the virtual weapon to perform a firing event corresponding to the frequency of movement when it is determined that the distance of movement is greater than or equal to the distance threshold.
Whether the moving distance is larger than or equal to the distance threshold value or not is judged, sliding operation deviation caused by influence of external factors can be screened, operation accuracy of a player is improved, and game experience of the player is improved.
In one example embodiment of the invention, in response to the distance of movement being less than a distance threshold, default firing data is obtained; and selecting a target virtual weapon from the virtual weapons currently held by the virtual character according to the default shooting data so that the selected target virtual weapon executes the shooting event. In response to detecting that the swipe operation is not offset from the initial touch point position, or in response to the distance traveled being less than the distance threshold, the player may be deemed to have no intent to select a virtual weapon to fire, at which point a default firing event is performed, i.e., a virtual weapon that selects a default direction performs a firing event. For example, if the default firing data is a left virtual weapon firing, then the left virtual weapon is selected by default to perform the firing event in response to detecting that the swipe operation is not offset from the initial touch point location, or in response to the distance traveled being less than a distance threshold.
Preferably, the first virtual weapon and the second virtual weapon are alternately selected and controlled to execute the shooting event in turn in response to the continuous clicking operation acting on the shooting trigger control. In response to successive clicking operations on the fire trigger control, it may be considered that the sliding operation of the player is intended to fire only and does not require selection of a target virtual weapon, and a default firing event is performed, i.e. the first virtual weapon and the second virtual weapon are alternately selected and controlled in sequence to perform a firing event, for example, in the first clicking operation, the left virtual weapon (first virtual weapon) is selected to perform a firing event, in the second clicking operation, the right virtual weapon (second virtual weapon) is selected to perform a firing event, and in the third clicking operation, the left virtual weapon (first virtual weapon) is selected to perform a firing event, and in so doing, the left virtual weapon and the right virtual weapon are alternately selected and controlled in sequence to perform a firing event.
Preferably, the first virtual weapon is continuously controlled to perform a firing event and the second virtual weapon is controlled to perform a bullet-replenishment event based on the movement data. For example, when the player continuously slides to the left through the shooting trigger control, the player continuously controls the left virtual weapon to execute the shooting event at the default shooting frequency, and controls the right virtual weapon to automatically execute the bullet supplementing event; or when the player continuously slides to the right through the shooting trigger control, the right virtual weapon is continuously controlled to execute the shooting event at the default shooting frequency, and the left virtual weapon is controlled to automatically execute the bullet supplementing event.
FIG. 2 schematically illustrates an interface diagram implementing a shooting game interaction method according to some embodiments of the invention.
Referring to fig. 2, a player displays a shooting game scene, which may contain a virtual weapon 202 (left side) and a virtual weapon 203 (right side), in a graphical user interface 201 through a shooting game application executed in a terminal device, and provides a shooting trigger control 204 in the graphical user interface 201. In response to a swipe operation 205 (e.g., a leftward swipe operation) that the player continues to act on the shooting trigger control 204, when the shooting trigger control 204 determines an initial touch point position 206 corresponding to the swipe operation, and when the swipe operation 205 deviates from the initial touch point position 206 by more than a distance threshold, a virtual weapon 202 (left side) corresponding to the swipe operation 205 in the shooting game scenario is selected, and the virtual weapon 202 (left side) is controlled by the moving frequency to perform a shooting event 207 (e.g., sliding the shooting trigger control 204 leftward a plurality of times, then controlling the virtual weapon 202 to shoot a corresponding number of times).
In another example embodiment of the invention, the interaction of a shooting game may be implemented by the steps in FIG. 3:
FIG. 3 schematically illustrates a schematic diagram of a shooting game interaction method according to further embodiments of the present invention.
Referring to fig. 3, in step S310, in response to the operation of setting the operation mode, a first trigger control and a second trigger control are provided on the graphical user interface;
step S320, responding to the triggering operation of the first triggering control and the second triggering control, and acquiring operation data corresponding to the triggering operation;
step S330, selecting the virtual weapon in the game scene corresponding to the shooting game according to the operation data so as to enable the selected virtual weapon to execute the shooting event.
The operation mode may be an interaction mode provided in the shooting game application and used for controlling a virtual weapon in a game scene to shoot, and the setting operation may be a trigger operation for a player to adjust the shooting game interaction method through a setting button (or a setting option) in the shooting game application.
In addition, the first trigger control may refer to a control provided on the graphical user interface for controlling a virtual weapon in the game scene, and the second trigger control may refer to a control provided on the graphical user interface for controlling a virtual weapon in the game scene.
The operation data may refer to data that a player acts on the first trigger control and the second trigger control respectively, for example, the operation data may include mapping relationships between the first trigger control and the second trigger control and virtual weapons in a game scene corresponding to a shooting game; the operational data may also include a first trigger frequency corresponding to the first trigger control and a second trigger frequency corresponding to the second trigger control.
The mapping relationship may refer to a preset relationship of trigger controls for controlling a virtual weapon, for example, the first trigger control (left side) may correspond to a first virtual weapon (left side) in a game scene, and the second trigger control (right side) may correspond to a second virtual weapon (right side) in the game scene, that is, the first trigger control is only used for controlling the first virtual weapon and cannot control the second virtual weapon, and the second trigger control is only used for controlling the second virtual weapon and cannot control the first virtual weapon, of course, the mapping relationship may also be that the first trigger control (left side) may correspond to the second virtual weapon (right side) in the game scene, and the second trigger control (right side) may correspond to the first virtual weapon (left side) in the game scene, which is not specially limited in this example.
Specifically, the firing operation may be implemented by the steps in fig. 4:
FIG. 4 schematically illustrates a flow diagram for controlling a virtual weapon to fire, according to some embodiments of the invention.
Referring to fig. 4, in step S410, in response to the triggering operation, triggering a first triggering control, and controlling a virtual weapon corresponding to the first triggering control to execute a shooting event according to the mapping relationship and a first triggering frequency; and
step S420, triggering a second trigger control in response to the trigger operation, and controlling the virtual weapon corresponding to the second trigger control to execute a shooting event according to the mapping relationship and the second trigger frequency.
It should be noted that "first" and "second" in this exemplary embodiment are only used to distinguish different trigger controls, virtual weapons, and trigger frequencies corresponding to different trigger controls, and do not have practical meanings, and therefore should not cause any special limitation to this exemplary embodiment.
FIG. 5 schematically illustrates an interface diagram for implementing a shooting game interaction method according to further embodiments of the present invention.
Referring to fig. 5, the player switches the operation mode by operating a setting button 501 in the shooting game application, switches the interactive interface corresponding to the graphical user interface 201 to the interactive interface corresponding to the graphical user interface 502, and renders a shooting game scene, which may include a virtual weapon 503 and a virtual weapon 504, on the graphical user interface 502 through the shooting game application. First trigger control 505 and second trigger control 506 for controlling virtual weapon 503 and virtual weapon 504 are provided at graphical user interface 502.
In response to a trigger operation 507 (e.g., a click operation) of the player on second trigger control 506, virtual weapon 504 is selected through the mapping of second trigger control 506 to virtual weapon 504, and virtual weapon 504 is controlled to execute a firing event 508 corresponding to the second trigger frequency by the trigger operation corresponding to the second trigger frequency.
It is noted that although the steps of the methods of the present invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Further, in the present exemplary embodiment, a shooting game interaction apparatus is also provided. Referring to fig. 6, the shooting game interacting apparatus 600 includes: a control providing module 610, a mobile data acquisition module 620, and a shooting event execution module 630. Wherein, the control providing module 610 is configured to provide a shooting trigger control on the graphical user interface; the mobile data acquisition module 620 is configured to determine an initial touch point position of the sliding operation in response to the sliding operation applied to the shooting trigger control, and acquire mobile data of a touch point of the sliding operation based on the initial touch point position; the shooting event executing module 630 is configured to select a target virtual weapon from the virtual weapons currently held by the virtual character according to the movement data, and control the target virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing, the shooting event executing module 630 further includes a virtual weapon selecting unit configured to: and selecting the target virtual weapon corresponding to the moving direction from the virtual weapons currently held by the virtual character according to the moving direction.
In an exemplary embodiment of the present invention, based on the foregoing, the firing event executing module 630 further includes a virtual weapon firing unit, and the virtual weapon firing unit is configured to: and determining the shooting frequency corresponding to the target virtual weapon according to the moving frequency, and controlling the target virtual weapon to execute the shooting event according to the shooting frequency.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the shooting event executing module 630 is further configured to: detecting whether the movement distance is greater than or equal to a distance threshold; and responding to the movement distance being larger than or equal to the distance threshold value, selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing solution, the mobile data acquiring module 620 is further configured to: acquiring default shooting data in response to the movement distance being less than the distance threshold; and selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the default shooting data, and controlling the target virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing, the shooting game interacting apparatus 600 further includes an initial virtual weapon determining unit configured to: acquiring a reference position of the shooting trigger control in the graphical user interface; according to the relation between the position of the initial touch point and the reference position, determining an initial virtual weapon in the virtual weapons currently held by the virtual character, and controlling the initial virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing solution, the firing event executing module 630 further includes a default firing event executing unit, and the default firing event executing unit is configured to: and responding to continuous clicking operation acted on the shooting trigger control, and sequentially and alternately selecting and controlling the first virtual weapon and the second virtual weapon to execute shooting events.
In an exemplary embodiment of the present invention, based on the foregoing, the default firing event performing unit is further configured to: and continuously controlling the target virtual weapon to execute the shooting event according to the movement data, and controlling another virtual weapon in the currently held virtual weapon to execute a bullet supplementing event.
In an exemplary embodiment of the present invention, based on the foregoing, the shooting game interacting apparatus 600 further includes an operation mode switching unit configured to: responding to the setting operation of the operation mode, and providing a first trigger control and a second trigger control on the graphical user interface; responding to the triggering operation of the first triggering control and the second triggering control, and acquiring operation data corresponding to the triggering operation; and selecting the virtual weapon in the game scene corresponding to the shooting game according to the operation data so as to enable the selected virtual weapon to execute a shooting event.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the operation manner switching unit is further configured to: responding to the trigger operation to trigger the first trigger control, and controlling the virtual weapon corresponding to the first trigger control to execute a shooting event according to the mapping relation and the first trigger frequency; and responding to the triggering operation to trigger the second triggering control, and controlling the virtual weapon corresponding to the second triggering control to execute a shooting event according to the mapping relation and the second triggering frequency.
The specific details of each module of the shooting game interaction device are already described in detail in the corresponding shooting game interaction method, and therefore, the details are not described herein again.
It should be noted that although in the above detailed description several modules or units of the shooting game interaction means are mentioned, this division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-described shooting game interaction method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 700 according to such an embodiment of the invention is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, a bus 730 connecting different system components (including the memory unit 720 and the processing unit 710), and a display unit 740.
Wherein the memory unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs the steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification. For example, the processing unit 710 may execute step S110 shown in fig. 1, providing a shooting trigger control at the graphical user interface; step S120, responding to the sliding operation acted on the shooting trigger control, determining the initial touch point position of the sliding operation, and acquiring the movement data of the touch point of the sliding operation based on the initial touch point position; and step S130, selecting a target virtual weapon from the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)721 and/or a cache memory unit 722, and may further include a read only memory unit (ROM) 723.
The memory unit 720 may also include programs/utilities 724 having a set (at least one) of program modules 725, such program modules 725 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. As shown, the network adapter 760 communicates with the other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, when said program product is run on the terminal device.
Referring to fig. 8, a program product 800 for implementing the above-described interactive method for a shooting game according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A shooting game interaction method, wherein a graphical user interface is provided through a mobile terminal, and the shooting game includes a virtual character, the method comprising:
providing a firing trigger control at the graphical user interface;
responding to the sliding operation acted on the shooting trigger control, determining the initial touch point position of the sliding operation, and acquiring the movement data of the touch point of the sliding operation based on the initial touch point position;
and selecting a target virtual weapon from the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
2. The shooting game interaction method of claim 1, wherein the movement data includes a movement direction, and wherein selecting a target virtual weapon from among the virtual weapons currently held by the virtual character based on the movement data comprises:
and selecting the target virtual weapon corresponding to the moving direction from the virtual weapons currently held by the virtual character according to the moving direction.
3. The shooting game interaction method in accordance with any one of claims 1, wherein the movement data includes a movement frequency, and wherein selecting a target virtual weapon from virtual weapons currently held by the virtual character based on the movement data and controlling the target virtual weapon to execute a shooting event further comprises:
and determining the shooting frequency corresponding to the target virtual weapon according to the moving frequency, and controlling the target virtual weapon to execute the shooting event according to the shooting frequency.
4. The shooting game interaction method in accordance with claim 1, wherein the movement data includes a movement distance, the selecting a target virtual weapon from virtual weapons currently held by the virtual character based on the movement data and controlling the target virtual weapon to perform a shooting event, further comprising:
detecting whether the movement distance is greater than or equal to a distance threshold;
and responding to the movement distance being larger than or equal to the distance threshold value, selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the movement data, and controlling the target virtual weapon to execute a shooting event.
5. The shooting game interaction method according to claim 4, wherein in response to a slide operation applied to the shooting trigger control, an initial touch point position of the slide operation is determined, and movement data of a touch point of the slide operation based on the initial touch point position is acquired, further comprising:
acquiring default shooting data in response to the movement distance being less than the distance threshold;
and selecting the target virtual weapon in the virtual weapons currently held by the virtual character according to the default shooting data, and controlling the target virtual weapon to execute a shooting event.
6. A shooting game interaction method as claimed in claim 1, wherein the method further comprises:
acquiring a reference position of the shooting trigger control in the graphical user interface;
according to the relation between the position of the initial touch point and the reference position, determining an initial virtual weapon in the virtual weapons currently held by the virtual character, and controlling the initial virtual weapon to execute a shooting event.
7. The shooting game interaction method in accordance with claim 1, wherein the virtual weapons currently held by the virtual character include a first virtual weapon and a second virtual weapon, the method further comprising:
and responding to continuous clicking operation acted on the shooting trigger control, and sequentially and alternately selecting and controlling the first virtual weapon and the second virtual weapon to execute shooting events.
8. The shooting game interaction method according to claim 1, wherein the selecting a target virtual weapon from virtual weapons currently held by the virtual character based on the movement data and controlling the target virtual weapon to perform a shooting event, further comprises:
and continuously controlling the target virtual weapon to execute the shooting event according to the movement data, and controlling another virtual weapon in the currently held virtual weapon to execute a bullet supplementing event.
9. A shooting game interaction method as claimed in claim 1, wherein the method further comprises:
responding to the setting operation of the operation mode, and providing a first trigger control and a second trigger control on the graphical user interface;
responding to the triggering operation of the first triggering control and the second triggering control, and acquiring operation data corresponding to the triggering operation;
and selecting the virtual weapon in the game scene corresponding to the shooting game according to the operation data so as to enable the selected virtual weapon to execute a shooting event.
10. The shooting game interaction method according to claim 9, wherein the operation data includes mapping relationships between the first trigger control and the second trigger control and the virtual weapon in a game scene corresponding to the shooting game; the operation data further comprises a first trigger frequency corresponding to the first trigger control and a second trigger frequency corresponding to the second trigger control;
selecting the virtual weapon in a game scene corresponding to the shooting game according to the operation data so as to enable the selected virtual weapon to execute a shooting event, wherein the shooting event comprises the following steps:
responding to the trigger operation to trigger the first trigger control, and controlling the virtual weapon corresponding to the first trigger control to execute a shooting event according to the mapping relation and the first trigger frequency; and
and responding to the triggering operation to trigger the second triggering control, and controlling the virtual weapon corresponding to the second triggering control to execute a shooting event according to the mapping relation and the second triggering frequency.
11. A shooting game interaction apparatus, comprising:
the control providing module is used for providing a shooting trigger control on the graphical user interface;
the mobile data acquisition module is used for responding to the sliding operation acted on the shooting trigger control, determining the initial touch point position of the sliding operation and acquiring mobile data of the touch point of the sliding operation based on the initial touch point position;
and the shooting event execution module is used for selecting a target virtual weapon from the virtual weapons currently held by the virtual character according to the movement data and controlling the target virtual weapon to execute a shooting event.
12. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the shooting game interaction method of any one of claims 1 to 10.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a shooting game interaction method according to any one of claims 1 to 10.
CN202010136990.7A 2020-03-02 2020-03-02 Shooting game interaction method and device, electronic equipment and storage medium Active CN111346369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010136990.7A CN111346369B (en) 2020-03-02 2020-03-02 Shooting game interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010136990.7A CN111346369B (en) 2020-03-02 2020-03-02 Shooting game interaction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111346369A true CN111346369A (en) 2020-06-30
CN111346369B CN111346369B (en) 2023-09-08

Family

ID=71188822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010136990.7A Active CN111346369B (en) 2020-03-02 2020-03-02 Shooting game interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111346369B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109893853A (en) * 2017-12-07 2019-06-18 湖北溢德数字文化股份有限公司 A kind of interactive system and method based on MR Zhuge's bow and crossbow
CN112044084A (en) * 2020-09-04 2020-12-08 腾讯科技(深圳)有限公司 Virtual item control method, device, storage medium and equipment in virtual environment
CN112057862A (en) * 2020-09-11 2020-12-11 腾讯科技(深圳)有限公司 Interaction method and related device
CN112619135A (en) * 2020-12-22 2021-04-09 上海米哈游天命科技有限公司 Game resource object control method and device, electronic equipment and storage medium
CN113426122A (en) * 2021-07-06 2021-09-24 网易(杭州)网络有限公司 Game equipment replacement method and device, storage medium and electronic device
CN113457144A (en) * 2021-07-28 2021-10-01 网易(杭州)网络有限公司 Method and device for selecting virtual units in game, storage medium and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130165194A1 (en) * 2011-12-22 2013-06-27 Konami Digital Entertainment Co., Ltd. Game device, method of controlling a game device, and information storage medium
CN104040585A (en) * 2011-12-05 2014-09-10 哄鸭有限公司 System, method, and computer-readable recording medium for providing dual mode weapons in an online first person shooter game
US20140342788A1 (en) * 2013-05-15 2014-11-20 Sin Woo Kim Method of applying multiple crosshairs and recording medium having stored thereon program for executing the same
CN107930106A (en) * 2017-10-24 2018-04-20 网易(杭州)网络有限公司 Virtual shooting main body control method, apparatus, electronic equipment and storage medium
CN109589601A (en) * 2018-12-10 2019-04-09 网易(杭州)网络有限公司 Virtual aim mirror control method and device, electronic equipment and storage medium
CN110075522A (en) * 2019-06-04 2019-08-02 网易(杭州)网络有限公司 The control method of virtual weapons, device and terminal in shooting game
CN110141870A (en) * 2019-05-22 2019-08-20 网易(杭州)网络有限公司 Game operation method and device
CN110201391A (en) * 2019-06-05 2019-09-06 网易(杭州)网络有限公司 The control method and device of virtual role in game
JP2019209103A (en) * 2018-06-05 2019-12-12 株式会社コロプラ Game program, game method, and information processing device
CN110639203A (en) * 2019-09-29 2020-01-03 网易(杭州)网络有限公司 Control response method and device in game

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104040585A (en) * 2011-12-05 2014-09-10 哄鸭有限公司 System, method, and computer-readable recording medium for providing dual mode weapons in an online first person shooter game
US20130165194A1 (en) * 2011-12-22 2013-06-27 Konami Digital Entertainment Co., Ltd. Game device, method of controlling a game device, and information storage medium
US20140342788A1 (en) * 2013-05-15 2014-11-20 Sin Woo Kim Method of applying multiple crosshairs and recording medium having stored thereon program for executing the same
CN107930106A (en) * 2017-10-24 2018-04-20 网易(杭州)网络有限公司 Virtual shooting main body control method, apparatus, electronic equipment and storage medium
JP2019209103A (en) * 2018-06-05 2019-12-12 株式会社コロプラ Game program, game method, and information processing device
CN109589601A (en) * 2018-12-10 2019-04-09 网易(杭州)网络有限公司 Virtual aim mirror control method and device, electronic equipment and storage medium
CN110141870A (en) * 2019-05-22 2019-08-20 网易(杭州)网络有限公司 Game operation method and device
CN110075522A (en) * 2019-06-04 2019-08-02 网易(杭州)网络有限公司 The control method of virtual weapons, device and terminal in shooting game
CN110201391A (en) * 2019-06-05 2019-09-06 网易(杭州)网络有限公司 The control method and device of virtual role in game
CN110639203A (en) * 2019-09-29 2020-01-03 网易(杭州)网络有限公司 Control response method and device in game

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DAVID: "抢斗传说揭秘魔法王座猎魔人技能" *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109893853A (en) * 2017-12-07 2019-06-18 湖北溢德数字文化股份有限公司 A kind of interactive system and method based on MR Zhuge's bow and crossbow
CN112044084A (en) * 2020-09-04 2020-12-08 腾讯科技(深圳)有限公司 Virtual item control method, device, storage medium and equipment in virtual environment
CN112044084B (en) * 2020-09-04 2022-06-28 腾讯科技(深圳)有限公司 Virtual item control method, device, storage medium and equipment in virtual environment
CN112057862A (en) * 2020-09-11 2020-12-11 腾讯科技(深圳)有限公司 Interaction method and related device
CN112057862B (en) * 2020-09-11 2022-11-18 腾讯科技(深圳)有限公司 Interaction method and related device
CN112619135A (en) * 2020-12-22 2021-04-09 上海米哈游天命科技有限公司 Game resource object control method and device, electronic equipment and storage medium
CN113426122A (en) * 2021-07-06 2021-09-24 网易(杭州)网络有限公司 Game equipment replacement method and device, storage medium and electronic device
CN113426122B (en) * 2021-07-06 2024-06-04 网易(杭州)网络有限公司 Method and device for replacing game equipment, storage medium and electronic equipment
CN113457144A (en) * 2021-07-28 2021-10-01 网易(杭州)网络有限公司 Method and device for selecting virtual units in game, storage medium and electronic equipment
CN113457144B (en) * 2021-07-28 2024-02-02 网易(杭州)网络有限公司 Virtual unit selection method and device in game, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111346369B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN111346369B (en) Shooting game interaction method and device, electronic equipment and storage medium
US10933310B2 (en) Method and apparatus for controlling virtual character, electronic device, and storage medium
US10152844B2 (en) Graphical user interface for a gaming system
KR101570967B1 (en) Game interface method and apparatus for mobile shooting game
US20150157932A1 (en) Method of processing user gesture inputs in online game
CN111760272B (en) Game information display method and device, computer storage medium and electronic equipment
CN109939433B (en) Operation control method and device of virtual card, storage medium and electronic equipment
CN110624241A (en) Information processing method and device, electronic equipment and storage medium
CN110772789A (en) Method and device for controlling skill in game, storage medium and terminal equipment
CN113350779A (en) Game virtual character action control method and device, storage medium and electronic equipment
CN111481923B (en) Rocker display method and device, computer storage medium and electronic equipment
CN110038297A (en) Game operation method and device, storage medium and the electronic equipment of mobile terminal
CN111773677A (en) Game control method and device, computer storage medium and electronic equipment
CN113198177A (en) Game control display method and device, computer storage medium and electronic equipment
CN113827970B (en) Information display method and device, computer readable storage medium and electronic equipment
CN113476823B (en) Virtual object control method and device, storage medium and electronic equipment
CN114100120A (en) Control method and device of cloud game, storage medium and electronic equipment
WO2024007675A1 (en) Virtual object switching method and apparatus, storage medium, and electronic apparatus
TW202030007A (en) Method and apparatus for controlling game
CN115888094A (en) Game control method, device, terminal equipment and storage medium
CN113680062A (en) Information viewing method and device in game
CN113769403A (en) Virtual object moving method and device, readable storage medium and electronic equipment
CN112843718A (en) Equipment switching method, device, medium and electronic equipment
CN118203828A (en) Game data processing method and device, computer storage medium and electronic equipment
JP7221685B2 (en) Information processing device, game processing method and program

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