CN116870472A - Game view angle switching method and device, computer equipment and storage medium - Google Patents

Game view angle switching method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN116870472A
CN116870472A CN202310968959.3A CN202310968959A CN116870472A CN 116870472 A CN116870472 A CN 116870472A CN 202310968959 A CN202310968959 A CN 202310968959A CN 116870472 A CN116870472 A CN 116870472A
Authority
CN
China
Prior art keywords
game
switching
user interface
graphical user
angle picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310968959.3A
Other languages
Chinese (zh)
Inventor
郑晓明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202310968959.3A priority Critical patent/CN116870472A/en
Publication of CN116870472A publication Critical patent/CN116870472A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • A63F13/525Changing parameters of virtual cameras

Landscapes

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

Abstract

The embodiment of the application discloses a game view angle switching method, a game view angle switching device, computer equipment and a computer readable storage medium. According to the scheme, the overlooking view angle and the third person viewing angle are arranged in the online ball game, when the game interface displays the overlooking view angle or the game scene picture under the third person viewing angle, if a preset game event is detected, the game scene picture of the game interface under the overlooking view angle is switched to the game scene picture under the third person viewing angle, or the game scene picture of the game interface under the third person viewing angle is switched to the game scene picture under the overlooking view angle, so that the real-time switching of the game view angle in the online ball game is realized, the game operation of a game player is facilitated, and the game experience of the player can be improved.

Description

Game view angle switching method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for switching game viewing angles, a computer device, and a computer readable storage medium.
Background
With the development of terminal devices and gaming industry, a large number of games with different themes are emerging to meet the needs of players. In some football games, a player may control a virtual player to play a football match.
In the related art, in the soccer game, a top view angle is generally set as a game view angle of a player, but a virtual player model display ratio in a game screen displayed by the top view angle is small, there is a certain difficulty in performing a fine operation of some soccer games by the player, and there is a certain tiredness in viewing the top view angle screen for a long time on the viewing of the player, thereby affecting the game experience of the player.
Disclosure of Invention
The embodiment of the application provides a game visual angle switching method, a game visual angle switching device, computer equipment and a computer readable storage medium, which can improve the game experience of a game player.
The embodiment of the application provides a game visual angle switching method, which comprises the following steps:
displaying a first visual angle picture comprising a target virtual player on the graphical user interface, wherein the target virtual player is a virtual player controlled by a current terminal, and the first visual angle picture is a picture acquired at a first position of the game scene through a virtual camera;
and if the preset game event is detected, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture, wherein the second visual angle picture is a picture acquired at a second position of the game scene through a virtual camera, and the first position and the second position are different.
Correspondingly, the embodiment of the application also provides a game visual angle switching device, which comprises:
the display unit is used for displaying a first visual angle picture comprising a target virtual player on the graphical user interface, wherein the target virtual player is a virtual player controlled by a current terminal, and the first visual angle picture is a picture acquired at a first position of the game scene through a virtual camera;
and the first switching unit is used for switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture if a preset game event is detected, wherein the second visual angle picture is a picture acquired at a second position of the game scene through a virtual camera, and the first position and the second position are different.
Correspondingly, the embodiment of the application also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the game view angle switching method provided by any one of the embodiments of the application.
Correspondingly, the embodiment of the application also provides a storage medium which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the game view switching method.
According to the embodiment of the application, the overlooking view angle and the third person viewing angle are arranged in the online ball game, when the game interface displays the overlooking view angle or the game scene picture under the third person viewing angle, if a preset game event is detected, the game scene picture displayed on the game interface under the overlooking view angle is switched to the game scene picture under the third person viewing angle, or the game scene picture displayed on the game interface under the third person viewing angle is switched to the game scene picture under the overlooking view angle, so that the real-time switching of the game view angle in the online ball game is realized, the game operation of a game player is facilitated, and the game experience of the player can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a game view angle switching system according to an embodiment of the present application.
Fig. 2 is a flow chart of a game view angle switching method according to an embodiment of the present application.
Fig. 3 is an application scenario schematic diagram of a game view angle switching method according to an embodiment of the present application.
Fig. 4 is an application scenario schematic diagram of another game view angle switching method according to an embodiment of the present application.
Fig. 5 is an application scenario schematic diagram of another game view angle switching method according to an embodiment of the present application.
Fig. 6 is a block diagram of a game view angle switching device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a game view angle switching method, a game view angle switching device, a computer readable storage medium and computer equipment. Specifically, the game view switching method of the embodiment of the application can be executed by a computer device, wherein the computer device can be a terminal or a server and other devices. The terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), and the like, and the terminal may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent platforms.
For example, when the game view switching method is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in a game screen. The terminal device is used for interacting with a user through a graphical user interface, for example, the terminal device downloads and installs a game application program and runs the game application program. The way in which the terminal device presents the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device, or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including game screens and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for running the game, generating the graphical user interface, responding to the operation instructions, and controlling the display of the graphical user interface on the touch display screen.
For example, when the game angle switching method is run on a server, it may be a cloud game. Cloud gaming refers to a game style based on cloud computing. In the running mode of the cloud game, a running main body of the game application program and a game picture presentation main body are separated, and the storage and the running of the game view angle switching method are completed on a cloud game server. The game image presentation is completed at a cloud game client, which is mainly used for receiving and sending game data and presenting game images, for example, the cloud game client may be a display device with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, etc., near a user side, but the terminal device for processing game data is a cloud game server in the cloud. When playing the game, the user operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the cloud game client through a network, and finally decodes the data through the cloud game client and outputs the game pictures.
Referring to fig. 1, fig. 1 is a schematic view of a game view angle switching system according to an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. A terminal is any device having computing hardware capable of supporting and executing a software product corresponding to a game. In addition, the terminal has one or more multi-touch-sensitive screens for sensing and obtaining inputs of a user through touch or slide operations performed at a plurality of points of the one or more touch-sensitive display screens. In addition, when the system includes a plurality of terminals, a plurality of servers, and a plurality of networks, different terminals may be connected to each other through different networks, through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, the different terminals 1000 may be connected to other terminals or to a server or the like using their own bluetooth network or hotspot network. For example, multiple users may be online through different terminals to connect and synchronize with each other through an appropriate network to support multiplayer games. In addition, the system may include multiple databases coupled to different servers and information related to the gaming environment may be continuously stored in the databases as different users play multiplayer games online.
The embodiment of the application provides a game view angle switching method which can be executed by a terminal or a server. The embodiment of the application is described by taking a game view angle switching method as an example executed by a terminal. The terminal comprises a touch display screen and a processor, wherein the touch display screen is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. When a user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instruction, and can also control the content of the opposite-end server by responding to the received operation instruction. For example, the user-generated operational instructions for the graphical user interface include instructions for launching the gaming application, and the processor is configured to launch the gaming application after receiving the user-provided instructions for launching the gaming application. Further, the processor is configured to render and draw a graphical user interface associated with the game on the touch-sensitive display screen. A touch display screen is a multi-touch-sensitive screen capable of sensing touch or slide operations performed simultaneously by a plurality of points on the screen. The user performs touch operation on the graphical user interface by using a finger, and when the graphical user interface detects the touch operation, the graphical user interface controls different virtual objects in the game to execute actions corresponding to the touch operation. For example, the game may be any one of a leisure game, an action game, a role playing game, a strategy game, a sports game, a educational game, and the like. Wherein the game may include a virtual scene of the game. Further, one or more virtual objects, such as virtual characters, controlled by a user (or player) may be included in the virtual scene of the game. In addition, one or more obstacles, such as rails, ravines, walls, etc., may also be included in the virtual scene of the game to limit movement of the virtual object, e.g., to limit movement of the one or more objects to a particular area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, provide virtual services, increase scores related to the player's performance, etc. In addition, the graphical user interface may also present one or more indicators to provide indication information to the player. For example, a game may include a player controlled virtual object and one or more other virtual objects (such as enemy characters). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects may be computer controlled, such as a robot using an Artificial Intelligence (AI) algorithm, implementing a human-machine engagement mode. For example, virtual objects possess various skills or capabilities that a game player uses to achieve a goal. For example, the virtual object may possess one or more weapons, props, tools, etc. that may be used to eliminate other objects from the game. Such skills or capabilities may be activated by the player of the game using one of a plurality of preset touch operations with the touch display screen of the terminal. The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a touch operation of the user.
It should be noted that, the schematic view of the game view angle switching system shown in fig. 1 is only an example, and the image processing system and the scene described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of the game view angle switching system and the appearance of a new service scene, the technical solution provided by the embodiments of the present application is equally applicable to similar technical problems.
Based on the above problems, embodiments of the present application provide a method, an apparatus, a computer device, and a computer readable storage medium for switching game viewing angles, which can improve the game experience of a game player. The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The embodiment of the application provides a game view angle switching method which can be executed by a terminal or a server, and the embodiment of the application is described by taking the game view angle switching method executed by the terminal as an example.
Referring to fig. 2, fig. 2 is a flow chart of a game view angle switching method according to an embodiment of the application. The specific flow of the game visual angle switching method can be as follows:
101. A first view screen including a target virtual player is displayed at a graphical user interface.
In the embodiment of the application, a graphical user interface is provided through the terminal equipment, the content displayed by the graphical user interface at least comprises part of game scenes of the target game, and the game scenes comprise at least one virtual player and a virtual sphere controlled by the virtual player.
The target game may be an online ball game, and the game scene may be a virtual court for playing ball games.
For example, the target game may be an online football game, and the game scene may be a virtual football field.
Wherein, the virtual player refers to a player character controlled by a game player to play a game in the virtual court. The virtual sphere is operated by a game player controlling a virtual player.
In some embodiments, virtual players in a game scene may be divided into at least two game camps, with game play occurring between different game camps.
For example, a game scenario may include a first game play and a second game play for play, where the first game play and the second game play may include the same number of virtual players, each of which may be controlled by a different game player who completes the game play by controlling the virtual players to operate the virtual ball to enter a ball.
The target virtual player can be a virtual player controlled by the current terminal, namely, the current game player controls the virtual player through the current terminal.
The first visual angle picture is a game scene picture currently observed by a current game player, the first visual angle picture can be a picture collected at a first position of the game scene through a virtual camera, and the first position can be determined according to the position of a target virtual player in the game scene, so that the target virtual player is included in the first visual angle picture, and the current player can conveniently control the target virtual player.
102. And if the preset game event is detected, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
In the embodiment of the application, a plurality of game view angles are designed for the game scene of the target game, the game view angles can be switched in the game process of the game player, and the game scenes under different game view angles are observed to assist the game player in better game operation.
In some embodiments, to facilitate game operations of the game player, the game view angle may be automatically switched according to real-time game information during the game, that is, according to motion information and position information of a target virtual player controlled by the current game player in a game scene, and motion information and position information of a virtual sphere in the game scene, so as to trigger switching of the game view angle.
The second view angle picture is a game scene picture after game view angle switching, the second view angle picture is a picture acquired by the virtual camera at a second position of the game scene, the second position can be determined according to the position of the target virtual player in the game scene, so that the target virtual player is included in the second view angle picture, and the first position and the second position are different.
In the embodiment of the application, the game view angle can comprise a overlook view angle and a third person view angle, wherein the overlook view angle is a game view angle far away from a target virtual player position in a game scene, the overlook view angle does not refer to a shooting view angle of a virtual camera vertical to a court plane, but refers to a virtual camera positioned at a court chairman position, an observer can overlook a large part of the whole court through a certain angle, and in the eyes of the observer, both teams attack from left to right or from right to left, namely, a main view angle in a television rebroadcasting process of a general football match, and the display proportion of the virtual player is smaller in a view angle picture under the overlook view angle; the third person is called a game view angle near the target virtual player position in the game scene, under the third person is called the view angle, the virtual camera is positioned behind the target virtual player, and is similar to the view angle in the third person is called shooting game, under the view angle, the display proportion of the virtual player is larger, the observation view angle of the player is basically the same as the observation view angle of the target virtual player, and the substitution sense is stronger than the overlooking view angle as if the player personally walks in a match.
In some embodiments, the first view angle picture may be a top view angle picture, the second view angle picture may be a third person view angle picture, and in order to satisfy the mutual switching between different game view angles, the step of switching the first view angle picture displayed by the graphical user interface to the second view angle picture if the preset game event is detected may include the following operations:
determining a first moving direction and a first moving type of the target virtual player according to the movement information of the target virtual player;
determining a first distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the first moving direction is the direction of the virtual goal facing the opponent game camp, the first moving type is a preset moving type, and the first distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
The first moving direction refers to the moving direction of the current target virtual player moving in the game scene, and the first moving type refers to the moving action of the current target virtual player in the game scene.
The first distance refers to a distance between a target virtual player and other virtual players in a game scene, and the other virtual players can be virtual players of a opponent game play.
Specifically, the position information of the virtual player in the opponent game camp is obtained, and the distance between the target virtual player and other virtual players is determined according to the position information of the target virtual player and the position information of the virtual player in the opponent game camp, so that the first distance is obtained.
At this time, the viewing angle switching condition may be a first condition that the target virtual player is in an attack state, and specifically may include: the moving direction of the target virtual player is the direction of the virtual goal facing the opponent game battle, the moving action of the target virtual player is a preset moving type, and the distance between the target virtual player and other virtual players is smaller than the preset distance. The preset movement type and the preset distance may be set according to an actual game situation, for example, the preset movement type may be running, and the preset distance may be 2 meters. That is, whether the current target virtual player is in an attack state is judged by the view angle switching condition, and if the current target virtual player is in the attack state, the overlooking view angle picture can be switched into a third person view angle picture.
In some embodiments, if there are multiple virtual players in the opponent game battle, when the distance between the target virtual player and the other virtual players is smaller than the preset distance, it may be required to determine whether the distance between the other virtual players closest to the target virtual player and the target virtual player is smaller than the preset distance.
For example, when the first moving direction is the direction of the virtual goal facing the opponent game camp, the first moving type is the preset moving type, and the first distance is smaller than the preset distance, it can be determined that the viewing angle switching condition is met, then the first viewing angle picture displayed by the graphical user interface can be switched to the second viewing angle picture, that is, the game scene picture under the overlooking viewing angle is switched to the game scene picture under the third person viewing angle, so that the current game player can conveniently and well observe the position relationship among the virtual players and the movement track of the virtual sphere, and game operation can be performed.
In some embodiments, when the first view angle picture is a top view angle picture, whether to trigger the view angle switching can be further determined according to the motion information and the position information of the virtual sphere in the game scene, so as to switch the top view angle picture to a third nominal view angle picture, and the step of switching the first view angle picture displayed by the graphical user interface to the second view angle picture if the preset game event is detected may include the following operations:
determining a second moving direction and a first moving speed of the virtual sphere according to the motion information of the virtual sphere;
Determining a second distance between the virtual sphere and a virtual goal of the opponent game play according to the position information of the virtual sphere;
and if the second moving direction is the direction of the virtual goal facing the opponent game camp, the first moving speed is larger than the preset moving speed, and the second distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
The second moving direction refers to the moving direction of the current virtual sphere moving in the game scene, and the first moving speed refers to the moving speed of the current virtual sphere moving in the game scene.
The second distance refers to the distance between the virtual sphere and a virtual goal of the opponent game camp.
At this time, the viewing angle switching condition may be a second condition that the target virtual player is in an attack state, and specifically may include: the moving direction of the virtual sphere is the direction facing the virtual goal of the opponent game camp, the moving speed of the virtual sphere is larger than the preset moving speed, and the distance between the virtual sphere and the virtual goal of the opponent game camp is smaller than the preset distance. The preset moving speed and the preset distance may be set according to an actual game situation, for example, the preset moving speed may be 2 meters per second, and the preset distance may be 2 meters. That is, whether the current target virtual player is in an attack state is judged by the view angle switching condition, and if the current target virtual player is in the attack state, the overlooking view angle picture can be switched into a third person view angle picture.
For example, when the second moving direction is the direction of the virtual goal facing the opponent game camp, the first moving speed is greater than the preset moving speed, and the second distance is smaller than the preset distance, it may be determined that the viewing angle switching condition is met, then the first viewing angle picture displayed by the graphical user interface may be switched to the second viewing angle picture, that is, the game scene picture under the overlooking viewing angle is switched to the game scene picture under the third person viewing angle, so that the current game player may conveniently and better observe the positional relationship between the virtual players and the movement track of the virtual sphere, so as to perform the game operation.
In some embodiments, the distance between the first location and the target virtual player may be smaller than the distance between the second location and the target virtual player, that is, the first view may be a third person view, and the second view may be a top view, so as to satisfy the mutual switching between different game views, and the step of switching the first view displayed by the gui to the second view if the preset game event is detected may include the following operations:
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
Determining a third movement direction and a second movement type of the target virtual player according to the movement information of the target virtual player;
determining a third distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the third moving direction is the direction of the virtual goal facing the game of the own party, the second moving type is a preset moving type, and the third distance is larger than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
The third moving direction refers to the moving direction of the current target virtual player moving in the game scene, and the second moving type refers to the moving action of the current target virtual player in the game scene.
The third distance refers to a distance between the target virtual player and other virtual players in the game scene, and the other virtual players can be virtual players of the opponent game play.
Specifically, the position information of the virtual player in the opponent game camp is obtained, and the distance between the target virtual player and other virtual players is determined according to the position information of the target virtual player and the position information of the virtual player in the opponent game camp, so that a third distance is obtained.
At this time, the viewing angle switching condition may be a first condition that the target virtual player is in a defending state, and specifically may include: the moving direction of the target virtual player is the direction of the virtual goal facing the own game, the moving action of the target virtual player is a preset moving type, and the distance between the target virtual player and other virtual players is larger than the preset distance. The preset movement type and the preset distance may be set according to an actual game situation, for example, the preset movement type may be running, and the preset distance may be 2 meters. That is, whether the current target virtual player is in a defending state is judged through the view angle switching condition, and if the current target virtual player is in the defending state, the third person can be called as a view angle picture to be switched into a overlook view angle picture.
In some embodiments, if there are multiple virtual players in the opponent game battle, if the distance between the target virtual player and the other virtual players is greater than the preset distance, it may be required to determine whether the distance between the other virtual players farthest from the target virtual player and the target virtual player is greater than the preset distance.
For example, when the third movement direction is the direction of the virtual goal facing the game camp of the own side, the second movement type is the preset movement type, and the first distance is greater than the preset distance, it may be determined that the viewing angle switching condition is met, and the first viewing angle picture displayed by the graphical user interface may be switched to the second viewing angle picture, that is, the game scene picture under the viewing angle called by the third person is switched to the game scene picture under the overlooking viewing angle, so that the current game player may conveniently and better observe the position and the attack route of the virtual player in the game camp of the other side, so as to perform the game operation.
In some embodiments, when the first view angle picture is a third person view angle picture, whether to trigger the view angle switching can be further determined according to the motion information and the position information of the virtual sphere in the game scene, so that the third person view angle is switched to the top view angle picture, and the step of switching the first view angle picture displayed by the graphical user interface to the second view angle picture if the preset game event is detected can include the following operations,
determining a fourth moving direction and a second moving speed of the virtual sphere according to the motion information of the virtual sphere;
determining a fourth distance between the virtual sphere and a virtual goal of the own game play according to the position information of the virtual sphere;
and if the fourth moving direction is the direction of the virtual goal facing the game of the own party, the second moving speed is larger than the preset moving speed, and the fourth distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
The fourth moving direction refers to the moving direction of the current virtual sphere moving in the game scene, and the second moving speed refers to the moving speed of the current virtual sphere moving in the game scene.
Wherein the fourth distance refers to the distance between the virtual sphere and the virtual goal of the own game play.
At this time, the viewing angle switching condition may be a second condition that the target virtual player is in a defending state, and specifically may include: the moving direction of the virtual sphere is the direction of the virtual goal of the host game camp, the moving speed of the virtual sphere is larger than the preset moving speed, and the distance between the virtual sphere and the virtual goal of the host game camp is smaller than the preset distance. The preset moving speed and the preset distance may be set according to an actual game situation, for example, the preset moving speed may be 2 meters per second, and the preset distance may be 2 meters. That is, whether the current target virtual player is in a defending state is judged through the view angle switching condition, and if the current target virtual player is in the defending state, the third person can be called as a view angle picture to be switched into a overlook view angle picture.
For example, when the fourth moving direction is the direction of the virtual goal facing the game camp of the own side, the second moving speed is the preset moving speed, and the fourth distance is smaller than the preset distance, it may be determined that the viewing angle switching condition is met, the first viewing angle picture displayed by the graphical user interface may be switched to the second viewing angle picture, that is, the game scene picture under the viewing angle called by the third person is switched to the game scene picture under the overlooking viewing angle, so that the current game player may conveniently and better observe the position and the attack route of the virtual player in the game camp of the other side, so as to perform the game operation.
In some embodiments, in order to facilitate game operation of the game player, the game view angle may be automatically switched according to operation information of the current game player, and if a preset game event is detected, the switching the first view angle picture displayed by the graphical user interface to the second view angle picture may include the following steps:
and responding to the game operation aiming at the target virtual player, and if the game operation meets the visual angle switching condition, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
Wherein, the game operation for the target virtual player refers to the game operation performed by the current game player on the graphical user interface for the target virtual player.
For example, referring to fig. 3, fig. 3 is a schematic application scenario diagram of a game view angle switching method according to an embodiment of the present application. In the graphical user interface shown in fig. 3, a game scene of the first view angle picture is displayed, wherein the game scene comprises a target virtual player controlled by a target current player and a virtual sphere, and the graphical user interface is further provided with an operation control which can be used for controlling the game operation of the target virtual player in the game scene by the current game player.
For example, the operation controls can include an attack control and a defending control, wherein the attack control is used for controlling a target virtual player to perform an attack operation in a game scene by a current game player; the defending control is used for controlling the target virtual player to defend in the game scene by the current game player.
In some embodiments, the distance between the first location and the target virtual player may be greater than the distance between the second location and the target virtual player, that is, the first view may be a top view, the second view may be a third person view, and in order to satisfy the mutual switching between different game views, the step of "responding to the game operation for the target virtual player, if the game operation satisfies the view switching condition, switching the first view displayed by the graphical user interface to the second view" may include the following operations:
acquiring a first operation type and a first operation duration of game operation;
and if the first operation type is attack operation and the first operation time period is longer than the preset time period, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
The first operation type refers to an operation type corresponding to an operation control controlled by a current game player. For example, the operation control controlled by the current game player can be an attack control, and the first operation type can be an attack operation; or the operation control controlled by the current game player can be a defending control, and the first operation type can be defending operation.
The operation duration refers to the duration of the current game player manipulating the operation control.
Specifically, if the game operation triggered by the current game player is an attack operation and the duration of the attack operation is longer than the preset duration (for example, 3 seconds), the first view angle picture displayed by the graphical user interface can be triggered to be switched to the second view angle picture, that is, the game scene picture in the overlooking view angle is switched to the game scene picture in the third person viewing angle, so that the current game player can conveniently and well observe the position relationship among the virtual players and the movement track of the virtual sphere, and the game operation is performed.
In some embodiments, the distance between the first location and the target virtual player may be smaller than the distance between the second location and the target virtual player, that is, the first view may be a third person view, and the second view may be a top view, in order to satisfy the mutual switching between different game views, the step of "in response to a game operation for the target virtual player, if the game operation satisfies the view switching condition, switching the first view displayed by the graphical user interface to the second view" may include the following operations:
Acquiring a second operation type and a second operation duration of the game operation;
and if the second operation type is the defending operation and the second operation time period is longer than the preset time period, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
The second operation type refers to an operation type corresponding to an operation control controlled by the current game player. For example, the operation control controlled by the current game player can be an attack control, and the second operation type can be an attack operation; or the operation control controlled by the current game player can be a defending control, and the second operation type can be defending operation.
The operation duration refers to the duration of the current game player manipulating the operation control.
Specifically, if the game operation triggered by the current game player is a defending operation, and the duration of the defending operation is longer than the preset duration (for example, 3 seconds), the first view angle picture displayed by the graphical user interface can be triggered to be switched to the second view angle picture, namely, the game scene picture under the third person's name view angle is switched to the game scene picture under the overlooking view angle, so that the current game player can conveniently and well observe the position relationship among the virtual players and the movement track of the virtual sphere, and the game operation is performed.
In some embodiments, in order to satisfy the game angle adjustment operation of different game players, if a preset game event is detected, the switching the first angle view screen displayed by the graphical user interface to the second angle view screen may include the following steps:
and switching the first view angle picture displayed by the graphical user interface to the second view angle picture in response to the view angle switching operation for the graphical user interface.
Specifically, when the touch operation of the current game player on the graphical user interface is detected, if the touch operation accords with the preset interactive operation, the first visual angle displayed on the graphical user interface can be switched to the second visual angle picture.
Wherein, the switching between different visual angles can set different preset interaction operations.
Specifically, when the first view angle picture is the top view angle picture, the preset interaction operation may be an operation of sliding the two fingers toward the edge of the terminal screen.
For example, referring to fig. 4, fig. 4 is a schematic application scenario diagram of another game view angle switching method according to an embodiment of the present application. On the upper side of the graphical user interface shown in fig. 4, a game scene picture under the top view angle is displayed, and when the current game player is detected to execute a first touch operation (that is, an operation of sliding the two fingers towards the edge of the terminal screen, or of course, an operation of sliding the two fingers towards the middle of the terminal screen, or other operations of sliding the two fingers up or down at the same time) on the graphical user interface, the game scene picture displayed under the third person name view angle can be switched on the graphical user interface. The third person calls that the display proportion of the target virtual player and the virtual sphere in the game scene picture under the visual angle is larger than the display proportion of the game scene picture under the overlooking visual angle.
Specifically, when the first view angle picture is a third person view angle picture, the preset interactive operation may be an operation of sliding the two fingers toward the middle of the terminal screen.
For example, referring to fig. 5, fig. 5 is a schematic application scenario diagram of another game view angle switching method according to an embodiment of the present application. On the upper side of the graphical user interface shown in fig. 5, a game scene picture under the third person viewing angle is displayed, and when the current game player is detected to execute a first touch operation (that is, an operation of sliding the two fingers toward the middle of the terminal screen, or of course, an operation of sliding the two fingers toward the edge of the terminal screen, or other operations of sliding the two fingers down or up simultaneously, etc.) on the graphical user interface, the game scene picture displayed under the overlooking viewing angle can be switched on the graphical user interface. The display proportion of the target virtual player and the virtual sphere in the game scene picture under the overlooking view angle is smaller than the display proportion of the game scene picture under the third person viewing angle.
The embodiment of the application discloses a game visual angle switching method, which comprises the following steps: displaying a first visual angle picture comprising a target virtual player on a graphical user interface, wherein the target virtual player is a virtual player controlled by a current terminal, and the first visual angle picture is a picture acquired at a first position of a game scene through a virtual camera; if the preset game event is detected, the first visual angle picture displayed by the graphical user interface is switched to a second visual angle picture, wherein the second visual angle picture is acquired at a second position of the game scene through the virtual camera, and the first position and the second position are different. Therefore, the real-time switching of different game visual angles in the game process is realized, the game operation of a player is facilitated, and the game experience of the game player in the target game can be improved.
In order to facilitate better implementation of the game view angle switching method provided by the embodiment of the application, the embodiment of the application also provides a game view angle switching device based on the game view angle switching method. The meaning of the nouns is the same as that in the above-mentioned game view angle switching method, and specific implementation details can be referred to the description in the embodiment of the method.
Referring to fig. 6, fig. 6 is a block diagram of a game view angle switching device according to an embodiment of the present application, where the device includes:
a display unit 301, configured to display, on the graphical user interface, a first view angle screen including a target virtual player, where the target virtual player is a virtual player controlled by a current terminal, and the first view angle screen is a screen collected at a first position of the game scene by a virtual camera;
and a first switching unit 302, configured to switch the first view angle picture displayed on the gui to a second view angle picture if a preset game event is detected, where the second view angle picture is a picture acquired at a second position of the game scene by the virtual camera, and the first position is different from the second position.
In some embodiments, the first switching unit 302 may include:
A first determining subunit, configured to determine a first movement direction and a first movement type of the target virtual player according to the movement information of the target virtual player;
a second determining subunit, configured to determine a first distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and the first switching subunit is used for switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture if the first moving direction is the direction of the virtual goal facing the opponent game battle, the first moving type is a preset moving type and the first distance is smaller than the preset distance.
In some embodiments, the first switching unit 302 may include:
a third determining subunit, configured to determine a second movement direction and a first movement speed of the virtual sphere according to the motion information of the virtual sphere;
a fourth determining subunit, configured to determine a second distance between the virtual sphere and a virtual goal of the opponent game camp according to the position information of the virtual sphere;
and the second switching subunit is used for switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture if the second moving direction is the direction of the virtual goal of the opponent game battle, the first moving speed is larger than the preset moving speed, and the second distance is smaller than the preset distance.
In some embodiments, the first switching unit 302 may include:
a fifth determining subunit, configured to determine a third movement direction and a second movement type of the target virtual player according to the movement information of the target virtual player;
a sixth determining subunit, configured to determine a third distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and the third switching subunit is used for switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture if the third moving direction is the direction of the virtual goal which faces to the own game camp, the second moving type is a preset moving type and the third distance is larger than the preset distance.
In some embodiments, the first switching unit 302 may include:
a seventh determining subunit, configured to determine a fourth movement direction and a second movement speed of the virtual sphere according to the movement information of the virtual sphere;
an eighth determining subunit, configured to determine a fourth distance between the virtual sphere and a virtual goal of the own game camp according to the position information of the virtual sphere;
And the fourth switching subunit is used for switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture if the fourth moving direction is the direction of the virtual goal of the own game camp, the second moving speed is larger than the preset moving speed and the fourth distance is smaller than the preset distance.
In some embodiments, the first switching unit may be configured to switch the first view angle screen displayed on the graphical user interface to a second view angle screen if the game operation satisfies a view angle switching condition in response to a game operation for the target virtual player.
In some embodiments, the first switching unit may include:
a first obtaining subunit, configured to obtain a first operation type and a first operation duration of the game operation;
and a fifth switching subunit, configured to switch the first view angle picture displayed by the graphical user interface to a second view angle picture if the first operation type is an attack operation and the first operation time period is longer than a preset time period.
In some embodiments, the first switching unit may include:
a second obtaining subunit, configured to obtain a second operation type and a second operation duration of the game operation;
And a sixth switching subunit, configured to switch the first view angle picture displayed by the graphical user interface to a second view angle picture if the second operation type is a defending operation and the second operation time period is longer than a preset time period.
In some embodiments, the first switching unit may be configured to switch the first view to a second view displayed on the graphical user interface in response to a view switching operation for the graphical user interface.
The embodiment of the application discloses a game view angle switching device, which is characterized in that a first view angle picture comprising a target virtual player is displayed on a graphical user interface through a display unit 301, wherein the target virtual player is a virtual player controlled by a current terminal, and the first view angle picture is a picture acquired at a first position of a game scene through a virtual camera; if the first switching unit 302 detects a preset game event, the first view angle picture displayed on the gui is switched to a second view angle picture, where the second view angle picture is a picture acquired at a second position of the game scene by the virtual camera, and the first position is different from the second position. Thus, the game experience of the game player can be improved.
Correspondingly, the embodiment of the application also provides computer equipment which can be a terminal. Fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 601 is a control center of the computer device 600, connects various parts of the entire computer device 600 using various interfaces and lines, and performs various functions of the computer device 600 and processes data by running or loading software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the computer device 600.
In an embodiment of the present application, the processor 601 in the computer device 600 loads instructions corresponding to the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 executes the application programs stored in the memory 602, thereby implementing various functions:
displaying a first visual angle picture comprising a target virtual player on a graphical user interface, wherein the target virtual player is a virtual player controlled by a current terminal, and the first visual angle picture is a picture acquired at a first position of a game scene through a virtual camera;
if the preset game event is detected, the first visual angle picture displayed by the graphical user interface is switched to a second visual angle picture, wherein the second visual angle picture is acquired at a second position of the game scene through the virtual camera, and the first position and the second position are different.
In some embodiments, the distance between the first location and the target virtual player is greater than the distance between the second location and the target virtual player;
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
determining a first moving direction and a first moving type of the target virtual player according to the movement information of the target virtual player;
Determining a first distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the first moving direction is the direction of the virtual goal facing the opponent game camp, the first moving type is a preset moving type, and the first distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
determining a second moving direction and a first moving speed of the virtual sphere according to the motion information of the virtual sphere;
determining a second distance between the virtual sphere and a virtual goal of the opponent game play according to the position information of the virtual sphere;
and if the second moving direction is the direction of the virtual goal facing the opponent game camp, the first moving speed is larger than the preset moving speed, and the second distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, the distance between the first location and the target virtual player is less than the distance between the second location and the target virtual player;
If the preset game event is detected, switching the first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
determining a third movement direction and a second movement type of the target virtual player according to the movement information of the target virtual player;
determining a third distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the third moving direction is the direction of the virtual goal facing the game of the own party, the second moving type is a preset moving type, and the third distance is larger than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
determining a fourth moving direction and a second moving speed of the virtual sphere according to the motion information of the virtual sphere;
determining a fourth distance between the virtual sphere and a virtual goal of the own game play according to the position information of the virtual sphere;
and if the fourth moving direction is the direction of the virtual goal facing the game of the own party, the second moving speed is larger than the preset moving speed, and the fourth distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
and responding to the game operation aiming at the target virtual player, and if the game operation meets the visual angle switching condition, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, the distance between the first location and the target virtual player is greater than the distance between the second location and the target virtual player;
responding to the game operation aiming at the target virtual player, if the game operation meets the view angle switching condition, switching a first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
acquiring a first operation type and a first operation duration of game operation;
and if the first operation type is attack operation and the first operation time period is longer than the preset time period, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
In some embodiments, the distance between the first location and the target virtual player is less than the distance between the second location and the target virtual player;
responding to the game operation aiming at the target virtual player, if the game operation meets the view angle switching condition, switching a first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
Acquiring a second operation type and a second operation duration of the game operation;
and if the second operation type is the defending operation and the second operation time period is longer than the preset time period, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
and switching the first view angle picture displayed by the graphical user interface to the second view angle picture in response to the view angle switching operation for the graphical user interface.
According to the scheme, the overlooking view angle and the third person viewing angle are arranged in the online ball game, when the game interface displays the overlooking view angle or the game scene image under the third person viewing angle, if a preset game event is detected, the game scene image displayed on the game interface under the overlooking view angle is switched to the game scene image under the third person viewing angle, or the game scene image displayed on the game interface under the third person viewing angle is switched to the game scene image under the overlooking view angle, so that the real-time switching of the game view angle in the online ball game is realized, the game operation of a game player is facilitated, and the game experience of the player can be improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 7, the computer device 600 further includes: a touch display 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607, respectively. Those skilled in the art will appreciate that the computer device structure shown in FIG. 7 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
The touch display 603 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display 603 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 601, and can receive and execute commands sent from the processor 601. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 601 to determine the type of touch event, and the processor 601 then provides a corresponding visual output on the display panel based on the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch display 603 may also implement an input function as part of the input unit 606.
The radio frequency circuit 604 may be configured to receive and transmit radio frequency signals to and from a network device or other computer device via wireless communication to and from the network device or other computer device.
The audio circuit 605 may be used to provide an audio interface between a user and a computer device through speakers, microphones, and so on. The audio circuit 605 may transmit the received electrical signal converted from audio data to a speaker, and convert the electrical signal into a sound signal for output by the speaker; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 605 and converted into audio data, which are processed by the audio data output processor 601 for transmission to, for example, another computer device via the radio frequency circuit 604, or which are output to the memory 602 for further processing. The audio circuit 605 may also include an ear bud jack to provide communication of the peripheral headphones with the computer device.
The input unit 606 may be used to receive entered numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), as well as to generate keyboard, mouse, joystick, optical, or trackball signal inputs associated with user settings and function control.
The power supply 607 is used to power the various components of the computer device 600. Alternatively, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 7, the computer device 600 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which will not be described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the foregoing, the computer device provided in this embodiment may display, on the graphical user interface, a first view angle screen including a target virtual player, where the target virtual player is a virtual player controlled by the current terminal, and the first view angle screen is a screen acquired at a first position of the game scene by the virtual camera; if the preset game event is detected, the first visual angle picture displayed by the graphical user interface is switched to a second visual angle picture, wherein the second visual angle picture is acquired at a second position of the game scene through the virtual camera, and the first position and the second position are different.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of computer programs that can be loaded by a processor to perform the steps in any of the game view switching methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
displaying a first visual angle picture comprising a target virtual player on a graphical user interface, wherein the target virtual player is a virtual player controlled by a current terminal, and the first visual angle picture is a picture acquired at a first position of a game scene through a virtual camera;
if the preset game event is detected, the first visual angle picture displayed by the graphical user interface is switched to a second visual angle picture, wherein the second visual angle picture is acquired at a second position of the game scene through the virtual camera, and the first position and the second position are different.
In some embodiments, the distance between the first location and the target virtual player is greater than the distance between the second location and the target virtual player;
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
determining a first moving direction and a first moving type of the target virtual player according to the movement information of the target virtual player;
determining a first distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the first moving direction is the direction of the virtual goal facing the opponent game camp, the first moving type is a preset moving type, and the first distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
determining a second moving direction and a first moving speed of the virtual sphere according to the motion information of the virtual sphere;
determining a second distance between the virtual sphere and a virtual goal of the opponent game play according to the position information of the virtual sphere;
And if the second moving direction is the direction of the virtual goal facing the opponent game camp, the first moving speed is larger than the preset moving speed, and the second distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, the distance between the first location and the target virtual player is less than the distance between the second location and the target virtual player;
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
determining a third movement direction and a second movement type of the target virtual player according to the movement information of the target virtual player;
determining a third distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the third moving direction is the direction of the virtual goal facing the game of the own party, the second moving type is a preset moving type, and the third distance is larger than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
Determining a fourth moving direction and a second moving speed of the virtual sphere according to the motion information of the virtual sphere;
determining a fourth distance between the virtual sphere and a virtual goal of the own game play according to the position information of the virtual sphere;
and if the fourth moving direction is the direction of the virtual goal facing the game of the own party, the second moving speed is larger than the preset moving speed, and the fourth distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
and responding to the game operation aiming at the target virtual player, and if the game operation meets the visual angle switching condition, switching the first visual angle picture displayed by the graphical user interface into the second visual angle picture.
In some embodiments, the distance between the first location and the target virtual player is greater than the distance between the second location and the target virtual player;
responding to the game operation aiming at the target virtual player, if the game operation meets the view angle switching condition, switching a first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
Acquiring a first operation type and a first operation duration of game operation;
and if the first operation type is attack operation and the first operation time period is longer than the preset time period, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
In some embodiments, the distance between the first location and the target virtual player is less than the distance between the second location and the target virtual player;
responding to the game operation aiming at the target virtual player, if the game operation meets the view angle switching condition, switching a first view angle picture displayed by the graphical user interface into a second view angle picture, wherein the method comprises the following steps:
acquiring a second operation type and a second operation duration of the game operation;
and if the second operation type is the defending operation and the second operation time period is longer than the preset time period, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
In some embodiments, if a preset game event is detected, switching the first view angle screen displayed on the graphical user interface to the second view angle screen includes:
and switching the first view angle picture displayed by the graphical user interface to the second view angle picture in response to the view angle switching operation for the graphical user interface.
According to the scheme, the overlooking view angle and the third person viewing angle are arranged in the online ball game, when the game interface displays the overlooking view angle or the game scene image under the third person viewing angle, if a preset game event is detected, the game scene image displayed on the game interface under the overlooking view angle is switched to the game scene image under the third person viewing angle, or the game scene image displayed on the game interface under the third person viewing angle is switched to the game scene image under the overlooking view angle, so that the real-time switching of the game view angle in the online ball game is realized, the game operation of a game player is facilitated, and the game experience of the player can be improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the computer readable storage medium can execute the steps in any one of the game view angle switching methods provided by the embodiments of the present application, the beneficial effects that any one of the game view angle switching methods provided by the embodiments of the present application can achieve can be achieved, which are detailed in the previous embodiments and are not described herein.
The above describes in detail a game view angle switching method, apparatus, computer readable storage medium and computer device provided by the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the above description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (12)

1. A game view angle switching method, characterized in that a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface at least comprises a part of game scenes, wherein the game scenes comprise at least one virtual player and a virtual sphere controlled by the virtual player, and the method comprises:
displaying a first visual angle picture comprising a target virtual player on the graphical user interface, wherein the target virtual player is a virtual player controlled by a current terminal, and the first visual angle picture is a picture acquired at a first position of the game scene through a virtual camera;
And if the preset game event is detected, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture, wherein the second visual angle picture is a picture acquired at a second position of the game scene through a virtual camera, and the first position and the second position are different.
2. The method of claim 1, wherein a distance between the first location and the target virtual player is greater than a distance between the second location and the target virtual player;
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface to a second view angle picture, including:
determining a first moving direction and a first moving type of the target virtual player according to the movement information of the target virtual player;
determining a first distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the first moving direction is the direction of the virtual goal facing the opponent game camp, the first moving type is a preset moving type, and the first distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
3. The method of claim 1, wherein a distance between the first location and the target virtual player is greater than a distance between the second location and the target virtual player;
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface to a second view angle picture, including:
determining a second moving direction and a first moving speed of the virtual sphere according to the motion information of the virtual sphere;
determining a second distance between the virtual sphere and a virtual goal of the opponent game play according to the position information of the virtual sphere;
and if the second moving direction is the direction of the virtual goal facing the opponent game camp, the first moving speed is larger than the preset moving speed, and the second distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
4. The method of claim 1, wherein a distance between the first location and the target virtual player is less than a distance between the second location and the target virtual player;
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface to a second view angle picture, including:
Determining a third movement direction and a second movement type of the target virtual player according to the movement information of the target virtual player;
determining a third distance between the target virtual player and other virtual players in the game scene according to the position information of the target virtual player;
and if the third moving direction is the direction of the virtual goal facing the game of the own side, the second moving type is a preset moving type, and the third distance is larger than the preset distance, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
5. The method of claim 1, wherein a distance between the first location and the target virtual player is less than a distance between the second location and the target virtual player;
if the preset game event is detected, switching the first view angle picture displayed by the graphical user interface to a second view angle picture, including:
determining a fourth moving direction and a second moving speed of the virtual sphere according to the motion information of the virtual sphere;
determining a fourth distance between the virtual sphere and a virtual goal of the own game play according to the position information of the virtual sphere;
And if the fourth moving direction is the direction of the virtual goal of the own game, the second moving speed is larger than the preset moving speed, and the fourth distance is smaller than the preset distance, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
6. The method of claim 1, wherein switching the first view of the graphical user interface display to a second view if a preset game event is detected, comprises:
and responding to the game operation aiming at the target virtual player, and if the game operation meets the visual angle switching condition, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
7. The method of claim 6, wherein a distance between the first location and the target virtual player is greater than a distance between the second location and the target virtual player;
the responding to the game operation aiming at the target virtual player, if the game operation meets the visual angle switching condition, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture, comprising:
Acquiring a first operation type and a first operation duration of the game operation;
and if the first operation type is attack operation and the first operation time is longer than a preset time, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
8. The method of claim 6, wherein a distance between the first location and the target virtual player is less than a distance between the second location and the target virtual player;
the responding to the game operation aiming at the target virtual player, if the game operation meets the visual angle switching condition, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture, comprising:
acquiring a second operation type and a second operation duration of the game operation;
and if the second operation type is a defending operation and the second operation time is longer than a preset time, switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture.
9. The method of claim 1, wherein switching the first view of the graphical user interface display to a second view if a preset game event is detected, comprises:
And switching the first view angle picture displayed by the graphical user interface to a second view angle picture in response to a view angle switching operation for the graphical user interface.
10. A game view angle switching apparatus, characterized in that a graphical user interface is provided by a terminal device, the content displayed by the graphical user interface at least includes a part of game scenes, the game scenes include at least one virtual player, and a virtual sphere controlled by the virtual player, the apparatus comprising:
the display unit is used for displaying a first visual angle picture comprising a target virtual player on the graphical user interface, wherein the target virtual player is a virtual player controlled by a current terminal, and the first visual angle picture is a picture acquired at a first position of the game scene through a virtual camera;
and the first switching unit is used for switching the first visual angle picture displayed by the graphical user interface into a second visual angle picture if a preset game event is detected, wherein the second visual angle picture is a picture acquired at a second position of the game scene through a virtual camera, and the first position and the second position are different.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the game view switching method of any of claims 1 to 9 when the program is executed.
12. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the game perspective switching method of any one of claims 1 to 9.
CN202310968959.3A 2023-08-02 2023-08-02 Game view angle switching method and device, computer equipment and storage medium Pending CN116870472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310968959.3A CN116870472A (en) 2023-08-02 2023-08-02 Game view angle switching method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310968959.3A CN116870472A (en) 2023-08-02 2023-08-02 Game view angle switching method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116870472A true CN116870472A (en) 2023-10-13

Family

ID=88269871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310968959.3A Pending CN116870472A (en) 2023-08-02 2023-08-02 Game view angle switching method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116870472A (en)

Similar Documents

Publication Publication Date Title
CN113101652A (en) Information display method and device, computer equipment and storage medium
CN113398590B (en) Sound processing method, device, computer equipment and storage medium
CN113082688B (en) Method and device for controlling virtual character in game, storage medium and equipment
CN113426124B (en) Display control method and device in game, storage medium and computer equipment
CN113398566A (en) Game display control method and device, storage medium and computer equipment
CN113332721B (en) Game control method, game control device, computer equipment and storage medium
CN115225926B (en) Game live broadcast picture processing method, device, computer equipment and storage medium
CN115999153A (en) Virtual character control method and device, storage medium and terminal equipment
CN114225412A (en) Information processing method, information processing device, computer equipment and storage medium
CN116139483A (en) Game function control method, game function control device, storage medium and computer equipment
CN116870472A (en) Game view angle switching method and device, computer equipment and storage medium
CN113398564B (en) Virtual character control method, device, storage medium and computer equipment
CN117654028A (en) Game display control method and device, computer equipment and storage medium
CN116351059A (en) Non-player character control method, device, computer equipment and storage medium
CN118253086A (en) Game control method, game control device, computer equipment and storage medium
CN116999835A (en) Game control method, game control device, computer equipment and storage medium
CN116850594A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN116920392A (en) Game information prompting method, device, computer equipment and storage medium
CN118161853A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN118179012A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN116328301A (en) Information prompting method, device, computer equipment and storage medium
CN116139484A (en) Game function control method, game function control device, storage medium and computer equipment
CN116943169A (en) Game command method, game command device, computer equipment and storage medium
CN116999825A (en) Game control method, game control device, computer equipment and storage medium
CN118001724A (en) Game view angle switching method and device, computer equipment and storage medium

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