Game control method, device, terminal equipment and storage medium
By dividing and prioritizing the virtual courts, dynamically adjusting the display level of virtual controls, solving the problem of virtual controls accidentally touching in fast-paced football games, improving operation accuracy and user experience.
Patent Information
- Application Number
- CN202211226535.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-09-29
AI Technical Summary
In fast-paced football games, the display method of custom virtual controls can easily lead to mist touch, poor operation accuracy, and affect user experience.
By dividing the virtual court, multiple target areas are obtained, and the display priority of the virtual controls is determined based on the position and ball holding status of the controlled virtual player, and the display level of the virtual controls is dynamically adjusted to improve operational accuracy.
Improves the accuracy of users operating virtual controls, reduces the probability of accidentally touching, and improves user stickiness.
Smart Images

Figure CN115624750B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of terminal technology, and particularly relates to a game control method, apparatus, terminal device, and storage medium. Background Art
[0002] With the development of terminal technology, terminal devices can support more and more mobile games, and users' requirements for the mobile game experience are getting higher and higher.
[0003] Typically, users can customize the layout of virtual controls in a game scene. However, customized buttons often overlap. Currently, terminal devices mainly arrange buttons in a pre-set manner for users to select in the game scene.
[0004] However, in fast-paced football games, overlapping buttons are prone to accidental touches, causing users to enter incorrect commands and fail the game. For example, the user intended to click the virtual button to switch, but because the hand speed was too fast, the user clicked on the overlapping area of the switch and the pressure, and the terminal device responded to the overlapping area as a response to the pressed virtual button. Therefore, the current custom virtual control display method has poor operation accuracy. Summary of the Invention
[0005] The purpose of the embodiments of the present disclosure is to provide a game control method, apparatus, terminal device, and storage medium that can solve the problem of poor accuracy in the display operation of customized virtual controls.
[0006] In order to solve the above technical problems, the present disclosure is implemented as follows:
[0007] In a first aspect, an embodiment of the present disclosure provides a method for game control, wherein a graphical user interface is displayed through a terminal device, wherein the graphical user interface includes at least a portion of a game scene, wherein the game scene includes a virtual court, a virtual sphere, and a controlled virtual player. The method includes: dividing the virtual court to obtain multiple target areas; in response to the current position of the controlled virtual player in the virtual court falling into any target area of the multiple target areas, determining the display priority of the virtual control according to the target area into which the controlled virtual player falls; wherein the virtual control is used to trigger the controlled virtual player to perform a target action, and the display priority is used to determine the display level of the virtual control in the graphical user interface; based on the determined display priority of the virtual control, the virtual control is displayed in the graphical user interface.
[0008] Optionally, dividing the virtual court to obtain multiple target areas includes: determining the current ball holding state of the controlled virtual player; dividing the virtual court according to the current ball holding state of the controlled virtual player to obtain multiple first target areas, the target areas including the first target area.
[0009] Optionally, the virtual court is divided according to the current ball-holding status of the controlled virtual player to obtain multiple first target areas, including: determining a target division method according to whether the controlled virtual player is holding the ball or not holding the ball, wherein the target division methods corresponding to the ball-holding status being holding the ball and the ball-holding status being not holding the ball are different; and dividing the virtual court based on the determined target division method to obtain multiple first target areas.
[0010] Optionally, in response to the current position of the controlled virtual player in the virtual court falling into any target area of multiple target areas, the display priority of the virtual control is determined according to the target area where the controlled virtual player falls, including: in response to the current position of the controlled virtual player in the virtual court falling into any first target area of multiple first target areas, the display priority of the virtual control is determined according to the first target area where the controlled virtual player falls.
[0011] Optionally, the method also includes: dividing the virtual court to obtain multiple second target areas, the target area includes the second target area, and the second target area is different from the first target area; in response to the current position of the controlled virtual player in the virtual court falling into any target area of the multiple target areas, determining the display priority of the virtual control according to the target area where the controlled virtual player falls, including: in response to the current position of the controlled virtual player in the virtual court falling into any second target area, determining the display priority of the virtual control according to the second target area where the controlled virtual player falls; in response to the current position of the controlled virtual player in the virtual court falling into any first target area and not falling into any second target area, determining the display priority of the virtual control according to the first target area where the controlled virtual player falls.
[0012] Optionally, in response to the current position of the controlled virtual player in the virtual court falling into any second target area, the display priority of the virtual controls is determined according to the second target area where the controlled virtual player falls; in response to the current position of the controlled virtual player in the virtual court falling into any first target area and not falling into any second target area, the display priority of the virtual controls is determined according to the first target area where the controlled virtual player falls, including: judging whether the current position of the controlled virtual player in the virtual court falls into any second target area; in response to the current position of the controlled virtual player in the virtual court falling into any second target area, the display priority of the virtual controls is determined according to the second target area where the controlled virtual player falls; in response to the current position of the controlled virtual player in the virtual court not falling into any second target area, judging whether the current position of the controlled virtual player in the virtual court falls into any first target area; in response to the current position of the controlled virtual player in the virtual court falling into any first target area, the display priority of the virtual controls is determined according to the first target area where the controlled virtual player falls.
[0013] Optionally, according to whether the controlled virtual player is holding the ball or not holding the ball, a target division method is determined, including: when the controlled virtual player is holding the ball, determining the target division method to be a first division method, wherein the first division method is a method of dividing the virtual court according to the restricted area range; dividing the virtual court based on the determined target division method to obtain multiple first target areas, including: dividing the virtual court based on the first division method to obtain multiple first target areas, the first target area including the restricted area and the non-restricted area.
[0014] Optionally, the virtual controls include shooting controls; and the display priority of the virtual controls is determined according to the target area where the controlled virtual player falls, including: in response to the target area where the controlled virtual player falls being a penalty area, determining the display priority of the shooting controls to be the highest priority.
[0015] Optionally, the virtual control includes a pass control; and determining the display priority of the virtual control according to the target area where the controlled virtual player falls includes: in response to the target area where the controlled virtual player falls being a non-penalty area, determining the display priority of the pass control to be the highest priority.
[0016] Optionally, according to whether the controlled virtual player is holding the ball or not holding the ball, the target division method is determined, including: when the controlled virtual player is not holding the ball, determining the target division method to be the second division method, wherein the second division method is a method of dividing the virtual court according to the half-court range; dividing the virtual court based on the determined target division method to obtain multiple first target areas, including: dividing the virtual court based on the second division method to obtain multiple first target areas, the first target area includes a first half-court area and a second half-court area, wherein the first half-court area is the half-court area corresponding to the camp where the controlled virtual player is located, and the second half-court area is the half-court area corresponding to the opposing camp.
[0017] Optionally, the virtual control includes a tackle control; and the display priority of the virtual control is determined according to the target area where the controlled virtual player falls, including: in response to the target area where the controlled virtual player falls into the first half area, determining the display priority of the tackle control to be the first priority; in response to the target area where the controlled virtual player falls into the second half area, determining the display priority of the tackle control to be the second priority; wherein the second priority is higher than the first priority.
[0018] Optionally, the method also includes: dividing the virtual court to obtain multiple second target areas, the target area includes the second target area; in response to the current position of the controlled virtual player in the virtual court falling into any target area of the multiple target areas, determining the display priority of the virtual control according to the target area where the controlled virtual player falls, including: in response to the current position of the controlled virtual player in the virtual court falling into any second target area, determining the display priority of the virtual control according to the second target area where the controlled virtual player falls.
[0019] Optionally, in response to the current position of the controlled virtual player in the virtual court falling into any second target area, the display priority of the virtual control is determined according to the second target area where the controlled virtual player falls, including: in response to the current position of the controlled virtual player in the virtual court falling into any second target area, determining the current ball-holding status of the controlled virtual player; and determining the display priority of the virtual control according to the current ball-holding status of the controlled virtual player and the second target area where the controlled virtual player falls.
[0020] Optionally, dividing the virtual court to obtain a plurality of second target areas includes: dividing the virtual court to obtain a plurality of inverted triangle advantage areas, and using the inverted triangle advantage areas as the second target areas.
[0021] Optionally, the virtual control includes a through pass control or a passing control; the display priority of the virtual control is determined based on the current ball-holding status of the controlled virtual player and the second target area into which the controlled virtual player falls, including: when the current ball-holding status of the controlled virtual player is holding the ball, and the controlled virtual player falls into any inverted triangle advantage area, determining that the display priority of the through pass control or the passing control is the highest priority.
[0022] Optionally, the virtual controls include tackle controls; and the display priority of the virtual controls is determined based on the current ball-holding status of the controlled virtual player and the second target area into which the controlled virtual player falls, including: when the current ball-holding status of the controlled virtual player is not holding the ball, and the controlled virtual player falls into any inverted triangle advantage area, determining that the display priority of the tackle controls is the highest priority.
[0023] Optionally, dividing the virtual court to obtain a plurality of second target areas includes: dividing the virtual court to obtain a plurality of long-shot advantage areas, and using the long-shot advantage areas as the second target areas.
[0024] Optionally, the virtual controls include shooting controls; and the display priority of the virtual controls is determined based on the current ball-holding status of the controlled virtual player and the second target area into which the controlled virtual player falls, including: when the current ball-holding status of the controlled virtual player is holding the ball, and the controlled virtual player falls into any long-shot advantage area, determining that the display priority of the shooting controls is the highest priority.
[0025] Optionally, the virtual controls include tackle controls; and the display priority of the virtual controls is determined based on the current ball-holding status of the controlled virtual player and the second target area into which the controlled virtual player falls, including: when the current ball-holding status of the controlled virtual player is not holding the ball, and the controlled virtual player falls into any long-shot advantage area, determining that the display priority of the tackle controls is the highest priority.
[0026] Optionally, dividing the virtual court to obtain a plurality of second target areas includes: dividing the virtual court to obtain a plurality of areas where the player has an advantage in performing tricks on the opponent, and using the areas where the player has an advantage in performing tricks on the opponent as the second target areas.
[0027] Optionally, the virtual control includes a sprint control; and the display priority of the virtual control is determined based on the current ball-holding status of the controlled virtual player and the second target area into which the controlled virtual player falls, including: when the current ball-holding status of the controlled virtual player is holding the ball, and the controlled virtual player falls into any fancy advantage area, determining that the display priority of the sprint control is the highest priority.
[0028] Optionally, dividing the virtual court to obtain a plurality of target areas includes: responding to an instruction to obtain a display priority of a virtual control, dividing the virtual court to obtain a plurality of target areas.
[0029] Optionally, before responding to the instruction to obtain the display priority of the virtual control, the method further includes: if the display areas of at least two virtual controls overlap, obtaining the instruction to obtain the display priority of the virtual control.
[0030] In a second aspect, an embodiment of the present disclosure provides a game control device that displays a graphical user interface through a terminal device, wherein the graphical user interface includes at least part of a game scene, wherein the game scene includes a virtual court, a virtual sphere, and a controlled virtual player. The game control device includes: a division module, a determination module, and a display module; the division module is used to divide the virtual court to obtain multiple target areas; the determination module is used to respond to the current position of the controlled virtual player in the virtual court falling into any target area of the multiple target areas, and determine the display priority of the virtual control according to the target area where the controlled virtual player falls; wherein the virtual control is used to trigger the controlled virtual player to perform a target action, and the display priority is used to determine the display level of the virtual control in the graphical user interface; the display module is used to display the virtual control in the graphical user interface based on the determined display priority of the virtual control.
[0031] In a third aspect, an embodiment of the present disclosure provides a terminal device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the game control method as described in the first aspect.
[0032] In a fourth aspect, an embodiment of the present disclosure provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the game control method as described in the first aspect are implemented.
[0033] In a fifth aspect, an embodiment of the present disclosure provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the game control method as described in the first aspect.
[0034] In a sixth aspect, an embodiment of the present disclosure provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the steps of the game control method as described in the first aspect.
[0035] In an embodiment of the present disclosure, a graphical user interface is displayed by a terminal device, and the graphical user interface includes at least a portion of a game scene, and the game scene includes a virtual court, a virtual sphere, and a controlled virtual player; the terminal device can divide the virtual court to obtain multiple target areas; thereafter, the terminal device can respond to the current position of the controlled virtual player in the virtual court falling into any of the above-mentioned multiple target areas, and can determine the display priority of the virtual controls according to the target area where the controlled virtual player falls, and then display the virtual controls in the graphical user interface based on the determined display priority of the virtual controls; that is, the click priority of the virtual controls can be dynamically adjusted in real time according to the game scene, and can adapt to various different operation scenarios in various fast-paced, highly changeable ball games, thereby improving the accuracy of user operation of the virtual controls, reducing the probability of user accidental touches or actual operations not meeting user expectations due to the use of a fixed-level display method for the virtual controls, and improving user stickiness. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A flowchart of a game control method provided by an embodiment of the present disclosure;
[0037] Figure 2 A schematic diagram of a display interface of a football game provided in an embodiment of the present disclosure;
[0038] Figure 3 This is one of the schematic diagrams of area division in a football game scene provided by an embodiment of the present disclosure;
[0039] Figure 4 This is a second schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure;
[0040] Figure 5 This is a third schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure;
[0041] Figure 6 This is a fourth schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure;
[0042] Figure 7 This is a fifth schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure;
[0043] Figure 8 A possible structural diagram of a game control device provided by an embodiment of the present disclosure;
[0044] Figure 9 A possible structural diagram of a terminal device provided in an embodiment of the present disclosure;
[0045] Figure 10 A hardware diagram of a terminal device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0047] The terms "first", "second", etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects related to each other are in an "or" relationship.
[0048] The game control method provided by the embodiment of the present disclosure is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0049] In an embodiment of the present disclosure, a graphical user interface is displayed by a terminal device, and the graphical user interface includes at least a portion of a game scene, wherein the game scene includes a virtual court, a virtual sphere, and a controlled virtual player.
[0050] It can be understood that in the embodiment of the present disclosure, the user controls a virtual player in the virtual court at the same time, and at different times, the user can switch the controlled virtual player as needed.
[0051] For example, the ball game involved in the embodiments of the present disclosure may be a multiplayer ball game, such as football, basketball, ice hockey and the like.
[0052] Figure 1 A flowchart of a game control method provided by an embodiment of the present disclosure is shown in FIG. Figure 1 As shown in , the method includes the following S1 to S3:
[0053] S1. The terminal device divides the virtual court into multiple target areas.
[0054] Optionally, the multiple target areas obtained after dividing the virtual court may constitute the entire virtual court, or may constitute partial areas of the virtual court, which is not specifically limited in the embodiment of the present disclosure.
[0055] S2. In response to the current position of the controlled virtual player in the virtual court falling into any target area among the multiple target areas, the terminal device determines the display priority of the virtual control according to the target area where the controlled virtual player falls.
[0056] Among them, the virtual controls are used to trigger the controlled virtual players to perform target actions, and the display priority is used to determine the display level of the virtual controls in the graphical user interface.
[0057] It is understandable that the terminal device can determine whether the virtual player falls into each target area obtained after dividing the virtual court based on the coordinates of the current position of the virtual player in the virtual court.
[0058] It should be noted that the virtual controls involved in the embodiments of the present disclosure can be used to control a virtual player to perform skills or actions. In particular, a game scene may include multiple virtual controls, and the display areas of the multiple virtual controls, including some or all of the virtual controls, overlap.
[0059] For example, a game scene includes a first virtual control, a second virtual control, a third virtual control, and a fourth virtual control, wherein the display areas of the first virtual control and the second virtual control partially overlap, the display areas of the second virtual control and the third virtual control partially overlap, and the display areas of the third virtual control and the fourth virtual control partially overlap.
[0060] In the embodiment of the present disclosure, the display priority of a virtual control may indicate the level at which the virtual control is displayed in an overlay manner. A higher display priority indicates a higher display level, and a lower display priority indicates a lower display level. For ease of description, in the embodiment of the present disclosure, the topmost layer is referred to as the first layer, the first layer being higher than the second layer, and the second layer being higher than the third layer.
[0061] It should be noted that in the embodiment of the present disclosure, the terminal device can determine the display priority of each virtual control among the multiple virtual controls displayed, and can directly display each virtual control based on the display priority of each virtual control; the terminal device can also determine the display priority of some virtual controls among the multiple virtual controls. When the display priority of some virtual controls is determined, the display level of the some virtual controls relative to other virtual controls among the multiple virtual controls can be adjusted based on the display priority of the some virtual controls.
[0062] For example, taking the overlapping display of the first virtual control and the second virtual control as an example, the display priority of the first virtual control is priority 1, and the display priority of the second virtual control is priority 2. If priority 1 is higher than priority 2, the terminal device displays the first virtual control on the first layer and the second virtual control on the second layer, that is, the user sees that in the display interface, the overlapping area displays the content of the first virtual control, and the content of the second virtual control is not displayed; if priority 1 is lower than priority 2, the terminal device displays the second virtual control on the first layer and the first virtual control on the second layer, and in the display interface seen by the user, the overlapping area displays the content of the second virtual control, and the content of the first virtual control is not displayed.
[0063] For ease of explanation, a football game is used as an example in the embodiments of the present disclosure. For example, the virtual controls in the game scene of the football game can be used to trigger the virtual players to perform the following target actions: shooting, passing, through ball, sprinting, pressing, tackling, and switching.
[0064] Figure 2 A schematic diagram of a display interface of a football game provided by an embodiment of the present disclosure, such as Figure 2 As shown in (a) of FIG, the game scene includes four virtual controls, namely, a "tackle" control 21, a "pressure" control 22, a "switch" control 23, and a "sprint" control 24; among them, the display priority of the "tackle" control 21 is higher than the display priority of the "pressure" control 22, the display priority of the "pressure" control 22 is higher than the display priority of the "switch" control 23, and the display priority of the "switch" control 23 is higher than the display priority of the "sprint" control 23. That is, in the game scene displayed on the terminal device as seen by the user, the content of the "tackle" control 21 is displayed in the overlapping area of the "pressure" control 22 and the "switch" control 23, and the content of the "pressure" control 22 is displayed in the overlapping area of the "switch" control 23 and the "sprint" control 24.
[0065] It should be noted that in the disclosed embodiments, the terminal device can automatically change the content and number of virtual controls in the game scene based on the position of the virtual player controlled by the user. For example, in position 1, the virtual controls in the game scene may include controls 1, 2, 3, and 4; in position 2, the virtual controls in the game scene may include controls 1, 2, 5, and 6; and in position 3, the virtual controls in the game scene may include controls 3, 4, and 7.
[0066] It can be understood that in the embodiment of the present disclosure, the terminal device can adjust the display priority of some virtual controls in the virtual controls displayed in the game scene, or adjust the display priority of all virtual controls. The specific configuration can be based on actual needs, and the embodiment of the present disclosure does not make specific limitations on this.
[0067] S3. Based on the determined display priority of the virtual control, the terminal device displays the virtual control in the graphical user interface.
[0068] It can be understood that after the terminal device determines the display priority of each virtual control, the terminal device can timely adjust the display level of the virtual control in the game scene based on the determined display priority, thereby assisting the user to operate the required virtual controls in a timely manner during the game.
[0069] Continue to combine Figure 2 , assuming that the display priorities of the various virtual controls are determined in descending order: "Sprint" control 24, "Switch" control 23, "Pressure" control 22, "Tackle" control 21, then Figure 2 As shown in (b) of FIG, in the game scene displayed on the terminal device, the "Sprint" control 24 is displayed on the first layer, the "Switch" control 23 is displayed on the second layer, the "Pressure" control 22 is displayed on the third layer, and the "Tackle" control 21 is displayed on the fourth layer. The overlapping area of the "Sprint" control 24 and the "Switch" control 23 displays the content of the "Sprint" control 24, the overlapping area of the "Switch" control 23 and the "Pressure" control 22 displays the content of the "Switch" control 23, and the overlapping area of the "Pressure" control 22 and the "Tackle" control 21 displays the content of the "Pressure" control 22.
[0070] Specifically, when the user clicks on the overlapping area, the terminal device triggers the instruction or operation corresponding to the virtual control displayed on the upper layer.
[0071] It should be noted that the above example only uses the adjustment of the display level of virtual controls as an example, and does not involve the adjustment of the display position of virtual controls. In actual applications, the display position of each virtual control can also be adjusted based on the display priority to facilitate users to operate in commonly used positions. The embodiments of the present disclosure do not make specific limitations on this.
[0072] The game control method provided by the embodiment of the present disclosure displays a graphical user interface through a terminal device, and the graphical user interface includes at least part of the game scene, and the game scene includes a virtual court, a virtual sphere and a controlled virtual player; the terminal device can divide the virtual court to obtain multiple target areas; thereafter, the terminal device can respond to the current position of the controlled virtual player in the virtual court falling into any of the above-mentioned multiple target areas, and can determine the display priority of the virtual controls according to the target area where the controlled virtual player falls, and then display the virtual controls in the graphical user interface based on the determined display priority of the virtual controls; that is, the click priority of the virtual controls can be dynamically adjusted in real time according to the game scene, and can adapt to various different operation scenarios in various fast-paced, highly changeable ball games, thereby improving the accuracy of user operation of the virtual controls, reducing the probability of user accidental touch or actual operation not meeting user expectations due to the fixed-level display method of the virtual controls, and improving user stickiness.
[0073] Optionally, in the game control method provided in the embodiment of the present disclosure, the above-mentioned S1 can be executed by the following S11:
[0074] S11. In response to an instruction to obtain a display priority of a virtual control, the terminal device divides the virtual court to obtain a plurality of target areas.
[0075] It can be understood that, when an instruction to obtain the display priority of the virtual control is obtained, the terminal device can be triggered to start dividing the virtual court, thereby obtaining multiple target areas.
[0076] Optionally, the terminal device may determine whether it is necessary to obtain the display priority of the virtual control according to the game scene at the beginning of the game or during the game.
[0077] For example, before “responding to the instruction to obtain the display priority of the virtual control”, the game control method provided by the embodiment of the present disclosure may further include the following S0:
[0078] S0. If the display areas of at least two virtual controls overlap, the terminal device obtains an instruction for displaying the priority of the virtual controls.
[0079] That is to say, in the embodiment of the present disclosure, when the terminal device determines that the display areas of at least two virtual controls in the game scene overlap, the terminal device can be triggered to obtain the display priority of the virtual controls, thereby triggering the terminal device to divide the virtual court in the game scene into areas.
[0080] In the disclosed embodiments, two different virtual court area division methods are included. In the first division method, the terminal device divides the area based on the controlled player's current ball-holding status to obtain a first target area and a second target area, and then determines the display priority of the virtual controls based on the target area where the controlled virtual player's current position falls. In the second division method, the terminal device directly divides the area to obtain a second target area, and then determines the display priority of the virtual controls based on the second target area and the ball-holding status of the controlled virtual player. The processing methods for these two division methods are described below.
[0081] In the game control method provided by the embodiment of the present disclosure, the above-mentioned S1 can be executed through the following S10 and S11:
[0082] S10. The terminal device determines the current ball-holding status of the controlled virtual player.
[0083] For example, the ball holding state may include holding the ball and not holding the ball, and may also include different ways of holding the ball. For example, in different ball games, if the virtual player has different ways of holding the ball, such as holding the ball in front of the player or behind the player, the terminal device may also determine the virtual player's way of holding the ball.
[0084] S11. The terminal device divides the virtual court according to the current ball-holding status of the controlled virtual player to obtain multiple first target areas.
[0085] Wherein, the above-mentioned target area includes the first target area.
[0086] For example, the area division method may be different for different ball holding states, and the obtained first target areas may also be exactly the same.
[0087] That is, before dividing the area, the terminal device can first determine the current ball holding state of the controlled virtual player, and can use different division methods to divide the virtual court based on different ball holding states.
[0088] For example, in the embodiment of the present disclosure, the above-mentioned S11 can be specifically performed by the following S111 and S112:
[0089] S111. The terminal device determines a target division method according to whether the controlled virtual player is holding the ball or not holding the ball.
[0090] Among them, the target division methods corresponding to the ball holding state and the ball holding state are different.
[0091] S112: The terminal device divides the virtual court based on the determined target division method to obtain multiple first target areas.
[0092] Optionally, the terminal device can pre-divide the virtual court based on different ball holding states, store the division information of each area in the terminal, and directly determine the display priority of the virtual controls based on the different ball holding states during the game. The virtual court can also be divided in real time according to the ball holding states during the game. The embodiments of the present disclosure do not make specific limitations on this.
[0093] Based on this solution, the terminal device can first determine the current ball-holding status of the controlled virtual player, and then divide the virtual court according to the current ball-holding status of the controlled virtual player to obtain multiple first target areas. Different ball-holding statuses and different division methods will result in different multiple first target areas. For example, the ball-holding status of holding the ball and the ball-holding status of not holding the ball can correspond to different target division methods, that is, different ball-holding statuses and different determined target areas will lead to different priorities of the determined virtual controls and different levels of displayed virtual controls, so that the display of virtual controls can flexibly adapt to the ball-holding status of the controlled virtual player.
[0094] Optionally, in the game control method provided by the embodiment of the present disclosure, the above-mentioned S111 may be specifically executed by the following S11a, and further, the above-mentioned S112 may be executed by the following S12a:
[0095] S11a. When the ball holding state of the controlled virtual player is "holding the ball", the terminal device determines that the target division mode is the first division mode.
[0096] Among them, the first division method is to divide the virtual court according to the restricted area range.
[0097] S12a: The terminal device divides the virtual court based on the first division method to obtain multiple first target areas, where the first target areas include a restricted area and a non-restricted area.
[0098] Typically, in football games, penalty areas may include one's own penalty area and the enemy's penalty area.
[0099] Figure 4 This is a schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure. Figure 4 As shown in FIG, area 203 is the restricted area of the own half, area 204 is the restricted area of the enemy half, and other areas in the virtual court are non-restricted areas.
[0100] Furthermore, in the embodiment of the present disclosure, after the virtual court is divided into restricted areas and non-restricted areas based on the first division method, when the virtual controls include shooting controls, the above-mentioned S2 "determining the display priority of the virtual controls according to the target area where the controlled virtual player falls" can be executed by the following method 1; when the virtual controls include passing controls, the above-mentioned S2 "determining the display priority of the virtual controls according to the target area where the controlled virtual player falls" can be executed by the following method 2.
[0101] Method 1: In response to the controlled virtual player falling into a target area that is a penalty area, the terminal device determines that the display priority of the shooting control is the highest priority.
[0102] Method 2: In response to the controlled virtual player falling into a non-penalty zone, the terminal device determines that the display priority of the pass control is the highest priority.
[0103] Specifically, when the controlled virtual player is in the ball-holding state, the terminal device can automatically adjust the display priority of the virtual controls as a whole based on whether the controlled virtual player is in the penalty area, thereby adjusting the display content of the virtual controls in the overlapping area. It can be understood that when attacking, if the controlled virtual player is in the penalty area in the enemy half, the user controls the virtual player to shoot, which is a high-frequency operation, so the terminal device can adjust the priority of the "shoot" control corresponding to the shooting action to the highest; if the controlled virtual player is outside the penalty area in the enemy half, the user controls the virtual player to pass, which is a high-frequency operation, so the terminal device can adjust the priority of the "pass" control corresponding to the passing action to the highest.
[0104] Example 1-1: If the controlled virtual player has the ball and is in the enemy penalty area, the adjusted display priority of the virtual controls will be in the following order from high to low: Shoot, Pass, Through Ball, and Sprint.
[0105] Example 1-2: If the controlled virtual player has the ball and is outside the enemy penalty area, the adjusted display priority of the virtual controls will be in the following order from high to low: pass, through ball, shot, and sprint.
[0106] That is, when the controlled virtual player controlled by the user is holding the ball, the terminal device can adjust the display priority of the virtual controls according to the positional relationship between the controlled virtual player and the enemy's penalty area.
[0107] Based on this solution, when the controlled virtual player is in the ball holding state, the first division method is used to obtain two areas: the penalty area and the non-penalty area. If the controlled virtual player is currently in the penalty area, the terminal device can determine the display priority of the shooting control to be the highest priority, so as to control the controlled virtual player to perform a shooting action. If the controlled virtual player is currently outside the penalty area, the terminal device can determine the display priority of the passing control to be the highest priority, so as to facilitate the controlled virtual player to pass the virtual ball to other virtual players through a passing action.
[0108] Optionally, in the game control method provided in the embodiment of the present disclosure, the above-mentioned S111 may be specifically executed by the following S11b, and the above-mentioned S112 may be executed by the following S12b:
[0109] S11b. When the ball-holding state of the controlled virtual player is not holding the ball, the terminal device determines that the target division method is the second division method.
[0110] The second division method is to divide the virtual court into half-court ranges.
[0111] S12b. The terminal device divides the virtual court based on the second division method to obtain multiple first target areas.
[0112] Among them, the first target area includes the first half area and the second half area. The first half area is the half area corresponding to the camp where the controlled virtual player is located (that is, our half area), and the second half area is the half area corresponding to the opponent's camp (that is, the enemy's half area).
[0113] For example, Figure 3 This is a schematic diagram of the area division in a soccer game scene provided by an embodiment of the present disclosure, where it is assumed that area 201 is the team's half and area 202 is the enemy's half. The user can control the virtual player to be located in area 201 or in area 202.
[0114] Furthermore, after the virtual court is divided into a first half area and a second half area based on the second division method, if the virtual controls include a tackle control, the above-mentioned "determining the display priority of the virtual controls according to the target area where the controlled virtual player falls" in S2 can be performed by the following method 3 or the following method 4:
[0115] Mode 3: In response to the controlled virtual player falling into the first half area, the terminal device determines that the display priority of the tackle control is the first priority.
[0116] Mode 4: In response to the controlled virtual player falling into the target area of the second half area, the terminal device determines that the display priority of the tackle control is the second priority.
[0117] Among them, the second priority is higher than the first priority.
[0118] It can be understood that when the controlled virtual player's ball holding state is not holding the ball, the display priority of the virtual controls can be automatically adjusted as a whole according to the position of the controlled virtual player in the half court, thereby adjusting the display content of the virtual controls in the overlapping area.
[0119] Example 2-1: If the controlled virtual player is not holding the ball and is in the enemy half, the adjusted display priority of the virtual controls will be: Press, Tackle, Switch, and Sprint from highest to lowest.
[0120] Example 2-2: If the controlled virtual player is not holding the ball and is in his own half, the adjusted display priority of the virtual controls will be: Press, Switch, Tackle, and Sprint from high to low.
[0121] It is understandable that when the controlled virtual player is not holding the ball in the enemy's half, the risk of tackling the enemy is low, so the terminal device can lower the display priority of the "tackle" control. When the user controls the controlled virtual player in his own half, the risk of tackling in the penalty area is high and it is easy to be awarded a penalty kick, so the terminal device can further lower the display priority of the "tackle" control.
[0122] Based on this solution, when the controlled virtual player is in a non-ball holding state, a second division method is used to obtain two areas: a first half area and a second half area. If the controlled virtual player is currently located in the first half area, the terminal device can determine the display priority of the tackle control to be the highest priority, so as to control the controlled virtual player to perform a tackle. If the controlled virtual player is currently located in the second half area, the terminal device can determine the display priority of the tackle control to be the second priority, so as to avoid the controlled virtual player from mistakenly controlling other actions to perform a tackle.
[0123] Optionally, in the game control method provided by the embodiment of the present disclosure, after the virtual court is divided based on the ball holding status to obtain a plurality of first target areas, the above-mentioned S2 may be specifically performed by the following S20:
[0124] S20. In response to the current position of the controlled virtual player in the virtual court falling into any first target area among the plurality of first target areas, the terminal device determines the display priority of the virtual control according to the first target area where the controlled virtual player falls.
[0125] That is, after the terminal device divides the virtual court into multiple first target areas based on the ball holding status, the display priority of the virtual controls can be flexibly determined based on the first target area where the current position of the controlled virtual player is located.
[0126] The first possible implementation:
[0127] In the game control method provided by the embodiment of the present disclosure, after the terminal device determines the current ball holding state of the controlled virtual player, that is, after the above-mentioned S1, the following S4 may be further included:
[0128] S4. The terminal device divides the virtual court to obtain a plurality of second target areas, where the target area includes the second target area, and the second target area is different from the first target area.
[0129] Optionally, the second target area may not overlap with the first target area at all, or may overlap with the first target area partially, which is not specifically limited in the embodiment of the present disclosure.
[0130] It can be understood that when the second target area overlaps with the first target area, the indicating terminal may divide the same area into two different target areas when dividing the virtual court.
[0131] The second possible implementation is:
[0132] In the game control method provided by the embodiment of the present disclosure, the terminal device may first divide the virtual court directly without determining the current ball holding state of the controlled virtual player. That is, after the above S1, the following S5 may be further included:
[0133] S5. The terminal device divides the virtual court to obtain multiple second target areas, where the target area includes the second target area.
[0134] For example, the terminal device may use different division methods when dividing the virtual court, thereby obtaining a variety of target areas, such as fine division and broad division. For example, the second target area in this solution may be an area obtained by finely dividing the virtual court.
[0135] Furthermore, after the above-mentioned S4, the above-mentioned S2 may include the following S21 and S22; after the above-mentioned S5, the above-mentioned S2 may include the following S21.
[0136] S21. In response to the current position of the controlled virtual player in the virtual court falling into any second target area, the terminal device determines the display priority of the virtual control according to the second target area where the controlled virtual player falls.
[0137] S22. In response to the current position of the controlled virtual player in the virtual court falling into any first target area and not falling into any second target area, the terminal device determines the display priority of the virtual control according to the first target area where the controlled virtual player falls.
[0138] It should be noted that if the areas are divided based on the first division method, at least two different types of first target areas and second target areas can be divided, and the priorities of the at least two types of areas are different. If the current position of the virtual player is in the second target area with high priority, or the overlapping area of the first target area and the second target area, the display priority of the virtual control is determined based on the second target area. If the current position of the virtual player is in the first target area with low priority and is not in the area with high priority, the display priority of the virtual control is determined according to the area with low priority.
[0139] If the areas are divided based on the second division method, the divided areas may include the corresponding second target areas in the fine scene. The terminal device may determine the display priority of the virtual controls based on the second target area in the fine scene where the current position of the controlled virtual player in the virtual court falls, thereby making the determined display priority more consistent with the dynamically changing game scene.
[0140] Based on this solution, when the terminal device divides the area, if different priority areas are obtained, if the current position of the controlled virtual player on the virtual court falls into the high-priority area, the display priority of the virtual controls is determined based on the high-priority area. If the current position of the controlled virtual player on the virtual court falls only into the low-priority area, the display priority of the virtual controls is determined based on the low-priority area. If the area is divided into fine scene areas, the display priority of the virtual controls can be determined based on whether the current position of the controlled virtual player is in the fine scene area.
[0141] Optionally, in the game control method provided by the embodiment of the present disclosure, after the above-mentioned S4, the above-mentioned S21 and S22 may include the following S201 to S204:
[0142] S201: The terminal device determines whether the current position of the controlled virtual player in the virtual court falls into any second target area.
[0143] S202: In response to the current position of the controlled virtual player in the virtual court falling into any second target area, the terminal device determines the display priority of the virtual control according to the second target area where the controlled virtual player falls.
[0144] That is, in the process of determining the display priority of the virtual control, the judgment priority of the first target area is lower than the judgment priority of the second target area.
[0145] S203: In response to the current position of the controlled virtual player in the virtual court not falling into any second target area, the terminal device determines whether the current position of the controlled virtual player in the virtual court falls into any first target area.
[0146] S204: In response to the current position of the controlled virtual player in the virtual court falling into any first target area, the terminal device determines the display priority of the virtual control according to the first target area where the controlled virtual player falls.
[0147] Based on this solution, the terminal device can first determine whether the current position of the controlled virtual player in the virtual court falls into a high-priority area. If it falls into the high-priority area, the display priority of the virtual control is determined based on the high-priority area. If it does not fall into the high-priority area, the terminal device then determines whether the current position of the controlled virtual player in the virtual court falls into a low-priority area. If it falls into the low-priority area, the display priority of the virtual control is determined based on the low-priority area.
[0148] Optionally, in the game control method provided in the embodiment of the present disclosure, after the above-mentioned S5, the above-mentioned S21 may include the following S211 and S212:
[0149] S211 . In response to the current position of the controlled virtual player in the virtual court falling into any second target area, the terminal device determines the current ball-holding state of the controlled virtual player.
[0150] That is, the terminal device first determines the position of the controlled virtual player, and then determines the ball holding state of the controlled virtual player.
[0151] S212: The terminal device determines the display priority of the virtual control according to the current ball holding state of the controlled virtual player and the second target area where the controlled virtual player falls.
[0152] Based on this solution, when the virtual court is divided into a second target area, the terminal device can also determine the current ball-holding status of the controlled virtual player after the current position of the controlled virtual player in the virtual court falls into the second target area, and then determine the display priority of the virtual control based on the ball-holding status and the target area fallen into, so that the terminal device determines the display priority of the virtual control in a more flexible and diverse way.
[0153] Optionally, in the game control method provided in the embodiment of the present disclosure, the above-mentioned S4 or S5 may specifically include the following S51 execution:
[0154] S51. Divide the virtual court to obtain a plurality of inverted triangle advantage areas, and use the inverted triangle advantage areas as second target areas.
[0155] For example, the inverted triangle advantage area is an area that can facilitate the controlled virtual player to perform the "inverted triangle pass" operation.
[0156] Figure 5 A schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure, such as Figure 5 As shown in FIG, area 205a and area 205d are the small penalty area in the own half of the field; area 205b and area 205c are the small penalty area in the enemy half of the field.
[0157] Exemplarily, after taking the inverted triangle advantage area as the second target area, when the virtual control includes a through ball control or a passing control, the above S212 can be executed by the following method 5; when the virtual control includes a tackle control, the above S212 can be executed by the following method 6.
[0158] Method 5: When the controlled virtual player's current ball holding state is holding the ball and the controlled virtual player falls into any inverted triangle advantage area, determining that the display priority of the through ball control or the pass control is the highest priority.
[0159] Example 3-1: If the controlled virtual player has the ball and is located in the enemy's six-yard box, the adjusted display priority of the virtual controls is in the following order from high to low: through ball, pass, shot, and sprint.
[0160] It is understandable that when the controlled virtual player has the ball, the user may control the virtual player to use through pass or passing skills in the enemy's penalty area bottom line area, so the terminal device can increase the display priority of the "through pass" control and the "pass" control.
[0161] Method 6: When the controlled virtual player's current ball-holding state is not holding the ball and the controlled virtual player falls into any inverted triangle advantage area, the display priority of the tackle control is determined to be the highest priority.
[0162] Example 3-2: If the controlled virtual player is not holding the ball and is located in the end zone of his own team's six-yard box, the adjusted display priority of the virtual controls will be in the following order from high to low: tackle, press, switch, and sprint.
[0163] It is understandable that when the controlled virtual player is not holding the ball, the user controls the controlled virtual player in the bottom line area of the small penalty area and often performs tackles to expand the defensive area and prevent the enemy from passing through. Therefore, the terminal device can increase the display priority of the "tackle" control.
[0164] Based on this scheme, after the virtual court is divided, multiple inverted triangle advantage areas can be obtained, and these multiple inverted triangle advantage areas can be used as the second target area. If the virtual control includes a through pass or pass control, then when the current ball-holding state of the controlled virtual player is holding the ball and the current position of the controlled virtual player falls into the inverted triangle advantage area, the display priority of the through pass control or the pass control can be determined as the highest priority. If the virtual control includes a tackle control, then when the current ball-holding state of the controlled virtual player is not holding the ball and the current position of the controlled virtual player falls into the inverted triangle advantage area, the display priority of the tackle control can be determined as the highest priority.
[0165] Optionally, in the game control method provided in the embodiment of the present disclosure, the above-mentioned S4 or S5 may specifically include the following S52 execution:
[0166] S52: The terminal device divides the virtual court to obtain multiple long-shot advantage areas, and uses the long-shot advantage areas as second target areas.
[0167] The long-shot advantage area may be an area that facilitates the virtual player to perform a "long-shot" operation.
[0168] Figure 6 A schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure, such as Figure 6 As described above, the semicircular arc 206a is the arc top area in the own half of the court, and the semicircular arc 206b is the arc top area in the enemy half of the court. The arc top area is the long-range shooting advantage area.
[0169] For example, when the virtual control includes a shooting control, the above-mentioned S212 may be executed through the following method 7; when the virtual control includes a tackle control, the above-mentioned S212 may be executed through the following method 8.
[0170] Method 7: When the controlled virtual player's current ball holding state is holding the ball and the controlled virtual player falls into any long-shot advantage area, determining that the display priority of the shooting control is the highest priority.
[0171] For example, when a controlled virtual player has the ball, the user may control the virtual player to frequently use long-range shooting skills in the arc area of his own team. Therefore, the terminal device can increase the display priority of the "shooting" control.
[0172] Example 4-1: If the controlled virtual player has the ball and is located at the top of his own arc, the display priority of the adjusted virtual controls will be in the following order from high to low: shot, through ball, pass, sprint.
[0173] Method 8: When the controlled virtual player's current ball-holding state is not holding the ball and the controlled virtual player falls into any long-shot advantage area, the display priority of the tackle control is determined to be the highest priority.
[0174] For example, when the controlled virtual player is not holding the ball, the user controls the controlled virtual player to often slide in the enemy arc top area to expand the defensive area to prevent the enemy's long shot, so the terminal device can increase the display priority of the "tackle" control.
[0175] Example 4-2: If the controlled virtual player is not holding the ball and is in the enemy key area, the adjusted display priority of the virtual controls will be in the following order from high to low: Tackle, Press, Switch, and Sprint.
[0176] It is understandable that when not holding the ball, the user controls the controlled virtual player to often perform tackles in the bottom line area of the small penalty area to expand the defensive area and prevent the enemy from passing through; the user controls the controlled virtual player to often perform sliding tackles in the top area of the arc to expand the defensive area and prevent the enemy from long shots, so the terminal device can increase the display priority of the "tackle" control.
[0177] Based on this solution, after the virtual court is divided, multiple long-shot advantage areas can be obtained, and these multiple long-shot advantage areas can be used as second target areas. If the virtual control includes a shooting control, then when the controlled virtual player's current ball-holding state is holding the ball and the controlled virtual player's current position falls into the long-shot advantage area, the display priority of the shooting control can be determined as the highest priority; if the virtual control includes a tackle control, then when the controlled virtual player's current ball-holding state is not holding the ball and the controlled virtual player's current position falls into the long-shot advantage area, the display priority of the tackle control can be determined as the highest priority, thereby improving the user's accuracy in using the shooting control and the tackle control in the long-shot advantage area.
[0178] Optionally, in the game control method provided in the embodiment of the present disclosure, the above-mentioned S4 or S5 may specifically include the following S53 execution:
[0179] S53. The terminal device divides the virtual court to obtain multiple areas where the player has an advantage in performing tricks on the opponent, and uses the areas where the player has an advantage in performing tricks on the opponent as the second target area.
[0180] Among them, the fancy dribbling advantage area is an area that can facilitate virtual players to perform "fancy dribbling" operations.
[0181] Figure 7 A schematic diagram of area division in a football game scene provided by an embodiment of the present disclosure, such as Figure 7As described above, areas 207a and 207d are the bottom or inward intersection areas of the team's half; areas 207b and 207c are the bottom or inward intersection areas of the opponent's half. The bottom or inward intersection line is the aforementioned advantageous area for trick passes, and the bottom or inward intersection area is an advantageous area for the user to control the virtual player to perform bottom or inward moves.
[0182] For example, when the virtual control includes a sprint control, the above-mentioned S212 may be performed in the following manner 9:
[0183] Method 9: When the controlled virtual player's current ball-holding state is holding the ball, and the controlled virtual player falls into any fancy passing advantage area, the terminal device determines that the display priority of the sprint control is the highest priority.
[0184] It is understandable that when holding the ball, the user may control the virtual player to break through the defensive area by using fancy passes or accelerated sprints at the bottom or inside intersection of the enemy, then the terminal device can increase the display priority of the "sprint" control.
[0185] Example 5: If the controlled virtual player has the ball and is located in the enemy's bottom line or inside intersection area, the adjusted display priority of each virtual control will be in the following order from high to low: sprint, through ball, pass and shot.
[0186] Based on this solution, after the terminal device divides the virtual court and obtains multiple fancy dribbling advantage areas, it can determine the display priority of the sprint control to the highest priority based on the fancy dribbling advantage area that the controlled virtual player falls into, when the controlled virtual player's current ball-holding status is holding the ball, so that the user can use the sprint control in this area, which can improve the accuracy of the user's use of the sprint control.
[0187] In an embodiment of the present disclosure, the display priority of virtual controls in a broad scene can be adjusted based on whether the player is in a restricted area, and the display priority of virtual controls in a fine scene can be adjusted based on whether the player is in a specific location. Thus, the priority of stacking virtual controls can be changed dynamically in real time, which can reduce the probability of players touching by mistake. When the controlled virtual player is holding the ball, the display priority of the virtual controls can also be adjusted based on a finer scene segmentation. For example, the display priority of the virtual controls can be adjusted based on the specific location of the controlled virtual player. When the virtual player controlled by the user is not holding the ball, the terminal device can make a broad priority adjustment based on whether the player is in a restricted area, and can also make a finer priority adjustment in a finer scene based on whether the player is in a specific location. When the controlled virtual player is not holding the ball, the display priority of the virtual controls can also be adjusted based on a finer scene segmentation. For example, the display priority of the virtual controls can be adjusted based on the specific location of the controlled virtual player.
[0188] It should be noted that the game control method provided in the embodiments of the present disclosure can be executed by a game control device or a control module in the game control device for executing the game control method. The embodiments of the present disclosure use a game control device executing the game control method as an example to illustrate the game control device provided in the embodiments of the present disclosure.
[0189] Figure 8 This is a schematic diagram of the structure of a game control device provided by an embodiment of the present disclosure, wherein a graphical user interface is displayed through a terminal device, and the graphical user interface includes at least part of a game scene, and the game scene includes a virtual court, a virtual sphere, and a controlled virtual player, such as Figure 8 As shown in , the game control device 800 includes: a division module 801, a determination module 802 and a display module 803; the division module 801 is used to divide the virtual court to obtain multiple target areas; the determination module 802 is used to respond to the current position of the controlled virtual player in the virtual court falling into any target area of the multiple target areas, and determine the display priority of the virtual control according to the target area where the controlled virtual player falls; wherein the virtual control is used to trigger the controlled virtual player to perform the target action, and the display priority is used to determine the display level of the virtual control in the graphical user interface; the display module 803 is used to display the virtual control in the graphical user interface based on the determined display priority of the virtual control.
[0190] Optionally, the division module 801 is specifically configured to: determine the current ball holding state of the controlled virtual player; and divide the virtual court according to the current ball holding state of the controlled virtual player to obtain a plurality of first target areas, wherein the target areas include the first target area.
[0191] Optionally, the division module 801 is specifically used to: determine a target division method according to whether the controlled virtual player is holding the ball or not holding the ball, wherein the target division methods corresponding to the holding state of the ball and the holding state of the ball not holding the ball are different; divide the virtual court based on the determined target division method to obtain multiple first target areas.
[0192] Optionally, the determination module 802 is specifically configured to: in response to the current position of the controlled virtual player in the virtual court falling into any first target area of a plurality of first target areas, determine the display priority of the virtual control according to the first target area where the controlled virtual player falls.
[0193] Optionally, the division module 801 is also used to: divide the virtual court to obtain multiple second target areas, the target area includes the second target area, and the second target area is different from the first target area; the determination module 802 is specifically used to: respond to the current position of the controlled virtual player in the virtual court falling into any second target area, and determine the display priority of the virtual control according to the second target area where the controlled virtual player falls; respond to the current position of the controlled virtual player in the virtual court falling into any first target area and not falling into any second target area, and determine the display priority of the virtual control according to the first target area where the controlled virtual player falls.
[0194] Optionally, the determination module 802 is specifically used to: determine whether the current position of the controlled virtual player in the virtual court falls into any second target area; in response to the current position of the controlled virtual player in the virtual court falling into any second target area, determine the display priority of the virtual control according to the second target area where the controlled virtual player falls; in response to the current position of the controlled virtual player in the virtual court not falling into any second target area, determine whether the current position of the controlled virtual player in the virtual court falls into any first target area; in response to the current position of the controlled virtual player in the virtual court falling into any first target area, determine the display priority of the virtual control according to the first target area where the controlled virtual player falls.
[0195] Optionally, the division module 801 is specifically used to: when the controlled virtual player's ball holding state is holding the ball, determine that the target division method is a first division method, wherein the first division method is a method of dividing the virtual court according to the restricted area range; divide the virtual court based on the first division method to obtain multiple first target areas, and the first target area includes a restricted area and a non-restricted area.
[0196] Optionally, the virtual control includes a shooting control; the determination module 802 is specifically configured to: in response to the controlled virtual player falling into a restricted area, determine that the display priority of the shooting control is the highest priority.
[0197] Optionally, the virtual control includes a pass control; the determination module 802 is specifically configured to: in response to the controlled virtual player falling into a non-penalty zone target area, determine that the display priority of the pass control is the highest priority.
[0198] Optionally, the division module 801 is specifically used to: when the ball-holding state of the controlled virtual player is not holding the ball, determine that the target division method is the second division method, wherein the second division method is a method of dividing the virtual court according to the half-court range; the virtual court is divided based on the second division method to obtain multiple first target areas, the first target area includes a first half-court area and a second half-court area, wherein the first half-court area is the half-court area corresponding to the camp where the controlled virtual player is located, and the second half-court area is the half-court area corresponding to the opposing camp.
[0199] Optionally, the virtual control includes a tackle control; the determination module 802 is specifically used to: in response to the target area where the controlled virtual player falls into the first half area, determine that the display priority of the tackle control is the first priority; in response to the target area where the controlled virtual player falls into the second half area, determine that the display priority of the tackle control is the second priority; wherein the second priority is higher than the first priority.
[0200] Optionally, the division module 801 is further used to divide the virtual court to obtain multiple second target areas, where the target area includes the second target area; the determination module 802 is specifically used to: respond to the current position of the controlled virtual player in the virtual court falling into any second target area, and determine the display priority of the virtual control according to the second target area where the controlled virtual player falls.
[0201] Optionally, the determination module 802 is specifically used to: determine the current ball-holding status of the controlled virtual player in response to the current position of the controlled virtual player in the virtual court falling into any second target area; determine the display priority of the virtual control based on the current ball-holding status of the controlled virtual player and the second target area where the controlled virtual player falls.
[0202] Optionally, the division module 801 is specifically configured to divide the virtual court to obtain a plurality of inverted triangle advantage areas, and use the inverted triangle advantage areas as the second target areas.
[0203] Optionally, the virtual control includes a through pass control or a passing control; the determination module 802 is specifically used to: when the current ball holding state of the controlled virtual player is holding the ball, and the controlled virtual player falls into any inverted triangle advantage area, determine that the display priority of the through pass control or the passing control is the highest priority.
[0204] Optionally, the virtual control includes a tackle control; the determination module 802 is specifically used to: when the controlled virtual player's current ball holding state is not holding the ball, and the controlled virtual player falls into any inverted triangle advantage area, determine that the display priority of the tackle control is the highest priority.
[0205] Optionally, the division module 801 is specifically configured to divide the virtual court to obtain a plurality of long-shot advantage areas, and use the long-shot advantage areas as the second target areas.
[0206] Optionally, the virtual control includes a shooting control; the determination module 802 is specifically used to: when the controlled virtual player's current ball holding state is holding the ball, and the controlled virtual player falls into any long-shot advantage area, determine that the display priority of the shooting control is the highest priority.
[0207] Optionally, the virtual control includes a tackle control; the determination module 802 is specifically used to: when the controlled virtual player's current ball holding state is not holding the ball, and the controlled virtual player falls into any long-shot advantage area, determine that the display priority of the tackle control is the highest priority.
[0208] Optionally, the division module 801 is specifically configured to divide the virtual court to obtain a plurality of fancy dribbling advantage areas, and use the fancy dribbling advantage areas as the second target areas.
[0209] Optionally, the virtual control includes a sprint control; the determination module 802 is specifically used to: when the controlled virtual player's current ball holding state is holding the ball, and the controlled virtual player falls into any fancy passing advantage area, determine that the display priority of the sprint control is the highest priority.
[0210] Optionally, the division module 801 is specifically configured to: respond to an instruction to obtain the display priority of the virtual control, divide the virtual court, and obtain a plurality of target areas.
[0211] Optionally, the game control device further includes: an acquisition module; the acquisition module is used to, before responding to an instruction to acquire the display priority of the virtual control, if there is an overlap in the display areas of at least two virtual controls, acquire the instruction of the display priority of the virtual control.
[0212] The game control device provided by the embodiment of the present disclosure displays a graphical user interface through a terminal device, and the graphical user interface includes at least part of the game scene, and the game scene includes a virtual court, a virtual sphere and a controlled virtual player; the game control device can divide the virtual court to obtain multiple target areas; thereafter, the game control device can respond to the current position of the controlled virtual player in the virtual court falling into any of the above-mentioned multiple target areas, and can determine the display priority of the virtual controls according to the target area where the controlled virtual player falls, and then display the virtual controls in the graphical user interface based on the determined display priority of the virtual controls; that is, the click priority of the virtual controls can be dynamically adjusted in real time according to the game scene, and can adapt to various different operation scenarios in various fast-paced, highly changeable ball games, thereby improving the accuracy of user operation of the virtual controls, reducing the probability of user accidental touch or actual operation not meeting user expectations due to the fixed-level display method of the virtual controls, and improving user stickiness.
[0213] The game control device in the embodiments of the present disclosure may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile terminal device or a non-mobile terminal device. For example, the mobile terminal device may be a mobile phone, tablet computer, laptop computer, PDA, vehicle-mounted terminal device, wearable device, UMPC (ultra-mobile personal computer), netbook, or PDA (personal digital assistant), etc. The non-mobile terminal device may be a server, NAS (Network Attached Storage), PC (personal computer), TV (television), ATM, or self-service machine, etc., which are not specifically limited in the embodiments of the present disclosure.
[0214] The device for controlling the game in the embodiments of the present disclosure may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
[0215] The game control device provided by the embodiment of the present disclosure can achieve Figures 1 to 7 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0216] Alternatively, as Figure 9As shown, the embodiment of the present disclosure also provides a terminal device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. When the program or instruction is executed by the processor 901, each process of the above-mentioned game control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0217] It should be noted that the terminal devices in the embodiments of the present disclosure include the mobile terminal devices and non-mobile terminal devices mentioned above.
[0218] Figure 10 A schematic diagram of the hardware structure of a terminal device for implementing an embodiment of the present disclosure.
[0219] The terminal device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0220] Those skilled in the art will understand that the terminal device 1000 may also include a power supply (such as a battery) to power each component, and the power supply may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 10 The terminal device structure shown in the figure does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.
[0221] It should be understood that in the embodiment of the present disclosure, the input unit 1004 may include a GPU (Graphics Processing Unit) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understood that the modem processor may not be integrated into the processor 1010.
[0222] The terminal device provided by the embodiment of the present disclosure displays a graphical user interface through the terminal device, and the graphical user interface includes at least part of the game scene, and the game scene includes a virtual court, a virtual sphere and a controlled virtual player; the terminal device can divide the virtual court to obtain multiple target areas; thereafter, the terminal device can respond to the current position of the controlled virtual player in the virtual court falling into any of the above-mentioned multiple target areas, and can determine the display priority of the virtual controls according to the target area where the controlled virtual player falls, and then display the virtual controls in the graphical user interface based on the determined display priority of the virtual controls; that is, the click priority of the virtual controls can be dynamically adjusted in real time according to the game scene, and can adapt to various different operation scenarios in various fast-paced, highly changeable ball games, thereby improving the accuracy of user operation of the virtual controls, reducing the probability of user accidental touches or actual operations not meeting user expectations due to the use of a fixed-level display method for the virtual controls, and improving user stickiness.
[0223] The embodiment of the present disclosure also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned game control method embodiment is implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0224] The processor is the processor in the terminal device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer ROM (Read-Only Memory), RAM (Random Access Memory), a magnetic disk, or an optical disk.
[0225] An embodiment of the present disclosure further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned game control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0226] It should be understood that the chip mentioned in the embodiments of the present disclosure can also be called a system-level chip, a system chip, a chip system, or a system-on-chip chip, etc.
[0227] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present disclosure is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0228] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.
[0229] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, all of which are protected by the present disclosure.
Claims
1. A method for controlling a game, characterized in that: Displaying a graphical user interface on a terminal device, the graphical user interface including at least a portion of a game scene, the game scene including a virtual court, a virtual sphere, and a controlled virtual player, the method comprising: Dividing the virtual court to obtain multiple target areas; In response to the controlled virtual player's current position on the virtual court falling into any one of the multiple target areas, determining a display priority of a virtual control according to the target area where the controlled virtual player falls; wherein the virtual control is used to trigger the controlled virtual player to perform a target action, and the display priority is used to determine a display level of the virtual control in the graphical user interface; Based on the determined display priority of the virtual control, the virtual control is displayed in the graphical user interface.
2. The method according to claim 1, characterized in that The virtual court is divided to obtain a plurality of target areas, including: Determining the current ball-holding status of the controlled virtual player; The virtual court is divided according to the current ball holding state of the controlled virtual player to obtain a plurality of first target areas, wherein the target areas include the first target area.
3. The method according to claim 2, characterized in that The step of dividing the virtual court according to the current ball holding state of the controlled virtual player to obtain a plurality of first target areas includes: determining a target division method according to whether the controlled virtual player is in a ball-holding state or not in a ball-holding state, wherein the target division methods corresponding to the ball-holding state being in a ball-holding state and the ball-not holding state are different; The virtual court is divided based on the determined target division method to obtain a plurality of first target areas.
4. The method according to claim 2, characterized in that In response to the current position of the controlled virtual player on the virtual court falling into any one of the multiple target areas, determining the display priority of the virtual control according to the target area where the controlled virtual player falls, includes: In response to the current position of the controlled virtual player in the virtual court falling into any first target area of the plurality of first target areas, the display priority of the virtual controls is determined according to the first target area where the controlled virtual player falls.
5. The method according to claim 2, characterized in that The method further comprises: Dividing the virtual court to obtain a plurality of second target areas, wherein the target areas include the second target area, and the second target area is different from the first target area; In response to the current position of the controlled virtual player on the virtual court falling into any one of the multiple target areas, determining the display priority of the virtual control according to the target area where the controlled virtual player falls, includes: In response to the current position of the controlled virtual player on the virtual court falling into any of the second target areas, determining the display priority of the virtual controls according to the second target area where the controlled virtual player falls; In response to the current position of the controlled virtual player in the virtual court falling into any of the first target areas and not falling into any of the second target areas, the display priority of the virtual controls is determined according to the first target area where the controlled virtual player falls.
6. The method according to claim 5, characterized in that In response to the current position of the controlled virtual player in the virtual court falling into any of the second target areas, determining the display priority of the virtual controls according to the second target area where the controlled virtual player falls; in response to the current position of the controlled virtual player in the virtual court falling into any of the first target areas and not falling into any of the second target areas, determining the display priority of the virtual controls according to the first target area where the controlled virtual player falls, including: determining whether the current position of the controlled virtual player in the virtual court falls within any second target area; In response to the current position of the controlled virtual player on the virtual court falling into any of the second target areas, determining the display priority of the virtual controls according to the second target area where the controlled virtual player falls; In response to the current position of the controlled virtual player in the virtual court not falling into any of the second target areas, determining whether the current position of the controlled virtual player in the virtual court falls into any of the first target areas; In response to the current position of the controlled virtual player in the virtual court falling into any of the first target areas, the display priority of the virtual controls is determined according to the first target area where the controlled virtual player falls.
7. The method according to claim 3, characterized in that The determining of the target division method according to whether the controlled virtual player is holding the ball or not holding the ball includes: When the ball holding state of the controlled virtual player is "holding the ball", determining that the target division method is a first division method, wherein the first division method is a method of dividing the virtual court according to a restricted area range; The virtual court is divided based on the determined target division method to obtain a plurality of first target areas, including: The virtual court is divided based on the first division method to obtain a plurality of first target areas, where the first target areas include restricted areas and non-restricted areas.
8. The method according to claim 7, characterized in that The virtual controls include shooting controls; The determining the display priority of the virtual controls according to the target area where the controlled virtual player falls includes: In response to the target area where the controlled virtual player falls being the penalty area, the display priority of the shooting control is determined to be the highest priority.
9. The method according to claim 7, characterized in that The virtual controls include a pass control; The determining the display priority of the virtual controls according to the target area where the controlled virtual player falls includes: In response to the target area where the controlled virtual player falls being the non-penalty zone, the display priority of the pass control is determined to be the highest priority.
10. The method according to claim 3, characterized in that The determining of the target division method according to whether the controlled virtual player is holding the ball or not holding the ball includes: When the ball-holding state of the controlled virtual player is not holding the ball, determining the target division method to be a second division method, wherein the second division method is a method of dividing the virtual court according to half-court ranges; The virtual court is divided based on the determined target division method to obtain a plurality of first target areas, including: The virtual court is divided based on the second division method to obtain multiple first target areas, wherein the first target area includes a first half area and a second half area, wherein the first half area is the half area corresponding to the camp where the controlled virtual player is located, and the second half area is the half area corresponding to the opposing camp.
11. The method according to claim 10, characterized in that The virtual controls include tackle controls; The determining the display priority of the virtual controls according to the target area where the controlled virtual player falls includes: In response to the controlled virtual player falling into the first half-field area, determining the display priority of the tackle control to be the first priority; In response to the target area where the controlled virtual player falls into being the second half area, determining the display priority of the tackle control to be the second priority; The second priority is higher than the first priority.
12. The method according to claim 1, characterized in that The method further comprises: Dividing the virtual court to obtain a plurality of second target areas, wherein the target areas include the second target area; In response to the current position of the controlled virtual player on the virtual court falling into any one of the multiple target areas, determining the display priority of the virtual control according to the target area where the controlled virtual player falls, includes: In response to the current position of the controlled virtual player in the virtual court falling into any of the second target areas, the display priority of the virtual controls is determined according to the second target area where the controlled virtual player falls.
13. The method according to claim 12, characterized in that In response to the current position of the controlled virtual player on the virtual court falling into any of the second target areas, determining the display priority of the virtual controls according to the second target area where the controlled virtual player falls, includes: In response to the current position of the controlled virtual player on the virtual court falling into any of the second target areas, determining a current ball-holding state of the controlled virtual player; The display priority of the virtual control is determined according to the current ball holding state of the controlled virtual player and the second target area where the controlled virtual player falls.
14. The method according to claim 13, characterized in that The step of dividing the virtual court to obtain a plurality of second target areas includes: The virtual court is divided to obtain a plurality of inverted triangle advantage areas, and the inverted triangle advantage areas are used as the second target areas.
15. The method according to claim 14, characterized in that The virtual control includes a through ball control or a passing control; The determining the display priority of the virtual control according to the current ball holding state of the controlled virtual player and the second target area where the controlled virtual player falls includes: When the current ball-holding state of the controlled virtual player is holding the ball, and the controlled virtual player falls into any of the inverted triangle advantage areas, the display priority of the through ball control or the pass control is determined to be the highest priority.
16. The method according to claim 14, characterized in that The virtual controls include tackle controls; The determining the display priority of the virtual control according to the current ball holding state of the controlled virtual player and the second target area where the controlled virtual player falls includes: When the current ball-holding state of the controlled virtual player is not holding the ball, and the controlled virtual player falls into any of the inverted triangle advantage areas, the display priority of the tackle control is determined to be the highest priority.
17. The method according to claim 13, wherein The step of dividing the virtual court to obtain a plurality of second target areas includes: The virtual court is divided to obtain a plurality of long-shot advantage areas, and the long-shot advantage areas are used as the second target areas.
18. The method according to claim 17, characterized in that The virtual controls include shooting controls; The determining the display priority of the virtual control according to the current ball holding state of the controlled virtual player and the second target area where the controlled virtual player falls includes: When the current ball-holding state of the controlled virtual player is holding the ball, and the controlled virtual player falls into any of the long-shot advantage areas, the display priority of the shooting control is determined to be the highest priority.
19. The method according to claim 17, wherein The virtual controls include tackle controls; The determining the display priority of the virtual control according to the current ball holding state of the controlled virtual player and the second target area where the controlled virtual player falls includes: When the current ball-holding state of the controlled virtual player is not holding the ball, and the controlled virtual player falls into any of the long-shot advantage areas, the display priority of the tackle control is determined to be the highest priority.
20. The method according to claim 13, wherein The step of dividing the virtual court to obtain a plurality of second target areas includes: The virtual court is divided to obtain a plurality of fancy dribbling advantage areas, and the fancy dribbling advantage areas are used as the second target areas.
21. The method according to claim 20, characterized in that The virtual controls include a sprint control; The determining the display priority of the virtual control according to the current ball holding state of the controlled virtual player and the second target area where the controlled virtual player falls includes: When the controlled virtual player's current ball-holding state is ball-holding and the controlled virtual player falls into any of the fancy passing advantage areas, the display priority of the sprint control is determined to be the highest priority.
22. The method according to claim 1, wherein The virtual court is divided to obtain a plurality of target areas, including: In response to an instruction to obtain the display priority of the virtual control, the virtual court is divided to obtain a plurality of target areas.
23. The method according to claim 22, characterized in that Before responding to the instruction to obtain the display priority of the virtual control, the method further includes: If the display areas of at least two virtual controls overlap, an instruction is provided to obtain the display priority of the virtual controls.
24. A game control device, characterized in that: Displaying a graphical user interface through a terminal device, the graphical user interface including at least a portion of a game scene, the game scene including a virtual court, a virtual sphere, and a controlled virtual player, the apparatus comprising: a division module, a determination module, and a display module; The division module is used to divide the virtual court into multiple target areas; The determination module is configured to, in response to the controlled virtual player's current position on the virtual court falling into any of the multiple target areas, determine a display priority of the virtual control according to the target area where the controlled virtual player falls; wherein the virtual control is used to trigger the controlled virtual player to perform a target action, and the display priority is used to determine a display level of the virtual control in the graphical user interface; The display module is configured to display the virtual control in the graphical user interface based on the determined display priority of the virtual control.
25. A terminal device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the game control method according to any one of claims 1 to 23.
26. A readable storage medium, characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the game control method according to any one of claims 1 to 23 are implemented.
Citation Information
Patent Citations
Virtual shooting method, computer storage medium and terminal
CN109126135A
Display control method of game virtual weapon control, electronic equipment and storage medium
CN111388998A