Game control method, device, terminal equipment and storage medium

文档序号:146218 发布日期:2021-10-26 浏览:30次 中文

阅读说明:本技术 游戏控制的方法、装置、终端设备及存储介质 (Game control method, device, terminal equipment and storage medium ) 是由 胡佳胜 胡志鹏 程龙 刘勇成 袁思思 于 2021-08-02 设计创作,主要内容包括:本申请提供一种游戏控制的方法、装置、终端设备及存储介质,涉及游戏领域。该方法包括:响应针对待拾取的目标物品的标记操作,生成所述目标物品的标记信息且将所述标记信息发送至第二虚拟角色对应的终端设备,所述第一虚拟角色和所述第一虚拟角色属于同一游戏阵营;当接收到所述第二虚拟角色对应的终端设备发送的背包容量分享确认消息时,响应针对所述目标物品的拾取操作,将所述目标物品放入所述第一虚拟角色的虚拟背包中,且根据所述目标物品所需容量对所述第二虚拟角色的虚拟背包的容量进行相应扣除。相对于现有技术,避免了玩家拾取虚拟道具具有很大的受限,不够灵活,从而影响了玩家了游戏体验的问题。(The application provides a game control method, a game control device, terminal equipment and a storage medium, and relates to the field of games. The method comprises the following steps: responding to a marking operation aiming at a target object to be picked up, generating marking information of the target object and sending the marking information to terminal equipment corresponding to a second virtual character, wherein the first virtual character and the first virtual character belong to the same game formation; when a backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character is received, responding to the picking operation aiming at the target object, putting the target object into the virtual backpack of the first virtual character, and correspondingly deducting the capacity of the virtual backpack of the second virtual character according to the capacity required by the target object. Compared with the prior art, the problem that the player is influenced in game experience due to the fact that the player is limited to pick up the virtual item and is not flexible enough is solved.)

1. A method of game control, characterized in that a first virtual character in the game is controlled by a terminal device, the method comprising:

responding to a marking operation aiming at a target object to be picked up, generating marking information of the target object and sending the marking information to terminal equipment corresponding to a second virtual character, wherein the first virtual character and the first virtual character belong to the same game formation;

when a backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character is received, responding to the picking operation aiming at the target object, putting the target object into the virtual backpack of the first virtual character, and correspondingly deducting the capacity of the virtual backpack of the second virtual character according to the capacity required by the target object.

2. The method according to claim 1, wherein the generating marking information of the target item in response to the marking operation for the target item to be picked up and sending the marking information to the terminal device corresponding to the second virtual character comprises:

responding to marking operation of a target object to be picked up, generating marking information of the target object, and displaying a back pack capacity sharing interface containing identification information of teammates of the first virtual role;

responding to the selection operation aiming at the backpack capacity sharing interface, and sending the marking information to the terminal equipment corresponding to the second virtual role according to the second virtual role selected by the selection operation.

3. The method of claim 2, wherein displaying a knapsack capacity sharing interface containing identification information of teammates of the first virtual character comprises:

acquiring the residual 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, respectively;

determining teammates with the residual capacity of the virtual backpack larger than or equal to the capacity required by the target article as target teammates;

and displaying a back pack capacity sharing interface containing the identification information of the target teammates.

4. The method of claim 1, wherein after sending the tag information to the terminal device corresponding to the second virtual role, the method further comprises:

when receiving a confirmation message of acquiring the target item, which is sent by the second virtual character aiming at the mark information, sending a backpack capacity sharing request message to a terminal device corresponding to the second virtual character so as to request to share the residual 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 role for the backpack capacity sharing request message.

5. The method of claim 1, wherein after sending the tag information to the terminal device corresponding to the second virtual role, the method further comprises:

when a confirmation message of acquiring the target item, which is sent by the second virtual character aiming at the marking information, is received, acquiring the residual capacity of the virtual backpack of the second virtual character;

when the residual capacity of the virtual backpack of the second virtual character is larger than or equal to the capacity required by the target item, sending a backpack capacity sharing request message to the terminal equipment corresponding to the second virtual character to request to share the residual capacity of the virtual backpack of the second virtual character;

and when the remaining capacity of the virtual backpack of the second virtual character is smaller than the capacity required by the target item, displaying a backpack capacity sharing interface containing mark information of a third virtual character to request to share the remaining capacity of the virtual backpack of the third virtual character, wherein the third virtual character is a virtual character of which the remaining capacity of the virtual backpack in the teammate of the first virtual character is larger than or equal to the capacity required by the target item.

6. The method of claim 5, further comprising:

responding to selection operation aiming at the identification information of the third virtual role in the backpack capacity sharing interface, and sending a backpack capacity sharing request message to terminal equipment corresponding to the third virtual role;

when receiving a confirmation message returned by the terminal device corresponding to the third virtual character aiming at the backpack capacity sharing request message, responding to the picking operation aiming at the target object, putting the target object into the virtual backpack of the first virtual character, and correspondingly deducting the capacity of the virtual backpack of the third virtual character according to the capacity required by the target object.

7. The method according to claim 1, wherein before generating the tag information of the target item and sending the tag information to the terminal device corresponding to the second virtual character, the method further comprises:

confirming that the remaining capacity of the virtual backpack of the first virtual character is less than the required capacity of the target item.

8. The method of claim 1, further comprising:

when the distance between the first virtual character and the second virtual character in the game scene is within a preset range, moving the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character.

9. The method of claim 1, further comprising:

in response to a discard operation for the target item in the virtual backpack of the first virtual character, removing the target item from the virtual backpack of the first virtual character and increasing the remaining capacity of the virtual backpack of the second virtual character by a target amount, the target amount being equal to the capacity required for the target item.

10. An apparatus for controlling a game, for controlling a first virtual character in the game by a terminal device, the apparatus comprising: a generation module and a pick-up module, wherein:

the generating module is used for responding to the marking operation of a target object to be picked up, generating marking information of the target object and sending the marking information to terminal equipment corresponding to a second virtual character, wherein the first virtual character and the first virtual character belong to the same game formation;

the pickup module is configured to, when receiving a backpack capacity sharing confirmation message sent by a terminal device corresponding to the second virtual character, respond to a pickup operation for the target item, place the target item in the virtual backpack of the first virtual character, and perform corresponding deduction on the capacity of the virtual backpack of the second virtual character according to the capacity required by the target item.

11. A terminal device, characterized in that the device comprises: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the terminal device is operating, the processor executing the machine-readable instructions to perform the method of any one of claims 1 to 9.

12. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, performs the method of any of the preceding claims 1-9.

Technical Field

The present application relates to the field of game technologies, and in particular, to a method and an apparatus for controlling a game, a terminal device, and a storage medium.

Background

The tactical competitive game is a game in which virtual characters are placed in a virtual game scene, a series of competitive rules are provided, and players control the virtual characters in the virtual game scene to compete according to the competitive rules.

In the game process, each player can obtain a virtual backpack in the game, the virtual backpack is used for storing the virtual item of the player, but the game generally sets a certain upper limit of capacity, when the capacity of the virtual backpack reaches the upper limit of the capacity, the player cannot obtain other virtual items, and only after discarding other virtual items, the player can obtain the capacity of the corresponding virtual backpack and then pick up the corresponding virtual item.

However, the arrangement mode causes great limitation and inflexibility in picking up the virtual item by the player, thereby influencing the game experience of the player.

Disclosure of Invention

An object of the present application is to provide a method, an apparatus, a terminal device and a storage medium for game control, which are used to solve the problem that in the prior art, a player has great limitation and is not flexible enough to pick up a virtual item, thereby influencing the game experience of the player.

In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:

in a first aspect, an embodiment of the present application provides a method for controlling a game, where a first virtual character in the game is controlled by a terminal device, and the method includes:

responding to a marking operation aiming at a target object to be picked up, generating marking information of the target object and sending the marking information to terminal equipment corresponding to a second virtual character, wherein the first virtual character and the first virtual character belong to the same game formation;

when a backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character is received, responding to the picking operation aiming at the target object, putting the target object into the virtual backpack of the first virtual character, and correspondingly deducting the capacity of the virtual backpack of the second virtual character according to the capacity required by the target object.

Optionally, the generating, in response to a marking operation for a target item to be picked up, marking information of the target item, and sending the marking information to a terminal device corresponding to a second virtual character includes:

responding to marking operation of a target object to be picked up, generating marking information of the target object, and displaying a back pack capacity sharing interface containing identification information of teammates of the first virtual role;

responding to the selection operation aiming at the backpack capacity sharing interface, and sending the marking information to the terminal equipment corresponding to the second virtual role according to the second virtual role selected by the selection operation.

Optionally, the displaying a backpack capacity sharing interface including identification information of teammates of the first virtual character includes:

acquiring the residual 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, respectively;

determining teammates with the residual capacity of the virtual backpack larger than or equal to the capacity required by the target article as target teammates;

and displaying a back pack capacity sharing interface containing the identification information of the target teammates.

Optionally, after sending the tag information to the terminal device corresponding to the second virtual role, the method further includes:

when receiving a confirmation message of acquiring the target item, which is sent by the second virtual character aiming at the mark information, sending a backpack capacity sharing request message to a terminal device corresponding to the second virtual character so as to request to share the residual 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 role for the backpack capacity sharing request message.

Optionally, after sending the tag information to the terminal device corresponding to the second virtual role, the method further includes:

when a confirmation message of acquiring the target item, which is sent by the second virtual character aiming at the marking information, is received, acquiring the residual capacity of the virtual backpack of the second virtual character;

when the residual capacity of the virtual backpack of the second virtual character is larger than or equal to the capacity required by the target item, sending a backpack capacity sharing request message to the terminal equipment corresponding to the second virtual character to request to share the residual capacity of the virtual backpack of the second virtual character;

and when the remaining capacity of the virtual backpack of the second virtual character is smaller than the capacity required by the target item, displaying a backpack capacity sharing interface containing mark information of a third virtual character to request to share the remaining capacity of the virtual backpack of the third virtual character, wherein the third virtual character is a virtual character of which the remaining capacity of the virtual backpack in the teammate of the first virtual character is larger than or equal to the capacity required by the target item.

Optionally, the method further comprises:

responding to selection operation aiming at the identification information of the third virtual role in the backpack capacity sharing interface, and sending a backpack capacity sharing request message to terminal equipment corresponding to the third virtual role;

when receiving a confirmation message returned by the terminal device corresponding to the third virtual character aiming at the backpack capacity sharing request message, responding to the picking operation aiming at the target object, putting the target object into the virtual backpack of the first virtual character, and correspondingly deducting the capacity of the virtual backpack of the third virtual character according to the capacity required by the target object.

Optionally, before generating the tag information of the target item and sending the tag information to the terminal device corresponding to the second virtual character, the method further includes:

confirming that the remaining capacity of the virtual backpack of the first virtual character is less than the required capacity of the target item.

Optionally, 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, moving the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character.

Optionally, the method further comprises:

in response to a discard operation for the target item in the virtual backpack of the first virtual character, removing the target item from the virtual backpack of the first virtual character and increasing the remaining capacity of the virtual backpack of the second virtual character by a target amount, the target amount being equal to the capacity required for the target item.

In a second aspect, another embodiment of the present application provides an apparatus for controlling a game, in which a first virtual character in the game is controlled by a terminal device, the apparatus including: a generation module and a pick-up module, wherein:

the generating module is used for responding to the marking operation of a target object to be picked up, generating marking information of the target object and sending the marking information to terminal equipment corresponding to a second virtual character, wherein the first virtual character and the first virtual character belong to the same game formation;

the pickup module is configured to, when receiving a backpack capacity sharing confirmation message sent by a terminal device corresponding to the second virtual character, respond to a pickup operation for the target item, place the target item in the virtual backpack of the first virtual character, and perform corresponding deduction on the capacity of the virtual backpack of the second virtual character according to the capacity required by the target item.

Optionally, the apparatus further comprises: a selection module, wherein:

the generating module is specifically configured to generate tag information of a target item to be picked up in response to a tag operation for the target item, and display a backpack capacity sharing interface including identification information of teammates of the first virtual character;

the selection module is used for responding to selection operation of the backpack capacity sharing interface and sending the marking information to the terminal equipment corresponding to the second virtual role according to the second virtual role selected by the selection operation.

Optionally, the apparatus further comprises: the device comprises an acquisition module, a comparison module, a determination module and a display module, wherein:

the obtaining module is used for obtaining the residual capacity of the virtual backpack of each teammate of the first virtual role;

the comparison module is used for comparing the capacity required by the target object with the residual capacity of the virtual backpack of each teammate of the first virtual character;

the determining module is used for determining teammates of which the residual capacity of the virtual backpack is larger than or equal to the capacity required by the target article as target teammates;

and the display module is used for displaying a back pack capacity sharing interface containing the identification information of the target teammates.

Optionally, the apparatus further comprises: a sending module, configured to send a backpack capacity sharing request message to a terminal device corresponding to the second virtual character to request to share the remaining capacity of the virtual backpack of the second virtual character when receiving a confirmation message sent by the second virtual character for acquiring the target item in response to the tag information; the backpack capacity sharing confirmation message is a confirmation message sent by the terminal device corresponding to the second virtual role for the backpack capacity sharing request message.

Optionally, the obtaining module is specifically configured to obtain the remaining capacity of the virtual backpack of the second virtual character when receiving a confirmation message that the second virtual character obtains the target item and is sent for the tag information;

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 to share 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;

the display module is specifically configured to display a backpack capacity sharing interface including label information of a third virtual character to request sharing of the remaining capacity of the virtual backpack of the third virtual character when the remaining capacity of the virtual backpack of the second virtual character is smaller than the capacity required by the target item, where the third virtual character is a virtual character in which the remaining capacity of the virtual backpack in the teammates of the first virtual character is greater than or equal to the capacity required by the target item.

Optionally, the sending module is specifically configured to send, in response to a selection operation for the identification information of the third virtual role in the backpack capacity sharing interface, a backpack capacity sharing request message to a terminal device corresponding to the third virtual role;

the pickup module is specifically configured to, when receiving a confirmation message returned by the terminal device corresponding to the third virtual character for the backpack capacity sharing request message, respond to a pickup operation for the target item, place the target item in the virtual backpack of the first virtual character, and perform corresponding deduction on the capacity of the virtual backpack of the third virtual character according to the capacity required by the target item.

Optionally, the confirming module is specifically configured to confirm that the remaining capacity of the virtual backpack of the first virtual character is smaller than the required capacity of the target item.

Optionally, the determining module is specifically configured to, when a distance between the first virtual character and the second virtual character in the game scene is within a preset range, move the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character.

Optionally, the apparatus further comprises: and the discarding module is used for moving 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.

In a third aspect, another embodiment of the present application provides a terminal device, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the terminal device runs, the processor and the storage medium communicate with each other through the bus, and the processor executes the machine-readable instructions to execute the steps of the method according to any one of the first aspect.

In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method according to any one of the above first aspects.

The beneficial effect of this application is: by adopting the game control method provided by the application, after the target item to be picked up is marked, sending the generated mark information of the target object to the terminal equipment corresponding to the second virtual role, and when the second virtual character confirms to share the backpack capacity, the target item is put into the virtual backpack of the first virtual character, and the backpack capacity of the second virtual character is correspondingly deducted, the arrangement mode is that the capacity of the virtual backpack of the second virtual character in the same game formation can be requested even if the virtual backpack of the first virtual character is full and can not pick up the virtual prop, and after the second virtual role agrees, the first role can put the target object into the virtual backpack of the first role, but deduct the capacity of the virtual backpack of the second virtual role, thereby improving the flexibility of picking and placing the target items and improving the game experience of the player.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.

FIG. 1 is a flow chart illustrating a method of game control according to an embodiment of the present application;

FIG. 2 is a schematic flow chart of a method for game control according to another embodiment of the present application;

FIG. 3 is a flow chart illustrating a method of game control according to another embodiment of the present application;

FIG. 4 is a schematic structural diagram of a game control apparatus according to an embodiment of the present application;

FIG. 5 is a schematic diagram of a game control apparatus according to another embodiment of the present application;

fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.

Detailed Description

In order to make the objects, 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 with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.

The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

Additionally, the flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.

The method for controlling a game provided by the embodiment of the present application is explained below with reference to a plurality of specific application examples. Fig. 1 is a schematic flowchart of a method for controlling a game according to an embodiment of the present application, where a terminal device controls a first virtual character in the game, and as shown in fig. 1, the method includes:

s101: and responding to the marking operation aiming at the target object to be picked up, generating marking information of the target object and sending the marking information to the terminal equipment corresponding to the second virtual role.

In the game provided by the present application, a game scene may include a plurality of game camps, players in each game camps need to cooperate with each other to obtain a win of the whole game camps in the current game, the number of people in the game camps may have a certain preset limit according to a current game rule or a current game mode, for example, it should be understood that in the method provided by the present application, the first virtual character and the first virtual character belong to the same game camps.

In an embodiment of the present application, during a game of each virtual character in a game scene, it is possible to find various virtual items in the game scene, and only when a distance between a virtual item and the virtual character is smaller than a preset distance threshold, the virtual character may initiate a pickup operation to a target item, so for some virtual players far away from the virtual item but wanting to acquire the virtual item, for example, other virtual players in the same row who are near to the virtual item may be requested to pick up the virtual item.

In another embodiment, during the game, player a may mark item X if it is found, so that other players in the same game lineup know that item X is in the vicinity of the player, and may send a message that player B wants item X to player a, for example. If the backpack capacity of the player A is enough, the player A can choose to use the backpack capacity of the player A, and can further request the player B to share the backpack capacity.

S102: when a backpack capacity sharing confirmation message sent by the terminal device corresponding to the second virtual character is received, responding to the picking operation aiming at the target object, putting the target object into the virtual backpack of the first virtual character, and correspondingly deducting the capacity of the virtual backpack of the second virtual character according to the capacity required by the target object.

In the embodiment of the present application, sharing backpack capacity requires the confirmation of the second avatar, so that the capacity of the virtual backpack of the second avatar can be used, such sharing is such that, in the event that some of the first avatars would like to pick up the target item, but the first avatars' virtual backpacks are full of capacity, or the second virtual character is farther away from the target item, the first virtual character closer to the target virtual item is needed to help the second virtual character pick up the target item, but does not want to occupy the capacity of the virtual backpack of the first virtual character, by deducting the capacity of the virtual backpack of the second virtual character, so that the first virtual character can pick up the target item without occupying the capacity of the virtual backpack of the first virtual character, therefore, the problem that the first virtual character influences the development of the first virtual character due to the fact that the first virtual character helps the second virtual character to pick up the target object is solved.

By adopting the game control method provided by the application, after the target item to be picked up is marked, sending the generated mark information of the target object to the terminal equipment corresponding to the second virtual role, and when the second virtual character confirms to share the backpack capacity, the target item is put into the virtual backpack of the first virtual character, and the backpack capacity of the second virtual character is correspondingly deducted, the arrangement mode is that the capacity of the virtual backpack of the second virtual character in the same game formation can be requested even if the virtual backpack of the first virtual character is full and can not pick up the virtual prop, and after the second virtual role agrees, the first role can put the target object into the virtual backpack of the first role, but deduct the capacity of the virtual backpack of the second virtual role, thereby improving the flexibility of picking and placing the target items and improving the game experience of the player.

For example, in an embodiment of the present application, before sending the tag information to the terminal device corresponding to the second virtual character, it needs to be confirmed that the remaining capacity of the virtual backpack of the first virtual character is smaller than the required capacity of the target item, that is, it is confirmed whether the first virtual character can pick up the target item to its own virtual backpack; if the residual usage is smaller than the capacity required by the target object, it indicates that the target object cannot be picked up by the first virtual character and directly placed in the virtual backpack of the first virtual character, and therefore, the first virtual character needs to send the mark information to the terminal device corresponding to the second virtual character to apply for occupying the backpack capacity of the virtual backpack of the second virtual character to place the target object; if the remaining capacity is larger than or equal to the capacity required by the target item, the first virtual character can pick up the target item at present, and the picked target item can be placed in its own virtual backpack, where the first virtual character does not need the remaining capacity, can directly pick up the target object and place the picked-up target object in the virtual backpack of the user, and deduct the capacity required for placing the target item on the basis of the remaining capacity of the virtual backpack of the user, without sending the tag information to the terminal device corresponding to the second virtual character, it should be understood that the above embodiment is merely an exemplary illustration, and the operation and processing modes after specifically determining the remaining capacity of the virtual backpack of the first virtual character and the capacity required for the target item may be flexibly adjusted according to the user requirements, and are not limited to the embodiments described above.

If a first player finds a target item in a game scene and performs a marking operation on the target item in a game process, the marking information is sent to terminal devices of other virtual characters in the same camp, for example, the item position and specific item information of the target item can be disclosed in a chat channel of the current camp, if a second virtual character in the same camp sees the disclosure content and indicates that the second virtual character needs the target item, the first virtual character picks up the target item, the picking-up mode can be to pick up the backpack capacity of the virtual backpack of the first player or to pick up the virtual backpack capacity of the second virtual character, and the picking-up mode can be flexibly adjusted according to the user requirements, and is not limited by the embodiments.

Optionally, on the basis of the foregoing embodiment, an embodiment of the present application further provides a method for controlling a game, and an implementation process of sending the tag information to the terminal device corresponding to the second virtual character in the foregoing method is described as follows with reference to the accompanying drawings. Fig. 2 is a schematic flowchart of a game control method according to another embodiment of the present application, and as shown in fig. 2, S101 may include:

s103: and responding to the marking operation aiming at the target object to be picked up, generating marking information of the target object, and displaying a back pack capacity sharing interface containing identification information of teammates of the first virtual character.

In an embodiment of the present application, when displaying the backpack capacity sharing interface, the remaining capacity of the virtual backpack of each teammate of the first virtual character needs to be acquired; comparing the required capacity of the target item with the remaining capacity of the virtual backpack of each teammate of the first virtual character, respectively; determining teammates of which the residual capacity of the virtual backpack is larger than or equal to the capacity required by the target object as target teammates; and then displaying a backpack capacity sharing interface containing identification information of the target teammates, wherein the target teammates on the backpack capacity sharing interface are judged and searched in advance in a mode of displaying the backpack capacity sharing interface before the first virtual character selects the second virtual character, the residual backpack capacity of the virtual backpack meets the target teammates for placing target objects, the first virtual character is not required to send the identification information to the teammates in sequence, and whether the teammates can place the target objects is determined according to a returned result, so that the convenience for selecting the second virtual object is improved, and the game experience of players is improved.

In 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 by the target item, the request failure indication is returned to the backpack capacity sharing interface, and at this time, the first virtual character needs to discard the virtual item in its virtual backpack, or the teammate discards the virtual item in its virtual backpack until the remaining backpack capacity is greater than or equal to the capacity required by the target item, where the picking operation is attempted.

In some possible embodiments, for example, the second virtual roles with more remaining capacity of the virtual backpack may be displayed according to the remaining capacity of the virtual backpack of each second virtual role, for example, the second virtual roles with less remaining capacity of the virtual backpack are displayed more forward on the backpack capacity sharing interface, and the second virtual roles with less remaining capacity of the virtual backpack are displayed more backward on the backpack capacity sharing interface, so that the first virtual role may select the second virtual roles with more remaining capacity of the virtual backpack as much as possible, and a small portion of the remaining capacity may be used to place the target item without affecting the self-development of the second virtual roles, thereby improving the collaboration between teammates in the same row and ensuring the self-development of teammates in the same row.

S104: and responding to the selection operation aiming at the backpack capacity sharing interface, and sending the marking information to the terminal equipment corresponding to the second virtual role according to the second virtual role selected by the selection operation.

In an embodiment of the present application, the first virtual character may select one target teammate as the second virtual character on a backpack capacity sharing interface including identification information of at least one target teammate, and send mark information to the selected target teammate to request that a target item corresponding to the mark information is placed on a backpack capacity of a virtual backpack sharing the second virtual character.

For example, in some possible embodiments, the remaining capacity of the virtual backpack of the first virtual character may also be requested from the second virtual character by directly sending the tag information to the second virtual character by the first virtual character, specifically, after S101, when receiving a confirmation message that the second virtual character sends for the tag information and acquires the target item, the confirmation message sends a backpack capacity sharing request message to the terminal device corresponding to the second virtual character to request to share 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 role for the backpack capacity sharing request message.

Optionally, on the basis of the above embodiments, embodiments of the present application may further provide a method for controlling a game, and an implementation process of the method is described as follows with reference to the accompanying drawings. Fig. 3 is a schematic flowchart of a game control method according to another embodiment of the present application, and as shown in fig. 3, after S101, the method may further include:

s105: and when receiving a confirmation message of the second virtual character for acquiring the target item, which is sent by the second virtual character aiming at the mark information, acquiring the residual capacity of the virtual backpack of the second virtual character.

In the embodiment of the application, after the second virtual character sends the 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 smaller than the required capacity of the target item.

S106: and when the residual capacity of the virtual backpack of the second virtual character is larger than or equal to the capacity required by the target item, sending a backpack capacity sharing request message to the terminal equipment corresponding to the second virtual character to request to share the residual capacity of the virtual backpack of the second virtual character.

If the remaining capacity of the virtual backpack of the second virtual character is larger than or equal to the capacity required by the target item, the current remaining capacity of the virtual backpack of the second virtual character is enough 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 by the target item in the virtual backpack of the second virtual character is deducted.

S107: and when the residual capacity of the virtual backpack of the second virtual character is smaller than the capacity required by the target item, displaying a backpack capacity sharing interface containing the mark information of the third virtual character to request to share the residual capacity of the virtual backpack of the third virtual character.

If the remaining capacity of the virtual backpack of the second virtual character is smaller than the capacity required by the target item, it indicates that the remaining capacity of the virtual backpack of the second virtual character is not enough to place the target item, a backpack capacity sharing interface may be displayed, in which at least one third virtual character in the same row as the first virtual character and the second virtual character is displayed, the first virtual character may request the remaining capacity of the virtual backpack of the third virtual character to place the target item, the request manner may, for example, simultaneously request a plurality of third virtual characters, and determine that the third virtual character that preferentially returns confirmation information is the target third virtual character, or may, in response to a selection operation in the backpack capacity sharing interface, send a request to the selected third virtual character, and a specific manner of sending the request may be flexibly adjusted according to a user's need, the method for verifying the remaining capacity of the virtual backpack of the second virtual role is not limited to any specific method, and the specific verification request method is the same as the method for verifying the remaining capacity of the virtual backpack of the second virtual role.

And the third virtual character is the virtual character of which the remaining capacity of the virtual backpack in the teammate of the first virtual character is more than or equal to the capacity required by the target item.

That is, in the embodiment of the present application, if the backpack capacity of the virtual backpack of the first virtual character and the virtual backpack of the second virtual character are not enough to place the target item, a virtual character having a remaining capacity of the virtual backpack that is greater than or equal to the capacity required by the target item may be selected as a third virtual character among teammates of other virtual characters in the same formation, and a backpack capacity sharing request may be sent to the third virtual character to request sharing of the remaining capacity of the virtual backpack of the third virtual character, and the third virtual character may select whether to share the remaining capacity of its own virtual backpack to consume the capacity of the target item.

In an embodiment of the application, a backpack capacity sharing request message is sent to a terminal device corresponding to a third virtual role in a backpack capacity sharing interface in response to a selection operation for identification information of the third virtual role; and when receiving a confirmation message returned by the terminal equipment corresponding to the third virtual character aiming at the backpack capacity sharing request message, responding to the picking operation aiming at the target object, putting the target object into the virtual backpack of the first virtual character, and correspondingly deducting the capacity of the virtual backpack of the third virtual character according to the capacity required by the target object.

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.

According to the mode for picking up the target object, the picking-up efficiency of the first virtual character for picking up the target object by the second virtual character is improved, the game experience of the player is further improved, and the cooperation convenience between teammates is improved.

In the above scenario, it is not necessary for the first virtual character to first pick up the target item, and then the second virtual character picks up the target item after discarding the target item around the second virtual character, the first virtual character can help the second virtual character to pick up the target item in the game scenario, and when the distance between the first virtual character and the second virtual character is short, for example, in a preset range, the first virtual character directly moves the target item to the virtual backpack of the second virtual character, which not only helps teams having a demand on the target track to pick up the target item, but also directly moves 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 game experience of the player, and improving the convenience of cooperation among teammates.

For example, in other possible embodiments, the first virtual character may also discard the item in the virtual backpack, specifically, in response to the discarding operation for the target item in the virtual backpack of the first virtual character, remove the target item from the virtual backpack of the first virtual character, and increase the remaining capacity of the virtual backpack of the second virtual character by a target amount, the target amount being equal to the capacity required for the target item.

In some possible embodiments, the first virtual character may, for example, discard the target item around a second virtual character of the target item to be picked up, and allow the second virtual character to pick up the target item by itself, and the second virtual character may directly use or equip the target item after picking up the target item, so that the backpack capacity of the virtual backpack of the second virtual character is not consumed at this time; the second virtual character can also pick up the target object to the virtual backpack of the second virtual character, and at the moment, after the second virtual character is successfully picked up, the capacity required by placing the target object is deducted on the basis of the residual capacity of the virtual backpack of the second virtual character; it should be understood that the above embodiments are only exemplary, and the manner in which the specific second virtual character picks up the target item may be flexibly adjusted according to the user's needs, and is not limited to the embodiments described above.

By adopting the game control method provided by the application, the first virtual character can help the second virtual character needing to obtain the target object to pick up the target object, and when the capacity of the virtual backpack of the first virtual character is not enough to place the target object, the remaining capacity of the virtual backpack of the second virtual character or the third virtual character in the same formation can be requested, so that under the condition that the self development of the first virtual character is not influenced, the player or the teammates can be helped to pick up the target object by consuming the capacity of the virtual backpack of other virtual characters with more remaining capacity of the virtual backpack, the flexibility of game operation and the coordination among teammates are improved, and the effect of improving the game experience of the player is achieved.

The following explains the game control device for game control provided in the present application with reference to the drawings, where the game control device can execute any one of the game control methods shown in fig. 1 to 3, and specific implementation and beneficial effects of the method refer to the above description, which will not be described again below.

Fig. 4 is a schematic structural diagram of a game control device for game control according to an embodiment of the present application, and as shown in fig. 4, the device includes: a generation module 201 and a pick-up module 202, wherein:

a generating module 201, configured to respond to a marking operation for a target item to be picked up, generate marking information of the target item, and send the marking information to a terminal device corresponding to a second virtual character, where the first virtual character and the first virtual character belong to the same game formation;

the pickup module 202 is configured to, when receiving a backpack capacity sharing confirmation message sent by a terminal device corresponding to a second virtual character, respond to a pickup operation for a target item, place the target item in a virtual backpack of the first virtual character, and perform corresponding deduction on the capacity of the virtual backpack of the second virtual character according to the capacity required by the target item.

Optionally, on the basis of the above embodiment, the embodiment of the present application may further provide a game control device, and an implementation process of the device given in fig. 4 above is described as follows with reference to the accompanying drawings. Fig. 5 is a schematic structural diagram of a game control apparatus according to another embodiment of the present application, and as shown in fig. 5, the apparatus further includes: a selection module 203, wherein:

a generating module 201, configured to respond to a marking operation for a target item to be picked up, generate marking information of the target item, and display a back pack capacity sharing interface that includes identification information of teammates of the first virtual character;

the selecting module 203 is configured to respond to a selection operation for the backpack capacity sharing interface, and send the tag information to the terminal device corresponding to the second virtual role according to the second virtual role selected by the selection operation.

As shown in fig. 5, the apparatus further includes: an obtaining module 204, a comparing module 205, a determining module 206 and a displaying module 207, wherein:

an obtaining module 204, configured to obtain a remaining capacity of a virtual backpack of each teammate of the first virtual character;

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, respectively;

a determining module 206, configured to determine, as a target teammate, a teammate whose remaining capacity of the virtual backpack is greater than or equal to a capacity required by the target item;

and the display module 207 is configured to display a back pack capacity sharing interface including the identification information of the target teammates.

As shown in fig. 5, the apparatus further includes: a sending module 208, configured to send a backpack capacity sharing request message to a terminal device corresponding to a second virtual character to request to share the remaining capacity of the virtual backpack of the second virtual character when receiving a confirmation message of the second virtual character for acquiring the target item sent by the tag information; the backpack capacity sharing confirmation message is a confirmation message sent by the terminal device corresponding to the second virtual role for the backpack capacity sharing request message.

Optionally, the obtaining module 204 is specifically configured to obtain the remaining capacity of the virtual backpack of the second virtual character when receiving a confirmation message that the second virtual character sends for the tag information and obtains the target item;

a sending module 208, configured to send a backpack capacity sharing request message to a terminal device corresponding to a second virtual character to request to share 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;

the display module 207 is specifically configured to display a backpack capacity sharing interface including label information of a third virtual character to request sharing of the remaining capacity of the virtual backpack of the third virtual character when the remaining capacity of the virtual backpack of the second virtual character is smaller than the capacity required by the target item, where the third virtual character is a virtual character in which the remaining capacity of the virtual backpack of the teammate of the first virtual character is greater than or equal to the capacity required by the target item.

Optionally, the sending module 208 is specifically configured to send, in response to a selection operation for the identification information of the third virtual role in the backpack capacity sharing interface, a backpack capacity sharing request message to the terminal device corresponding to the third virtual role;

the pickup module 204 is specifically configured to, when receiving a confirmation message returned by the terminal device corresponding to the third virtual character for the backpack capacity sharing request message, respond to a pickup operation for the target item, place the target item in the virtual backpack of the first virtual character, and perform corresponding deduction on the capacity of the virtual backpack of the third virtual character according to the capacity required by the target item.

Optionally, the confirming module 206 is specifically configured to confirm that the remaining capacity of the virtual backpack of the first virtual character is smaller than the required capacity of the target item.

Optionally, the determining module 206 is specifically configured to, when the distance between the first virtual character and the second virtual character in the game scene is within a preset range, move the target item in the virtual backpack of the first virtual character to the virtual backpack of the second virtual character.

As shown in fig. 5, the apparatus further includes: the discarding module 209 is 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.

The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.

These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application, where the terminal device may be integrated in the terminal device or a chip of the terminal device.

As shown in fig. 6, the terminal device includes: a processor 501, a storage medium 502, and a bus 503.

The processor 501 is used for storing a program, and the processor 501 calls the program stored in the storage medium 502 to execute the method embodiment corresponding to fig. 1-3. The specific implementation and technical effects are similar, and are not described herein again.

Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program, which, when executed by a processor, performs embodiments corresponding to the above-described method.

In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.

The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to perform some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:游戏地图显示方法、装置、终端及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类