Target object control method, device, storage medium and electronic device
By adjusting the field of vision in the ball mobile game and using the preset area for precise control, the problem of difficulty in achieving precise defensive operations in the ball mobile game is solved, and the defensive success rate and game experience are improved.
Patent Information
- Application Number
- CN202111458537.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-01
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2041-12-01
AI Technical Summary
Existing ball mobile games are difficult to achieve precise defensive operations, such as close defense, following blocking angles, blocking the opponent's shooting and shooting angles based on advance tackle movements, etc., making it difficult for players to accurately control the game characters.
The first field of view screen is displayed through the graphical user interface, and in response to the player's touch operation, it is adjusted to the second field of view screen. The view angle range of the second field of view screen is smaller than the first field of view screen, and direction control and confrontation are used in the preset area Control and control the ball and the ball-blocking area for precise defensive operations.
Accurate control of the target object is achieved, the defensive success rate and player's gaming experience is improved, and the problem of difficulty in accurately controlling game characters in the existing technology is solved.
Smart Images

Figure CN114288640B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of object control, and in particular to a method, device, storage medium and electronic device for controlling a target object. Background Art
[0002] In current ball games on mobile phones, due to screen limitations, only some simple defensive operations can be performed, and it is difficult to restore the specific defensive technical actions that players want to make, such as body positioning in close defense, following the blockade to seek angles but not kicking to grab the ball, blocking the opponent's shooting and ball angles based on advance tackling actions, and tackling with the football as the target. These actions are difficult to achieve in existing ball games on mobile phones, that is, it is currently difficult to accurately control the game characters in game operations.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, storage medium and electronic device for controlling a target object, so as to at least solve the technical problem in the related art that it is difficult to accurately control a game character.
[0005] According to one aspect of an embodiment of the present invention, a method for controlling a target object is provided, comprising: displaying a first field of view picture through a graphical user interface; in response to a first touch operation on the graphical user interface, adjusting the first field of view picture to a second field of view picture, wherein the viewing angle range of the second field of view picture is smaller than the viewing angle range of the first field of view picture; in response to a second touch operation on a preset area in the second field of view picture, controlling the target object to perform a defensive operation; wherein the second field of view picture includes a preset area, and the preset area includes at least one of the following: a direction control area, a confrontation control area, and a steal control area, and in response to the second touch operation on the preset area in the second field of view picture, controlling the target object to perform a defensive operation, comprising: controlling the defensive direction of the target object in response to a direction touch operation on the direction control area in the second field of view picture; controlling the confrontation action of the target object in response to a confrontation touch operation on the confrontation control area in the second field of view picture; and controlling the steal action of the target object in response to a steal touch operation on the steal control area in the second field of view picture.
[0006] Optionally, adjusting the first field of view picture to the second field of view picture includes: switching the first field of view picture to the second field of view picture; or displaying the second field of view picture in the first field of view picture.
[0007] Optionally, adjusting the first field of view picture to the second field of view picture includes: adjusting a first viewing angle of the first field of view picture to a preset direction of the target object to generate a second viewing angle; and displaying the second field of view picture at the second viewing angle.
[0008] Optionally, after adjusting the first field of view image to the second field of view image in response to the first touch operation of the graphical user interface, the method further includes: within a preset time period, the direction touch operation of the second field of view image is the direction touch operation of the first field of view image.
[0009] Optionally, in response to the antagonistic touch operation in the antagonistic control area in the second field of view screen, the antagonistic action of the target object is controlled, including: when the duration of the antagonistic touch operation reaches a first duration, the target object is controlled to use a first antagonistic action to resist; when the duration of the antagonistic touch operation reaches a second duration, the target object is controlled to use a second antagonistic action to resist, wherein the second antagonistic action is different from the first antagonistic action in antagonistic posture and antagonistic amplitude; in response to a third antagonistic action drawn by the manipulated object, the target object is controlled to use the third antagonistic action to resist.
[0010] Optionally, responding to the third confrontation action drawn by the manipulated object includes: generating the third confrontation action in response to a confrontation trajectory drawn by the manipulated object in the confrontation control area.
[0011] Optionally, in response to a steal touch operation in a steal control area in the second field of view, the target object's steal action is controlled, including: when the duration of the steal touch operation reaches a third duration, controlling the target object to steal the ball using a first steal action; when the duration of the steal touch operation reaches a fourth duration, controlling the target object to steal the ball using a second steal action, wherein the first steal action and the second steal action have different steal postures and steal amplitudes; in response to a third steal action drawn by the controlled object, controlling the target object to steal the ball using the third steal action.
[0012] Optionally, responding to a third steal action drawn by the manipulation object includes: generating the third steal action in response to a steal trajectory drawn by the manipulation object in a steal control area.
[0013] Optionally, after controlling the target object to perform a defensive operation in response to a second touch operation on a preset area in the second field of view, the method also includes: determining whether the target object passes the ball; if the target object passes the ball, adjusting the second field of view to the first field of view; if the target object does not pass the ball, displaying a target control in the second field of view; and controlling the target object to pass the ball in response to a click operation of the manipulating object on the target control.
[0014] Optionally, the method further includes: in response to a third touch operation of the graphical user interface, adjusting the second field of view image to the first field of view image.
[0015] In order to achieve the above-mentioned purpose, according to another aspect of the present invention, there is also a control device for a target object, comprising: a display module, used to display a first field of view picture through a graphical user interface; an adjustment module, used to adjust the first field of view picture to a second field of view picture in response to a first touch operation of the graphical user interface, wherein the viewing angle range of the second field of view picture is smaller than the viewing angle range of the first field of view picture; and a control module, which controls the target object to perform a defensive operation in response to a second touch operation of a preset area in the second field of view picture.
[0016] In order to achieve the above-mentioned purpose, according to another aspect of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the control method of the target object of an embodiment of the present invention.
[0017] In order to achieve the above-mentioned purpose in real time, according to another aspect of the present invention, an electronic device is also provided, including: a processor and a memory, the processor is used to run a program stored in the memory, wherein the control method of the target object of the embodiment of the present invention is executed when the program is running.
[0018] In an embodiment of the present invention, a first field of view picture can be displayed through a graphical user interface, and in response to a first touch operation of the graphical user interface, the first field of view picture is adjusted to a second field of view picture, wherein the viewing angle range of the second field of view picture is smaller than the viewing angle range of the first field of view picture, and in response to a second touch operation of a preset area in the second field of view picture, the target object is controlled to perform a defensive operation, thereby achieving the purpose of accurately controlling the target object. It is easy to think that since the first field of view picture with a larger viewing angle range is adjusted to the second field of view picture with a smaller viewing angle range, operations that are difficult to accurately control in the first field of view picture can be accurately controlled in a field of view with a smaller viewing angle range by converting the field of view pictures, so as to control the target object to perform accurate defense, thereby improving the defense success rate of the target object, improving the player's gaming experience, and further solving the technical problem of difficulty in accurately controlling game characters in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0020] Figure 1 is a hardware structure block diagram of a mobile terminal according to a method for controlling a target object according to an embodiment of the present invention;
[0021] Figure 2 is a flow chart of a method for controlling a target object according to an embodiment of the present invention;
[0022] Figure 3 is a schematic diagram of a football application scenario according to an embodiment of the present invention;
[0023] Figure 4 is a schematic diagram of another football application scenario according to an embodiment of the present invention;
[0024] Figure 5 is a schematic diagram of another football application scenario according to an embodiment of the present invention;
[0025] Figure 6 is a schematic diagram of another football application scenario according to an embodiment of the present invention;
[0026] Figure 7 is a schematic diagram of another football application scenario according to an embodiment of the present invention;
[0027] Figure 8 is a schematic diagram of a control device for a target object according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a target object control method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 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. Optionally, the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0032] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a control method of a target object in an embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0033] The transmission device 106 is used to receive or send data via a network. The specific example of the above network 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 (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] According to an embodiment of the present invention, an embodiment of a control method for a target object is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0035] In one embodiment of the present invention, the control method of the target object can be run on a terminal device or a server. The terminal device can be a local terminal device. When the control method of the target object is run on a server, the control method of the target object can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0036] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the control method of the target object are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the terminal device for information processing is a cloud game server in the 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, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0037] In an optional 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 to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0038] Figure 2 FIG. 1 is a flow chart of a method for controlling a target object according to an embodiment of the present invention. Figure 2 As shown, the method may include the following steps:
[0039] Step S202: displaying a first field of view image through a graphical user interface.
[0040] The above-mentioned graphical user interface refers to a computer operation user interface displayed in a graphical manner through a terminal device. The terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above.
[0041] The first field of view picture mentioned above is the field of view provided to the user by the game scene in the graphical user interface.
[0042] like Figure 3 In the application scenario of a football game, the first field of view may be a football scene with a wide viewing angle of the player, and it has not yet switched to a close-up viewing angle for defense. The first field of view may include multiple conventional controls for controlling the players, wherein the conventional controls included in the first field of view may be a replacement control, a pressure control, a tackle control, and a sprint control. The replacement control may be used to replace the player to be controlled. For example, the user may change to controlling player No. 2 by clicking the replacement control while controlling player No. 1; the pressure control may control the player to confront other players; the tackle control may control the player to steal the ball from other players with the ball; and the sprint control may control the player to sprint on the court. Figure 3 The leftmost control is the direction control, which is used to control the direction of the player in the first field of view. Furthermore, in order to control the player more accurately, you can click the close-up defense control in the upper right corner to switch to the close-up second field of view so as to control the player more accurately.
[0043] In order to perform precise defense, players can click on the close-up defense in the upper right corner. At this time, the first field of view can be switched to the second field of view, narrowing the player's field of view so that the player can accurately control the game character within the field of view.
[0044] In an optional embodiment, the graphical user interface may display a game interface of a football game, a rugby game, a baseball game, or the like that requires defense.
[0045] The first field of view picture mentioned above may be a telescopic picture of a football game scene, may be a telescopic picture of a rugby game scene, or may be a telescopic picture of a baseball game scene.
[0046] Step S204 , in response to a first touch operation on the graphical user interface, adjusting the first field of view image to a second field of view image.
[0047] The viewing angle range of the second field of view picture is smaller than the viewing angle range of the first field of view picture.
[0048] The above-mentioned first touch operation can be an operation of the player clicking a preset button in the graphical user interface, wherein the preset button can be a close-angle defense button. By clicking the close-angle defense button, the conversion of the field of view can be completed, which is conducive to the player to perform accurate defense in a close-angle view, thereby increasing the probability of defense.
[0049] In an optional 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 sliding operation performed by the player in the graphical user interface, or the first touch operation may also be a long press operation performed by the player at any position of the graphical user interface.
[0050] For example, the player can click a preset number of times continuously at any position in the first field of view of the graphical user interface to adjust the first field of view to the second field of view, and the player can also click a preset number of times at any position in the second field of view of the graphical user interface to adjust the second field of view to the first field of view. It should be noted that the actual operation method of clicking is not limited here.
[0051] For example, the player can slide rightward at any position in the first field of view of the graphical user interface, and the first field of view can be adjusted to the second field of view. The player can also slide leftward at any position in the second field of view of the graphical user interface, and the second field of view can be adjusted to the first field of view. It should be noted that the actual operation method of sliding is not limited here.
[0052] For example, the player can long press a preset time at any position in the first field of view of the graphical user interface, and the first field of view can be adjusted to the second field of view. The player can also long press a preset time at any position in the second field of view of the graphical user interface, and the second field of view can be adjusted to the first field of view. It should be noted that the actual operation method of long pressing is not limited here.
[0053] In another optional embodiment, in a football game scene, the second field of view may be a field of view from a third-person perspective from the side and rear of the defensive player.
[0054] Step S206 , in response to a second touch operation on a preset area in the second field of view, controlling the target object to perform a defensive operation.
[0055] like Figure 4As shown, the above-mentioned preset areas may include a direction control area, a confrontation control area, and a steal control area. The direction control area is used to control the defensive direction of the target object, the confrontation control area is used to control the confrontation action of the target object during the defense process, and the steal control area is used to control the steal action of the target object. When adjusting the first field of view to the second field of view, you can Figure 3 The leftmost control in is replaced by Figure 4 In the direction control area, you can Figure 3 The pressure control in is replaced by Figure 4 In the confrontation control area, you can Figure 3 The tackle controls in the Figure 4 The steal control area in the game allows users to perform more precise defense.
[0056] In an optional embodiment, a preset control may be set in the preset area, and the player may perform a second touch operation by clicking the preset control to control the target object to perform a defensive operation. The player may also draw a defensive operation track in the preset area, so as to generate a defensive action according to the defensive operation track, and control the target object to perform the defensive action to achieve the defensive operation.
[0057] In another optional embodiment, the target object may be a defensive player in a football game scene. In the second field of view, the player may control the defensive player to perform a defensive operation by performing a second touch operation in a preset area.
[0058] Optionally, the preset area includes: a direction control area, and the second touch operation includes at least one of the following: a direction touch operation, in response to the second touch operation of the preset area in the second field of view, controlling the target object to perform a defensive operation, including: in response to the direction touch operation of the direction control area in the second field of view, controlling the defensive direction of the target object.
[0059] The above-mentioned direction control area is used to control the defense direction of the target object.
[0060] The above directional touch operations can be achieved through the joystick controls in the directional control area, such as Figure 4 As shown, the player can control the direction by moving the remote control in the remote control control.
[0061] In an optional embodiment, in the second field of view, the player can control the moving direction or the defensive direction of the target object through the remote sensing control in the direction control area. For example, in a football game scene, the player can control the moving direction and the defensive direction of the defensive player through the remote sensing control in the direction control area.
[0062] In another optional embodiment, after adjusting the first field of view to the second field of view, the joystick control in the direction control area is also used to operate the moving direction of the target object in the first field of view to achieve the effect of delayed operation. Since the adjustment of the field of view will cause the operation direction of the target object to change, the delayed operation can give the user a certain amount of time to adjust the operation direction, thereby avoiding incorrect operation due to the user's difficulty in adjusting the operation direction in time due to the field of view adjusting too quickly.
[0063] Optionally, the preset area also includes: a confrontation control area, and the second touch operation includes at least one of the following: a confrontation touch operation, in response to the second touch operation of the preset area in the second field of view, controlling the target object to perform a defensive operation, including: in response to the confrontation touch operation of the confrontation control area in the second field of view, controlling the confrontation action of the target object.
[0064] The above-mentioned confrontation control area is used to control the confrontation direction of the target object.
[0065] The above-mentioned confrontation touch operation can be achieved by the player sliding, long pressing or clicking in the confrontation control area.
[0066] In an optional embodiment, the target object may be controlled to perform different confrontation actions according to different confrontation touch operations performed by the player in the confrontation control area.
[0067] In another optional embodiment, when the confrontation touch operation is that the player clicks on the confrontation control area, the target object can be controlled to hit other objects strongly; exemplarily, in a football game scenario, when the player clicks on the confrontation control area, the defensive player can be controlled to hit other players strongly. When the confrontation touch operation is that the player long presses the confrontation control area, the target object can be controlled to continuously physically confront and entangle with other objects; exemplarily, in a football game scenario, when the player long presses the confrontation control area, the defensive player can be controlled to continuously physically confront and entangle with other players. When the confrontation touch operation is that the player draws a horizontal line in the confrontation control area and hooks it back, the target object can be controlled to turn around, block the body position and protect the ball; exemplarily, such as Figure 5 As shown, in a football game scenario, when the player draws a horizontal line in the confrontation control area and hooks back, the defensive player can be controlled to turn around, position himself and protect the ball.
[0068] Optionally, the preset area includes: a steal control area, and the second touch operation includes: a steal touch operation, in response to the second touch operation in the preset area in the second field of view, controlling the target object to perform a defensive operation, including: in response to the steal touch operation in the steal control area in the second field of view, controlling the steal action of the target object.
[0069] The above-mentioned steal control area is used to control the steal action of the target object.
[0070] The above-mentioned stealing touch operation can be achieved by the player sliding, long pressing or clicking in the stealing control area.
[0071] In an optional embodiment, the target object may be controlled to perform different stealing actions according to different stealing touch operations performed by the player in the stealing control area.
[0072] In another optional embodiment, when the steal touch operation is that the player clicks on the steal control area, the target object can be controlled to perform a small steal action; exemplarily, in a football game scenario, when the player clicks on the steal control area, the defensive player can be controlled to perform a small steal action. When the steal touch operation is that the player long presses on the steal control area, the target object can be controlled to perform a large tackle action; exemplarily, in a football game scenario, when the player long presses on the steal control area, the defensive player can be controlled to perform a large tackle action. When the steal touch operation is that the player draws a horizontal line in the steal control area and hooks back, the target object can be controlled to fall to the ground to block the ball's path and control the ball in front of the body; exemplarily, such as Figure 6 As shown, in a football game scene, when the player draws a horizontal line in the interception control area and hooks back, the defensive player can be controlled to fall to the ground to block the running path of the football and control the football in front of him.
[0073] Through the above steps, a first field of view picture can be displayed through a graphical user interface, and in response to a first touch operation of the graphical user interface, the first field of view picture can be adjusted to a second field of view picture, wherein the viewing angle range of the second field of view picture is smaller than the viewing angle range of the first field of view picture, and in response to a second touch operation of a preset area in the second field of view picture, the target object is controlled to perform a defensive operation, thereby achieving the purpose of accurately controlling the target object. It is easy to think that since the first field of view picture with a larger viewing angle range is adjusted to the second field of view picture with a smaller viewing angle range, operations that are difficult to accurately control in the first field of view picture can be accurately controlled in a field of view with a smaller viewing angle range by converting the field of view pictures, so as to control the target object for accurate defense, thereby improving the defense success rate of the target object, improving the player's gaming experience, and thus solving the technical problem of difficulty in accurately controlling game characters in related technologies.
[0074] Optionally, adjusting the first field of view picture to the second field of view picture includes: switching the first field of view picture to the second field of view picture; or displaying the second field of view picture in the first field of view picture.
[0075] In an optional embodiment, when the first touch operation of the graphical user interface is received, the entire first field of view screen may be directly switched to the second field of view screen, that is, the first field of view screen displayed by the graphical user interface is directly switched to the second field of view screen.
[0076] In another optional embodiment, the second field of view picture can be displayed in the first field of view picture in the form of picture-in-picture, that is, a second field of view picture of a preset size is displayed in the target area of the first field of view picture, wherein the display area of the second field of view picture is smaller than the display area of the first field of view picture.
[0077] It should be noted that the user can move the second field of view picture displayed in the first field of view picture by dragging or the like, and the user can also expand or reduce the display area of the second field of view picture displayed in the first field of view picture by dragging or the like.
[0078] Furthermore, when the second field of view is displayed in the first field of view in picture-in-picture form, the transparency of the second field of view can be increased so that the overall first field of view can be seen through the second field of view. The user can perform precise defense while keeping an eye on the overall situation, thereby improving the user's gaming experience.
[0079] It should be noted that the above transparency can be set according to user needs.
[0080] Optionally, adjusting the first field of view picture to the second field of view picture includes: adjusting a first viewing angle of the first field of view picture to a preset direction of the target object to generate a second viewing angle; and displaying the second field of view picture at the second viewing angle.
[0081] The preset direction of the target object may be the rear or the front of the target object.
[0082] The first viewing angle mentioned above may be a God's perspective. In the horizontal screen state, you can slide left and right to see the overall picture. The second viewing angle mentioned above is a personal perspective, wherein the virtual camera of the personal perspective can be bound directly behind the target object.
[0083] In an optional embodiment, the first viewing angle of the first field of view can be adjusted to directly behind the target object to generate a second viewing angle, and the second field of view can be displayed at the second viewing angle so that the user can defend against the target object when performing close-up defense, thereby improving the success rate of defending the target object.
[0084] like Figure 4As shown, the second viewing angle can be behind or directly behind the player. Adjusting from the first viewing angle of the first viewing angle to the second viewing angle of the second viewing angle can facilitate the user to see the player's defensive action more clearly, so as to accurately control the player's defensive action, thereby improving the success rate of defense. In actual operation, the horizontal screen God's perspective can be switched to a personal perspective of the virtual camera directly behind the defensive teammate.
[0085] Optionally, the second field of view includes a preset area.
[0086] In an optional embodiment, the first field of view picture may not display the above-mentioned preset area, and when the first field of view picture is adjusted to the second field of view picture, the preset area may be displayed in the second field of view picture.
[0087] Optionally, after adjusting the first field of view image to the second field of view image in response to the first touch operation of the graphical user interface, the method further includes: within a preset time period, the direction touch operation of the second field of view image is the direction touch operation of the first field of view image.
[0088] The above preset time can be adjusted according to needs.
[0089] In an optional embodiment, the preset time can be set to 0.5s. After the first field of view is adjusted to the second field of view, a 0.5s operation effect delay can be reserved to allow the target object to continue the moving direction of the first field of view. The player's directional touch operation within 0.5s of the field of view switch will not affect the target object's moving direction or defense direction in the first field of view. The directional touch operation after 0.5s will be targeted at the target object's moving direction or defense direction in the second field of view. The 0.5s here is only used as an example. Players can flexibly adjust the preset time according to their needs.
[0090] Optionally, in response to the antagonistic touch operation in the antagonistic control area in the second field of view screen, the antagonistic action of the target object is controlled, including: when the duration of the antagonistic touch operation reaches a first duration, the target object is controlled to use a first antagonistic action to resist; when the duration of the antagonistic touch operation reaches a second duration, the target object is controlled to use a second antagonistic action to resist, wherein the second antagonistic action is different from the first antagonistic action in antagonistic posture and antagonistic amplitude; in response to a third antagonistic action drawn by the manipulated object, the target object is controlled to use the third antagonistic action to resist.
[0091] The first duration mentioned above may be the duration of performing a click operation, and the second duration mentioned above may be the duration of performing a long press operation. The first duration and the second duration may be set according to the needs of the player.
[0092] The first confrontation action may be a violent collision with other objects, a single violent collision with other objects, continuous violent collisions with other objects, or other pre-set confrontation actions.
[0093] The second confrontation action mentioned above can be an action of continuous physical confrontation and entanglement with other objects, and the second confrontation action can also be other pre-set confrontation actions.
[0094] The third confrontation action may be a confrontation action drawn by the player according to the game situation. The control object may be a player.
[0095] In an optional embodiment, the player can perform different confrontation touch operations according to the defense requirements to achieve a precise defense effect and improve the player's gaming experience.
[0096] Optionally, responding to the third confrontation action drawn by the manipulated object includes: generating the third confrontation action in response to a confrontation trajectory drawn by the manipulated object in the confrontation control area.
[0097] In an optional embodiment, the player can draw in the confrontation control area, such as Figure 5 As shown, the player can draw a horizontal line in the confrontation control area and hook it back to the right to draw a confrontation trajectory. According to the confrontation trajectory, a corresponding confrontation action can be generated. The target object can complete the confrontation operation through the confrontation action to achieve the effect of confrontation defense.
[0098] Optionally, in response to a steal touch operation in a steal control area in the second field of view, the target object's steal action is controlled, including: when the duration of the steal touch operation reaches a third duration, controlling the target object to steal the ball using a first steal action; when the duration of the steal touch operation reaches a fourth duration, controlling the target object to steal the ball using a second steal action, wherein the first steal action and the second steal action have different steal postures and steal amplitudes; in response to a third steal action drawn by the controlled object, controlling the target object to steal the ball using the third steal action.
[0099] The third time length mentioned above may be the time length for executing a click operation, and the fourth time length mentioned above may be the time length for executing a long press operation. The third time length and the fourth time length may be set according to the needs of the player.
[0100] The first stealing action mentioned above may be a small stealing action, or may be other pre-set stealing actions.
[0101] The second stealing action mentioned above may be a stealing action with a larger amplitude than the first stealing action, and the second stealing action may also be other pre-set stealing actions.
[0102] The third confrontation action may be a stealing action drawn by the player according to the game situation. The control object may be a player.
[0103] In an optional embodiment, the player can perform different steal touch operations according to the defensive requirements to achieve accurate defensive effects and improve the player's gaming experience.
[0104] Optionally, responding to a third steal action drawn by the manipulation object includes: generating the third steal action in response to a steal trajectory drawn by the manipulation object in a steal control area.
[0105] In an optional embodiment, the player can draw in the steal ball control area, such as Figure 6 As shown, the player can draw a horizontal line in the steal control area and hook it back to the right to draw a steal trajectory. According to the steal trajectory, a corresponding steal action can be generated. The target object can complete the steal operation through the steal action to achieve the effect of steal defense.
[0106] Optionally, after controlling the target object to perform a defensive operation in response to a second touch operation on a preset area in the second field of view, the method also includes: determining whether the target object passes the ball; if the target object passes the ball, adjusting the second field of view to the first field of view; if the target object does not pass the ball, displaying a target control in the second field of view; and controlling the target object to pass the ball in response to a click operation of the manipulating object on the target control.
[0107] The target control mentioned above may be a pass control or a shoot control.
[0108] In an optional embodiment, after controlling the target object to perform a defensive operation, it can also be determined whether the target object passes the ball. If the target object passes the ball, it means that no defensive operation is required at this time. At this time, the second field of view screen can be adjusted back to the first field of view screen, so that the player can continue to control the target object in the normal game field of view. If the target object does not pass the ball, it means that another passing action is required at this time. A passing control or a shooting control can be displayed in the second field of view screen. The player can pass the ball by clicking the passing control or the shooting control. After the ball is passed, the second field of view screen is adjusted back to the first field of view screen to avoid confusion in the operation when the ball is transferred.
[0109] Optionally, the method further includes: in response to a third touch operation of the graphical user interface, adjusting the second field of view image to the first field of view image.
[0110] The third touch operation mentioned above may be clicking on the exit control, or performing a click operation or a long press operation on the upper right corner of the graphical user interface.
[0111] In an optional embodiment, an exit control may be provided in the graphical user interface, and when the player clicks on the exit control, the second field of view may be adjusted to the first field of view, so that the player may exit the defensive field of view at any time.
[0112] like Figure 7 As shown, an exit control can be set in the upper right corner. When the player needs to switch from the second field of view to the first field of view, the switch can be achieved by clicking the exit control.
[0113] Figure 8 is a schematic diagram of a control device for a target object according to an embodiment of the present invention. Figure 8 As shown, the device includes: a display module 802 , an adjustment module 804 , and a control module 806 .
[0114] Among them, the display module is used to display a first field of view picture through a graphical user interface; the adjustment module is used to adjust the first field of view picture to a second field of view picture in response to a first touch operation of the graphical user interface, wherein the viewing angle range of the second field of view picture is smaller than the viewing angle range of the first field of view picture; the control module controls the target object to perform a defensive operation in response to a second touch operation in a preset area in the second field of view picture; the second field of view picture includes a preset area, and the preset area includes at least one of the following: a direction control area, a confrontation control area, and a steal control area. The control module includes: a first control unit, which controls the defensive direction of the target object in response to a direction touch operation in the direction control area in the second field of view picture; a second control unit, which controls the confrontation action of the target object in response to a confrontation touch operation in the confrontation control area in the second field of view picture; and a third control unit, which controls the steal action of the target object in response to a steal touch operation in the steal control area in the second field of view picture.
[0115] Optionally, the adjustment module includes: a switching unit, configured to switch the first field of view picture to the second field of view picture; or a display unit, configured to display the second field of view picture in the first field of view picture.
[0116] Optionally, the adjustment module includes: an adjustment unit, used to adjust a first viewing angle of the first viewing angle to a preset direction of the target object to generate a second viewing angle; and a display unit, used to display the second viewing angle.
[0117] Optionally, the device further includes: a direction module, configured to convert the direction touch operation of the second visual field image into the direction touch operation of the first visual field image within a preset time period.
[0118] Optionally, the second control unit includes: a first control subunit, used to control the target object to use a first confrontation action to resist when the duration of the resisting touch operation reaches a first duration; a second control subunit, used to control the target object to use a second confrontation action to resist when the duration of the resisting touch operation reaches a second duration, wherein the confrontation posture and confrontation amplitude of the second confrontation action are different from those of the first confrontation action; and a third control subunit, in response to a third confrontation action drawn by the manipulated object, controls the target object to use a third confrontation action to resist.
[0119] Optionally, the third control subunit includes: a first drawing subunit, which generates a third confrontation action in response to a confrontation trajectory drawn by the manipulated object in the confrontation control area.
[0120] Optionally, the third control unit includes: a fourth control subunit, used to control the target object to steal the ball using a first steal action when the duration of the steal touch operation reaches a third duration; a fifth control subunit, used to control the target object to steal the ball using a second steal action when the duration of the steal touch operation reaches a fourth duration, wherein the first steal action and the second steal action have different steal postures and steal amplitudes; a sixth control subunit, in response to the third steal action drawn by the manipulation object, controls the target object to steal the ball using the third steal action.
[0121] Optionally, the sixth control subunit includes: a second drawing subunit, which generates a third stealing action in response to a stealing trajectory drawn by the manipulation object in the stealing control area.
[0122] Optionally, the method also includes: a judgment module, used to judge whether the target object passes the ball; the adjustment module is also used to adjust the second field of view picture to the first field of view picture when the target object passes the ball; the display module is also used to display the target control in the second field of view picture when the target object does not pass the ball; the control module is also used to control the target object to pass the ball in response to the control object clicking operation.
[0123] Optionally, the adjustment module is further configured to adjust the second field of view image to the first field of view image in response to a third touch operation of the graphical user interface.
[0124] An embodiment of the present invention further provides 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 device where the computer-readable storage medium is located is controlled to execute the control method of the target object of the embodiment of the present invention.
[0125] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0126] An embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the processor is used to run a program stored in the memory to execute the target object control method of the embodiment of the present invention.
[0127] Optionally, the electronic device 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.
[0128] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0129] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for controlling a target object, characterized in that: include: Displaying a first field of view image through a graphical user interface; In response to a first touch operation on the graphical user interface, adjusting the first field of view picture to a second field of view picture, wherein a viewing angle range of the second field of view picture is smaller than a viewing angle range of the first field of view picture; Wherein, adjusting the first field of view picture to the second field of view picture includes: switching the first field of view picture to the second field of view picture; or displaying the second field of view picture in the first field of view picture; In response to a second touch operation on a preset area in the second field of view, controlling the target object to perform a defensive operation; The second visual field screen includes a preset area, and the preset area includes at least one of the following: a direction control area, a confrontation control area, and a steal control area. In response to a second touch operation in the preset area in the second visual field screen, controlling the target object to perform a defensive operation includes: In response to a direction touch operation on the direction control area in the second field of view, controlling the defense direction of the target object; In response to the confrontation touch operation of the confrontation control area in the second field of view, controlling the confrontation action of the target object; In response to the steal touch operation in the steal control area in the second field of view, the steal action of the target object is controlled.
2. The method according to claim 1, characterized in that Adjusting the first field of view picture to the second field of view picture includes: Adjusting a first viewing angle of the first viewing angle of the first viewing image to a preset direction of the target object to generate a second viewing angle; The second viewing angle is used to display the second viewing angle.
3. The method according to claim 1, characterized in that: After adjusting the first field of view image to the second field of view image in response to the first touch operation of the graphical user interface, the method further includes: In a preset time period, the direction touch operation of the second visual field image is the direction touch operation of the first visual field image.
4. The method according to claim 1, characterized in that In response to the confrontation touch operation of the confrontation control area in the second field of view, controlling the confrontation action of the target object includes: When the duration of the resisting touch operation reaches a first duration, controlling the target object to resist using a first resisting action; When the duration of the confrontation touch operation reaches a second duration, controlling the target object to perform confrontation using a second confrontation action, wherein the second confrontation action is different from the first confrontation action in confrontation posture and confrontation amplitude; In response to the third confrontation action drawn by the manipulation object, the target object is controlled to perform confrontation using the third confrontation action.
5. The method according to claim 4, characterized in that In response to the third confrontation action drawn by the manipulated object, comprising: The third confrontation action is generated in response to a confrontation trajectory drawn by the manipulated object in the confrontation control area.
6. The method according to claim 5, characterized in that In response to the steal touch operation in the steal control area in the second field of view, controlling the steal action of the target object includes: When the duration of the steal touch operation reaches a third duration, controlling the target object to steal the ball using a first steal action; When the duration of the steal touch operation reaches a fourth duration, controlling the target object to steal the ball using a second steal action, wherein the first steal action and the second steal action have different steal postures and steal amplitudes; In response to the third stealing action drawn by the manipulation object, the target object is controlled to steal the ball using the third stealing action.
7. The method according to claim 6, characterized in that In response to a third stealing action drawn by the manipulation object, the method includes: In response to a steal trajectory drawn by the manipulation object in the steal control area, the third steal action is generated.
8. The method according to claim 7, characterized in that After controlling the target object to perform a defensive operation in response to a second touch operation on a preset area in the second field of view, the method further includes: Determining whether the target object passes the ball; When the target object passes the ball, adjusting the second field of view to the first field of view; If the target object does not pass the ball, displaying a target control in the second field of view; In response to a click operation of the control object on the target control, the target object is controlled to pass the ball.
9. The method according to claim 1, characterized in that: The method further comprises: In response to a third touch operation of the graphical user interface, the second field of view image is adjusted to the first field of view image.
10. A control device for a target object, characterized in that: include: A display module, used for displaying a first visual field image through a graphical user interface; an adjustment module, configured to adjust the first field of view picture to a second field of view picture in response to a first touch operation of the graphical user interface, wherein a viewing angle range of the second field of view picture is smaller than a viewing angle range of the first field of view picture; The adjustment module is further used to switch the first field of view picture to the second field of view picture; or display the second field of view picture in the first field of view picture; a control module, which controls the target object to perform a defensive operation in response to a second touch operation on a preset area in the second field of view; The control module includes: A first control unit controls a defense direction of the target object in response to a directional touch operation in the directional control area in the second field of view; a second control unit, in response to a confrontation touch operation in the confrontation control area in the second field of view, controlling a confrontation action of the target object; The third control unit controls a stealing action of the target object in response to a stealing touch operation in the stealing control area in the second field of view.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for controlling the target object according to any one of claims 1 to 9.
12. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is used to run a program stored in the memory, wherein the program executes the control method of the target object described in any one of claims 1 to 9 when running.
