Game control method, device, terminal equipment and storage medium
By realizing virtual backpack capacity sharing in tactical competitive games, the problem of players being restricted in picking up virtual props is solved, and the game experience and teammate collaboration are improved.
Patent Information
- Application Number
- CN202110880583.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-02
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-08-02
AI Technical Summary
In tactical competitive games, players are limited in picking up virtual props, resulting in an inflexible gaming experience.
By sharing the virtual backpack capacity between terminal devices, virtual characters in the same game camp are allowed to pick up and place virtual props, solving the problem of full capacity and improving the flexibility of picking and placing.
It improves the player's gaming experience, enhances the flexibility of picking up and placing virtual props, and promotes collaboration among teammates.
Smart Images

Figure CN113546418B
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a method, apparatus, terminal device and storage medium for game control. Background Art
[0002] A tactical competitive game is a game that places virtual characters in a virtual game scene, provides a series of competition rules, and players control the virtual characters in the virtual game scene to compete according to the competition rules.
[0003] During the game, each player can obtain a virtual backpack in the game, which is used to store the player's virtual props. However, the game generally sets a certain capacity limit. When the capacity of the virtual backpack reaches the capacity limit, the player will not be able to obtain other virtual props. Only after discarding other virtual props can the player obtain the corresponding virtual backpack capacity and then pick up the corresponding virtual props.
[0004] However, this setting method results in players being greatly restricted and inflexible in picking up virtual props, thus affecting the players' gaming experience. Summary of the invention
[0005] The purpose of this application is to provide a game control method, device, terminal device and storage medium to address the deficiencies in the above-mentioned prior art, so as to solve the problem in the prior art that players are greatly restricted and not flexible in picking up virtual props, thereby affecting the players' gaming experience.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for controlling a game, wherein a first virtual character in the game is controlled by a terminal device, and the method comprises:
[0008] In response to a marking operation for a target object to be picked up, generating marking information of the target object and sending the marking information to a terminal device corresponding to a second virtual character, the first virtual character and the second virtual character belonging to the same game camp;
[0009] When a backpack capacity sharing confirmation message is received from the terminal device corresponding to the second virtual character, in response to the picking operation for the target item, the target item is placed in the virtual backpack of the first virtual character, and the capacity of the virtual backpack of the second virtual character is deducted accordingly according to the required capacity of the target item.
[0010] Optionally, the step of responding to a marking operation on a target object to be picked up, generating marking information of the target object, and sending the marking information to a terminal device corresponding to the second virtual character includes:
[0011] In response to a marking operation for a target item to be picked up, generating marking information of the target item, and displaying a backpack capacity sharing interface including identification information of a teammate of the first virtual character;
[0012] In response to a selection operation on the backpack capacity sharing interface, the marking information is sent to a terminal device corresponding to the second virtual character according to the second virtual character selected by the selection operation.
[0013] Optionally, the backpack capacity sharing interface displaying identification information of teammates of the first virtual character includes:
[0014] Obtaining the remaining capacity of the virtual backpack of each teammate of the first virtual character;
[0015] comparing the required capacity of the target item with the remaining capacity of the virtual backpack of each teammate of the first virtual character;
[0016] Determine a teammate whose remaining capacity of a virtual backpack is greater than or equal to the capacity required by the target item as the target teammate;
[0017] A backpack capacity sharing interface including identification information of the target teammate is displayed.
[0018] Optionally, after sending the marking information to a terminal device corresponding to the second virtual character, the method further includes:
[0019] When receiving a confirmation message for obtaining the target item sent by the second virtual character in response to the marking information, sending a backpack capacity sharing request message to a terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character;
[0020] The backpack capacity sharing confirmation message is a confirmation message sent by the terminal device corresponding to the second virtual character in response to the backpack capacity sharing request message.
[0021] Optionally, after sending the marking information to a terminal device corresponding to the second virtual character, the method further includes:
[0022] When receiving a confirmation message for obtaining the target item sent by the second virtual character in response to the marking information, obtaining the remaining capacity of the virtual backpack of the second virtual character;
[0023] When the remaining capacity of the virtual backpack of the second virtual character is greater than or equal to the required capacity of the target item, sending a backpack capacity sharing request message to the terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character;
[0024] When the remaining capacity of the virtual backpack of the second virtual character is less than the capacity required for the target item, a backpack capacity sharing interface containing the marking information of the third virtual character is displayed to request sharing of the remaining capacity of the virtual backpack of the third virtual character, wherein the third virtual character is a virtual character among the teammates of the first virtual character whose remaining capacity of the virtual backpack is greater than or equal to the capacity required for the target item.
[0025] Optionally, the method further comprises:
[0026] In response to a selection operation on the identification information of the third virtual character in the backpack capacity sharing interface, sending a backpack capacity sharing request message to a terminal device corresponding to the third virtual character;
[0027] When receiving a confirmation message returned by the terminal device corresponding to the third virtual character in response to the backpack capacity sharing request message, in response to the picking operation for the target item, the target item is placed in the virtual backpack of the first virtual character, and the capacity of the virtual backpack of the third virtual character is deducted accordingly according to the required capacity of the target item.
[0028] Optionally, before generating the marking information of the target object and sending the marking information to the terminal device corresponding to the second virtual character, the method further includes:
[0029] It is confirmed that the remaining capacity of the virtual backpack of the first virtual character is less than the required capacity of the target item.
[0030] Optionally, the method further comprises:
[0031] When the distance between the first virtual character and the second virtual character in the game scene is within a preset range, the target item in the virtual backpack of the first virtual character is moved to the virtual backpack of the second virtual character.
[0032] Optionally, the method further comprises:
[0033] In response to a discard operation on the target item in the virtual backpack of the first virtual character, the target item is removed from the virtual backpack of the first virtual character, and the remaining capacity of the virtual backpack of the second virtual character is increased by a target amount, which is equal to the required capacity of the target item.
[0034] In a second aspect, another embodiment of the present application provides a game control device, which controls a first virtual character in the game through a terminal device, and the device includes: a generation module and a pickup module, wherein:
[0035] The generating module is used to respond to a marking operation for a target object to be picked up, generate marking information of the target object and send the marking information to a terminal device corresponding to the second virtual character, the first virtual character and the second virtual character belong to the same game camp;
[0036] The picking module is used to respond to the picking operation for the target item when receiving the backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character, put the target item into the virtual backpack of the first virtual character, and deduct the capacity of the virtual backpack of the second virtual character accordingly according to the required capacity of the target item.
[0037] Optionally, the device further comprises: a selection module, wherein:
[0038] The generating module is specifically configured to respond to a marking operation on a target item to be picked up, generate marking information of the target item, and display a backpack capacity sharing interface including identification information of a teammate of the first virtual character;
[0039] The selection module is used to respond to a selection operation on the backpack capacity sharing interface, and send the marking information to a terminal device corresponding to the second virtual character according to the second virtual character selected by the selection operation.
[0040] Optionally, the device further comprises: an acquisition module, a comparison module, a determination module and a display module, wherein:
[0041] The acquisition module is used to acquire the remaining capacity of the virtual backpack of each teammate of the first virtual character;
[0042] The comparison module is used to compare the required capacity of the target item with the remaining capacity of the virtual backpack of each teammate of the first virtual character;
[0043] The determination module is used to determine a teammate whose remaining capacity of a virtual backpack is greater than or equal to the capacity required by the target item as a target teammate;
[0044] The display module is used to display a backpack capacity sharing interface including identification information of the target teammate.
[0045] Optionally, the device also includes: a sending module, which is used to send a backpack capacity sharing request message to the terminal device corresponding to the second virtual character when receiving a confirmation message sent by the second virtual character to obtain the target item in response to the marking information, so as to request sharing the remaining capacity of the virtual backpack of the second virtual character; wherein the backpack capacity sharing confirmation message is a confirmation message sent by the terminal device corresponding to the second virtual character in response to the backpack capacity sharing request message.
[0046] Optionally, the acquisition module is specifically configured to acquire the remaining capacity of the virtual backpack of the second virtual character when receiving a confirmation message for acquiring the target item sent by the second virtual character in response to the marking information;
[0047] The sending module is specifically configured to send a backpack capacity sharing request message to a terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character when the remaining capacity of the virtual backpack of the second virtual character is greater than or equal to the required capacity of the target item;
[0048] The display module is specifically used to display a backpack capacity sharing interface containing marking information of a third virtual character when the remaining capacity of the virtual backpack of the second virtual character is less than the capacity required for the target item, so as to request sharing of the remaining capacity of the virtual backpack of the third virtual character, wherein the third virtual character is a virtual character among the teammates of the first virtual character whose remaining capacity of the virtual backpack is greater than or equal to the capacity required for the target item.
[0049] Optionally, the sending module is specifically configured to respond to a selection operation on the identification information of the third virtual character in the backpack capacity sharing interface and send a backpack capacity sharing request message to a terminal device corresponding to the third virtual character;
[0050] The picking module is specifically used to respond to the picking operation for the target item when receiving a confirmation message returned by the terminal device corresponding to the third virtual character in response to the backpack capacity sharing request message, place the target item into the virtual backpack of the first virtual character, and deduct the capacity of the virtual backpack of the third virtual character accordingly according to the required capacity of the target item.
[0051] Optionally, the confirmation module is specifically configured to confirm that the remaining capacity of the virtual backpack of the first virtual character is less than the capacity required by the target item.
[0052] Optionally, the determination module is specifically configured to move the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character when the distance between the first virtual character and the second virtual character in the game scene is within a preset range.
[0053] Optionally, the device further includes: a discarding module, configured to move the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character when the distance between the first virtual character and the second virtual character in the game scene is within a preset range.
[0054] In the third aspect, another embodiment of the present application provides a terminal device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, when the terminal device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0055] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0056] The beneficial effect of the present application is: by adopting the game control method provided by the present application, after marking the target item to be picked up, the generated marking information of the target item is sent to the terminal device corresponding to the second virtual character, and when the second virtual character confirms the shared backpack capacity, the target item is placed in the virtual backpack of the first virtual character, and the backpack capacity of the second virtual character is deducted accordingly. This setting method makes it possible to request the capacity of the virtual backpack of the second virtual character of the same game camp even if the virtual backpack of the first virtual character is full and the virtual props cannot be picked up, and after the second virtual character agrees, the first character can put the target item into his own virtual backpack, but the capacity of the virtual backpack of the second virtual character is deducted, thereby improving the flexibility of picking up and placing the target items and improving the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 A flowchart of a method for controlling a game provided by an embodiment of the present application;
[0059] Figure 2 A flowchart of a game control method provided by another embodiment of the present application;
[0060] Figure 3 A flowchart of a game control method provided by another embodiment of the present application;
[0061] Figure 4 A schematic diagram of the structure of a game control device provided in one embodiment of the present application;
[0062] Figure 5 A schematic diagram of the structure of a game control device provided by another embodiment of the present application;
[0063] Figure 6 A schematic diagram of the structure of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0065] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0066] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.
[0067] The following is an explanation of a game control method provided in an embodiment of the present application in combination with a number of specific application examples. Figure 1 A flowchart of a game control method provided in an embodiment of the present application is provided, wherein a first virtual character in the game is controlled by a terminal device, such as Figure 1 As shown, the method includes:
[0068] S101: In response to a marking operation on a target object to be picked up, generating marking information of the target object and sending the marking information to a terminal device corresponding to a second virtual character.
[0069] Among them, in the game provided by the present application, the game scene may include multiple game camps, and players in each game camp need to cooperate with each other to achieve victory for the entire game camp in the current game. The number of people in the game camp may be subject to certain preset restrictions based on the current game rules or the current game mode. It should be understood that in the method provided by the present application, the first virtual character and the first virtual character mentioned belong to the same game camp.
[0070] In one embodiment of the present application, each virtual character may find various virtual items in the game scene while playing the game, and the virtual character can only initiate a picking operation on the target item when the distance between the virtual item and the virtual character is less than a preset distance threshold. Therefore, for some virtual players who are far away from the virtual item but want to obtain the virtual item, for example, they can request other virtual players in the same camp who are closer to the virtual item to pick up the virtual item.
[0071] In another embodiment, if player A finds item X during the game, he can mark the item, so that other players in the same game camp know that there is item X near the player, and can send a message to player A that they want item X, such as player B sending a message to player A that they want item X. If player A's backpack capacity is sufficient, player A can choose to use his own backpack capacity, or further request player B to share backpack capacity.
[0072] S102: When receiving a backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character, respond to the picking operation for the target item, put the target item into the virtual backpack of the first virtual character, and deduct the capacity of the virtual backpack of the second virtual character accordingly according to the required capacity of the target item.
[0073] In an embodiment of the present application, sharing the backpack capacity requires confirmation from the second virtual character before the capacity of the second virtual character's virtual backpack can be used. This sharing method allows for situations where the first virtual character wants to pick up a target item but the capacity of the first virtual character's virtual backpack is full, or the second virtual character is far away from the target item and needs the first virtual character who is closer to the target virtual item to help the second virtual character pick up the target item but does not want to occupy the capacity of the first virtual character's virtual backpack. By deducting the capacity of the second virtual character's virtual backpack, the first virtual character can pick up the target item without occupying the capacity of the first virtual character's virtual backpack, thereby avoiding the problem of the first virtual character helping the second virtual character to pick up the target item, which affects the development of the first virtual character.
[0074] By adopting the game control method provided by the present application, after marking the target item to be picked up, the generated marking information of the target item is sent to the terminal device corresponding to the second virtual character, and when the second virtual character confirms the shared backpack capacity, the target item is placed in the virtual backpack of the first virtual character, and the backpack capacity of the second virtual character is deducted accordingly. This setting method makes it possible to request the capacity of the virtual backpack of the second virtual character of the same game camp even if the virtual backpack of the first virtual character is full and the virtual props cannot be picked up. After the second virtual character agrees, the first character can put the target item into his own virtual backpack, but the capacity of the virtual backpack of the second virtual character will be deducted, thereby improving the flexibility of picking up and placing the target items and enhancing the player's gaming experience.
[0075] For example, in one embodiment of the present application, before sending the marking information to the terminal device corresponding to the second virtual character, it is necessary to confirm that the remaining capacity of the virtual backpack of the first virtual character is less than the capacity required for the target item, that is, to confirm whether the first virtual character can pick up the target item and put it in his own virtual backpack; if the remaining capacity is less than the capacity required for the target item, it means that the current first virtual character cannot pick up the target item and directly put it in his own virtual backpack, so it is necessary to send the marking information to the terminal device corresponding to the second virtual character to apply for occupying the backpack capacity of the second virtual character's virtual backpack to place the target item; if the remaining capacity is greater than or equal to the capacity required for the target item, it means that the current first virtual character cannot pick up the target item and directly put it in his own virtual backpack. The virtual character can pick up the target item and place the picked up target item in his own virtual backpack. At this time, if the first virtual character does not need the remaining capacity, he can directly pick up the target item and place the picked up target item in his own virtual backpack, and deduct the capacity required for placing the target item based on the remaining capacity of his own virtual backpack. There is no need to send marking information to the terminal device corresponding to the second virtual character. It should be understood that the above embodiment is only an exemplary description. The operations and processing methods after specifically determining the remaining capacity of the first virtual character's virtual backpack and the required capacity of the target item can be flexibly adjusted according to user needs and are not limited to those given in the above embodiment.
[0076] If the first player finds the target item in the game scene during the game and marks the target item, the marking information will be sent to the terminal devices of other virtual characters in the same camp. For example, the location and specific item information of the target item can be announced in the chat channel of the current camp. If the second virtual character in the same camp sees the announcement content and expresses that he needs the target item, the first virtual character will pick up the target item. The picking method can be to use the backpack capacity of his own virtual backpack to pick up the item, or to use the virtual backpack capacity of the second virtual character to pick up the item. The specific method can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0077] Optionally, based on the above embodiment, the embodiment of the present application further provides a game control method. The following is an example of the implementation process of sending the marking information to the terminal device corresponding to the second virtual character in the above method in combination with the accompanying drawings. Figure 2 A flowchart of a game control method provided by another embodiment of the present application is shown as follows: Figure 2 As shown, S101 may include:
[0078] S103: In response to a marking operation for a target item to be picked up, marking information of the target item is generated, and a backpack capacity sharing interface including identification information of a teammate of the first virtual character is displayed.
[0079] In one embodiment of the present application, when displaying the backpack capacity sharing interface, it is also necessary to obtain the remaining capacity of the virtual backpack of each teammate of the first virtual character; compare the required capacity of the target item with the remaining capacity of the virtual backpack of each teammate of the first virtual character; determine the teammate whose remaining capacity of the virtual backpack is greater than or equal to the required capacity of the target item as the target teammate; then display the backpack capacity sharing interface containing the identification information of the target teammate. This method ensures that the target teammates in reality on the backpack capacity sharing interface are all pre-judged and retrieved, and the remaining backpack capacity of the virtual backpack satisfies the target teammates for placing the target item. There is no need for the first virtual character to send identification information to each teammate in turn, and then determine whether each teammate can place the target item based on the returned result, thereby improving the convenience of selecting the second virtual object and improving the player's gaming experience.
[0080] In some other possible embodiments, if the remaining capacity of the virtual backpack of each teammate of the first virtual character is less than the capacity required for the target item, a request failure indication is returned to the backpack capacity sharing interface. At this time, the first virtual character needs to discard the virtual items in his or her virtual backpack, or when teammates discard the virtual items in their virtual backpacks, until the remaining backpack capacity is greater than or equal to the capacity required for the target item, a picking operation is attempted. It should be understood that the above embodiments are only exemplary, and the specific processing method when the remaining capacity of the virtual backpacks of the first virtual character and each teammate is less than the capacity required for the target item can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0081] In some possible embodiments, for example, each second virtual character can be displayed according to the remaining capacity of the virtual backpack of each second virtual character. For example, a second virtual character with more remaining capacity in the virtual backpack is displayed closer to the front on the backpack capacity sharing interface, and a second virtual character with less remaining capacity in the virtual backpack is displayed closer to the back on the backpack capacity sharing interface. This allows the first virtual character to try to select the second virtual character with more remaining capacity in the virtual backpack, so that a small part of the remaining capacity can be used to place the target item without affecting the development of the second virtual character itself, thereby improving the collaboration between teammates in the same camp and ensuring the development of each teammates in the same camp.
[0082] S104: In response to a selection operation on the backpack capacity sharing interface, according to the second virtual character selected by the selection operation, sending marking information to a terminal device corresponding to the second virtual character.
[0083] In one embodiment of the present application, a first virtual character can select a target teammate as a second virtual character on a backpack capacity sharing interface that includes identification information of at least one target teammate, and send marking information to the selected target teammate to request sharing of the backpack capacity of the second virtual character's virtual backpack to place the target item corresponding to the marking information.
[0084] By way of example, in some possible embodiments, the first virtual character can also directly send marking information to the second virtual character to request the remaining capacity of its virtual backpack. Specifically, after S101, when a confirmation message for obtaining the target item sent by the second virtual character in response to the marking information is received, a backpack capacity sharing request message is sent to the terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the second virtual character's virtual backpack; wherein the backpack capacity sharing confirmation message is a confirmation message sent by the terminal device corresponding to the second virtual character in response to the backpack capacity sharing request message.
[0085] Optionally, based on the above embodiment, the embodiment of the present application may further provide a method for controlling a game. The implementation process of the above method is illustrated below with reference to the accompanying drawings. Figure 3 A flowchart of a game control method provided by another embodiment of the present application is shown as follows: Figure 3 As shown, after S101, the method may further include:
[0086] S105: When receiving a confirmation message for obtaining the target item sent by the second virtual character in response to the marking information, obtaining the remaining capacity of the virtual backpack of the second virtual character.
[0087] In an embodiment of the present application, after the second virtual character sends confirmation information for obtaining the target item, the remaining capacity of the backpack of the second virtual character is obtained, and it is detected whether the remaining capacity of the backpack of the second virtual character is less than the required capacity of the target item.
[0088] S106: When the remaining capacity of the virtual backpack of the second virtual character is greater than or equal to the capacity required by the target item, a backpack capacity sharing request message is sent to the terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character.
[0089] If the remaining capacity of the second virtual character's virtual backpack is greater than or equal to the capacity required for the target item, it means that the current remaining capacity of the second virtual character's virtual backpack is sufficient to place the target item. The target item can be directly placed in the virtual backpack of the first virtual character, and the capacity required for the target item in the virtual backpack of the second virtual character is deducted.
[0090] S107: When the remaining capacity of the virtual backpack of the second virtual character is less than the capacity required by the target item, a backpack capacity sharing interface including the marking information of the third virtual character is displayed to request sharing of the remaining capacity of the virtual backpack of the third virtual character.
[0091] If the remaining capacity of the second virtual character's virtual backpack is less than the capacity required for the target item, it means that the current remaining capacity of the second virtual character's virtual backpack is insufficient to place the target item, and a backpack capacity sharing interface may be displayed. The backpack capacity sharing interface displays at least one third virtual character in the same camp as the first virtual character and the second virtual character. The first virtual character may request the remaining capacity of the third virtual character's virtual backpack to place the target item. The request method may, for example, request multiple third virtual characters at the same time, and determine that the third virtual character that returns confirmation information first is the target third virtual character. The request may also be sent to the selected third virtual character in response to a selection operation in the backpack capacity sharing interface. The specific method of sending the request may be flexibly adjusted according to user needs, and the present application does not impose any restrictions thereon. The specific method of verifying the request is the same as the method of verifying the remaining capacity of the second virtual character's virtual backpack, and the present application will not repeat it here.
[0092] The third virtual character is a virtual character among the teammates of the first virtual character whose remaining capacity of the virtual backpack is greater than or equal to the capacity required by the target item.
[0093] That is, in an embodiment of the present application, if the backpack capacities of the virtual backpacks of the first virtual character and the second virtual character are insufficient to place the target item, a virtual character whose remaining capacity of the virtual backpack is greater than or equal to the capacity required for the target item can be selected as a third virtual character from among the teammates of other virtual characters in the same camp, and a backpack capacity sharing request is sent to the third virtual character, requesting to share the remaining capacity of the third virtual character's virtual backpack. The third virtual character can choose whether to share the remaining capacity of his or her virtual backpack to consume the capacity of the target item.
[0094] In one embodiment of the present application, in response to a selection operation on identification information of a third virtual character in a backpack capacity sharing interface, a backpack capacity sharing request message is sent to a terminal device corresponding to the third virtual character; when a confirmation message returned by the terminal device corresponding to the third virtual character in response to the backpack capacity sharing request message is received, in response to a pick-up operation on a target item, the target item is placed in the virtual backpack of the first virtual character, and the capacity of the virtual backpack of the third virtual character is deducted accordingly according to the required capacity of the target item.
[0095] For example, in some possible embodiments, when the distance between the first virtual character and the second virtual character in the game scene is within a preset range, the target item in the virtual backpack of the first virtual character is moved to the virtual backpack of the second virtual character.
[0096] The above-mentioned method of picking up the target object improves the picking efficiency of the first virtual character helping the second virtual character to pick up the target object, further improves the player's gaming experience, and improves the convenience of collaboration between teammates.
[0097] That is, in the above scenario, there is no need for the first virtual character to pick up the target item first and then drop the target item around the second virtual character before the second virtual character picks up the target item. The first virtual character can help the second virtual character pick up the target item in the game scene, and when the distance between the first virtual character and the second virtual character is close, for example, within a preset range, the target item is directly moved to the virtual backpack of the second virtual character. This not only helps teammates who need the target item to pick up the target item, but also can directly move the target item to the virtual backpack of the second virtual character, thereby improving the picking efficiency of the first virtual character helping the second virtual character to pick up the target item, further improving the player's gaming experience, and improving the convenience of collaboration between teammates.
[0098] For example, in some other possible embodiments, the first virtual character may also discard items in the virtual backpack. Specifically, in response to a discard operation on a target item in the virtual backpack of the first virtual character, the target item is removed from the virtual backpack of the first virtual character, and the remaining capacity of the virtual backpack of the second virtual character is increased by a target amount, where the target amount is equal to the required capacity of the target item.
[0099] In some possible embodiments, the first virtual character may, for example, drop the target item around the second virtual character who is to pick up the target item, allowing the second virtual character to pick it up by itself. After picking up the target item, the second virtual character may directly use or equip the target item, and in this case, the backpack capacity of the second virtual character's virtual backpack does not need to be consumed. The second virtual character may also pick up the target item and put it in its own virtual backpack. In this case, after the second virtual character successfully picks up the item, the capacity required to place the target item is deducted from the remaining capacity of the second virtual character's virtual backpack. It should be understood that the above embodiments are merely exemplary, and the specific way in which the second virtual character picks up the target item can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0100] By adopting the game control method provided by the present application, not only can the first virtual character help the second virtual character who needs to obtain the target item to pick up the target item, but also when the virtual backpack capacity of the first virtual character is insufficient to place the target item, the first virtual character can request the remaining capacity of the virtual backpack of the second virtual character or the third virtual character in the same camp, ensuring that the first virtual character's own development is not affected, and the capacity of the virtual backpack of other virtual characters with more remaining capacity can be consumed to help himself or teammates pick up the target item, thereby improving the flexibility of game operation and the coordination between teammates, thereby playing a role in improving the player's gaming experience.
[0101] The following is an explanation of the game control device provided by the present application in conjunction with the accompanying drawings. The game control device can execute the above Figure 1-Figure 3 The specific implementation and beneficial effects of any game control method are as mentioned above and will not be repeated below.
[0102] Figure 4 A schematic diagram of the structure of a game control device for game control provided in an embodiment of the present application is shown as follows: Figure 4 As shown, the device includes: a generating module 201 and a picking module 202, wherein:
[0103] A generating module 201, for responding to a marking operation for a target object to be picked up, generating marking information of the target object and sending the marking information to a terminal device corresponding to the second virtual character, the first virtual character and the second virtual character belonging to the same game camp;
[0104] The picking module 202 is used to respond to the picking operation for the target item when receiving the backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character, put the target item into the virtual backpack of the first virtual character, and deduct the capacity of the virtual backpack of the second virtual character accordingly according to the required capacity of the target item.
[0105] Optionally, based on the above embodiment, the embodiment of the present application may also provide a game control device, as shown below in conjunction with the accompanying drawings. Figure 4 The implementation process of the given device is described by way of example. Figure 5 This is a structural diagram of a game control device provided in another embodiment of the present application, such as Figure 5 As shown, the device further includes: a selection module 203, wherein:
[0106] The generating module 201 is specifically used to respond to the marking operation for the target item to be picked up, generate marking information of the target item, and display a backpack capacity sharing interface including identification information of the teammates of the first virtual character;
[0107] The selection module 203 is used to respond to a selection operation on the backpack capacity sharing interface and send marking information to a terminal device corresponding to the second virtual character according to the second virtual character selected by the selection operation.
[0108] like Figure 5 As shown, the device further includes: an acquisition module 204, a comparison module 205, a determination module 206 and a display module 207, wherein:
[0109] The acquisition module 204 is used to acquire the remaining capacity of the virtual backpack of each teammate of the first virtual character;
[0110] A comparison module 205, for comparing the required capacity of the target item with the remaining capacity of the virtual backpack of each teammate of the first virtual character;
[0111] A determination module 206, for determining a teammate whose remaining capacity of a virtual backpack is greater than or equal to the capacity required by the target item as a target teammate;
[0112] The display module 207 is used to display the backpack capacity sharing interface including the identification information of the target teammate.
[0113] like Figure 5 As shown, the device also includes: a sending module 208, which is used to send a backpack capacity sharing request message to the terminal device corresponding to the second virtual character when receiving a confirmation message for obtaining the target item sent by the second virtual character in response to the marking information, so as to request sharing the remaining capacity of the virtual backpack of the second virtual character; wherein the backpack capacity sharing confirmation message is a confirmation message sent by the terminal device corresponding to the second virtual character in response to the backpack capacity sharing request message.
[0114] Optionally, the acquisition module 204 is specifically configured to acquire the remaining capacity of the virtual backpack of the second virtual character when receiving a confirmation message for acquiring the target item sent by the second virtual character in response to the marking information;
[0115] The sending module 208 is specifically configured to send a backpack capacity sharing request message to a terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character when the remaining capacity of the virtual backpack of the second virtual character is greater than or equal to the capacity required by the target item;
[0116] The display module 207 is specifically used to display a backpack capacity sharing interface containing marking information of a third virtual character when the remaining capacity of the virtual backpack of the second virtual character is less than the capacity required for the target item, so as to request sharing of the remaining capacity of the virtual backpack of the third virtual character, wherein the third virtual character is a virtual character among the teammates of the first virtual character whose remaining capacity of the virtual backpack is greater than or equal to the capacity required for the target item.
[0117] Optionally, the sending module 208 is specifically configured to respond to a selection operation on the identification information of the third virtual character in the backpack capacity sharing interface and send a backpack capacity sharing request message to a terminal device corresponding to the third virtual character;
[0118] The picking module 202 is specifically used to respond to the picking operation for the target item when receiving the confirmation message returned by the terminal device corresponding to the third virtual character in response to the backpack capacity sharing request message, put the target item into the virtual backpack of the first virtual character, and deduct the capacity of the virtual backpack of the third virtual character accordingly according to the required capacity of the target item.
[0119] Optionally, the determination module 206 is specifically configured to determine that the remaining capacity of the virtual backpack of the first virtual character is less than the capacity required by the target item.
[0120] Optionally, the determination module 206 is specifically configured to move the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character when the distance between the first virtual character and the second virtual character in the game scene is within a preset range.
[0121] like Figure 5 As shown, the device also includes: a discarding module 209, which is used to move the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character when the distance between the first virtual character and the second virtual character in the game scene is within a preset range.
[0122] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0123] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0124] Figure 6This is a schematic diagram of the structure of a terminal device provided in one embodiment of the present application. The terminal device can be integrated into a terminal device or a chip of the terminal device.
[0125] like Figure 6 As shown, the terminal device includes: a processor 501, a storage medium 502 and a bus 503.
[0126] The processor 501 is used to store programs. The processor 501 calls the program stored in the storage medium 502 to execute the above Figure 1-Figure 3 The corresponding method embodiment has similar specific implementation methods and technical effects, which will not be described here.
[0127] Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program that, when executed by a processor, executes an embodiment corresponding to the above method.
[0128] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0130] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0131] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. A method for controlling a game, characterized in that: The method of controlling a first virtual character in the game through a terminal device includes: In response to a marking operation for a target object to be picked up, generating marking information of the target object and sending the marking information to a terminal device corresponding to a second virtual character, the first virtual character and the second virtual character belonging to the same game camp; When receiving a backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character, responding to the picking operation for the target item, placing the target item into the virtual backpack of the first virtual character, and deducting the capacity of the virtual backpack of the second virtual character accordingly according to the required capacity of the target item; After sending the marking information to the terminal device corresponding to the second virtual character, the method further includes: When receiving a confirmation message for obtaining the target item sent by the second virtual character in response to the marking information, obtaining the remaining capacity of the virtual backpack of the second virtual character; When the remaining capacity of the virtual backpack of the second virtual character is greater than or equal to the required capacity of the target item, sending a backpack capacity sharing request message to the terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character; When the remaining capacity of the virtual backpack of the second virtual character is less than the capacity required for the target item, a backpack capacity sharing interface containing the marking information of the third virtual character is displayed to request sharing of the remaining capacity of the virtual backpack of the third virtual character, wherein the third virtual character is a virtual character among the teammates of the first virtual character whose remaining capacity of the virtual backpack is greater than or equal to the capacity required for the target item.
2. The method according to claim 1, characterized in that: The step of generating marking information of the target object in response to the marking operation for the target object to be picked up, and sending the marking information to a terminal device corresponding to the second virtual character includes: In response to a marking operation for a target item to be picked up, generating marking information of the target item, and displaying a backpack capacity sharing interface including identification information of a teammate of the first virtual character; In response to a selection operation on the backpack capacity sharing interface, the marking information is sent to a terminal device corresponding to the second virtual character according to the second virtual character selected by the selection operation.
3. The method according to claim 2, characterized in that The backpack capacity sharing interface displaying the identification information of the teammates of the first virtual character includes: Obtaining the remaining capacity of the virtual backpack of each teammate of the first virtual character; comparing the required capacity of the target item with the remaining capacity of the virtual backpack of each teammate of the first virtual character; Determine a teammate whose remaining capacity of a virtual backpack is greater than or equal to the capacity required by the target item as the target teammate; A backpack capacity sharing interface including identification information of the target teammate is displayed.
4. The method according to claim 1, characterized in that: After sending the marking information to the terminal device corresponding to the second virtual character, the method further includes: When receiving a confirmation message for obtaining the target item sent by the second virtual character in response to the marking information, sending a backpack capacity sharing request message to a terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character; The backpack capacity sharing confirmation message is a confirmation message sent by the terminal device corresponding to the second virtual character in response to the backpack capacity sharing request message.
5. The method according to claim 1, characterized in that The method further comprises: In response to a selection operation on the identification information of the third virtual character in the backpack capacity sharing interface, sending a backpack capacity sharing request message to a terminal device corresponding to the third virtual character; When receiving a confirmation message returned by the terminal device corresponding to the third virtual character in response to the backpack capacity sharing request message, in response to the picking operation for the target item, the target item is placed in the virtual backpack of the first virtual character, and the capacity of the virtual backpack of the third virtual character is deducted accordingly according to the required capacity of the target item.
6. The method according to claim 1, characterized in that Before generating the mark information of the target object and sending the mark information to the terminal device corresponding to the second virtual character, the method further includes: It is confirmed that the remaining capacity of the virtual backpack of the first virtual character is less than the required capacity of the target item.
7. The method according to claim 1, characterized in that The method further comprises: When the distance between the first virtual character and the second virtual character in the game scene is within a preset range, the target item in the virtual backpack of the first virtual character is moved to the virtual backpack of the second virtual character.
8. The method according to claim 1, characterized in that The method further comprises: In response to a discard operation on the target item in the virtual backpack of the first virtual character, the target item is removed from the virtual backpack of the first virtual character, and the remaining capacity of the virtual backpack of the second virtual character is increased by a target amount, which is equal to the required capacity of the target item.
9. A game control device, characterized in that: The device is used to control the first virtual character in the game through a terminal device, and the device includes: a generation module and a pickup module, wherein: The generating module is used to respond to a marking operation on a target object to be picked up, generate marking information of the target object and send the marking information to a terminal device corresponding to a second virtual character, wherein the first virtual character and the second virtual character belong to the same game camp; The picking module is configured to, when receiving a backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character, respond to a picking operation for the target item, put the target item into the virtual backpack of the first virtual character, and deduct the capacity of the virtual backpack of the second virtual character accordingly according to the required capacity of the target item; The device further comprises: an acquisition module, a sending module and a display module, wherein: The acquisition module is configured to acquire the remaining capacity of the virtual backpack of the second virtual character upon receiving a confirmation message for acquiring the target item sent by the second virtual character in response to the marking information; The sending module is used to send a backpack capacity sharing request message to the terminal device corresponding to the second virtual character to request sharing of the remaining capacity of the virtual backpack of the second virtual character when the remaining capacity of the virtual backpack of the second virtual character is greater than or equal to the required capacity of the target item; The display module is specifically used to display a backpack capacity sharing interface containing marking information of a third virtual character when the remaining capacity of the virtual backpack of the second virtual character is less than the capacity required for the target item, so as to request sharing of the remaining capacity of the virtual backpack of the third virtual character, wherein the third virtual character is a virtual character among the teammates of the first virtual character whose remaining capacity of the virtual backpack is greater than or equal to the capacity required for the target item.
10. A terminal device, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, and when the terminal device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the method described in any one of claims 1 to 8.
11. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is executed.
