CN116421961A - Game operation control method and device and electronic equipment - Google Patents

Game operation control method and device and electronic equipment Download PDF

Info

Publication number
CN116421961A
CN116421961A CN202310298679.6A CN202310298679A CN116421961A CN 116421961 A CN116421961 A CN 116421961A CN 202310298679 A CN202310298679 A CN 202310298679A CN 116421961 A CN116421961 A CN 116421961A
Authority
CN
China
Prior art keywords
control
shooting
area
goal
virtual object
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.)
Pending
Application number
CN202310298679.6A
Other languages
Chinese (zh)
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 CN202310298679.6A priority Critical patent/CN116421961A/en
Publication of CN116421961A publication Critical patent/CN116421961A/en
Pending legal-status Critical Current

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/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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • 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/812Ball games, e.g. soccer or baseball
    • 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/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • 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/8011Ball
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The present disclosure provides a game operation control method, device and electronic equipment; wherein the method comprises the following steps: responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling the virtual sphere to move along with the controlled virtual object; responding to a first triggering operation aiming at the shooting control, and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; and responding to a second trigger operation aiming at the shooting control, controlling the controlled virtual object to execute the shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area. The mode can realize that the hands of the player jointly control the shooting operation, improves the accuracy of the shooting operation and improves the game experience of the player.

Description

Game operation control method and device and electronic equipment
Technical Field
The disclosure relates to the technical field of games, and in particular relates to a game operation control method, a game operation control device and electronic equipment.
Background
In football-like hand games, it is often necessary for a player to perform a shooting operation. In the related technology, a movable rocker and a shooting control are displayed in a game interface, and a player controls the movable rocker by the left hand, so that a player is controlled to move with a ball; the right hand triggers the shooting control, parameters such as shooting direction, force and the like are adjusted through the shooting control, and then the goal shooting of a player is controlled. Such a shooting operation has low shooting accuracy, affecting the game experience of the player.
Disclosure of Invention
Accordingly, an object of the present disclosure is to provide a method and an apparatus for controlling operation of a game, and an electronic device, so as to improve accuracy of shooting operation and improve game experience of a player.
In a first aspect, an embodiment of the present disclosure provides a method for controlling operation of a game, where a graphical user interface is provided by a terminal device, where the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; the method comprises the following steps: responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling the virtual sphere to move along with the controlled virtual object; responding to a first triggering operation aiming at the shooting control, and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; responding to a second triggering operation aiming at the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed.
In a second aspect, an embodiment of the present disclosure provides an operation control apparatus for a game, where a graphical user interface is provided by a terminal device, where the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; the device comprises: the mobile control module is used for responding to the triggering operation aiming at the mobile rocker control, controlling the controlled virtual object to move and controlling the virtual sphere to move along with the controlled virtual object; the switching display module is used for responding to the first triggering operation aiming at the shooting control and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; the shooting control module is used for responding to a second trigger operation aiming at the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed.
In a third aspect, an embodiment of the present disclosure provides an electronic device including a processor and a memory storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement an operation control method of the above-described game.
In a fourth aspect, embodiments of the present disclosure provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement a method of controlling operation of the game described above.
The embodiment of the disclosure brings the following beneficial effects:
according to the operation control method, the device and the electronic equipment of the game, a graphical user interface is provided through the terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene, and the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling the virtual sphere to move along with the controlled virtual object; responding to a first triggering operation aiming at the shooting control, and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; responding to a second triggering operation aiming at the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed. In the mode, after the shooting control is triggered, the movable rocker control is switched to a shooting control area, and a player can adjust a shooting result by operating the shooting control area; the mode can realize that the hands of the player jointly control the shooting operation, improves the accuracy of the shooting operation and improves the game experience of the player.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the disclosure. The objectives and other advantages of the disclosure will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of controlling operation of a game provided in an embodiment of the present disclosure;
fig. 2 is a schematic diagram of movement control of a controlled virtual object according to an embodiment of the present disclosure;
FIG. 3 is a schematic illustration of a shot control area provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a designated sub-region provided by an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a movement track of an operation contact and a movement position of a virtual sphere according to an embodiment of the disclosure;
FIG. 6 is a schematic diagram of a movement trace of another operation contact and a movement position of a virtual sphere according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a resume display mobile rocker control provided by an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a trigger shoot control displaying a shoot control area provided by an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a cancel trigger shoot control and display a move rocker control provided by an embodiment of the present disclosure;
fig. 10 is a schematic structural view of an operation control device for a game according to an embodiment of the present disclosure;
fig. 11 is a schematic diagram of a result of an electronic device according to an embodiment of the disclosure.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
In football hand tour, when a player executes shooting operation, the player usually operates a moving rocker by the left hand to control the player to take a ball to move, and operates a shooting control by the right hand to shoot. Such a shooting operation has low shooting accuracy, affecting the game experience of the player.
Based on the above, the method, the device and the electronic equipment for controlling the operation of the game provided by the embodiment of the disclosure can be applied to various ball games such as football, basketball, water polo and the like, and particularly can be applied to shooting operations of various ball games in hand game.
The operation control method of the game in one embodiment of the present disclosure may be run on a local terminal device or a server. When the operation control method of the game runs on the server, the method can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the game operation control method are completed on the cloud game server, and the client device is used for receiving and sending data and presenting game pictures, for example, the client device 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; but the cloud game server which performs information processing is a cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. 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 by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
The inventor found during the course of the study that the player had little effect on the goal shooting result by having only a short thinking and processing time, for example, perhaps less than 1 second, during which time the control operation of the moving rocker of the player's left hand had; for most players, the left hand may be in a vented state during this time, based on which the accuracy and the shooting experience of shooting can be greatly improved if some shooting assistance is performed by the left hand while the shooting is being performed.
In a possible implementation manner, the embodiment of the disclosure provides a game operation control method, and a graphical user interface is provided through a terminal device, where the terminal device may be the aforementioned local terminal device or the aforementioned client device in the cloud interaction system. The graphical user interface comprises a scene picture of a game scene, wherein the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also includes a movement rocker control and a shooting control.
The game scene generally comprises a virtual court, and the virtual court comprises a own half-field and a counterpart half-field by taking a football court as an example; the own half-court and the opposite half-court are both provided with virtual goals; the game scene comprises a plurality of virtual objects; the plurality of virtual objects are divided into an my team and an opponent team. One virtual object in the team is a controlled virtual object, and the controlled virtual object has a ball control right and can move with a ball, shoot, and the like; during game play, the ball control right continuously rotates in the virtual objects in the team on the my side, and therefore, the controlled virtual objects also continuously change.
The controlled virtual object is controlled by a terminal device, for example, the controlled virtual object is controlled by the terminal device to perform operations such as movement, passing, shooting, and the like. A moving rocker control and a shooting control are displayed in the graphical user interface. The player operates the movable rocker control, so that the controlled virtual object can be controlled to move towards all directions, and the controlled virtual object can be controlled to execute the shooting action by operating the shooting control. In addition, various skill controls such as a pass control, a cut-in control and the like can be arranged in the graphical user interface.
As shown in fig. 1, the operation control method of the game includes the steps of:
step S102, responding to the triggering operation aiming at the movable rocker control, controlling the movement of the controlled virtual object, and controlling the virtual sphere to move along with the controlled virtual object;
as shown in fig. 2, the movement rocker control is typically disposed in the left region of the graphical user interface, and the player controls the movement rocker control via the left finger, thereby controlling the movement of the controlled virtual object in the game scene. The triggering operation for the movable rocker control specifically includes that a finger presses a movable rocker in the movable rocker control, and the position of a finger contact is moved in a pressed state, and at the moment, the movable rocker moves along with the position of the finger contact; and a movement control area of the movement rocker is also arranged in the movement rocker control, and the movement rocker moves in the movement control area.
The position of the moving rocker in the moving control area can determine the moving direction and the moving speed of the controlled virtual object, and the controlled virtual object is controlled to move in the game scene based on the moving direction and the moving speed; since the controlled virtual object is a virtual object having a ball control right in my team, the virtual sphere moves following the controlled virtual object.
In the right region of the graphical user interface, jump skill controls and goal shooting controls are also provided. The jump skill control is triggered, so that the action of the controlled virtual object with the ball passing person can be realized, and the shooting operation can be realized through the shooting control.
Step S104, responding to a first trigger operation for the shooting control, and displaying the moving rocker control as a shooting control area in a switching manner; wherein the goal control area is matched with a goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area;
the first triggering operation may be a pressing operation acting on the shooting control, or may be a sliding operation acting on the shooting control; it should be noted that, after the first trigger operation is executed, the controlled virtual object does not execute the shooting operation, and the virtual sphere still follows the controlled virtual object. However, when the player performs the first trigger operation, the player usually has a desire to shoot, and when the player subsequently performs the second trigger operation, the controlled virtual object performs a shooting action, and the virtual sphere moves away from the controlled virtual object and toward the goal area.
In the execution process of the first triggering operation and the subsequent second triggering operation, the time consumption is generally shorter, in the process, the movement control of the controlled virtual object is less influenced by the movement rocker control, and even part of players do not trigger the movement rocker control in the process. Based on this, in the present embodiment, after the first trigger operation is performed, the moving rocker control is displayed as the shooting control area in a switching manner. The shooting control zone is used for assisting in performing shooting operations. Specifically, the shooting control area is displayed by switching the moving rocker control, so that the shooting control area can be displayed in the left area of the graphical user interface, and the left finger of the player can perform a designated operation in the shooting control area.
The goal control zone is matched with the goal zone, e.g., the shape of the goal control zone is the same as the shape of the goal zone, and e.g., the size of the goal control zone is the same as the size of the goal zone; for another example, the goal control area is the same shape as the goal area, but is different in size. In one example, the goal area is a rectangular area and the goal control area is also a rectangular area, the aspect ratio of the goal control area being the same as the aspect ratio of the goal area.
The designation operation acting on the shooting control area may be a click operation, a slide operation, a double click operation, or the like. The shooting control zone may be displayed on the graphical user interface in preset color, transparency, etc. display parameters. When the player's finger performs a designated operation in the shooting control zone, the contact point position of the first operation contact point located in the shooting control zone may be collected.
Step S106, responding to a second trigger operation for the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed.
For example, if the first triggering operation is a pressing operation acting on the goal control, the second triggering operation is a lifting operation, and after the second triggering operation is performed, the goal control is released, at this time, the controlled virtual object performs a goal shooting action, and then the virtual sphere leaves the controlled virtual object and starts to move toward the goal area. In the present embodiment, the player can perform the designation operation in the shooting control area, and thus, the flight direction of the virtual sphere is determined based on the contact position of the first operation contact of the designation operation in the shooting control area.
The contact position may specifically be a current position of the first operation contact in the shooting control area when the second triggering operation is executed; for example, the current position is to the right of the goal control area, and the virtual sphere would move to the right of the goal area without being intercepted. In actual implementation, the goal position may be determined at the plane of the goal area based on the contact point position, and then the direction of flight of the virtual sphere is determined based on the controlled virtual object and the goal position.
The contact position may be a historical movement position of the first operation contact when the second trigger operation is performed; the historical movement positions may include a plurality of the historical movement positions forming a movement locus of the first operation contact; through the historical movement positions, the movement track of the virtual sphere in the shooting process can be controlled, and then the shooting position of the virtual sphere in the region code region is controlled. For example, a track formed by the historical movement positions in the shooting control area can be mapped into the shooting area to obtain a mapped track, the mapped track can be used as a two-dimensional projection track of a three-dimensional movement track of the virtual sphere in the plane of the shooting area when the virtual sphere shoots, then the two-dimensional projection track is combined with other shooting parameters, such as shooting force parameters, a three-dimensional movement track can be obtained, and after the three-dimensional movement track is determined, the flight direction of the virtual sphere can be obtained.
According to the operation control method of the game, a graphical user interface is provided through the terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene, and the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling the virtual sphere to move along with the controlled virtual object; responding to a first triggering operation aiming at the shooting control, and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; responding to a second triggering operation aiming at the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed. In the mode, after the shooting control is triggered, the movable rocker control is switched to a shooting control area, and a player can adjust a shooting result by operating the shooting control area; the mode can realize that the hands of the player jointly control the shooting operation, improves the accuracy of the shooting operation and improves the game experience of the player.
The following examples continue to describe the manner in which the shot control area is displayed.
In one manner, a second operating contact acting on the mobile rocker control is determined in response to a first trigger operation for the shooting control; and canceling displaying the movable rocker control, and displaying a shooting control area at the contact position of the second operation contact. When the shoot control is subjected to a first triggering operation, the mobile rocker control may also be in a triggered state, at which time a second operating contact acting on the mobile rocker control is determined. The second operation contact may specifically be a position where the finger contact is located when the player drags the moving rocker in the moving rocker control. The second operating contact may be the same as or different from the position of the moving rocker. In this manner, after the first trigger operation is performed, the moving rocker control is not displayed, but the second operation contact point still exists, and the shooting control area starts to be displayed at the contact point position of the second operation contact point.
Specifically, since the shooting control area has a certain display area, the contact point position of the second operation contact point may be the area center position of the shooting control area, may be one vertex angle position of the shooting control area, or may be another designated position of the shooting control area.
FIG. 3 is a view of an example of a goal control zone having a zone shape that matches the zone shape of a goal zone; the contact position of the second operating contact is located at the center of the shooting control zone. In fig. 3, the goal area has a rectangular shape, and thus the goal control area has a rectangular shape, and the aspect ratio of the goal area and the goal control area is the same. The contact position of the second operation contact is the area center of the shooting control area, and therefore, the area display position of the shooting control area can be determined based on the contact position of the second operation contact.
In the mode, after the movable rocker control is switched to the shooting control area, the left finger of the player can execute related operations in the shooting control area without changing the contact position, so that the method has higher operation convenience.
In order to improve the operation convenience of the player, the shooting control area can be adjusted in size so as to be more in line with the operation habit of the player. In one mode, the size of the shot control area is adjusted in response to a size adjustment operation for the shot control area; wherein, the shooting control area and the goal area are rectangular; the aspect ratio of the goal control area and the goal area is the same; the aspect ratio of the shot control region is unchanged during the adjustment of the region size of the shot control region.
The above-mentioned size adjustment operation may be to input the length or width of the shot control area through the size input control, or may be to press down the shot control area and then perform a sliding operation such that the size of the shot control area is changed according to the contact movement of the sliding operation. In this embodiment, the goal control area and the goal area are rectangular in shape, and the aspect ratios of the goal control area and the goal area are the same, so that the position of the first operation contact of the player in the goal control area directly indicates the position where the player desires the virtual ball to ingest the goal area. Meanwhile, the aspect ratio of the shot control area is unchanged during the adjustment process or the size adjustment process performed by the player, that is, the size of the shot control area is always the same as the shape of the goal area during the change process. The mode can realize that the goal control area and the goal area have the same shape, and a player can accurately indicate the expected goal position of the virtual sphere by operating the goal control area.
In other modes, the position of the contact point position of the second operation contact point in the shooting control area can be determined according to the relative position of the controlled virtual object and the goal area. For example, the controlled virtual object moves toward the left side of the goal area, at which time, when the goal control area is displayed, the contact point position of the second operation contact point is located on the left side of the goal control area.
In another way, in response to a first trigger operation for the shooting control, determining a control display position of the mobile rocker control under the condition that the mobile rocker control is not subjected to the trigger operation; and canceling to display the movable rocker control, and displaying the shooting control area at the control display position. When the first trigger operation is performed, the left finger of the player may leave the touch screen, and thus the moving rocker control is not triggered, at this time, the area display position of the shooting control area is determined based on the control display position of the moving rocker control. Specifically, the center position of the movable rocker control can be obtained, and the center position is determined as the center position of the shooting control area, so that the shooting control area is displayed.
In order to improve the accuracy of the shooting control area display, a certain display condition may be set, and when the first trigger operation for the shooting control is executed and the preset display condition is met, the shooting control area is displayed again. Specifically, whether a preset display condition is met or not is determined in response to a first trigger operation for the shooting control; the method comprises the steps that preset display conditions are determined based on object positions of controlled virtual objects and/or trigger states of movable rocker controls; and if the preset display condition is met, displaying the mobile rocker control in a switching mode as a shooting control area.
In one manner, the preset display condition is determined based on the object position of the controlled virtual object, for example, whether the controlled virtual object is located near the goal area or not, and if the controlled virtual object is located within the preset range of the goal area, the preset display condition is satisfied; in another manner, the preset display condition is determined based on a trigger state of the mobile rocker control, for example, the trigger state may specifically be whether the mobile rocker is triggered or not, or a trigger position of the mobile rocker, and the trigger state of the mobile rocker control may determine a movement state of the controlled virtual object, for example, a movement speed, a movement direction, and the like; in one example, when the controlled virtual object moves and moves toward the goal area, the player may perform a goal operation, based on which, when the trigger state of the moving rocker control satisfies the preset display condition, the player may be considered to perform the goal operation, at which time, after the first trigger operation for the goal control is performed, the moving rocker control is switched to be displayed as the goal control area.
In addition, the preset display condition may include a plurality of, for example, a first sub-condition determined based on the object position of the controlled virtual object, and a second sub-condition determined based on the trigger state of the moving rocker control, and when the first sub-condition and the second sub-condition are simultaneously satisfied, the moving rocker control is switched to be displayed as the shooting control area.
In one specific implementation, the game scene includes a virtual court; the virtual court comprises a own half court and a counterpart half court; the movable rocker control comprises a movable rocker and a movable control area; the preset display conditions include: the object position of the controlled virtual object is positioned at the other half field, and the movable rocker is positioned at a designated sub-area in the movable control area; the specified sub-region is for: and controlling the controlled virtual object to move towards the goal area of the opposite half field.
When the movable rocker is positioned in the designated subarea, the object moving direction of the controlled virtual object is the direction of the goal area of the opposite half field, or the object moving direction is close to the direction of the goal area of the opposite half field.
In the above manner, when the object position of the controlled virtual object is located at the opposite half-field, the shooting operation can be performed efficiently in general; if the object position of the controlled virtual object is located in the first trigger operation of the shooting control, the player triggers the shooting control, possibly by false triggering, or just by big foot break, and kicks the virtual sphere out of the dangerous area, and the shooting operation is not required to be executed, so that if the object position of the controlled virtual object is located in the first trigger operation of the shooting control, the shooting control area is not displayed.
In addition, for the mobile rocker control, a designated sub-region in a mobile control region is preset; since moving the rocker control can control the direction of movement of the controlled virtual object, when the moving rocker is located in a designated sub-area, it can be understood that the controlled virtual object is moving toward the goal area. In actual implementation, a direction difference range may be preset, during game play, a relative direction of the goal area with respect to the controlled virtual object is acquired, a direction range of the object moving direction is determined based on the relative direction and the direction difference range, and then a designated sub-area in the movement control area is determined based on the direction range.
As an example, the relative direction of the goal area and the controlled virtual object is the Y-axis positive direction, the direction difference range is 30 degrees, and the direction range of the object moving direction can be obtained to be 30 degrees from the left to the right of the Y-axis positive direction, that is, as long as the object moving direction of the controlled virtual object is within the direction range, the controlled virtual object can be regarded as moving towards the goal area; thus, a control region in which the controlled virtual object moves in the direction range, that is, the aforementioned specified sub-region is controlled.
If the movable rocker is positioned in the appointed subarea, displaying a shooting control area when aiming at a first trigger operation of the shooting control; and if the moving rocker is not positioned in the designated subarea, indicating that the controlled virtual object does not move towards the goal area, and displaying the goal control area when aiming at the first trigger operation of the goal control.
FIG. 4 is a diagram illustrating a controlled virtual object moving toward a goal area to the right when a movement rocker is located in a designated sub-area, at which point a player displays a goal control area if a first trigger operation is directed to the goal control. It will be appreciated that if the goal area is located to the left, the designated sub-area will also be located to the left half of the movement control area.
In other possible manners, whether to display the shooting control area may also be determined according to the object state of the controlled virtual object. Specifically, an object state of a controlled virtual object in a game scene is determined in response to a first trigger operation for a shooting control; wherein the object state comprises an object position and/or an object movement direction; and if the object state meets the preset state condition, switching and displaying the movable rocker control as a shooting control area. It is understood that the object state may specifically be one of the object position or the object moving direction, and may also include both the object position and the object moving direction. The preset state condition may be determined based only on the object position, for example, if the object position is within a preset position range, after the first trigger operation for the shooting control is performed, displaying the shooting control area; the preset state condition may also be determined only based on the object moving direction, for example, if the object moving direction is within a preset direction range, after the first trigger operation for the shooting control is executed, displaying the shooting control area; or, the preset state condition may be determined based on the object position and the object moving direction at the same time, and when the object position and the object moving direction of the controlled virtual object simultaneously meet the preset state condition, the shooting control area is displayed after the first trigger operation for the shooting control is executed.
In one specific example, the game scene includes a virtual court; the virtual court comprises a own half-court and a counterpart half-court; if the object position of the controlled virtual object is positioned at the opposite half field and the object moving direction of the controlled virtual object meets the preset direction condition, switching and displaying the moving rocker control as a shooting control area; the preset direction condition comprises: the direction difference between the object moving direction and the reference direction of the controlled virtual object is positioned in a preset direction difference range; the reference direction includes: and the connecting line direction of the controlled virtual object and the center of the goal area of the opposite half-field.
First, the direction of the connection, that is, the reference direction, is the direction in which the goal area is located, and the difference between the direction of the object movement and the reference direction is within the range of the difference, which means that the difference between the direction of the object movement and the reference direction is small, or the direction of the object movement of the controlled virtual object is the direction in which the goal area is located, or the direction of the object movement is close to the direction in which the goal area is located.
In this way, when the controlled virtual object is located at the opposite half-field and the object moving direction is close to the opposite direction of the goal area relative to the controlled virtual object, it is indicated that the player has a goal willing at this time, and an effective goal shooting operation is executed, and at this time, after the first trigger operation for the goal shooting control is executed, the goal shooting control area is displayed. The direction difference range can be preset, the moving direction of the object and the relative direction of the goal area relative to the controlled virtual object are obtained in real time in the game play process, then the direction difference of the two is calculated, and if the direction difference is in the direction difference range, the controlled virtual object is indicated to move towards the goal area.
The following embodiments continue to describe the manner in which the shot control area operates and the manner in which the shot result is determined based on the operating contacts in the shot control area.
In response to a sliding operation acting on the shooting control area, an operation contact of the sliding operation is determined as a first operation contact. In general, since the shooting control area is displayed by switching the moving rocker control, the shooting control area is mostly displayed in the left area of the graphical user interface and is controlled by the left finger of the player. The sliding operation is usually performed by a left finger of a player to control the sliding operation, after the sliding operation is switched and displayed as a shooting control area, the sliding operation can be performed in the shooting control area by the left finger, and when the sliding operation is performed, a plurality of operation contacts generated in the process of the sliding operation can be recorded to be used as first operation contacts, and the operation contacts at the end of the sliding operation can be used as first operation contacts; or when the second trigger operation for the shooting control is executed, the operation contact at the time of the sliding operation is taken as the first operation contact.
The first operating contact may affect the shooting result of the virtual sphere, and specific implementations are described below.
In one mode, responding to a second trigger operation aiming at the shooting control, and controlling the controlled virtual object to execute the shooting action; determining a target goal position on a plane in which the goal area is located based on a contact position of the first operational contact in the goal control area; based on the target goal position, the direction of flight of the virtual sphere is determined.
The second triggering operation for the shooting control can be specifically a finger lifting operation acting on the shooting control; in the foregoing embodiment, the first trigger operation for the shooting control may be a finger-pressing operation acting on the shooting control; after the right finger of the player presses down the shooting control, the moving rocker control is switched and displayed as a moving control area, and the left finger can execute sliding operation in the moving control area; after the right finger is lifted from the shooting control, shooting operation is started.
As can be seen from the foregoing embodiments, the goal control area is matched with the goal area, and thus, there is a one-to-one correspondence between each position in the goal control area and each position in the goal area, based on which, according to the contact position of the first operation contact in the goal control area, the position of the virtual sphere moving to the goal area, that is, the target goal position, can be uniquely determined. For example, if the current contact point position is located in the upper left corner of the goal control zone, the target goal position is the upper left corner of the goal zone; for another example, if the current contact point position is located in the lower right corner of the goal control zone, the target goal position is the lower right corner of the goal zone. Then, the direction of the target shooting position relative to the controlled virtual object can be determined as the flight direction of the virtual sphere; alternatively, a virtual movement track is generated between the controlled virtual object and the target shooting position, the virtual movement track may be a straight line or a curve, and then the tangential direction of the virtual movement track at the controlled virtual object position is taken as the initial flight direction of the virtual sphere.
In particular, the relative position of the first operating contact and the goal control area is the same as the relative position of the target goal position and the goal area. As an example, a UV coordinate system a may be established on the goal control area, and a UV coordinate system B may also be established on the goal area; the relative position of the first operating contact point and the goal control area can be expressed by a coordinate a of the first operating contact point in a UV coordinate system A, and the relative position of the target goal position and the goal area can be expressed by a coordinate B of the target goal position in a UV coordinate system B. When the coordinates a and b are the same, the relative position of the first operating contact and the goal control area is the same as the relative position of the target goal position and the goal area.
When determining the flight direction of the virtual sphere, one specific implementation manner is to determine a first motion component of the virtual sphere on a plane where a goal area is located based on a target goal position and an object position of a controlled virtual object; determining a second motion component of the virtual sphere in the normal direction of the plane based on preset specified operation parameters; a motion trajectory of the virtual sphere in the game scene is determined based on the first motion component and the second motion component, and a flight direction of the virtual sphere is determined based on the motion trajectory.
When the first motion component is determined, the object position of the controlled virtual object may be projected onto a plane where the goal area is located to obtain the object projection position, where the object projection position and the target goal position are both located on the plane where the goal area is located, and a two-dimensional motion track, that is, the first motion component, is generated between the object projection position and the target goal position on the plane, where the two-dimensional motion track may be a straight line or a curve.
In determining the second motion component, parameters such as a shooting force parameter, a shooting action of the controlled virtual object, and the like may be referred to. The second motion component is a component in the normal direction perpendicular to the plane of the goal region in the three-dimensional space of the game scene.
Specifically, the above specified operating parameters include: the force parameter is used for controlling the shooting force of the virtual sphere; and/or, attribute parameters of the controlled virtual object related to performing the shooting action.
The specified operating parameters may include both the aforementioned dynamics parameters and the attribute parameters, or may include only one of the dynamics parameters or the attribute parameters. The force parameter can be used for controlling the shooting force of the controlled virtual object when shooting, and the second motion component is different when the shooting force is different. In one example, the force parameter may be controlled by using the operation duration of the first operation contact in the shooting control area, and the longer the operation duration is, the larger the force parameter is, the larger the shooting force of the virtual sphere is; of course, the force parameter may be implemented using other operational controls.
The attribute parameters of the controlled virtual object related to the shooting action can be preset by a player; the attribute parameters related to the shooting control are executed and can be used for controlling the feet used when the controlled virtual object shoots. For example, the left foot attribute value of the controlled virtual object is 3, and the right foot attribute value is 7, and at this time, the used foot of the controlled virtual object is the right foot.
The first motion component and the second motion component control motion components with different dimensions in a three-dimensional space, and the motion track of the virtual sphere can be uniquely determined in a game scene by combining the first motion component and the second motion component. It should be noted that if the virtual ball is not intercepted during the shooting process, the virtual ball will reach the target shooting position along the motion track, and if it is intercepted, the target shooting position will not be reached generally. After the motion trail of the virtual sphere is determined, the tangential direction of the motion trail at the position of the controlled virtual object, namely the initial flight direction of the virtual sphere.
FIG. 5 illustrates, as an example, the first operating contact moving from a neutral position of the goal control area to an upper left of the goal control area, where the first operating contact is positioned above left of the goal control area, and thus the target goal position is also positioned above left of the goal area; it will be appreciated that the target goal position is on the plane of the goal area, but that the virtual sphere will typically continue to move, e.g., toward the interior of the goal, after reaching the target goal position during movement, and then be interacted with by the goal net and stopped.
FIG. 6 is a view of another example, where the first operating contact moves from a neutral position of the goal control area to the lower right of the goal control area, where the first operating contact is positioned to the lower right of the goal control area, and thus the target goal position is also positioned to the lower right of the goal area; it will be appreciated that the target goal position is on the plane of the goal area, but that the virtual sphere will typically continue to move after it reaches the target goal position during movement, e.g., to move further into the interior of the goal, possibly being interacted with by the goal net and stopping movement.
In addition, if the sliding operation is not triggered in the shooting control area before the second triggering operation for the shooting control is performed, or the contact point position of the first operation contact point is changed only slightly, it can be considered that the left hand of the player does not perform the shooting-related auxiliary operation, and at this time, if the player performs the second triggering operation for the shooting control, the shooting operation is controlled in the manner in the related art.
Further, in response to a second trigger operation for the shot control, the shot control area is displayed in a switching mode as a moving rocker control, and a trigger state of the moving rocker is set based on the contact position in the display area of the moving rocker control.
The second trigger operation for the shooting control may specifically be a finger lifting operation acting on the shooting control, that is, the player releases the shooting control. At this time, the shooting operation is completed, and the shooting control area is switched and displayed as a moving rocker control. If the player's left finger remains on the touch screen, the position of the moving rocker is determined based on the finger contact point position, e.g., the moving rocker is displayed at or near the finger contact point position; if the left finger of the player does not rest on the touch screen, the movable rocker is in an unactuated state.
As shown in fig. 7, after the player releases the shooting control with the right hand, the left area switches and displays the shooting control area as a moving rocker control, wherein the position of the moving rocker is displayed according to the contact position of the left hand.
In addition, it should be noted that, if the first trigger operation for the shooting control is performed, after the shooting control area is displayed in the graphical user interface, the second trigger operation for the shooting control is not performed, but the shooting cancellation operation is performed, and at this time, the shooting control area is switched to the moving rocker control.
As shown in fig. 8 and 9, after the right finger of the player presses the shooting control, in the left area of the graphical user interface, the moving rocker control is displayed in a switching manner as a shooting control area; then, the right hand finger slides from the shooting control to other controls, and at this time, the shooting control area is switched and displayed as a movable rocker control.
Through the mode, when a player executes the shooting operation, the left hand and the right hand can mutually cooperate to jointly complete shooting, the balance degree of the left hand and the right hand during shooting is improved, the left hand has larger playing space when the shooting operation is executed, and the shooting accuracy of the player during shooting is greatly improved.
Corresponding to the above method embodiment, referring to a schematic structural diagram of an operation control device for a game shown in fig. 10, a graphical user interface is provided through a terminal device, where the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; the device comprises:
the movement control module 1002 is configured to control the controlled virtual object to move in response to a trigger operation for the movement rocker control, and control the virtual sphere to move along with the controlled virtual object;
the switching display module 1004 is configured to respond to a first trigger operation for the shooting control, and switch and display the mobile rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area;
A shooting control module 1006, configured to control the controlled virtual object to perform a shooting action in response to a second trigger operation for a shooting control, and determine a flight direction of the virtual sphere based on a contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed.
The operation control device of the game provides a graphical user interface through the terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene, and the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling the virtual sphere to move along with the controlled virtual object; responding to a first triggering operation aiming at the shooting control, and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; responding to a second triggering operation aiming at the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed. In the mode, after the shooting control is triggered, the movable rocker control is switched to a shooting control area, and a player can adjust a shooting result by operating the shooting control area; the mode can realize that the hands of the player jointly control the shooting operation, improves the accuracy of the shooting operation and improves the game experience of the player.
The above-mentioned switching display module is further used for: determining a second operating contact acting on the mobile rocker control in response to a first triggering operation for the shooting control; and canceling displaying the movable rocker control, and displaying a shooting control area at the contact position of the second operation contact.
The shape of the shooting control area is matched with that of the goal area; the contact position of the second operating contact is located at the center of the shooting control zone.
The apparatus further comprises a resizing module for: adjusting the area size of the shot control area in response to a size adjustment operation for the shot control area; wherein, the shooting control area and the goal area are rectangular; the aspect ratio of the goal control area and the goal area is the same; the aspect ratio of the shot control region is unchanged during the adjustment of the region size of the shot control region.
The above-mentioned switching display module is further used for: responding to a first trigger operation aiming at the shooting control, and determining a control display position of the mobile rocker control under the condition that the mobile rocker control is not subjected to the trigger operation; and canceling to display the movable rocker control, and displaying the shooting control area at the control display position.
The above-mentioned switching display module is further used for: responding to a first triggering operation aiming at the shooting control, and determining whether a preset display condition is met; the method comprises the steps that preset display conditions are determined based on object positions of controlled virtual objects and/or trigger states of movable rocker controls; and if the preset display condition is met, displaying the mobile rocker control in a switching mode as a shooting control area.
The game scene comprises a virtual court; the virtual court comprises a own half-court and a counterpart half-court; the movable rocker control comprises a movable rocker and a movable control area; the preset display conditions include: the object position of the controlled virtual object is located at the opposite half-field, and the moving rocker is located at a designated sub-region in the moving control region, the designated sub-region being used for: and controlling the controlled virtual object to move towards the goal area of the opposite half field.
The above-mentioned switching display module is further used for: determining an object state of a controlled virtual object in a game scene in response to a first trigger operation for the shooting control; wherein the object state comprises an object position and/or an object movement direction; and if the object state meets the preset state condition, switching and displaying the movable rocker control as a shooting control area.
The game scene comprises a virtual court; the virtual court comprises a own half-court and a counterpart half-court; the above-mentioned switching display module is further used for: if the object position of the controlled virtual object is positioned at the opposite half field and the object moving direction of the controlled virtual object meets the preset direction condition, switching and displaying the moving rocker control as a shooting control area; the preset direction condition comprises: the direction difference between the object moving direction and the reference direction of the controlled virtual object is positioned in a preset direction difference range; the reference direction includes: and the connecting line direction of the controlled virtual object and the center of the goal area of the opposite half-field.
The device further comprises a sliding operation module for: in response to a sliding operation acting on the shooting control area, an operation contact of the sliding operation is determined as a first operation contact.
Above-mentioned shooting control module still is used for: responding to a second triggering operation aiming at the shooting control, and controlling the controlled virtual object to execute the shooting action; determining a target goal position on a plane in which the goal area is located based on a contact position of the first operational contact in the goal control area; based on the target goal position, the direction of flight of the virtual sphere is determined.
The relative position of the first operation contact point and the goal control area is the same as the relative position of the target goal position and the goal area.
Above-mentioned shooting control module still is used for: determining a first motion component of the virtual sphere on a plane of the goal region based on the target goal position and the object position of the controlled virtual object; determining a second motion component of the virtual sphere in the normal direction of the plane based on preset specified operation parameters; a motion trajectory of the virtual sphere in the game scene is determined based on the first motion component and the second motion component, and a flight direction of the virtual sphere is determined based on the motion trajectory.
The specified operating parameters include: the force parameter is used for controlling the shooting force of the virtual sphere; and/or, attribute parameters of the controlled virtual object related to performing the shooting action.
The device further comprises: the control display module is used for: and responding to a second triggering operation aiming at the shooting control, displaying the shooting control area as a movable rocker control in a switching mode, and setting the triggering state of the movable rocker control based on the contact position in the display area of the movable rocker control.
The present embodiment also provides an electronic device including a processor and a memory storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the operation control method of the above game. The electronic device may be a server or a terminal device.
Referring to fig. 11, the electronic device includes a processor 100 and a memory 101, the memory 101 storing machine executable instructions that can be executed by the processor 100, the processor 100 executing the machine executable instructions to implement the operation control method of the game described above.
Further, the electronic device shown in fig. 11 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The memory 101 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 103 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 11, but not only one bus or type of bus.
The processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 100 or by instructions in the form of software. The processor 100 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks of the disclosure in the embodiments of the disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and, in combination with its hardware, performs the steps of the method of the previous embodiment.
The processor in the electronic device may implement the following operations in the operation control method of the game by executing machine-executable instructions:
providing a graphical user interface through the terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene, and the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling the virtual sphere to move along with the controlled virtual object; responding to a first triggering operation aiming at the shooting control, and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; responding to a second triggering operation aiming at the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed.
Determining a second operating contact acting on the mobile rocker control in response to a first triggering operation for the shooting control; and canceling displaying the movable rocker control, and displaying a shooting control area at the contact position of the second operation contact.
The shape of the shooting control area is matched with that of the goal area; the contact position of the second operating contact is located at the center of the shooting control zone.
Adjusting the area size of the shot control area in response to a size adjustment operation for the shot control area; wherein, the shooting control area and the goal area are rectangular; the aspect ratio of the goal control area and the goal area is the same; the aspect ratio of the shot control region is unchanged during the adjustment of the region size of the shot control region.
Responding to a first trigger operation aiming at the shooting control, and determining a control display position of the mobile rocker control under the condition that the mobile rocker control is not subjected to the trigger operation; and canceling to display the movable rocker control, and displaying the shooting control area at the control display position.
Responding to a first triggering operation aiming at the shooting control, and determining whether a preset display condition is met; the method comprises the steps that preset display conditions are determined based on object positions of controlled virtual objects and/or trigger states of movable rocker controls; and if the preset display condition is met, displaying the mobile rocker control in a switching mode as a shooting control area.
The game scene comprises a virtual court; the virtual court comprises a own half-court and a counterpart half-court; the movable rocker control comprises a movable rocker and a movable control area; the preset display conditions include: the object position of the controlled virtual object is located at the opposite half-field, and the moving rocker is located at a designated sub-region in the moving control region, the designated sub-region being used for: and controlling the controlled virtual object to move towards the goal area of the opposite half field.
Determining an object state of a controlled virtual object in a game scene in response to a first trigger operation for the shooting control; wherein the object state comprises an object position and/or an object movement direction; and if the object state meets the preset state condition, switching and displaying the movable rocker control as a shooting control area.
The game scene comprises a virtual court; the virtual court comprises a own half-court and a counterpart half-court; if the object position of the controlled virtual object is positioned at the opposite half field and the object moving direction of the controlled virtual object meets the preset direction condition, switching and displaying the moving rocker control as a shooting control area; the preset direction condition comprises: the direction difference between the object moving direction and the reference direction of the controlled virtual object is positioned in a preset direction difference range; the reference direction includes: and the connecting line direction of the controlled virtual object and the center of the goal area of the opposite half-field.
In response to a sliding operation acting on the shooting control area, an operation contact of the sliding operation is determined as a first operation contact.
Responding to a second triggering operation aiming at the shooting control, and controlling the controlled virtual object to execute the shooting action; determining a target goal position on a plane in which the goal area is located based on a contact position of the first operational contact in the goal control area; based on the target goal position, the direction of flight of the virtual sphere is determined.
The relative position of the first operating contact and the goal control zone is the same as the relative position of the target goal position and the goal zone.
Determining a first motion component of the virtual sphere on a plane of the goal region based on the target goal position and the object position of the controlled virtual object; determining a second motion component of the virtual sphere in the normal direction of the plane based on preset specified operation parameters; a motion trajectory of the virtual sphere in the game scene is determined based on the first motion component and the second motion component, and a flight direction of the virtual sphere is determined based on the motion trajectory.
The specified operating parameters include: the force parameter is used for controlling the shooting force of the virtual sphere; and/or, attribute parameters of the controlled virtual object related to performing the shooting action.
And responding to a second triggering operation aiming at the shooting control, displaying the shooting control area as a movable rocker control in a switching mode, and setting the triggering state of the movable rocker control based on the contact position in the display area of the movable rocker control.
In the mode, after the shooting control is triggered, the movable rocker control is switched to the shooting control area, and a player can adjust the shooting result by operating the shooting control area; the mode can realize that the hands of the player jointly control the shooting operation, improves the accuracy of the shooting operation and improves the game experience of the player.
The present embodiment also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the operation control method of the game described above.
The machine-executable instructions stored on the machine-readable storage medium may implement the following operations in the operation control method of the game by executing the machine-executable instructions:
providing a graphical user interface through the terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene, and the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a mobile rocker control and a shooting control; responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling the virtual sphere to move along with the controlled virtual object; responding to a first triggering operation aiming at the shooting control, and switching and displaying the movable rocker control as a shooting control area; wherein, the goal control area is matched with the goal area in the game scene; the shooting control zone is used for: collecting a first operation contact which acts on a designated operation of a shooting control area; responding to a second triggering operation aiming at the shooting control, controlling the controlled virtual object to execute shooting action, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein, the contact position includes: the current position or the historic movement position of the first operation contact point when the second trigger operation is performed.
Determining a second operating contact acting on the mobile rocker control in response to a first triggering operation for the shooting control; and canceling displaying the movable rocker control, and displaying a shooting control area at the contact position of the second operation contact.
The shape of the shooting control area is matched with that of the goal area; the contact position of the second operating contact is located at the center of the shooting control zone.
Adjusting the area size of the shot control area in response to a size adjustment operation for the shot control area; wherein, the shooting control area and the goal area are rectangular; the aspect ratio of the goal control area and the goal area is the same; the aspect ratio of the shot control region is unchanged during the adjustment of the region size of the shot control region.
Responding to a first trigger operation aiming at the shooting control, and determining a control display position of the mobile rocker control under the condition that the mobile rocker control is not subjected to the trigger operation; and canceling to display the movable rocker control, and displaying the shooting control area at the control display position.
Responding to a first triggering operation aiming at the shooting control, and determining whether a preset display condition is met; the method comprises the steps that preset display conditions are determined based on object positions of controlled virtual objects and/or trigger states of movable rocker controls; and if the preset display condition is met, displaying the mobile rocker control in a switching mode as a shooting control area.
The game scene comprises a virtual court; the virtual court comprises a own half-court and a counterpart half-court; the movable rocker control comprises a movable rocker and a movable control area; the preset display conditions include: the object position of the controlled virtual object is located at the opposite half-field, and the moving rocker is located at a designated sub-region in the moving control region, the designated sub-region being used for: and controlling the controlled virtual object to move towards the goal area of the opposite half field.
Determining an object state of a controlled virtual object in a game scene in response to a first trigger operation for the shooting control; wherein the object state comprises an object position and/or an object movement direction; and if the object state meets the preset state condition, switching and displaying the movable rocker control as a shooting control area.
The game scene comprises a virtual court; the virtual court comprises a own half-court and a counterpart half-court; if the object position of the controlled virtual object is positioned at the opposite half field and the object moving direction of the controlled virtual object meets the preset direction condition, switching and displaying the moving rocker control as a shooting control area; the preset direction condition comprises: the direction difference between the object moving direction and the reference direction of the controlled virtual object is positioned in a preset direction difference range; the reference direction includes: and the connecting line direction of the controlled virtual object and the center of the goal area of the opposite half-field.
In response to a sliding operation acting on the shooting control area, an operation contact of the sliding operation is determined as a first operation contact.
Responding to a second triggering operation aiming at the shooting control, and controlling the controlled virtual object to execute the shooting action; determining a target goal position on a plane in which the goal area is located based on a contact position of the first operational contact in the goal control area; based on the target goal position, the direction of flight of the virtual sphere is determined.
The relative position of the first operating contact and the goal control zone is the same as the relative position of the target goal position and the goal zone.
Determining a first motion component of the virtual sphere on a plane of the goal region based on the target goal position and the object position of the controlled virtual object; determining a second motion component of the virtual sphere in the normal direction of the plane based on preset specified operation parameters; a motion trajectory of the virtual sphere in the game scene is determined based on the first motion component and the second motion component, and a flight direction of the virtual sphere is determined based on the motion trajectory.
The specified operating parameters include: the force parameter is used for controlling the shooting force of the virtual sphere; and/or, attribute parameters of the controlled virtual object related to performing the shooting action.
And responding to a second triggering operation aiming at the shooting control, displaying the shooting control area as a movable rocker control in a switching mode, and setting the triggering state of the movable rocker control based on the contact position in the display area of the movable rocker control.
In the mode, after the shooting control is triggered, the movable rocker control is switched to the shooting control area, and a player can adjust the shooting result by operating the shooting control area; the mode can realize that the hands of the player jointly control the shooting operation, improves the accuracy of the shooting operation and improves the game experience of the player.
The method, apparatus and computer program product for controlling operation of a game provided in the embodiments of the present disclosure include a machine-readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of the embodiments of the present disclosure, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the terms in this disclosure will be understood by those skilled in the art in the specific case.
The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a machine-readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present disclosure, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely illustrative of specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, although the disclosure has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (18)

1. A game operation control method is characterized in that a graphical user interface is provided through terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene, and the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a movable rocker control and a shooting control; the method comprises the following steps:
responding to the triggering operation aiming at the movable rocker control, controlling the controlled virtual object to move, and controlling a virtual sphere to move along with the controlled virtual object;
responding to a first triggering operation aiming at the shooting control, and displaying the moving rocker control as a shooting control area in a switching way; wherein the goal control area is matched with a goal area in the game scene; the shooting control zone is used for: collecting a first operation contact acting on a designated operation of the shooting control zone;
controlling the controlled virtual object to execute a shooting action in response to a second trigger operation for the shooting control, and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein the contact positions include: the current position or the historic movement position of the first operation contact point when the second triggering operation is performed.
2. The method of claim 1, wherein the step of switchingly displaying the moving rocker control as a shot control area in response to a first trigger operation for the shot control comprises:
determining a second operating contact acting on the mobile rocker control in response to a first trigger operation for the shooting control;
and canceling to display the movable rocker control, and displaying a shooting control area at the contact position of the second operation contact.
3. The method of claim 2, wherein the goal control zone has a zone shape that matches a zone shape of the goal zone;
the contact position of the second operation contact is positioned at the center of the shooting control zone.
4. A method according to claim 3, characterized in that the method further comprises:
adjusting an area size of the shot control area in response to a size adjustment operation for the shot control area; wherein the goal control area and the goal area are rectangular in shape; the aspect ratio of the goal control area and the goal area is the same;
the aspect ratio of the shot control region is unchanged during the adjustment of the region size of the shot control region.
5. The method of claim 1, wherein the step of switchingly displaying the moving rocker control as a shot control area in response to a first trigger operation for the shot control comprises:
responding to a first trigger operation for the shooting control, and determining a control display position of the mobile rocker control under the condition that the mobile rocker control is not subjected to the trigger operation;
and canceling to display the movable rocker control, and displaying a shooting control area at the control display position.
6. The method of claim 1, wherein the step of switchingly displaying the moving rocker control as a shot control area in response to a first trigger operation for the shot control comprises:
responding to a first triggering operation aiming at the shooting control, and determining whether a preset display condition is met; the preset display condition is determined based on the object position of the controlled virtual object and/or the triggering state of the movable rocker control;
and if the preset display condition is met, displaying the mobile rocker control in a switching mode as a shooting control area.
7. The method of claim 6, wherein the game scene includes a virtual court; the virtual court comprises a own half court and a counterpart half court; the movable rocker control comprises a movable rocker and a movable control area;
The preset display conditions include: the object position of the controlled virtual object is located at the opposite half-field, and the moving rocker is located at a designated sub-region in the moving control region, the designated sub-region being for: and controlling the controlled virtual object to move to the goal area of the opposite half-field.
8. The method of claim 1, wherein the step of switchingly displaying the moving rocker control as a shot control area in response to a first trigger operation for the shot control comprises:
determining an object state of the controlled virtual object in the game scene in response to a first trigger operation for the shooting control; wherein the object state comprises an object position and/or an object movement direction;
and if the object state meets the preset state condition, switching and displaying the movable rocker control as a shooting control area.
9. The method of claim 8, wherein the game scene includes a virtual court; the virtual court comprises a own half court and a counterpart half court;
and if the object state meets the preset state condition, displaying the mobile rocker control as a shooting control area in a switching manner, wherein the method comprises the following steps of:
If the object position of the controlled virtual object is positioned at the opposite half-field and the object moving direction of the controlled virtual object meets the preset direction condition, switching and displaying the moving rocker control as a shooting control area;
wherein, the preset direction condition includes: the direction difference between the object moving direction and the reference direction of the controlled virtual object is positioned in a preset direction difference range; the reference direction includes: and the connecting line direction of the controlled virtual object and the center of the goal area of the opposite half-field.
10. The method of claim 1, wherein in response to a second trigger operation for the shot control, controlling the controlled virtual object to perform a shot action, the method further comprising, prior to the step of determining the direction of flight of the virtual sphere based on the contact position of the first operational contact in the shot control area:
in response to a sliding operation acting on the shooting control zone, an operation contact of the sliding operation is determined as a first operation contact.
11. The method of claim 1, wherein controlling the controlled virtual object to perform a shooting action in response to a second trigger operation for the shooting control, determining a flight direction of the virtual sphere based on a contact position of the first operational contact in the shooting control area, comprises:
Responding to a second triggering operation aiming at the shooting control, and controlling the controlled virtual object to execute a shooting action;
determining a target goal position on a plane in which the goal region is located based on a contact position of the first operational contact in the goal control region;
and determining the flight direction of the virtual sphere based on the target shooting position.
12. The method of claim 11, wherein the step of determining the position of the probe is performed,
the relative position of the first operating contact and the goal control area is the same as the relative position of the target goal position and the goal area.
13. The method of claim 11, wherein the step of determining the direction of flight of the virtual sphere based on the target goal position comprises:
determining a first motion component of the virtual sphere on a plane of the goal region based on the target goal position and the object position of the controlled virtual object;
determining a second motion component of the virtual sphere in the normal direction of the plane based on preset specified operation parameters;
a motion trajectory of the virtual sphere in the game scene is determined based on the first motion component and the second motion component, and a flight direction of the virtual sphere is determined based on the motion trajectory.
14. The method of claim 13, wherein the specified operating parameters comprise: the force parameter is used for controlling the shooting force of the virtual sphere; and/or, attribute parameters of the controlled virtual object related to executing the shooting action.
15. The method according to claim 1, wherein the method further comprises:
and responding to a second triggering operation aiming at the shooting control, switching and displaying the shooting control area as the movable rocker control, and setting the triggering state of the movable rocker control based on the contact position in the display area of the movable rocker control.
16. An operation control device for a game is characterized in that a graphical user interface is provided through terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene, and the game scene comprises a controlled virtual object; the controlled virtual object is controlled through the terminal equipment; the graphical user interface also comprises a movable rocker control and a shooting control; the device comprises:
the movement control module is used for responding to the triggering operation of the movement rocker control, controlling the controlled virtual object to move and controlling the virtual sphere to move along with the controlled virtual object;
The switching display module is used for responding to a first trigger operation aiming at the shooting control and switching and displaying the movable rocker control into a shooting control area; wherein the goal control area is matched with a goal area in the game scene; the shooting control zone is used for: collecting a first operation contact acting on a designated operation of the shooting control zone;
the shooting control module is used for responding to a second trigger operation aiming at the shooting control, controlling the controlled virtual object to execute a shooting action and determining the flight direction of the virtual sphere based on the contact position of the first operation contact in the shooting control area; wherein the contact positions include: the current position or the historic movement position of the first operation contact point when the second triggering operation is performed.
17. An electronic device comprising a processor and a memory, the memory storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the method of controlling operation of a game as claimed in any one of claims 1 to 15.
18. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of controlling operation of a game as claimed in any one of claims 1 to 15.
CN202310298679.6A 2023-03-17 2023-03-17 Game operation control method and device and electronic equipment Pending CN116421961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310298679.6A CN116421961A (en) 2023-03-17 2023-03-17 Game operation control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310298679.6A CN116421961A (en) 2023-03-17 2023-03-17 Game operation control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116421961A true CN116421961A (en) 2023-07-14

Family

ID=87093606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310298679.6A Pending CN116421961A (en) 2023-03-17 2023-03-17 Game operation control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116421961A (en)

Similar Documents

Publication Publication Date Title
US20240058691A1 (en) Method and system for using sensors of a control device for control of a game
CN108404407B (en) Auxiliary aiming method and device in shooting game, electronic equipment and storage medium
CN108854063B (en) Aiming method and device in shooting game, electronic equipment and storage medium
KR102495380B1 (en) Apparatus and method for controlling a user interface of a computing device
CN112807692A (en) Information control method and device in game and terminal equipment
CN110665226A (en) Method, device and storage medium for controlling virtual object in game
JP2002018127A (en) Game system and information storage medium
CN116421961A (en) Game operation control method and device and electronic equipment
CN114130005A (en) Ball control method and device in game
CN115920395A (en) Interactive control method and device in game and electronic equipment
CN115957503A (en) Interactive control method and device for object movement and electronic equipment
CN116020114A (en) Game operation control method and device and electronic equipment
CN115738230A (en) Game operation control method and device and electronic equipment
CN111841003B (en) Information processing method and device in game and electronic equipment
CN117547815A (en) Interaction control method and device in game and electronic equipment
CN115738248A (en) Interactive control method and device for tactical fight and electronic equipment
WO2023246310A1 (en) Object selecting method and apparatus, and electronic device
JP7286857B2 (en) Information processing system, program and information processing method
JP7286856B2 (en) Information processing system, program and information processing method
WO2022264681A1 (en) Computer program, game system used in same, and control method
WO2023002907A1 (en) Information processing system, program, and information processing method
CN117492625A (en) Skill release method and device and electronic equipment
CN115317891A (en) Game interaction method and device and electronic equipment
CN115634454A (en) Information processing method and device and electronic equipment
CN115845382A (en) Operation control method and device of virtual object and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination