Game display control method, device, terminal equipment and storage medium
By using virtual cameras and display style adjustment technology in ball games, the problem of difficult position tracking during ball passing is solved, and the player's decision-making accuracy and gaming experience are improved.
Patent Information
- Application Number
- CN202211033047.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-26
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2042-08-26
AI Technical Summary
In ball games, the sphere flies fast during long passes, making it difficult for players to accurately grasp the position information of the sphere, which in turn affects decision-making and game experience.
By providing a graphical user interface on the terminal device, the virtual scene is captured using the virtual camera, the virtual camera is associated with the virtual sphere position, the camera movement is controlled according to the change in the sphere position, and its display style is adjusted to highlight the position in the sphere delivery state.
Effectively assist players in positioning the position information of the ball during the passing process, reducing decision-making errors caused by the loss of the ball target, and improving the player's gaming experience.
Smart Images

Figure CN115400428B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game technology, and in particular to a game display control method, device, terminal equipment and storage medium. Background Art
[0002] In existing ball games (such as football games), there are many long passes. In some long pass situations, the football flies at a fast speed, which makes it impossible for players to accurately grasp the position information of the football during the process, thereby causing players to lose their targets. In addition, since players cannot judge the movement trend and landing point of the football, it is not conducive to players' subsequent decision-making and affects the players' gaming experience. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a game display control method, device, terminal equipment and storage medium, which can better assist players in locating the position information of the ball during the passing process, thereby effectively reducing the decision-making errors caused by the player losing the ball target, and thus effectively improving the player's gaming experience.
[0004] In a first aspect, an embodiment of the present invention provides a display control method for a game, wherein a graphical user interface is provided through a terminal, and content displayed by the graphical user interface includes a game screen of at least a portion of a virtual scene captured by a virtual camera, and the virtual scene includes multiple virtual characters and a virtual sphere. The method comprises: associating the virtual camera with the position of the virtual sphere in the virtual scene to control the movement of the virtual camera according to the position change of the virtual sphere; in response to the virtual sphere being held by any of the virtual characters, controlling the virtual sphere to be displayed in a first style; in response to the virtual sphere being passed by any of the virtual characters, controlling the virtual sphere to be displayed in a second style, wherein the second style is a display style that is more prominent than the first style; determining the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and displaying the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface.
[0005] In one embodiment, in response to the virtual sphere being in a state of being transferred by any of the virtual characters, the step of controlling the virtual sphere to be displayed in a second style includes: in response to the virtual sphere being in a state of being transferred by any of the virtual characters, determining a transfer path of the virtual sphere; determining a second style corresponding to the virtual sphere according to the transfer path, and controlling the virtual sphere to be displayed in the second style.
[0006] In one embodiment, the second style is related to the display size of the virtual sphere, and the step of determining the second style corresponding to the virtual sphere according to the transfer path includes: determining the maximum display size corresponding to the virtual sphere according to the transfer path; and determining the display size of the virtual sphere along the transfer path based on the initial display size and the maximum display size of the virtual sphere.
[0007] In one embodiment, the step of determining the display size of the virtual sphere along the transfer path based on the initial display size and the maximum display size of the virtual sphere includes: dividing the transfer path into a first sub-path and a second sub-path; controlling the display size of the virtual sphere along the first sub-path to transition from the initial display size to the maximum display size; and controlling the display size of the virtual sphere along the second sub-path to transition from the maximum display size to the initial display size.
[0008] In one embodiment, the first subpath is a path between a starting point and a target point in the transfer path, and the second subpath is a path between the target point and an end point in the transfer path; wherein the target point is an intermediate point in the transfer path or a point corresponding to a maximum arc in the transfer path.
[0009] In one embodiment, the first style is related to the display size of the virtual sphere, and the step of controlling the virtual sphere to be displayed in the first style in response to the virtual sphere being held by any of the virtual characters includes: in response to the virtual sphere being held by any of the virtual characters, controlling the display size of the virtual sphere to remain at the initial display size.
[0010] In one embodiment, the method further includes: if the virtual sphere contacts the virtual character passing the ball, or the virtual sphere contacts the virtual character receiving the ball, determining in response that the virtual sphere is in a state of being held by any of the virtual characters.
[0011] In a second aspect, an embodiment of the present invention further provides a display control device for a game, which provides a graphical user interface through a terminal, wherein the content displayed by the graphical user interface includes a game screen of at least a part of a virtual scene captured by a virtual camera, wherein the virtual scene includes multiple virtual characters and a virtual sphere, and the device includes: a camera control module, used to associate the virtual camera with the position of the virtual sphere in the virtual scene, so as to control the movement of the virtual camera according to the position change of the virtual sphere; a first sphere control module, used to control the virtual sphere to be displayed in a first style in response to the virtual sphere being held by any of the virtual characters; a second sphere control module, used to control the virtual sphere to be displayed in a second style in response to the virtual sphere being passed by any of the virtual characters, wherein the second style is a display style that is more prominent than the first style; a screen capture module, used to determine the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and display the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface.
[0012] In a third aspect, an embodiment of the present invention further provides a terminal device, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect.
[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.
[0014] The embodiment of the present invention provides a display control method, device, terminal device and storage medium of a game, wherein a graphical user interface is provided through a terminal, and the content displayed by the graphical user interface includes a game screen of at least part of a virtual scene captured by a virtual camera, wherein the virtual scene includes multiple virtual characters and a virtual sphere, and firstly the virtual camera is associated with the position of the virtual sphere in the virtual scene to control the movement of the virtual camera according to the position change of the virtual sphere, and then in response to the virtual sphere being held by any virtual character, the virtual sphere is controlled to be displayed in a first style, or in response to the virtual sphere being passed by any virtual character, the virtual sphere is controlled to be displayed in a second style, and the second style is a display style that is more prominent than the first style, so as to determine the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and display the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface. The above method can control the virtual sphere to be displayed in different styles according to the different states of the virtual sphere when performing a passing action, and can better assist the player in locating the position information of the sphere during the passing process, thereby effectively reducing the decision-making errors caused by the player losing the sphere target, and thus effectively improving the player's game experience.
[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flowchart of a game display control method provided by an embodiment of the present invention;
[0019] Figure 2 A schematic flow chart of another game display control method provided by an embodiment of the present invention;
[0020] Figure 3 A schematic diagram of a graphical user interface provided by an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of the structure of a game display control device provided by an embodiment of the present invention;
[0022] Figure 5 A schematic diagram of the structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] At present, existing ball games have problems such as high cost of finding the ball during long passes and many scenarios in which players make wrong decisions due to losing the ball target, resulting in poor gaming experience for players. Based on this, the present invention implements a game display control method, device, terminal device and storage medium, which can better assist players in locating the position information of the ball during the passing process, thereby effectively reducing the players' decision-making errors caused by losing the ball target, and further effectively improving the players' gaming experience.
[0025] In one embodiment of the present disclosure, the display control method of the game can be run on a local terminal device or a server. When the display control method of the game is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0026] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game method based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the display method of the information in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0027] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0028] In a possible implementation, an embodiment of the present disclosure provides a game display control method, which provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.
[0029] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0030] To facilitate understanding of this embodiment, a display control method for a game disclosed in an embodiment of the present invention is first described in detail. A graphical user interface is provided through a terminal. The content displayed by the graphical user interface includes a game screen of at least a portion of a virtual scene captured by a virtual camera. The virtual scene includes multiple virtual characters and a virtual sphere. The virtual sphere may include a virtual football, a virtual basketball, etc. Figure 1 The flowchart of a method for controlling the display of a game is shown in FIG. 1 , and the method mainly includes the following steps S102 to S108:
[0031] Step S102, associating the virtual camera with the position of the virtual sphere in the virtual scene, so as to control the movement of the virtual camera according to the position change of the virtual sphere. The virtual camera is used to capture at least part of the game screen of the virtual scene, and the game screen at least includes the virtual sphere. In one embodiment, by associating the virtual camera with the position of the virtual sphere in the virtual scene, the virtual camera can move with the movement of the virtual sphere, so that the movement of the virtual sphere in the virtual scene can be displayed through a graphical user interface.
[0032] Step S104, in response to the virtual sphere being held by any virtual character, the virtual sphere is controlled to be displayed in a first style. The first style may be a regular style, such as controlling the virtual sphere to be displayed in a regular display size (also referred to as an initial display size), or controlling the virtual sphere to be displayed in a manner without adding a specified special effect. Exemplarily, if the virtual sphere is in contact with any virtual character, it is determined that the virtual sphere is held by any virtual character, and the virtual sphere is controlled to be displayed in a regular display size.
[0033] Step S106, in response to the virtual sphere being in a state of being passed by any virtual character, the virtual sphere is controlled to be displayed in a second style. The second style is a display style that is more prominent than the first style, such as controlling the virtual sphere to be displayed in a display size different from the conventional display size, or controlling the virtual sphere to be displayed in a manner of adding a specified special effect (e.g., highlight). Exemplarily, when the virtual sphere is in the process of passing the ball, such as flying in the air (i.e., passing flight state) or moving on the ground (i.e., ground straight pass), that is, when the virtual sphere has a certain moving speed, it can be determined that the virtual sphere is in a state of being passed by any virtual character. At this time, the virtual sphere will be controlled to be displayed in a display size different from the conventional display size, or displayed in a manner of adding a specified special effect.
[0034] Step S108, according to the position of the virtual sphere in the virtual scene, determine the current position of the virtual camera, and display the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface. In one embodiment, since the virtual camera is pre-associated with the position of the virtual sphere in the virtual scene, the current position of the virtual camera will move with the position of the virtual sphere in the virtual scene, so as to capture the game screen of the virtual sphere moving in the virtual scene through the virtual camera, and display the game screen captured by the virtual camera through the graphical user interface.
[0035] The display control method of the game provided by the embodiment of the present invention can control the display of the virtual sphere in different styles according to the different states of the virtual sphere when executing a passing action, which can better assist the player in locating the position information of the sphere during the passing process, thereby effectively reducing the decision-making errors caused by the player losing the sphere target, and thus effectively improving the player's gaming experience.
[0036] In practical applications, the state of the virtual sphere may include a ball holding state (i.e., a state held by any of the virtual characters), a transfer flight state (i.e., a state transferred by any of the virtual characters), and a transfer end state. In an optional implementation, it can be determined whether the virtual sphere collides with the passing virtual character, the receiving virtual character, or the virtual scene based on the transfer path of the virtual sphere. For example, if the virtual sphere contacts the passing virtual character, it is determined that the virtual sphere is in a ball holding state; if the virtual sphere flies far away due to a kicking action and does not contact the passing virtual character, the receiving virtual character, or the virtual scene, it is determined that the virtual sphere is in a transfer flight state; if the virtual sphere hits the receiving virtual character or the virtual scene, it is determined that the virtual sphere is in a transfer end state.
[0037] For ease of understanding, the embodiments of the present invention respectively propose implementation methods for identifying the ball holding state, the passing flight state, and the passing end state, as shown in the following methods 1 to 2:
[0038] Method 1, for the transfer flight state: if the virtual sphere is not in contact with the passing virtual object, it is determined that the virtual sphere is in the transfer flight state. For example, taking a virtual football as an example, when a passing action is performed on the virtual football, the virtual football will fly far away due to the kick. During this process, the virtual football moves in the air space of the virtual scene, so it is not in contact with the passing virtual character, the receiving virtual character and the virtual scene. Therefore, the current moving state of the virtual sphere is determined to be the transfer flight state.
[0039] Considering that when the pass distance is short, the cost for the player to find the virtual sphere is low, it may be possible to accurately and quickly find the position information of the virtual sphere in the virtual scene without adjusting the display size of the virtual sphere. Therefore, an optional implementation is provided, specifically:
[0040] (1) If the virtual sphere is not in contact with the virtual character passing the ball, and the distance between the virtual character receiving the ball and the virtual character passing the ball is greater than a preset distance threshold, it is determined that the virtual sphere is in a transfer flight state, and the transfer flight state is responded to. In one embodiment, the first coordinate of the virtual character passing the ball in the virtual scene and the second coordinate of the virtual character receiving the ball in the virtual scene can be obtained, and the distance between the first coordinate and the second coordinate is calculated. If the distance is greater than the distance threshold, it is determined that the virtual sphere is in a transfer flight state. On the contrary, if the distance is less than the distance threshold, it indicates that the passing distance is short, and the display size of the virtual sphere may not be adjusted at this time.
[0041] (2) If the virtual sphere is not in contact with the passing virtual character, and the distance between the impact point of the virtual sphere in the virtual scene and the passing virtual character is greater than a preset distance threshold, it is determined that the virtual sphere is in a passing flight state. In one embodiment, the impact point of the virtual sphere in the virtual scene and its third coordinate can be determined according to the passing path, and the distance between the first coordinate and the third coordinate can be calculated. If the distance is greater than the distance threshold, it is determined that the virtual sphere is in a passing flight state. On the contrary, if the distance is less than the distance threshold, it indicates that the passing distance is short, and the display size of the virtual sphere may not be adjusted at this time.
[0042] On the basis of the above-mentioned embodiment, the embodiment of the present invention further provides an implementation of the above-mentioned step S106, which can respond to the virtual sphere being in a state of being passed by any virtual character, determine the transfer path of the virtual sphere, determine the second style corresponding to the virtual sphere according to the transfer path, and control the virtual sphere to be displayed in the second style. Optionally, the second style is related to the display size of the virtual sphere. On this basis, when executing the step of determining the second style corresponding to the virtual sphere according to the transfer path, the transfer time of the virtual sphere can be calculated according to the transfer path, and the maximum display size corresponding to the virtual sphere can be determined according to the transfer time, and then based on the initial display size and maximum display size of the virtual sphere, the display size of the virtual sphere along the transfer path is transferred. Specifically, the maximum display size is positively correlated with the transfer time. In one embodiment, the flight time of the virtual sphere in the virtual scene can be estimated according to the length of the above-mentioned transfer path and the speed of the virtual sphere. The flight time is also the transfer time of the transfer flight state. The maximum display size is positively correlated with the transfer time, that is, the longer the pass distance, the longer the transfer time, which will lead to a larger maximum display size. Optionally, a mapping relationship between display size and transfer duration may be pre-configured to find the maximum display size corresponding to the transfer duration according to the mapping relationship, or a size estimation model may be established, the input of the size estimation model being the transfer duration and the output being the maximum display size.
[0043] Furthermore, the embodiment of the present invention also provides an implementation method for adjusting the display size of the virtual sphere along the transfer path based on the initial display size and the maximum display size of the virtual sphere, see the following steps a to b:
[0044] Step a, dividing the transfer path into a first sub-path and a second sub-path. The first sub-path is a path between a starting point and a target point in the transfer path, and the second sub-path is a path between a target point and an end point in the transfer path. The target point is a middle point in the transfer path or a point corresponding to a maximum arc in the transfer path. In one embodiment, the highest point in the transfer path can be selected as the middle point. Exemplarily, in a preset virtual coordinate system, the Z coordinates of each path point in the transfer path are determined, and the path point with the largest Z value is selected as the middle point in the order of Z coordinates from high to low.
[0045] Step b, controlling the display size of the virtual sphere along the first subpath to transition from the initial display size to the maximum display size; and controlling the display size of the virtual sphere along the second subpath to transition from the maximum display size to the initial display size. In practical applications, for the first subpath, the display size of the virtual sphere will change from small to large, and optionally, the display size corresponding to each path point in the first subpath can be determined, and the size will gradually increase from the initial display size to the maximum display size, so that the virtual sphere displayed by the graphical user interface smoothly transitions from the initial display size to the maximum display size; similarly, for the second subpath, the display size of the virtual sphere will change from large to small, and optionally, the display size corresponding to each path point in the second subpath can be determined, and the size will gradually decrease from the maximum display size to the initial display size, so that the virtual sphere displayed by the graphical user interface smoothly transitions from the maximum display size to the initial display size.
[0046] Method 2, for the ball holding state and / or the end of passing state: if the virtual sphere contacts the passing virtual character, or the virtual sphere contacts the receiving virtual character, the ball holding state is determined to be in response; if the virtual sphere contacts the virtual scene, the end of passing state is determined to be in response. For example, taking a virtual football as an example, before the virtual football flies far away due to a kick, the virtual football will contact the passing virtual character, at which time it can be determined that the virtual sphere is in the state of the virtual character being passed the ball. Similarly, when the passing flight state ends, the virtual football contacts the receiving virtual character, then it is determined that the virtual football is in the state of the virtual character being received; and when the virtual football lands, the virtual football will contact the virtual scene, at which time it can be determined that the virtual sphere is in the end of passing state.
[0047] In another embodiment, the embodiment of the present invention provides a specific implementation method for determining whether the virtual sphere is in a holding state or a transfer end state: (1) If the virtual sphere contacts the passing virtual character, it is determined that the virtual sphere is in a holding state. It can be understood that in order to transfer the virtual sphere, the passing virtual character must contact the virtual sphere to kick the virtual sphere and make it fly away. Therefore, when the virtual sphere contacts the passing virtual character and the passing virtual character performs a kicking action, it is determined that the virtual sphere is in a holding state. (2) If the virtual sphere contacts the receiving virtual character and the virtual scene, it is determined that the virtual sphere is in a transfer end state. In actual applications, when the virtual sphere lands on the virtual scene, the virtual sphere contacts the virtual scene, and the current travel state can be determined to be a transfer end state; or when the receiving virtual character catches the virtual sphere, the receiving virtual character will also contact the virtual sphere, and the current travel state can also be determined to be a transfer end state. In this case, the transfer end state can also be called a holding state.
[0048] On the basis of the above-mentioned embodiments, the embodiments of the present invention further provide an implementation method for controlling the virtual sphere to be displayed in a first style in response to the virtual sphere being held by any virtual character. The first style may also be related to the display size of the virtual sphere. Specifically, if the virtual sphere is in a ball holding state or a transfer end state, the display size of the virtual sphere is controlled to remain at the initial display size. In practical applications, in the ball holding state, the display size of the virtual sphere is set to the initial display size; in the transfer end state, the display size of the virtual sphere is restored to the initial display size.
[0049] To facilitate understanding of the above embodiments, the present invention takes virtual football as an example to provide an application example of a display control method for a game, see Figure 2 FIG. 1 is a flow chart of another method for controlling the display of a game, the method mainly comprising the following steps S202 to S208:
[0050] Step S202, identifying the current moving state of the virtual football. For example, assuming that virtual character A performs a passing action on the virtual football and passes the virtual football to virtual character B, the current moving state of the virtual football is identified based on the contact state between the virtual football and virtual character A and virtual character B. The current moving state includes the ball holding state, the passing flight state and the passing end state.
[0051] Step S204, when the virtual football is in a holding state, setting the display size of the virtual football to an initial display size. For example, assuming that the virtual character A performs a passing action on the virtual football, the virtual character A will come into contact with the virtual football, determine that the virtual football is in a holding state, and display the virtual football in the graphical user interface according to the initial display size.
[0052] Step S206: When the virtual football is in the transfer flight state, the display size of the virtual football is set to an enlarged version. The enlarged version is the display size (including at least the maximum display size) in the transfer path except the initial display size. Figure 3 A schematic diagram of a graphical user interface is shown in FIG. Figure 3 It is illustrated that as the flight time of the virtual football increases, the current size of the virtual football will gradually increase from the initial display size to the maximum display size, and then gradually decrease from the maximum display size to the initial display size.
[0053] Step S208: when the virtual football is in the transfer completion state, the display size of the virtual football is restored to the initial display size.
[0054] In summary, the game display control method provided by the embodiment of the present invention reduces the cost of finding the football during a long pass through innovative means, thereby effectively reducing the number of decision-making errors caused by players losing the football target, thereby significantly improving the player's gaming experience.
[0055] For the game display control method provided in the above embodiment, the embodiment of the present invention provides a game display control device, which provides a graphical user interface through a terminal, and the content displayed by the graphical user interface includes a game screen of at least a part of a virtual scene captured by a virtual camera, and the virtual scene includes multiple virtual characters and a virtual sphere, see Figure 4 The structure diagram of a display control device of a game shown in FIG. 1 mainly includes the following parts:
[0056] A camera control module 402, used to associate the virtual camera with the position of the virtual sphere in the virtual scene, so as to control the movement of the virtual camera according to the position change of the virtual sphere;
[0057] The first sphere control module 404 is used to control the virtual sphere to be displayed in a first style in response to the virtual sphere being held by any virtual character;
[0058] The second sphere control module 406 is used to control the virtual sphere to be displayed in a second style in response to the virtual sphere being in a state of being transferred by any virtual character, wherein the second style is a display style that is more prominent than the first style;
[0059] The screen capture module 408 is used to determine the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and display the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface.
[0060] The display control device of the game provided by the embodiment of the present invention can control the display of the virtual sphere in different styles according to the different states of the virtual sphere when executing a passing action, and can better assist the player in locating the position information of the sphere during the passing process, thereby effectively reducing the decision-making errors caused by the player losing the sphere target, thereby effectively improving the player's gaming experience.
[0061] In one embodiment, the second sphere control module 406 is further used to: in response to the virtual sphere being transferred by any virtual character, determine the transfer path of the virtual sphere; determine the second style corresponding to the virtual sphere according to the transfer path, and control the virtual sphere to be displayed in the second style.
[0062] In one embodiment, the second style includes the display size of the virtual sphere, and the second sphere control module 406 is further used to: determine the maximum display size corresponding to the virtual sphere according to the transfer path; based on the initial display size and the maximum display size of the virtual sphere, determine the display size of the virtual sphere along the transfer path.
[0063] In one embodiment, the second sphere control module 406 is also used to: divide the transfer path into a first sub-path and a second sub-path; control the display size of the virtual sphere along the first sub-path to transition from an initial display size to a maximum display size; and control the display size of the virtual sphere along the second sub-path to transition from a maximum display size to an initial display size.
[0064] In one embodiment, the first subpath is a path between a starting point and a target point in the transfer path, and the second subpath is a path between a target point and an end point in the transfer path; wherein the target point is an intermediate point in the transfer path or a point corresponding to a maximum arc in the transfer path.
[0065] In one embodiment, the first style includes the display size of the virtual sphere, and the first sphere control module 404 is further used to: in response to the virtual sphere being held by any virtual character, control the display size of the virtual sphere to remain at the initial display size.
[0066] In one embodiment, the first ball control module 404 is further configured to: if the virtual ball contacts the passing virtual character, or the virtual ball contacts the receiving virtual character, determine that the virtual ball is held by any virtual character.
[0067] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0068] An embodiment of the present invention provides a terminal device. Specifically, the terminal device includes a processor and a storage device. The storage device stores a computer program, and the computer program executes when the processor runs:
[0069] A display control method for a game, providing a graphical user interface through a terminal, wherein the content displayed by the graphical user interface includes a game screen of at least a part of a virtual scene captured by a virtual camera, wherein the virtual scene includes multiple virtual characters and a virtual sphere, and the method comprises: associating the virtual camera with the position of the virtual sphere in the virtual scene to control the movement of the virtual camera according to the position change of the virtual sphere; in response to the virtual sphere being held by any virtual character, controlling the virtual sphere to be displayed in a first style; in response to the virtual sphere being transferred by any virtual character, controlling the virtual sphere to be displayed in a second style, wherein the second style is a display style that is more prominent than the first style; determining the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and displaying the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface.
[0070] In one embodiment, in response to the virtual sphere being in a state of being transferred by any virtual character, the step of controlling the virtual sphere to be displayed in a second style includes: in response to the virtual sphere being in a state of being transferred by any virtual character, determining the transfer path of the virtual sphere; determining the second style corresponding to the virtual sphere according to the transfer path, and controlling the virtual sphere to be displayed in the second style.
[0071] In one embodiment, the second style includes a display size of a virtual sphere, and the step of determining the second style corresponding to the virtual sphere according to the transmission path includes: determining the maximum display size corresponding to the virtual sphere according to the transmission path; and determining the display size of the virtual sphere along the transmission path based on the initial display size and the maximum display size of the virtual sphere.
[0072] In one embodiment, based on the initial display size and maximum display size of the virtual sphere, the step of determining the display size of the virtual sphere along the transfer path includes: dividing the transfer path into a first sub-path and a second sub-path; controlling the display size of the virtual sphere along the first sub-path to transition from the initial display size to the maximum display size; and controlling the display size of the virtual sphere along the second sub-path to transition from the maximum display size to the initial display size.
[0073] In one embodiment, the first subpath is a path between a starting point and a target point in the transfer path, and the second subpath is a path between a target point and an end point in the transfer path; wherein the target point is an intermediate point in the transfer path or a point corresponding to a maximum arc in the transfer path.
[0074] In one embodiment, the first style includes a display size of the virtual sphere, and in response to the virtual sphere being held by any virtual character, the step of controlling the virtual sphere to be displayed in the first style includes: in response to the virtual sphere being held by any virtual character, controlling the display size of the virtual sphere to remain at the initial display size.
[0075] In one embodiment, the method further includes: if the virtual sphere contacts the passing virtual character, or the virtual sphere contacts the receiving virtual character, determining that the response virtual sphere is in a state of being held by any virtual character.
[0076] The above-mentioned terminal device can control the virtual sphere to be displayed in different styles according to the different states of the virtual sphere when performing a passing action, which can better assist the player in locating the position information of the sphere during the passing process, thereby effectively reducing the player's decision-making errors caused by losing the ball target, and thus effectively improving the player's gaming experience.
[0077] Figure 5 A structural diagram of a terminal device provided for an embodiment of the present invention, the terminal device 100 includes: a processor 50, a memory 51, a bus 52 and a communication interface 53, the processor 50, the communication interface 53 and the memory 51 are connected via the bus 52; the processor 50 is used to execute an executable module stored in the memory 51, such as a computer program.
[0078] The memory 51 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0079] The bus 52 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0080] Among them, the memory 51 is used to store programs, and the processor 50 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any of the embodiments of the above-mentioned embodiments of the present invention can be applied to the processor 50 or implemented by the processor 50.
[0081] The processor 50 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 50. The above processor 50 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the above method in combination with its hardware.
[0082] The computer program product of a readable storage medium provided in an embodiment of the present invention includes a computer readable storage medium storing program code, and the instructions included in the program code can be used to execute:
[0083] A display control method for a game, providing a graphical user interface through a terminal, wherein the content displayed by the graphical user interface includes a game screen of at least a part of a virtual scene captured by a virtual camera, wherein the virtual scene includes multiple virtual characters and a virtual sphere, and the method comprises: associating the virtual camera with the position of the virtual sphere in the virtual scene to control the movement of the virtual camera according to the position change of the virtual sphere; in response to the virtual sphere being held by any virtual character, controlling the virtual sphere to be displayed in a first style; in response to the virtual sphere being transferred by any virtual character, controlling the virtual sphere to be displayed in a second style, wherein the second style is a display style that is more prominent than the first style; determining the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and displaying the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface.
[0084] In one embodiment, the second style includes a display size of a virtual sphere, and the step of determining the second style corresponding to the virtual sphere according to the transmission path includes: determining the maximum display size corresponding to the virtual sphere according to the transmission path; and determining the display size of the virtual sphere along the transmission path based on the initial display size and the maximum display size of the virtual sphere.
[0085] In one embodiment, based on the initial display size and maximum display size of the virtual sphere, the step of determining the display size of the virtual sphere along the transfer path includes: dividing the transfer path into a first sub-path and a second sub-path; controlling the display size of the virtual sphere along the first sub-path to transition from the initial display size to the maximum display size; and controlling the display size of the virtual sphere along the second sub-path to transition from the maximum display size to the initial display size.
[0086] In one embodiment, the first subpath is a path between a starting point and a target point in the transfer path, and the second subpath is a path between a target point and an end point in the transfer path; wherein the target point is an intermediate point in the transfer path or a point corresponding to a maximum arc in the transfer path.
[0087] In one embodiment, the first style includes a display size of the virtual sphere, and in response to the virtual sphere being held by any virtual character, the step of controlling the virtual sphere to be displayed in the first style includes: in response to the virtual sphere being held by any virtual character, controlling the display size of the virtual sphere to remain at the initial display size.
[0088] In one embodiment, the method further includes: if the virtual sphere contacts the passing virtual character, or the virtual sphere contacts the receiving virtual character, determining that the response virtual sphere is in a state of being held by any virtual character.
[0089] The above-mentioned computer-readable storage medium can control the virtual sphere to be displayed in different styles according to the different states of the virtual sphere when executing a passing action, which can better assist the player in locating the position information of the sphere during the passing process, thereby effectively reducing the player's decision-making errors caused by losing the ball target, thereby effectively improving the player's gaming experience.
[0090] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0091] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A game display control method, characterized in that: A graphical user interface is provided through a terminal, wherein the content displayed by the graphical user interface includes a game screen of at least a portion of a virtual scene captured by a virtual camera, wherein the virtual scene includes a plurality of virtual characters and a virtual sphere, and the method includes: Associating the virtual camera with the position of the virtual sphere in the virtual scene to control the movement of the virtual camera according to the position change of the virtual sphere; In response to the virtual sphere being held by any of the virtual characters, controlling the virtual sphere to be displayed in a first style; In response to the virtual sphere being in a state of being transferred by any of the virtual characters, controlling the virtual sphere to be displayed in a second style, wherein the second style is a display style that is more prominent than the first style; Determine the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and display a game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface; The step of controlling the virtual sphere to be displayed in a second style in response to the virtual sphere being in a state of being transferred by any of the virtual characters comprises: determining a transfer path of the virtual sphere in response to the virtual sphere being in a state of being transferred by any of the virtual characters; determining a second style corresponding to the virtual sphere according to the transfer path, and controlling the virtual sphere to be displayed in the second style; The second style includes a display size of the virtual sphere, and the step of determining the second style corresponding to the virtual sphere according to the transfer path includes: determining the maximum display size corresponding to the virtual sphere according to the transfer path; determining the display size of the virtual sphere along the transfer path based on the initial display size of the virtual sphere and the maximum display size; The step of determining the display size of the virtual sphere along the transfer path based on the initial display size and the maximum display size of the virtual sphere includes: dividing the transfer path into a first sub-path and a second sub-path; controlling the display size of the virtual sphere along the first sub-path to transition from the initial display size to the maximum display size; and controlling the display size of the virtual sphere along the second sub-path to transition from the maximum display size to the initial display size.
2. The method according to claim 1, characterized in that The first subpath is a path between a starting point and a target point in the transfer path, and the second subpath is a path between the target point and an end point in the transfer path; wherein the target point is an intermediate point in the transfer path or a point corresponding to a maximum arc in the transfer path.
3. The method according to claim 1, characterized in that: The first style is related to the display size of the virtual sphere, and the step of controlling the virtual sphere to be displayed in the first style in response to the virtual sphere being held by any of the virtual characters comprises: In response to the virtual sphere being held by any of the virtual characters, the display size of the virtual sphere is controlled to remain at an initial display size.
4. The method according to claim 1, characterized in that The method further comprises: If the virtual sphere is in contact with the virtual character passing the ball, or the virtual sphere is in contact with the virtual character receiving the ball, it is determined in response that the virtual sphere is in a state of being held by any of the virtual characters.
5. A game display control device, characterized in that: A graphical user interface is provided through a terminal, wherein the content displayed by the graphical user interface includes a game screen of at least a part of a virtual scene captured by a virtual camera, wherein the virtual scene includes a plurality of virtual characters and a virtual sphere, and the device includes: A camera control module, used to associate the virtual camera with the position of the virtual sphere in the virtual scene, so as to control the movement of the virtual camera according to the position change of the virtual sphere; A first sphere control module, configured to control the virtual sphere to be displayed in a first style in response to the virtual sphere being held by any of the virtual characters; A second sphere control module, configured to control the virtual sphere to be displayed in a second style in response to the virtual sphere being in a state of being transferred by any of the virtual characters, wherein the second style is a display style that is more prominent than the first style; A screen capture module, used to determine the current position of the virtual camera according to the position of the virtual sphere in the virtual scene, and display the game screen of the virtual scene captured by the virtual camera at the current position in the graphical user interface; The second sphere control module is specifically used to: in response to the virtual sphere being in a state of being transferred by any of the virtual characters, determine the transfer path of the virtual sphere; determine the second style corresponding to the virtual sphere according to the transfer path, and control the virtual sphere to be displayed in the second style; The second sphere control module is specifically used to: determine the maximum display size corresponding to the virtual sphere according to the transfer path; determine the display size of the virtual sphere along the transfer path based on the initial display size of the virtual sphere and the maximum display size; The second sphere control module is specifically used to: divide the transfer path into a first sub-path and a second sub-path; control the display size of the virtual sphere along the first sub-path to transition from the initial display size to the maximum display size; and control the display size of the virtual sphere along the second sub-path to transition from the maximum display size to the initial display size.
6. A terminal device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Game device, game control program, and game control method
JP2011110258A