CN114288640A - Target object control method and device, storage medium and electronic equipment - Google Patents
Target object control method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN114288640A CN114288640A CN202111458537.9A CN202111458537A CN114288640A CN 114288640 A CN114288640 A CN 114288640A CN 202111458537 A CN202111458537 A CN 202111458537A CN 114288640 A CN114288640 A CN 114288640A
- Authority
- CN
- China
- Prior art keywords
- target object
- view
- control
- ball
- touch operation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a target object control method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: displaying a first view picture through a graphical user interface; responding to a first touch operation of the graphical user interface, and adjusting the first view picture to a second view picture, wherein the view angle range of the second view picture is smaller than that of the first view picture; and responding to a second touch operation of a preset area in the second visual field picture, and controlling the target object to perform defense operation. The invention solves the technical problem that the game role is difficult to be accurately controlled in the related technology.
Description
Technical Field
The present invention relates to the field of object control, and in particular, to a method and an apparatus for controlling a target object, a storage medium, and an electronic device.
Background
In the current ball game, due to the limitation of a screen, only some simple defense operations can be performed, and specific defense technical actions which a player wants to perform are difficult to restore, for example, close distance defense card positions, follow seal locks to obtain an angle but not to rob a ball by feet, block opposite shooting and ball-out angles based on advance ball shoveling actions, and shoveling a ball with a football as a target are difficult to realize in the current ball game, namely, the game role is difficult to accurately control in the game operation at present.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a control method, a control device, a storage medium and electronic equipment of a target object, and aims to at least solve the technical problem that in the related art, a game role is difficult to be accurately controlled.
According to an aspect of an embodiment of the present invention, there is provided a method of controlling a target object, including: displaying a first view picture through a graphical user interface; responding to a first touch operation of the graphical user interface, and adjusting the first view picture to a second view picture, wherein the view angle range of the second view picture is smaller than that of the first view picture; responding to a second touch operation of a preset area in a second visual field picture, and controlling a target object to perform defense operation; the second view frame comprises a preset area, and the preset area comprises at least one of the following areas: the direction control area, the confrontation control area and the ball breaking control area respond to a second touch operation in a preset area in the second view picture, and control the target object to perform defense operation, wherein the method comprises the following steps: responding to the direction touch operation of the direction control area in the second view field picture, and controlling the defense direction of the target object; responding to the confrontation touch operation of the confrontation control area in the second visual field picture, and controlling the confrontation action of the target object; and responding to the second visual field picture to interrupt the ball breaking touch operation of the ball control area, and controlling the ball breaking action of the target object.
Optionally, adjusting the first view frame to the second view frame includes: switching the first visual field picture into a second visual field picture; alternatively, the second view field screen is displayed in the first view field screen.
Optionally, adjusting the first view frame to the second view frame includes: adjusting the first visual angle of the first visual field picture to the preset direction of the target object to generate a second visual angle; and displaying the second visual field picture at a second visual angle.
Optionally, after adjusting the first view screen to the second view screen in response to the first touch operation of the graphical user interface, the method further includes: and in a preset time period, the direction touch operation of the second visual field picture is the direction touch operation of the first visual field picture.
Optionally, in response to the antagonistic touch operation of the antagonistic control area in the second view field screen, controlling the antagonistic action of the target object includes: under the condition that the duration of the countermeasure touch operation reaches a first duration, controlling the target object to perform countermeasure by using a first countermeasure action; under the condition that the duration of the countertouch operation reaches a second duration, the control target object performs counterwork by using a second counterwork action, wherein the counterwork posture and the counterwork amplitude of the second counterwork action are different from those of the first counterwork action; in response to a third countermeasure action drawn by the manipulation object, the control target object opposes with the third countermeasure action.
Optionally, the third antagonistic action, in response to the manipulation of the object drawing, comprises: and generating a third confrontation action in response to the confrontation track drawn by the control object in the confrontation control area.
Optionally, the controlling the ball-breaking action of the target object in response to the ball-breaking touch operation of the second view screen breaking the ball control area includes: when the duration of the ball breaking touch operation reaches a third duration, controlling the target object to break the ball by using the first ball breaking action; when the duration of the ball breaking touch operation reaches a fourth duration, controlling the target object to break the ball by using a second ball breaking action, wherein the ball breaking postures and the ball breaking amplitudes of the first ball breaking action and the second ball breaking action are different; and responding to a third ball breaking action drawn by the control object, and controlling the target object to break the ball by using the third ball breaking action.
Optionally, the third ball breaking action drawn in response to the manipulation object includes: and generating a third ball breaking action in response to the ball breaking track drawn by the control object in the ball breaking control area.
Optionally, after the target object is controlled to perform the defensive operation in response to the second touch operation in the preset area in the second view screen, the method further includes: judging whether the target object sends the ball out; under the condition that the target object sends the ball out, the second visual field picture is adjusted to the first visual field picture; displaying a target control in the second view screen under the condition that the target object does not send the ball out; and responding to the clicking operation of the control object on the target control, and controlling the target object to pass.
Optionally, the method further comprises: and responding to a third touch operation of the graphical user interface, and adjusting the second view frame to the first view frame.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a control apparatus of a target object, comprising: the display module is used for displaying a first visual field picture through a graphical user interface; the adjusting module is used for responding to a first touch operation of the graphical user interface and adjusting the first view picture to a second view picture, wherein the view angle range of the second view picture is smaller than that of the first view picture; and the control module controls the target object to perform defense operation under the condition of responding to second touch operation of a preset area in the second view picture.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein when the program runs, an apparatus in which the computer-readable storage medium is controlled to execute the control method of the target object of the embodiment of the present invention.
For the above purpose in real time, according to another aspect of the present invention, there is also provided an electronic device comprising: the system comprises a processor and a memory, wherein the processor is used for running a program stored in the memory, and the program is used for executing the control method of the target object in the embodiment of the invention when running.
In the embodiment of the present invention, a first view picture may be displayed through a graphical user interface, and the first view picture may be adjusted to a second view picture in response to a first touch operation of the graphical user interface, where a view angle range of the second view picture is smaller than a view angle range of the first view picture, and a target object may be controlled to perform a defense operation in response to a second touch operation of a preset region in the second view picture, so as to achieve an object of accurately controlling the target object, it is easily conceivable that since the first view picture with a larger view angle range is adjusted to the second view picture with a smaller view angle range, it is difficult to perform an accurate control operation in the first view picture, and an accurate control may be performed in a view field with a smaller view angle range by converting the view picture, so as to control the target object to perform an accurate defense, thereby improving a defense success rate of the target object, the game experience of the player is improved, and the technical problem that the game role is difficult to be accurately controlled in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a control method of a target object according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of controlling a target object according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a soccer application scenario according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another soccer application scenario, according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another soccer application scenario, according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another soccer application scenario, according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another soccer application scenario, according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a control apparatus of a target object according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the example of being operated on a mobile terminal, fig. 1 is a hardware structure block diagram of the mobile terminal of a control method of a target object according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to a target object control method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for controlling a target object, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
The control method of the target object in one embodiment of the invention can be operated on a terminal device or a server. The terminal device may be a local terminal device. When the control method of the target object runs on the server, the control method of the target object may be implemented and executed based on a cloud interaction system, where the cloud interaction system includes the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a 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 the operation of the control method of the target object are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, 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; however, the terminal device performing the information processing is a cloud game server in the cloud. When a game is played, a 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, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
Fig. 2 is a flowchart of a control method of a target object according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
step S202, displaying a first view picture through a graphical user interface.
The graphical user interface refers to a computer operation user interface displayed in a graphical manner through a terminal device, and the terminal device may be the aforementioned local terminal device or the aforementioned client device in the cloud interaction system.
The first visual field picture is a visual field provided by a game scene in the graphical user interface for a user.
As shown in fig. 3, in an application scene of a soccer game, a first view frame may be a soccer scene with a wider viewing angle range of a player, and at this time, the first view frame is not yet switched to a near-viewing angle defensive, and the first view frame may include a plurality of conventional controls for controlling the player, where the conventional controls included in the first view frame may be a replacement control, a pressure application control, a scooping control, and a sprint control. The replacement control can be used for replacing a player to be controlled, for example, a user can change to control player number 2 by clicking the replacement control in the process of controlling player number 1; the pressure application control can control the player to confront other players; the shovel control can control the player to execute ball breaking action on other players with balls; the sprint control can control the player to sprint on the court. The left-most control in fig. 3 is a direction control for controlling the direction of the player in the first view frame. Further, in order to more accurately control the player, the near-sighted angle defense control at the upper right corner can be clicked to switch to the second visual field picture at the near visual angle, so that the player can be accurately controlled.
In order to carry out accurate defense, a player can click the myopia angle at the upper right corner for defense, and at the moment, the first view picture can be switched into the second view picture, so that the view angle range of the player is reduced, and the player can accurately control game characters in the view angle range.
In an alternative embodiment, the graphical user interface may display a football game, a baseball game, or the like, which may require defensive play.
The first visual field picture may be a far-angle picture of a football game scene, or a far-angle picture of a baseball game scene.
Step S204, adjusting the first view frame to a second view frame in response to a first touch operation of the gui.
The visual angle range of the second visual field picture is smaller than that of the first visual field picture.
Foretell first touch-control operation can be the operation that the player clicked the button of predetermineeing in the graphical user interface, and wherein, predetermineeing the button and can preventing guard's button for near visual angle, through clicking near visual angle prevents guard's button, can accomplish the conversion of field of vision picture, is favorable to the player to carry out accurate defense under the condition of near visual angle to improve the probability of defense.
In an alternative embodiment, the first touch operation may be a click operation performed by the player at any position of the graphical user interface, the first touch operation may also be a slide operation performed by the player in the graphical user interface, and the first touch operation may also be a long-press operation performed by the player at any position of the graphical user interface.
For example, if the player may continuously click at any position in the first view frame of the gui for a predetermined number of times, the first view frame may be adjusted to the second view frame, and if the player may click at any position in the second view frame of the gui for a predetermined number of times, the second view frame may be adjusted to the first view frame. It should be noted that, the actual operation mode of the click is not limited here.
For example, if the player can slide to the right at any position in the first view frame of the graphical user interface, the first view frame can be adjusted to the second view frame, and if the player can slide to the left at any position in the second view frame of the graphical user interface, the second view frame can be adjusted to the first view frame. It should be noted that the actual operation mode of the sliding is not limited herein.
For example, if the player can press any position in the first view frame of the graphical user interface for a preset length of time, the first view frame may be adjusted to the second view frame, and if the player can press any position in the second view frame of the graphical user interface for a preset length of time, the second view frame may be adjusted to the first view frame. It should be noted that the actual operation mode of the long press is not limited at all here.
In another alternative embodiment, in the soccer game scene, the second visual field picture may be a visual field picture of a third person who is laterally behind the defensive player.
Step S206, in response to a second touch operation in a preset area in the second view screen, controlling the target object to perform a defensive operation.
As shown in fig. 4, the preset area may include a direction control area, a confrontation control area, and a ball break control area. The direction control area is used for controlling the defense direction of the target object, the countermeasure control area is used for controlling the countermeasure action of the target object in the defense process, and the ball breaking control area is used for controlling the ball breaking action of the target object. When the first view screen is adjusted to the second view screen, the leftmost control in fig. 3 may be replaced with the direction control area in fig. 4, the pressure application control in fig. 3 may be replaced with the countermeasure control area in fig. 4, and the scooping control in fig. 3 may be replaced with the ball breaking control area in fig. 4, so that the user performs more accurate defense.
In an optional embodiment, a preset control may be set in the preset area, and the player may execute a second touch operation by clicking the preset control, so as to control the target object to perform a defense operation. The player can draw a defense operation track in the preset area so as to generate a defense action according to the defense operation track, and the target object is controlled to execute the defense action to realize the defense operation.
In another alternative embodiment, the target object may be a defensive player in a football game scene, and in the second view field picture, the player may control the defensive player to perform defensive operation by performing a second touch operation in a preset area.
Optionally, the preset area includes: the second touch operation comprises at least one of the following operations: and the direction touch operation is used for responding to a second touch operation of a preset area in the second view picture, and controlling the target object to perform defense operation, wherein the direction touch operation comprises the following steps: and responding to the direction touch operation of the direction control area in the second visual field picture, and controlling the defense direction of the target object.
The direction control area is used for controlling the defense direction of the target object.
The above-mentioned directional touch operation can be realized by a remote lever control in a directional control area, as shown in fig. 4, a player can realize directional control by remote sensing in a mobile remote sensing control.
In an alternative embodiment, in the second view, the player may control the direction of movement or the direction of defense of the target object through a remote control in the directional control area. For example, in a soccer game scenario, a player may control the direction of movement and defensive direction of a defensive player through remote sensing controls in a directional control area.
In another optional embodiment, after the first view frame is adjusted to the second view frame, the rocker control in the direction control area is further used for operating the moving direction of the target object in the first view frame, so as to achieve an effect of delaying the operation effect, and since the adjustment of the view frame may cause the operation direction of the target object to change, by delaying the operation, the user may be given a certain time to adjust the operation direction, thereby avoiding that the user may make an error in operation due to the fact that the view frame is adjusted too fast and the user is difficult to adjust the operation direction in time.
Optionally, the preset area further includes: the second touch operation comprises at least one of the following operations: the countermeasure touch operation, in response to a second touch operation of a preset area in a second view picture, controls the target object to perform defensive operation, and includes: and controlling the confrontation action of the target object in response to the confrontation touch operation of the confrontation control area in the second visual field picture.
The above-described confrontation control area is used to control the confrontation direction of the target object.
The above-mentioned confrontation touch operation can be realized by the player performing a sliding operation, a long-press operation or a click operation in the confrontation control area.
In an alternative embodiment, the control target object may perform different confrontation actions according to different confrontation touch operations performed by the player in the confrontation control area.
In another alternative embodiment, when the confrontation touch operation is a player clicking the confrontation control area, the target object may be controlled to strongly hit other objects; for example, in a soccer game scenario, when a player clicks on a confrontation control area, a defensive player may be controlled to hit other players strongly. When the confrontation touch operation is that the parents play to press the confrontation control area, the target object and other objects can be controlled to be continuously in confrontation entanglement with each other; for example, in a soccer game scenario, a defensive player may be controlled to continue physical confrontation entanglement with other players as the player presses the confrontation control area for a long time. When the confrontation touch operation is that a player draws a line in the confrontation control area transversely and hooks back, the target object can be controlled to turn, clamp the body and protect the ball; illustratively, in a soccer game scenario, as shown in FIG. 5, a defensive player may be controlled to turn around to block his position and protect his ball as the player draws a line laterally and hooks back in the confrontation control area.
Optionally, the preset area includes: in the ball break control area, the second touch operation includes: and the ball-breaking touch operation is used for responding to a second touch operation in a preset area in a second visual field picture, and controlling a target object to perform defense operation, and the method comprises the following steps: and responding to the second visual field picture to interrupt the ball breaking touch operation of the ball control area, and controlling the ball breaking action of the target object.
The ball break control area is used for controlling the ball break action of the target object.
The ball-break touch operation can be realized by the player performing sliding operation, long-time pressing operation or clicking operation in the ball-break control area.
In an alternative embodiment, the target object may be controlled to perform different ball breaking actions according to different ball breaking touch operations performed by the player in the ball breaking control area.
In another optional embodiment, when the ball break touch operation is that the player clicks the ball break control area, the target object may be controlled to perform a small-amplitude ball break action; for example, in a soccer game scenario, when a player clicks on a ball break control area, a defensive player may be controlled to perform a small amplitude ball break action. When the ball-breaking touch operation is that the ball-breaking control area is pressed by the playing parents, the target object can be controlled to execute a large-amplitude ball shoveling action; for example, in a football game scene, when a player presses a ball breaking control area for a long time, a defensive player can be controlled to perform a great-amplitude ball shoveling action. When the ball breaking touch control operation is that a player draws a line in the ball breaking control area transversely and hooks back, the target object can be controlled to reversely block the running path of the ball and control the ball to be in front of the body; for example, as shown in fig. 6, in a football game scene, when a player draws a line transversely in a broken ball control area and hooks back, a defender can be controlled to reversely block the running path of the football and control the football in front.
Through the steps, a first visual field picture can be displayed through the graphical user interface, the first visual field picture is adjusted to a second visual field picture in response to first touch operation of the graphical user interface, wherein the visual angle range of the second visual field picture is smaller than that of the first visual field picture, the target object is controlled to carry out defense operation in response to second touch operation of a preset area in the second visual field picture, and the aim of accurately controlling the target object is fulfilled. The game experience of the player is improved, and the technical problem that the game role is difficult to be accurately controlled in the related technology is solved.
Optionally, adjusting the first view frame to the second view frame includes: switching the first visual field picture into a second visual field picture; alternatively, the second view field screen is displayed in the first view field screen.
In an optional embodiment, when the first touch operation of the gui is received, the entire first view screen may be directly switched to the second view screen, that is, the first view screen displayed on the gui is directly switched to the second view screen.
In another alternative embodiment, the second view field picture may be displayed in a picture-in-picture manner in the first view field picture, that is, the second view field picture of a preset size is displayed in the target area of the first view field picture, wherein the display area of the second view field picture is smaller than that of the first view field picture.
The user may move the second view screen displayed in the first view screen by means of dragging or the like, and the user may enlarge or reduce the display area of the second view screen displayed in the first view screen by means of dragging or the like.
Further, when the second view field picture is displayed in the first view field picture in picture-in-picture mode, the transparency of the second view field picture can be improved, so that the first view field picture of the whole situation can be seen through the second view field picture, the user can accurately defend the scene, and meanwhile, the form of the whole situation can be related, and the game experience of the user can be improved.
The transparency can be set according to the user's needs.
Optionally, adjusting the first view frame to the second view frame includes: adjusting the first visual angle of the first visual field picture to a preset direction of a target object to generate a second visual angle; and displaying the second visual field picture at the second visual angle.
The preset direction of the target object can be the rear or right rear of the target object.
The first view angle may be a god view angle, and the second view angle may be an individual view angle, where the virtual camera of the individual view angle may be bound right behind the target object, and may slide left and right to see the global picture in the landscape state.
In an optional embodiment, the first view angle of the first view picture may be adjusted to be right behind the target object, a second view angle may be generated, and the second view picture may be displayed at the second view angle, so that when the user performs myopia prevention, the user may perform defense with respect to the target object, thereby improving the success rate of defense of the target object.
As shown in fig. 4, the second visual angle can be the rear or the positive rear of sportsman, from the first visual angle adjustment of first field of vision picture to the second visual angle of second field of vision picture, can convenience of customers more clear view sportsman's defense action to carry out accurate control to sportsman's defense action, thereby improve the success rate of defense. In actual operation, the view angle of the horizontal screen can be switched to the personal view angle of the virtual camera right behind the defender teammate.
Optionally, the second view screen includes a preset region.
In an alternative embodiment, the first view frame may not display the preset region, and the preset region may be displayed in the second view frame when the first view frame is adjusted to the second view frame.
Optionally, after adjusting the first view screen to the second view screen in response to the first touch operation of the graphical user interface, the method further includes: and in a preset time period, the direction touch operation of the second visual field picture is the direction touch operation of the first visual field picture.
The preset time can be adjusted according to requirements.
In an optional embodiment, the preset time may be set to 0.5s, after the first view frame is adjusted to the second view frame, an operation effect delay of 0.5s may be reserved, so that the target object continues the moving direction of the first view frame, the player does not affect the moving direction or the defense direction of the target object in the first view frame by performing the directional touch operation within 0.5s of the view switching, the directional touch operation after 0.5s is directed to the moving direction or the defense direction of the target object in the second view frame, where 0.5s is only used as an example for explanation, and the player may flexibly adjust the preset time according to the requirement.
Optionally, in response to the antagonistic touch operation of the antagonistic control area in the second view field screen, controlling the antagonistic action of the target object includes: under the condition that the duration of the countermeasure touch operation reaches a first duration, controlling the target object to perform countermeasure by using a first countermeasure action; under the condition that the duration of the countertouch operation reaches a second duration, the control target object performs counterwork by using a second counterwork action, wherein the counterwork posture and the counterwork amplitude of the second counterwork action are different from those of the first counterwork action; in response to a third countermeasure action drawn by the manipulation object, the control target object opposes with the third countermeasure action.
The first time period may be a time period for performing the click operation, and the second time period may be a time period for performing the long press operation. The first time period and the second time period may be set according to the player's demand.
The first counter-motion may be a violent impact on other objects, the first counter-motion may also be a single violent impact on other objects, the first counter-motion may also be a continuous violent impact on other objects, and the first counter-motion may also be other preset counter-motions.
The second antagonistic action can be an action of continuously resisting and tangling the body of other objects, and the second antagonistic action can also be other preset antagonistic actions.
The third countermeasure action described above may be a countermeasure action drawn by the player according to the game situation. The above-described manipulation object may be a player.
In an optional embodiment, the player can execute different confrontation touch operations according to the defense requirement, so as to achieve an accurate defense effect and improve the game experience of the player.
Optionally, the third antagonistic action, in response to the manipulation of the object drawing, comprises: and generating a third confrontation action in response to the confrontation track drawn by the control object in the confrontation control area.
In an alternative embodiment, the player may draw in the confrontation control area, as shown in fig. 5, the player may draw a transverse line in the confrontation control area and draw back the right line, and may draw a confrontation track, and a corresponding confrontation action may be generated according to the confrontation track, and the target object may complete the confrontation operation through the confrontation action, so as to achieve the confrontation and defense effect.
Optionally, the controlling the ball-breaking action of the target object in response to the ball-breaking touch operation of the second view screen breaking the ball control area includes: when the duration of the ball breaking touch operation reaches a third duration, controlling the target object to break the ball by using the first ball breaking action; when the duration of the ball breaking touch operation reaches a fourth duration, controlling the target object to break the ball by using a second ball breaking action, wherein the ball breaking postures and the ball breaking amplitudes of the first ball breaking action and the second ball breaking action are different; and responding to a third ball breaking action drawn by the control object, and controlling the target object to break the ball by using the third ball breaking action.
The third time period may be a time period for executing the click operation, and the fourth time period may be a time period for executing the long press operation. The third time period and the fourth time period may be set according to the player's needs.
The first ball breaking motion may be a small-amplitude ball breaking motion, and the first ball breaking motion may also be another preset ball breaking motion.
The second ball breaking motion may be a ball breaking motion larger than the first ball breaking motion, and the second ball breaking motion may be another preset ball breaking motion.
The third confrontational motion may be a ball breaking motion drawn by the player according to the game situation. The above-described manipulation object may be a player.
In an optional embodiment, the player can execute different ball-breaking touch operations according to the defense requirement, so that an accurate defense effect is achieved, and the game experience of the player is improved.
Optionally, the third ball breaking action drawn in response to the manipulation object includes: and generating a third ball breaking action in response to the ball breaking track drawn by the control object in the ball breaking control area.
In an alternative embodiment, the player may draw in the broken ball control area, as shown in fig. 6, the player may draw a line in the broken ball control area and hook back to the right to draw a broken ball trajectory, a corresponding broken ball action may be generated according to the broken ball trajectory, and the target object may complete the broken ball operation through the broken ball action to achieve the effect of broken ball defense.
Optionally, after the target object is controlled to perform the defensive operation in response to the second touch operation in the preset area in the second view screen, the method further includes: judging whether the target object sends the ball out; under the condition that the target object sends the ball out, the second visual field picture is adjusted to the first visual field picture; displaying a target control in the second view screen under the condition that the target object does not send the ball out; and responding to the clicking operation of the control object on the target control, and controlling the target object to pass.
The target control can be a pass control or a shoot control.
In an optional embodiment, after the target object is controlled to perform the defense operation, it may be further determined whether the target object sends the ball out, if the target object sends the ball out, it indicates that the defense operation is not required at this time, and at this time, the second view field picture may be adjusted back to the first view field picture, so that the player may continue to control the target object in the normal game view field. If the target object does not transfer the ball out, the action of transferring the ball needs to be executed at the moment, a ball transferring control or a shooting control can be displayed in the second visual field picture, a player can transfer the ball out by clicking the ball transferring control or the shooting control, and the second visual field picture is adjusted back to the first visual field picture after the ball is transferred out, so that operation confusion during ball right conversion is avoided.
Optionally, the method further comprises: and responding to a third touch operation of the graphical user interface, and adjusting the second view frame to the first view frame.
The third touch operation may be clicking an exit control, or performing a click operation or a long-time press operation on the upper right corner of the graphical user interface.
In an alternative embodiment, an exit control may be provided in the graphical user interface, and when the player clicks the exit control, the second view frame may be adjusted to the first view frame so that the player exits the defensive view frame at any time.
As shown in fig. 7, an exit control may be provided in the upper right corner, and when the player needs to switch from the second view screen to the first view screen, the player may click the exit control to switch.
Fig. 8 is a schematic diagram of a control apparatus of a target object according to an embodiment of the present invention, as shown in fig. 8, the apparatus including: a display module 802, an adjustment module 804, and a control module 806.
The display module is used for displaying a first view picture through a graphical user interface; the adjusting module is used for responding to a first touch operation of the graphical user interface and adjusting the first view picture to a second view picture, wherein the view angle range of the second view picture is smaller than that of the first view picture; the control module is used for controlling the target object to carry out defense operation under the condition of responding to second touch operation of a preset area in the second view picture; the second view frame comprises a preset area, and the preset area comprises at least one of the following areas: direction control area, confrontation control area, disconnected ball control area, control module includes: a first control unit controlling a defensive direction of the target object in response to a directional touch operation of the directional control region in the second view screen; the second control unit controls the confrontation action of the target object under the condition of responding to the confrontation touch operation of the confrontation control area in the second view field picture; and the third control unit controls the ball breaking action of the target object under the condition that the ball breaking touch operation of the ball control area is interrupted in response to the second visual field picture.
Optionally, the adjusting module comprises: a switching unit configured to switch the first view screen to the second view screen; or, a display unit configured to display the second view screen in the first view screen.
Optionally, the adjusting module comprises: the adjusting unit is used for adjusting the first visual angle of the first visual field picture to a preset direction of a target object to generate a second visual angle; and the display unit is used for displaying the second view picture at the second viewing angle.
Optionally, the apparatus further comprises: and the direction module is used for enabling the direction touch operation of the second view picture to be the direction touch operation of the first view picture in a preset time period.
Optionally, the second control unit comprises: the first control subunit is used for controlling the target object to perform countermeasure by using the first countermeasure action under the condition that the duration of the countermeasure touch operation reaches a first duration; the second control subunit is used for controlling the target object to perform countermeasure by using a second countermeasure motion under the condition that the duration of the countermeasure touch operation reaches a second duration, wherein the countermeasure gesture and the countermeasure amplitude of the second countermeasure motion are different from those of the first countermeasure motion; and a third control subunit that, in the case of a third countermeasure action drawn in response to the manipulation object, controls the target object to perform countermeasure with the third countermeasure action.
Optionally, a third control subunit comprising: and the first drawing subunit generates a third confrontation action in response to the confrontation track drawn by the control object in the confrontation control area.
Optionally, a third control unit comprising: the fourth control subunit is used for controlling the target object to break the ball by using the first ball breaking action under the condition that the duration of the ball breaking touch operation reaches the third duration; the fifth control subunit is configured to, when the duration of the ball breaking touch operation reaches a fourth duration, control the target object to break the ball by using the second ball breaking motion, where the ball breaking postures and the ball breaking amplitudes of the first ball breaking motion and the second ball breaking motion are different; and a sixth control subunit that, in the case of a third ball break action drawn in response to the manipulation object, controls the target object to perform ball break with the third ball break action.
Optionally, a sixth control subunit comprising: and the second drawing subunit generates a third ball breaking action in the case of responding to the ball breaking track drawn by the control object in the ball breaking control area.
Optionally, the method further comprises: the judging module is used for judging whether the target object sends the ball out; the adjusting module is also used for adjusting the second visual field picture to the first visual field picture under the condition that the target object sends the ball out; the display module is also used for displaying the target control in the second visual field picture under the condition that the target object does not send the ball out; the control module is also used for controlling the target object to pass under the condition of responding to the clicking operation of the control object on the target control.
Optionally, the adjusting module is further configured to adjust the second view screen to the first view screen in response to a third touch operation of the graphical user interface.
Embodiments of the present invention also provide a computer-readable storage medium. The computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the apparatus where the computer readable storage medium is located is controlled to execute the method for controlling the target object according to the embodiment of the present invention.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device, including a processor and a memory, where the processor is configured to run a program stored in the memory to execute the method for controlling a target object according to the embodiments of the present invention.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (13)
1. A method of controlling a target object, comprising:
displaying a first view picture through a graphical user interface;
responding to a first touch operation of the graphical user interface, and adjusting the first view picture to a second view picture, wherein the view angle range of the second view picture is smaller than that of the first view picture;
responding to a second touch operation of a preset area in the second view picture, and controlling a target object to perform defense operation;
the second view picture comprises a preset area, and the preset area comprises at least one of the following areas: the direction control area, the confrontation control area and the ball breaking control area respond to a second touch operation in a preset area in the second view picture, and control the target object to carry out defense operation, and the method comprises the following steps:
responding to the direction touch operation of the direction control area in the second view field picture, and controlling the defense direction of the target object;
responding to the confrontation touch operation of the confrontation control area in the second visual field picture, and controlling the confrontation action of the target object;
and responding to the ball breaking touch operation of the ball breaking control area in the second visual field picture, and controlling the ball breaking action of the target object.
2. The method of claim 1, wherein adjusting the first view frame to a second view frame comprises:
switching the first view frame to the second view frame;
alternatively, the second view screen is displayed in the first view screen.
3. The method of claim 2, wherein adjusting the first view picture to the second view picture comprises:
adjusting the first visual angle of the first visual field picture to a preset direction of a target object to generate a second visual angle;
and displaying the second visual field picture at the second visual angle.
4. The method of claim 1, wherein after adjusting the first view to the second view in response to a first touch operation of the graphical user interface, the method further comprises:
and in a preset time period, the direction touch operation of the second view picture is the direction touch operation of the first view picture.
5. The method of claim 1, wherein controlling the antagonistic action of the target object in response to the antagonistic touch operation of the antagonistic control region in the second view field screen comprises:
controlling the target object to perform countermeasure by using a first countermeasure action under the condition that the duration of the countermeasure touch operation reaches a first duration;
under the condition that the duration of the antagonistic touch operation reaches a second duration, controlling the target object to resist by using a second antagonistic action, wherein the second antagonistic action is different from the first antagonistic action in terms of the antagonistic posture and the antagonistic amplitude;
and responding to a third countermeasure action drawn by the control object, and controlling the target object to perform countermeasure by using the third countermeasure action.
6. The method of claim 5, wherein responding to a third antagonistic action drawn by the manipulation object comprises:
generating the third confrontation action in response to the confrontation trajectory drawn by the manipulation object in the confrontation control area.
7. The method according to claim 6, wherein controlling the ball breaking action of the target object in response to the ball breaking touch operation of the ball breaking control area in the second view screen comprises:
controlling the target object to break the ball by using a first ball breaking action under the condition that the duration of the ball breaking touch operation reaches a third duration;
when the duration of the ball breaking touch operation reaches a fourth duration, controlling the target object to break the ball by using a second ball breaking action, wherein the ball breaking postures and the ball breaking amplitudes of the first ball breaking action and the second ball breaking action are different;
and responding to a third ball breaking action drawn by the control object, and controlling the target object to break the ball by using the third ball breaking action.
8. The method of claim 7, wherein the third ball breaking action in response to the manipulation object drawing comprises:
and generating the third ball breaking action in response to the ball breaking track drawn by the control object in the ball breaking control area.
9. The method according to claim 8, wherein after the control target object performs the defensive operation in response to the second touch operation of the preset region in the second view screen, the method further comprises:
determining whether the target object has passed a ball out;
adjusting the second view frame to the first view frame if the target object passes the ball out;
displaying a target control in the second field of view screen if the target object does not pass the ball out;
and responding to the clicking operation of the control object on the target control, and controlling the target object to pass.
10. The method of claim 1, further comprising:
and responding to a third touch operation of the graphical user interface, and adjusting the second view picture to the first view picture.
11. A control apparatus of a target object, characterized by comprising:
the display module is used for displaying a first visual field picture through a graphical user interface;
the adjusting module is used for responding to a first touch operation of the graphical user interface and adjusting the first view picture to a second view picture, wherein the view angle range of the second view picture is smaller than that of the first view picture;
the control module is used for controlling a target object to carry out defense operation under the condition of responding to second touch operation of a preset area in the second view picture;
wherein, the control module includes:
a first control unit controlling a defensive direction of the target object in response to a directional touch operation of the directional control region in the second view screen;
the second control unit controls the confrontation action of the target object under the condition of responding to the confrontation touch operation of the confrontation control area in the second view field picture;
and the third control unit controls the ball breaking action of the target object under the condition that the ball breaking touch operation of the ball control area is interrupted in response to the second visual field picture.
12. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the control method for a target object according to any one of claims 1 to 10.
13. An electronic device, comprising: a processor and a memory, the processor being configured to execute a program stored in the memory, wherein the program executes the control method of the target object according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111458537.9A CN114288640A (en) | 2021-12-01 | 2021-12-01 | Target object control method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111458537.9A CN114288640A (en) | 2021-12-01 | 2021-12-01 | Target object control method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114288640A true CN114288640A (en) | 2022-04-08 |
Family
ID=80966287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111458537.9A Pending CN114288640A (en) | 2021-12-01 | 2021-12-01 | Target object control method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114288640A (en) |
-
2021
- 2021-12-01 CN CN202111458537.9A patent/CN114288640A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11318384B2 (en) | Method and apparatus for controlling virtual camera in game | |
KR102229285B1 (en) | Game control device, game system and computer-readable recording medium | |
CN109847354B (en) | Method and device for controlling virtual lens in game | |
CN110075522A (en) | The control method of virtual weapons, device and terminal in shooting game | |
CN113318434B (en) | Game information processing method and device and storage medium | |
JP7176115B2 (en) | Motion control method and device, computer program and device | |
US20160114243A1 (en) | Image processing program, server device, image processing system, and image processing method | |
KR20190052716A (en) | Game control device, game system and computer readable recording medium | |
CN113069771B (en) | Virtual object control method and device and electronic equipment | |
TWI793838B (en) | Method, device, apparatus, medium and product for selecting interactive mode for virtual object | |
CN108310768B (en) | Virtual scene display method and device, storage medium and electronic device | |
CN114288640A (en) | Target object control method and device, storage medium and electronic equipment | |
JP2019024157A (en) | Match watching device, game watching terminal, game watching method, and program therefor | |
WO2017008651A1 (en) | Ball game system and control method therefor | |
JP6816890B2 (en) | Game controls, game systems, and programs | |
CN113893540B (en) | Information prompting method and device, storage medium and electronic equipment | |
CN116099195A (en) | Game display control method and device, electronic equipment and storage medium | |
KR20230153480A (en) | Methods for using virtual accessories, and related devices, devices and storage media | |
CN117122898A (en) | Method, device and equipment for controlling virtual roles through touch equipment | |
CN114130005A (en) | Ball control method and device in game | |
CN113996051A (en) | Method, device, equipment and storage medium for canceling and releasing game skills | |
KR101361187B1 (en) | Method of baseball game using virtual joy-stick | |
WO2018083834A1 (en) | Game control device, game system, and program | |
KR20140065180A (en) | Apparatus and method for providing user experiential contents based on real time broadcast contents | |
CN117122897A (en) | Virtual character control method and device 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 |