Embodiments of this disclosure relate to the field of computer technologies, including to an item placement method and apparatus, a computer device, and a storage medium.
As computer technologies develop, games are increasingly popular among users. A user may control a virtual object to interact with other virtual objects in a virtual battle. To make games more amusing, virtual items are placed in a virtual battle, so that the user can interact with other virtual objects by using the virtual items.
Embodiments of this disclosure provide an item placement method and apparatus, a computer device, and a storage medium. Examples of technical solutions are as follows:
According to an aspect, a method for item placement in a virtual battle is provided. In the method, an item placement preview of the virtual battle is displayed before the virtual battle starts. The item placement preview is configured to provide a preview of a target round of a plurality of battle rounds in the virtual battle and a virtual item to be placed in the target round. A virtual scene of the virtual battle is displayed when the virtual battle starts. The virtual item of the target round is added to the displayed virtual scene during the virtual battle when the virtual battle proceeds to the target round.
According to another aspect, an item placement method is provided. In the method, before the virtual battle starts, an item placement policy for the virtual battle is determined from a plurality of item placement policies, the virtual battle including a plurality of battle rounds. An item placement preview of the virtual battle is generated based on the determined item placement policy. The item placement preview is configured to provide a preview of a target round of the plurality of battle rounds in the virtual battle and a virtual item to be placed in the target round. The item placement preview is provided to a plurality of terminals that is associated with a plurality of players of the virtual battle. The item placement preview is displayed by the plurality of terminals before the virtual battle starts. The virtual item indicated by the item placement preview is added in a virtual scene of the virtual battle during the virtual battle.
According to another aspect, an information processing apparatus, such as an item placement apparatus, is provided. The apparatus includes processing circuitry that is configured to display an item placement preview of a virtual battle before the virtual battle starts. The item placement preview is configured to provide a preview of a target round of a plurality of battle rounds in the virtual battle and a virtual item to be placed in the target round. The processing circuitry is configured to display a virtual scene of the virtual battle when the virtual battle starts. The processing circuitry is configured to add the virtual item of the target round to the displayed virtual scene during the virtual battle when the virtual battle proceeds to the target round.
According to another aspect, an information processing apparatus, such as an item placement apparatus is provided. The apparatus includes processing circuitry that is configured to determining, before the virtual battle starts, an item placement policy for the virtual battle from a plurality of item placement policies, the virtual battle including a plurality of battle rounds. The processing circuitry is configured to generate an item placement preview of the virtual battle based on the determined item placement policy. The item placement preview is configured to provide a preview of a target round of the plurality of battle rounds in the virtual battle and a virtual item to be placed in the target round. The processing circuitry is configured to provide the item placement preview to a plurality of terminals that is associated with a plurality of players of the virtual battle. The item placement preview is displayed by the plurality of terminals before the virtual battle starts. The processing circuitry is configured to add the virtual item indicated by the item placement preview in a virtual scene of the virtual battle during the virtual battle.
According to another aspect, a computer device is provided. The computer device includes a processor and a memory, the memory having at least one computer program stored therein, the at least one computer program being loaded and executed by the processor, to implement the operations of the item placement method in the above aspects.
According to another aspect, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium stores instructions which when executed by a processor cause the processor to implement any of the item placement methods in the above aspects.
According to still another aspect, a computer program product is provided. The computer program product includes a computer program, the computer program, when executed by a processor, implementing the operations of the item placement method in the above aspects.
In solutions provided in the embodiments of this disclosure, before the virtual battle starts, the preview of the target round of the virtual battle and the virtual item to be placed in the target round is provided, and in a case that the virtual battle proceeds to the target round, the virtual item of the target round is placed, so that a user can learn information about virtual item placement in the virtual battle in advance. In this way, the user can make a strategical layout on the virtual battle based on the information about the virtual item placement, which improves control of the virtual battle by the user, thereby improving user experience.
To make objectives, technical solutions, and advantages of embodiments of this disclosure clearer, examples of implementations of this disclosure are described below in further detail with reference to drawings.
Terms “first”, “second”, “third”, “fourth”, “fifth”, “sixth”, and the like used in this disclosure may be configured for describing various concepts in this specification. However, unless otherwise specified, the concepts are not limited by the terms. The terms are merely configured for distinguishing one concept from another. For example, without departing from the scope of this disclosure, a first placed state may be referred to as a second placed state, and similarly, the second placed state may be referred to as the first placed state.
In terms “at least one”, “a plurality of”, “each”, and “any one” used in this disclosure, “at least one” includes one, two, or more, “a plurality of” include two or more, “each” refers to each of a plurality of corresponding items, and “any one” refers to any one of a plurality of items. For example, a plurality of battle rounds include 3 battle rounds, “each” refers to each of the 3 battle rounds, and “any one” refers to any one of the 3 battle rounds, which may be the first battle round, the second battle round, or the third battle round.
For ease of understanding of the embodiments of this disclosure, terms involved in the embodiments of this disclosure are first described. The descriptions of the terms are provided as examples only and are not intended to limit the scope of the disclosure.
In the related art, a virtual item is usually placed at a random moment during a virtual battle. However, since this virtual item placement manner has high randomness, a user does not learn virtual item appearance time, resulting in poor user experience.
An item placement method provided in the embodiments of this disclosure may be performed by a computer device. In some embodiments, the computer device may be a terminal or a server. In some embodiments, the server is an independent physical server, a server cluster composed of a plurality of physical servers or a distributed system, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a content delivery network (CDN), a big data platform, and an artificial intelligence (AI) platform. In some embodiments, the terminal is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart voice interaction device, a smart household appliance, an on-board terminal, or the like, which is not limited thereto.
In some embodiments, computer programs involved in the embodiments of this disclosure may be deployed on a computing computer device for execution, or may be executed on a plurality of computing devices at one location, or may be executed on a plurality of computing devices distributed at a plurality of locations and connected by a communication network. The plurality of computer devices distributed at the plurality of locations and connected by the communication network can form a blockchain system.
The server 102 is configured to provide a virtual scene interface of a virtual battle for the plurality of terminals 101, and provide an item placement preview on the virtual scene interface, so that each terminal 101 can display the virtual scene interface and display the item placement preview on the virtual scene interface before the virtual battle starts. Moreover, the server 102 can further place a virtual item based on the item placement preview during the virtual battle, so that each terminal 101 can display the placed virtual item on the virtual scene interface during the battle.
In some embodiments, each terminal 101 has a target application served by the server 102 installed therein. The target application has a function of performing virtual battles. For example, the target application is an Auto Chess game application. Each terminal 101 logs in the target application based on an object identifier. The server 102 creates a virtual battle for the object identifiers logged in the plurality of terminals 101. The plurality of terminals 101 participate in the virtual battle based on the logged object identifiers.
According to an aspect, a method for item placement in a virtual battle is provided. In the method, an item placement preview of the virtual battle is displayed before the virtual battle starts. The item placement preview is configured to provide a preview of a target round of a plurality of battle rounds in the virtual battle and a virtual item to be placed in the target round. A virtual scene of the virtual battle is displayed when the virtual battle starts. The virtual item of the target round is added to the displayed virtual scene during the virtual battle when the virtual battle proceeds to the target round.
The virtual scene interface is configured to display a virtual scene of the virtual battle. The virtual battle includes a plurality of battle rounds. During the virtual battle, the plurality of battle rounds are performed in sequence.
In this embodiment of this disclosure, in a case that the terminal participates in the virtual battle, the terminal can display the virtual scene interface of the virtual battle, to display information about the virtual battle subsequently on the virtual scene interface. In some embodiments, the terminal participates in the virtual battle based on a logged object identifier.
The target round is any one of the plurality of battle rounds included in the virtual battle, and one or more target rounds may exist. The virtual item is an item of any type. For example, the virtual item is a population item, a role change token item, a core item, a transformation token item, a talent item, or a gold coin item.
In this embodiment of this disclosure, before the virtual battle starts, i.e., before the plurality of battle rounds included in the virtual battle start, the item placement preview of the virtual battle is displayed on the virtual scene interface, to provide a preview of battle rounds in which virtual items are to be placed subsequently and the to-be-placed virtual items during the virtual battle, so that a user can learn the information about the item placement in the virtual battle in advance.
In this embodiment of this disclosure, the virtual battle includes a plurality of battle rounds. During the virtual battle, the virtual item is placed based on the item placement preview. In other words, if the virtual battle currently proceeds to the target round in the item placement preview, the virtual item of the target round is placed on the virtual scene interface, and the placed virtual item is displayed, so that the user controls a virtual object to pick up the placed virtual item. The virtual item of the target round is the virtual item in the item placement preview to be placed in the target round.
In solutions provided in the embodiments of this disclosure, before the virtual battle starts, the preview of the target round of the virtual battle and the virtual item to be placed in the target round is provided, and in a case that the virtual battle proceeds to the target round, the virtual item of the target round is placed, so that a user can learn information about virtual item placement in the virtual battle in advance. In this way, the user can make a strategical layout on the virtual battle based on the information about the virtual item placement, which improves control of the virtual battle by the user, thereby improving user experience.
Based on the embodiment shown in
In a possible implementation, a plurality of object identifiers participating in the virtual battle and a scene image of the virtual battle are displayed on the virtual scene interface. The scene image is configured for displaying a virtual scene in the virtual battle. For example, the scene image is displayed as a chessboard.
In a possible implementation, a process of displaying the virtual scene interface by the terminal includes: displaying, by the terminal, the virtual scene interface of the virtual battle in a case that the object identifiers participate in the virtual battle.
In a possible implementation, the item placement preview includes a round identifier and an item identifier. The round identifier indicates the target round. The item identifier indicates the virtual item to be placed in the target round or an item type of the to-be-placed virtual item.
In this embodiment of this disclosure, a battle round in which a virtual item is to be placed and virtual items to be placed in the virtual battle are indicated through the round identifier and the item identifier included in the item placement preview, which improves a display effect of the item placement preview, thereby improving a preview effect, and improving user experience.
In some embodiments, the item placement preview includes a plurality of round identifiers and an item identifier corresponding to each round identifier.
Each round identifier indicates a target round, and different round identifiers indicate different target rounds. The item identifier corresponding to each round identifier indicates a virtual item to be placed in a target round corresponding to the round identifier or an item type of the to-be-placed virtual item. In some embodiments, different round identifiers correspond to different item identifiers. For example, the item placement preview includes 3 round identifiers and an item identifier corresponding to each round identifier.
In this embodiment of this disclosure, the item placement preview includes the plurality of round identifiers and the item identifier corresponding to each round identifier, to provide a preview indicating that virtual items are subsequently placed at a plurality of times during the virtual battle, so that a user can learn information about virtual item placement of a plurality of target rounds in the virtual battle, which enriches virtual items to be placed in the virtual battle, makes the virtual battle funnier, and improves the display effect of the item placement preview, thereby improving the preview effect. Moreover, in a case that the item identifier corresponding to the round identifier indicates the item type of the virtual item to be placed in the target round corresponding to the round identifier, the user can learn only the item type of the virtual item to be placed in the target round, and cannot learn the to-be-placed virtual item of the item type. In this way, randomness is achieved for the virtual battle, which improves attractiveness to the user, thereby improving the user experience.
As shown in
In some embodiments, the virtual item of the item placement preview is a key item, which can affect a battle result of the virtual battle.
In this embodiment of this disclosure, in a case that the virtual battle starts, the display of the item placement preview is canceled, and the thumbnail information of the item placement preview is displayed on the virtual scene interface, to prevent the displayed item placement preview from affecting display of information about the battle on the virtual scene interface. Therefore, not only the preview of the information about the virtual item placement in the virtual battle can be provided on the virtual scene interface, but also the information about the battle can be normally displayed on the virtual scene interface, which enriches content displayed on the virtual scene interface, and ensures the display effect. In addition, the preview of the information about the item placement in the virtual battle can be provided during the virtual battle, which ensures the preview effect, thereby improving the user experience.
In a possible implementation, the virtual scene interface includes a first display region and a second display region. A size of the first display region is less than a size of the second display region. A process of displaying the thumbnail information includes: displaying the thumbnail information in the first display region, and displaying the scene image of the virtual battle in the second display region.
The first display region is any region on the virtual scene interface. For example, the first display region is an upper left region of the virtual scene interface.
In this embodiment of this disclosure, the information about the virtual battle may be displayed in the second display region, and the thumbnail information is displayed in the first display region with a smaller size, so that not only the information about the virtual battle can be normally displayed on the virtual scene interface, but also the preview of the information about the item placement in the virtual battle can be provided, thereby ensuring the display effect.
In a possible implementation, the thumbnail information includes a plurality of item identifiers (icons). Each item identifier corresponding to a target round, and each item identifier indicates a virtual item or an item type. In other words, the thumbnail information can indicate virtual items to be placed in a plurality of target rounds included in the virtual battle or item types of the to-be-placed virtual items. Item identifiers corresponding to the plurality of target rounds are displayed in the thumbnail information, to provide the preview of the information about the virtual item placement of the virtual battle, which ensures the preview effect, thereby improving the user experience.
In a possible implementation, operation 304 includes: placing the virtual item of the target round on the virtual scene interface in response to the virtual battle currently proceeding to the target round and the target round ending.
In this embodiment of this disclosure, the virtual item is placed after the target round ends, to avoid impact of the virtual item placement on a battle situation in the target round currently in progression, so that the user can control a virtual object to pick up the virtual item, thereby ensuring a normal operation of the game. After controlling the virtual object to pick up the virtual item, the user may use the virtual item in a battle round after the target round.
In some embodiments, a process of placing the virtual item includes: displaying an item placement round in response to the virtual battle currently proceeding to the target round and the target round ending, and placing the virtual item in the item placement round on the virtual scene interface.
The item placement round is added after the target round, so that the user can pick up the virtual item in the item placement round without affecting the battle round in the virtual battle, which ensures a battle effect of the virtual battle, and improves the user experience.
In some embodiments, the item placement round corresponds to a first target duration. When a duration of the item placement round reaches the first target duration, the battle round after the target round starts.
In this embodiment of this disclosure, after the virtual item is placed in the item placement round, the user can control the virtual object to pick up the virtual item. Regardless of whether the virtual item is picked up, in a case that the duration of the item placement round reaches the first target duration, the battle round after the target round is immediately enabled. Setting the duration of the item placement round can not only ensure that the user has sufficient time to control the virtual object to pick up the virtual item, but also avoid impact of an excessively long item placement round on progression of the virtual battle, which ensures the battle effect of the virtual battle, thereby improving the user experience.
In some embodiments, in an Auto Chess, a virtual object that may be controlled by the user is a virtual chess piece.
In some embodiments, after the virtual item is placed in the item placement round, the user can control the virtual object to pick up the virtual item. In a case that the virtual item is picked up, the display of the virtual item is canceled. In a case that the duration of the item placement round reaches the first target duration, the battle round after the target round starts. In a case that the duration of the item placement round reaches the first target duration, if the placed virtual item is not picked up, the virtual item is canceled, and the battle round after the target round starts.
As shown in
In some embodiments, each battle round of the virtual battle includes a preparation stage and a battle stage. After the item placement round ends, a preparation stage of the battle round after the target round starts.
In some embodiments, the preparation stage of each battle round corresponds to a second target duration. In this case, the item placement round and the preparation stage of the battle round after the target round may be combined into one stage. In other words, after the target round ends, a preparation stage of a next battle round is directly enabled. In this case, a duration of the preparation stage is a sum of the first target duration and the second target duration, and a to-be-placed virtual item is displayed in the preparation stage. In a case that the duration of the preparation stage reaches the first target duration, the display of the virtual item is canceled. In a case that the duration of the preparation stage reaches the sum of the first target duration and the second target duration, the battle stage starts.
The item placement round after the target round and the preparation stage of the battle round after the target round are combined into one stage, so that repeated switching between content displayed on the virtual scene interface is avoided, thereby ensuring the display effect.
In a possible implementation, each battle round of the virtual battle includes a preparation stage and a battle stage. In response to the virtual battle currently proceeding to the target round, the virtual item of the target round is placed on the virtual scene interface in a preparation stage of the target round.
In some embodiments, the preparation stage of the target round corresponds to a third target duration. After the virtual item is placed in the preparation stage of the target round, the user can control the virtual object to pick up the virtual item. In a case that the virtual item is picked up, the display of the virtual item is canceled. In a case that a duration of the preparation stage of the target round reaches the third target duration, a battle stage of the target round starts. In a case that the duration of the preparation stage of the target round reaches the third target duration, if the placed virtual item is not picked up, the virtual item is canceled, and the battle stage of the target round starts.
In some embodiments, a preparation stage of a non-target round corresponds to the second target duration. The third target duration is greater than the second target duration. The non-target round refers to a battle round among the plurality of battle rounds of the virtual battle other than the target round.
In this embodiment of this disclosure, the virtual item is placed in the preparation stage of the target round, to avoid impact of the virtual item placement on a battle situation in the battle stage of the target round, so that the user can control the virtual object to pick up the virtual item, thereby ensuring the normal operation of the game. After controlling the virtual object to pick up the virtual item, the user can use the virtual item in the battle stage of the target round and in the battle round after the target round.
In a possible implementation, in a case that the item placement preview is configured for providing the preview of the item type of the virtual item to be placed in the target round, the process of placing the virtual item includes: randomly determining a virtual item from virtual items of the item type of the target round in response to the virtual battle currently proceeding to the target round, and placing the determined virtual item on the virtual scene interface. In other words, only the preview of the item type of the virtual item to be placed in the target round is provided, and the preview of the specific placed virtual item is not provided. A random virtual item of the item type is placed in the target round subsequently.
In some embodiments, one or more random virtual items may be determined. In some embodiments, in a case that a plurality of random virtual items are determined, the virtual object can pick up only one of the plurality of virtual items.
In this embodiment of this disclosure, a virtual item to be placed in the target round is randomly determined from the virtual items of the item type of the target round. In this way, not only the user can learn the item type of the to-be-placed virtual item, but also randomness of the to-be-placed virtual item is ensured, thereby improving the user experience.
In a possible implementation, in a case that the virtual item of the target round is placed on the virtual scene interface, the method further includes: displaying the virtual object moving to a position of the virtual item on the virtual scene interface to obtain the virtual item. In other words, the virtual item is delivered to the virtual object in response to the virtual object moving to the position of the virtual item.
In this embodiment of this disclosure, through control of the virtual object to move to the position of the virtual item, pickup of the virtual item can be achieved, which ensures convenience of picking up the virtual item.
In some embodiments, the placed virtual item is displayed in a form of an item box on the virtual scene interface. In this case, a process of obtaining the virtual item includes: displaying the virtual object moving to a position of the item box on the virtual scene interface, to open the item box and obtain the virtual item included in the item box. For example, the item box is a myriad of things box. In other words, in a case that the virtual object moves to the position of the item box, in response to an opening operation performed on the item box, the virtual item included in the item box is delivered to the virtual object. In some embodiments, the opening operation may be a clicking/tapping operation performed on the item box, a clicking/tapping operation performed on an opening option of the item box, or the like. In some embodiments, the virtual object moving to the position of the item box means that a distance between the virtual object and the item box is not greater than a distance threshold, or the like.
In some embodiments, in a case that the item box is opened, a plurality of virtual items of the same item type are displayed. In response to a selection operation performed on any virtual item, the selected virtual item is obtained. In other words, in response to the opening operation performed on the item box, the plurality of virtual items of the item type are displayed. In response to the selection operation performed on any virtual item, the selected virtual item is delivered to the virtual object.
In some embodiments, in a case that the virtual object picks up the virtual item, an item option is displayed on the virtual scene interface. The item option is filled with an item identifier corresponding to the picked virtual item, so that the user can trigger the item option to use the virtual item. The terminal uses the virtual item in the virtual battle in response to the triggering operation performed on the item option of the virtual item.
For example, in an Auto Chess, each user corresponds to a home chessboard. In a preparation stage of a target round, the home chessboard is displayed on the virtual scene interface. The user may arrange a formation on the home chessboard. In a battle stage of the target round, virtual chess pieces corresponding to the user are transferred to a home chessboard of a rival for battle, or virtual chess pieces of the rival are transferred to a home chessboard of the user for battle, and a battle picture is displayed on the virtual scene interface. After the battle ends (i.e., the target round ends), the home chessboard is displayed on the virtual scene interface, a myriad of things box of the target round is placed on the home chessboard, and the user may control a virtual chess piece to move to a position of the myriad of things box, to open the myriad of things box and obtain a virtual item included in the myriad of things box. As shown in
This embodiment of this disclosure is described by using any terminal participating in the virtual battle as an example. Each terminal participating in the virtual battle may place a virtual item based on the above embodiment. For example, in a case that the virtual battle proceeds to the target round, each terminal participating in the virtual battle may place a virtual item of the target round on the virtual scene interface, and the virtual items placed by the terminals on the virtual scene interface do not affect each other. In other words, in a case that the virtual battle proceeds to the target round, a virtual item of the target round is placed for each user (i.e., a user corresponding to each terminal) participating in the virtual battle, and each user may control a virtual object to pick up the virtual item.
In a solution provided in this embodiment of this disclosure, before the virtual battle starts, the preview of the target round of the virtual battle and the virtual item to be placed in the target round is provided, and in a case that the virtual battle proceeds to the target round, the virtual item of the target round is placed, so that the user can learn the information about the virtual item placement in the virtual battle in advance. In this way, the user can make a strategical layout on the virtual battle based on the information about the virtual item placement, which improves control of the virtual battle by the user, thereby improving the user experience.
In this embodiment of this disclosure, in a case that the virtual battle starts, the display of the item placement preview is canceled, and the thumbnail information of the item placement preview is displayed on the virtual scene interface, to prevent the displayed item placement preview from affecting display of information about the battle on the virtual scene interface. Therefore, not only the preview of the information about the virtual item placement in the virtual battle can be provided on the virtual scene interface, but also the information about the battle can be normally displayed on the virtual scene interface, which enriches content displayed on the virtual scene interface, and ensures the display effect. In addition, the preview of the information about the item placement in the virtual battle can be provided during the virtual battle, which ensures the preview effect, thereby improving the user experience.
Moreover, in a case that the virtual item of the item placement preview is a key item that can affect the battle result of the virtual battle, a preview of the key item to be placed in the virtual battle and a placement moment (i.e., a target round in which the key item is to be placed) is provided before the virtual battle starts, so that the user can learn information about virtual item placement in the virtual battle in advance. In this way, the user can make a strategical layout on the virtual battle based on the information about the virtual item placement in the virtual battle, which avoids game unfairness as a result of the user being not notified of the placement moment of the key item, and improves control of the virtual battle by the user, thereby improving the user experience.
Based on the embodiment shown in
First manner: An item identifier corresponding to the target round about to start is highlighted as the virtual battle progresses in a case that the plurality of item identifiers are displayed on the virtual scene interface, the item identifier corresponding to the target round indicating the virtual item to be placed in the target round.
In this embodiment of this disclosure, during the virtual battle, a plurality of battle rounds are performed in sequence, and the target round about to start is a first target round after a battle round currently in progression. For example, the virtual battle includes 10 battle rounds. The 3rd battle round, the 6th battle round, and the 8th battle round are target rounds. When the virtual battle starts or the 1st battle round or the 2nd battle round is currently in progression, an item identifier corresponding to the 3rd battle round is highlighted. When the 4th battle round or the 5th battle round is currently in progression, an item identifier corresponding to the 6th battle round is highlighted. When the 7th battle round or the 8th battle round is currently in progression, an item identifier corresponding to the 8th battle round is highlighted.
In this embodiment of this disclosure, in a case that a plurality of item identifiers are displayed on the virtual scene interface, when the virtual battle proceeds to a target round, a virtual item corresponding to the target round is placed on the virtual scene interface, and an item identifier corresponding to the target round about to start is highlighted as the virtual battle progresses, to provide a preview of to-be-placed virtual items. In this way, the user can learn the to-be-placed virtual items in advance, which ensures that the user can plan a game strategy in advance, and ensures a preview effect, thereby improving the user experience.
As shown in
In a possible implementation, a highlighting manner includes: highlighting the item identifier corresponding to the target round about to start and dimming other item identifiers, or flashing the item identifier corresponding to the target round about to start and maintaining other item identifiers stationary.
This embodiment of this disclosure is described by using the above two highlighting manners as examples. In another embodiment, another highlighting manner may be adopted, as long as the item identifier corresponding to the target round about to start can be indicated.
Second manner: An item identifier of a placed virtual item is displayed in a placed state and an item identifier of an unplaced virtual item is displayed in an unplaced state during the virtual battle in a case that the plurality of item identifiers are displayed on the virtual scene interface.
The placed state indicates that a virtual item indicated in the item identifier is placed in the virtual battle, which can indicate that the virtual battle proceeds to the target round corresponding to the item identifier. As shown in
In this embodiment of this disclosure, the item identifiers are displayed on the virtual scene interface in different states, to indicate information about virtual item placement in the virtual battle, which prompts a virtual item placement progress in the virtual battle. In this way, the user can learn the information about the virtual item placement in the virtual battle, thereby improve the user experience.
In some embodiments, the placed state includes a first placed state or a second placed state. That an item identifier is displayed in a placed state includes: displaying an item identifier of a virtual item that is placed but not picked up in the first placed state; and display an item identifier of a virtual item that is placed and picked up in the second placed state.
In this embodiment of this disclosure, during the virtual battle, in a case that the virtual battle proceeds to the target round, the virtual item is placed on the virtual scene interface. After the virtual item is placed, the placed virtual item may or may not be picked up. The item identifier of the placed virtual item is displayed in different manners depending on whether the placed virtual item is picked up, to indicate whether the placed virtual item is picked up, which ensures the display effect, thereby improving the user experience.
The above two thumbnail information displaying manners may be combined. For example, the item identifier corresponding to the target round about to start is highlighted as the virtual battle progresses, the item identifier of the placed virtual item is displayed in the placed state, and the item identifier of the unplaced virtual item is displayed in the unplaced state. In this way, the user can learn placed virtual items, unplaced virtual items, and virtual items about to be placed, which improves the display effect, thereby improving the user experience.
According to an aspect, an item placement method is provided. In the method, before the virtual battle starts, an item placement policy for the virtual battle is determined from a plurality of item placement policies, the virtual battle including a plurality of battle rounds. An item placement preview of the virtual battle is generated based on the determined item placement policy. The item placement preview is configured to provide a preview of a target round of the plurality of battle rounds in the virtual battle and a virtual item to be placed in the target round. The item placement preview is provided to a plurality of terminals that is associated with a plurality of players of the virtual battle. The item placement preview is displayed by the plurality of terminals before the virtual battle starts. The virtual item indicated by the item placement preview is added in a virtual scene of the virtual battle during the virtual battle.
Each object identifier is configured for representing an object participating in the virtual battle. For example, the object identifier is configured for representing a user participating in the virtual battle. In this embodiment of this disclosure, the virtual battle may have a plurality of object identifiers participating therein. To be specific, the plurality of object identifiers battle to be a winner, or the plurality of object identifiers cooperate with each other to battle with another virtual object. The item placement policy indicates information about virtual item placement in any virtual battle. In some embodiments, the item placement policy indicates a battle round in any virtual battle and a virtual item to be placed in the battle round, or the item placement policy indicates a virtual item to be placed in any virtual battle. In a plurality of item placement policies, different item placement policies indicate different information about item placement. For example, different item placement policies indicate different virtual items to be placed in the virtual battle, or different item placement policies indicate different target rounds in the virtual battle to which virtual items are to be placed.
In this embodiment of this disclosure, the server is configured with a plurality of item placement policies, and different item placement policies indicate different information about the virtual item placement. The item placement policy for the virtual battle is determined from the plurality of item placement policies, so that different item placement policies may be adopted for different virtual battles.
In this embodiment of this disclosure, the item placement preview of the virtual battle is generated based on the determined item placement policy of the virtual battle, so that a preview of information about virtual item placement in the virtual battle can be subsequently provided by using the item placement preview.
In this embodiment of this disclosure, the terminals participate in the virtual battle based on the logged object identifiers. The plurality of terminals in which the object identifiers are logged are a plurality of terminals participating in the virtual battle. During the virtual battle participated by the plurality of terminals, each terminal can display the virtual scene interface of the virtual battle. After determining the item placement preview of the virtual battle, the server provides the item placement preview on the virtual scene interface, so that all of the plurality of terminals can display the item placement preview. In this way, each object participating in the virtual battle can learn the information about the item placement during the subsequent virtual battle.
In this embodiment of this disclosure, during the virtual battle, the server places the virtual item based on a battle round and a virtual item to be placed in the battle round in the item placement preview, so that the virtual item placed in the virtual battle is consistent with the item placement preview. In this way, the item placement preview achieves a preview function.
In solutions provided in this embodiment of this disclosure, the server determines the item placement policy for the virtual battle, and generates the item placement preview for the plurality of object identifiers participating in the virtual battle, to provide the preview of the battle round in the virtual battle in which the virtual item is to be placed and the placed virtual item before the virtual battle starts, so that the user learns the information about the virtual item placement in the virtual battle in advance, and the same item placement preview is shared among the plurality of object identifiers in the virtual battle, so that information about the virtual item placement for the plurality of object identifiers participating in the same virtual battle is consistent. In this way, game unfairness as a result of placement of inconsistent virtual items can be eliminated, game competitiveness can be ensured, and it can be ensured that the user can plan a game strategy based on the information about the virtual item placement in the virtual battle, which improves control of the virtual battle by the user, thereby improving user experience.
Based on the above embodiments shown in
In a possible implementation, operation 902 includes: determining the item placement policy corresponding to the virtual battle from the plurality of item placement policies based on historical battle information of the plurality of object identifiers.
The historical battle information of the object identifiers includes information about a historical virtual battle participated by the object identifiers. In some embodiments, the historical battle information includes a plurality of object identifiers participating in the historical virtual battle, an item placement preview displayed in the historical virtual battle, an item placement policy for the historical virtual battle, and the like.
In this embodiment of this disclosure, the item placement policy for the virtual battle may be determined from the plurality of item placement policies based on the historical battle information of the plurality of object identifiers participating in the virtual battle, to ensure that the determined item placement policy matches the plurality object identifiers, and ensure a subsequent item placement effect.
In some embodiments, a process of determining the item placement policy for the virtual battle includes: determining numbers of times the item placement policies included in the historical battle information of the plurality of object identifiers are used, and determining an item placement policy with a minimum number of times from the plurality of item placement policies as the item placement policy for the virtual battle based on the determined numbers of times.
The item placement policy with the minimum number of times is selected as an item placement policy for a current virtual battle based on the numbers of times the item placement policies included in the historical battle information are used, to enrich diversity of the virtual battle, and ensure a battle effect of the virtual battle, thereby improving user experience.
In a possible implementation, an item placement policy corresponds to a probability. The probability indicates a possibility that the item placement policy is selected. Operation 902 includes: determining the item placement policy for the virtual battle based on probabilities corresponding to the plurality of the item placement policies.
In this embodiment of this disclosure, an item placement policy is determined for each virtual battle based on the probabilities corresponding to the plurality of the item placement policies, to ensure that numbers of times item placement policies determined for a plurality of virtual battles are used match probabilities corresponding to the item placement policies, thereby ensuring randomness.
In a possible implementation, the item placement policy includes at least one sub-policy. In this case, the process of determining the item placement policy for the virtual battle includes: randomly determining an item placement policy from the plurality of item placement policies, and randomly selecting a sub-policy from sub-policies included in the determined item placement police as the item placement policy for the virtual battle.
For example, the plurality of item placement policies are shown in Table 1. Each item placement policy includes item types of virtual items to be placed in 3 target rounds. Different item placement policies may correspond to different probabilities. For example, a probability corresponding to an item placement policy may be a normal probability or a low probability. A probability that an item placement policy with a low probability is selected is less than a probability that an item placement policy with a normal probability is selected. In different item placement policies, the item types of virtual items to be placed in the 3 target rounds are not exactly the same. Different item placement policies can generate different effects. For example, an effect of an item placement policy 1 and an item placement policy 2 is that a large number of constraints can be generated for a large population participating in the virtual battle (i.e., a large number of virtual chess pieces participate in the virtual battle). For example, the item placement policy 1 includes 2 sub-policies. In the 2 sub-policies, virtual items to be placed in a target round 1 are of different item types. In one of the sub-policies, a virtual item to be placed in the target round 1 is a role change token item, and in the other of the sub-policies, a virtual item to be placed in the target round 1 is a core item.
In a possible implementation, the item placement policy includes a target number of to-be-placed virtual items. In this case, a process of generating the item placement preview includes: randomly selecting a target number of battle rounds from the plurality of battle rounds included in the virtual battle as target rounds, and generating an item placement preview based on the target rounds and the target number of the to-be-placed virtual items included in the item placement policy, the item placement preview including a round identifier and an item identifier, and being configured for providing a preview indicating that a virtual item indicated in the item identifier is to be placed in a target round indicated in the round identifier in the virtual battle.
In this embodiment of this disclosure, the target round is randomly determined from the plurality of battle rounds included in the virtual battle, to ensure randomness of the virtual battle, thereby ensuring a battle effect of the virtual battle, and improving the user experience.
In a possible implementation, the item placement policy includes a target number of to-be-placed virtual items. In this case, a process of generating the item placement preview includes: determining a target number of auction rounds of the plurality of battle rounds included in the virtual battle as target rounds, and generating an item placement preview based on the target rounds and the target number of the to-be-placed virtual items included in the item placement policy, the item placement preview including a round identifier and an item identifier, and being configured for providing a preview indicating that a virtual item indicated in the item identifier is to be placed in a target round indicated in the round identifier in the virtual battle.
The auction rounds are configured for auctioning virtual items for the plurality of object identifiers participating in the virtual battle. The auction rounds are selected as the target rounds, so that a user can not only auction virtual items during the auction rounds, but also obtain placed virtual items, which enriches combined usage manners of virtual items, thereby improving the user experience.
In this embodiment of this disclosure, the server provides the item placement preview on the virtual scene interface, so that the terminal participating in the virtual battle can display the item placement preview on the virtual scene interface before the virtual battle starts. In this way, the user can learn information about virtual item placement of the virtual battle.
In a possible implementation, in a case that the server generates the item placement preview, the server transmits the item placement preview to a plurality of terminals participating in the virtual battle, so that each terminal participating in the virtual battle displays the item placement preview of the virtual battle on the virtual scene interface before the virtual battle starts.
In this embodiment of this disclosure, during the virtual battle, the server places, based on the target round and the virtual item to be placed in the target round in the item placement preview, the virtual item of the target round in the target round in response to the virtual battle proceeding to the target round.
In a case that the server places the virtual item based on the item placement preview, the terminal can display the placed virtual item on the virtual scene interface during the virtual battle in response to the virtual battle currently proceeding to the target round and the server placing the virtual item of the target round on the virtual scene interface.
This embodiment of this disclosure is described merely by using an example in which any terminal participating in the virtual battle interacts with the server. In another embodiment, a plurality of terminals participating in the virtual battle all can interact with the sever in the above manner, to achieve the virtual item placement.
In solutions provided in this embodiment of this disclosure, before the virtual battle starts, the preview of the target round of the virtual battle and the virtual item to be placed in the target round is provided, and in a case that the virtual battle proceeds to the target round, the virtual item of the target round is placed, so that the user can learn the information the about virtual item placement in the virtual battle in advance. In this way, the user can make a strategical layout on the virtual battle based on the information about the virtual item placement, which improves control of the virtual battle by the user, thereby improving user experience. In addition, before the virtual battle starts, the preview of the target round of the virtual battle and the virtual item to be placed in the target round is provided, so that the user can learn the information about the virtual item placement in the virtual battle in advance. In this way, the user can plan a game strategy for the plurality of battle rounds of the virtual battle based on the information about the virtual item placement, and make a layout in advance, thereby improving game operability, and increasing a mastering degree of the game.
In solutions provided in this embodiment of this disclosure, the server determines the item placement policy for the virtual battle, and generates the item placement preview for the plurality of object identifiers participating in the virtual battle, to provide the preview of the battle round in the virtual battle in which the virtual item is to be placed and the placed virtual item before the virtual battle starts, so that the user learns the information about the virtual item placement in the virtual battle in advance, and the same item placement preview is shared among the plurality of object identifiers in the virtual battle, so that information about the virtual item placement for the plurality of object identifiers participating in the same virtual battle is consistent. In this way, game unfairness as a result of placement of inconsistent virtual items can be eliminated, game competitiveness can be ensured, and it can be ensured that the user can plan a game strategy based on the information about the virtual item placement in the virtual battle, which improves control of the virtual battle by the user, thereby improving user experience.
Moreover, for each virtual battle, the server determines an item placement policy for the virtual battle from the plurality of item placement policies, so that the item placement policies for the plurality of virtual battles may be different. Since different random differences exist between different virtual battles, random feelings of the different virtual battles are brought to the user. Moreover, since a key item can affect a formation combination of the user, through the preview of the information about the key item placement in the virtual battle, the user can construct different formation combination policies in advance, thereby improving the user experience.
Based on the embodiments shown in
As shown in
As shown in
In a possible implementation, the display module 1201 is further configured to cancel the display of the item placement preview and display thumbnail information of the item placement preview on the virtual scene interface, in a case that the virtual battle starts.
In another possible implementation, the thumbnail information includes a plurality of item identifiers. The display module 1201 is configured to highlight an item identifier corresponding to the target round about to start as the virtual battle progresses in a case that the plurality of item identifiers are displayed on the virtual scene interface, the item identifier corresponding to the target round indicating the virtual item to be placed in the target round.
In another possible implementation, the thumbnail information includes a plurality of item identifiers. The display module 1201 is configured to display an item identifier of a placed virtual item in a placed state and display an item identifier of an unplaced virtual item in an unplaced state during the virtual battle in a case that the plurality of item identifiers are displayed on the virtual scene interface.
In another possible implementation, the placed state includes a first placed state or a second placed state. The display module 1201 is configured to: display an item identifier of a virtual item that is placed but not picked up in the first placed state; and display an item identifier of a virtual item that is placed and picked up in the second placed state.
In another possible implementation, as shown in
In another possible implementation, the determining module 1401 is configured to determine the item placement policy for the virtual battle from the plurality of item placement policies based on historical battle information of the plurality of object identifiers.
For the item placement apparatuses provided in the above embodiments, only division of the above functional modules is described by using examples. In practical application, the functions may be completed by different functional modules as required. To be specific, an internal structure of a computer device is divided into different functional modules to complete all or some of the functions described above. In addition, the item placement apparatuses provided in the above embodiments belong to the same idea as the embodiments of the item placement methods. For a specific implementation thereof, reference is made to the method embodiments, which is not described in detail herein.
An embodiment of this disclosure further provides a computer device. The computer device includes a processor and a memory, the memory having at least one computer program stored therein, the at least one computer program being loaded and executed by the processor to implement the operations of the item placement methods in the above embodiments.
In some embodiments, the computer device is provided as a terminal.
Processing circuitry, such as the processor 1501, may include one or more processing cores, for example, a 4-core processor or an 8-core processor. The processor 1501 may be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 1501 may alternatively include a main processor and a coprocessor. The main processor is a processor configured to process data in an awaken state, which is also referred to as a CPU. The coprocessor is a low power processor configured to process data in a standby state. In some embodiments, the processor 1501 may have a graphics processing unit (GPU) integrated therein. The GPU is configured to render and draw content that needs to be displayed on a display. In some embodiments, the processor 1501 may further include an AI processor. The AI processor is configured to perform computing operations related to machine learning.
The memory 1502 may include one or more computer-readable storage media. The computer-readable storage media may be non-transient. The memory 1502 may further include a high-speed random access memory and a non-volatile memory, for example, one or more disk storage devices or flash storage devices. In some embodiments, the non-transient computer-readable storage media in the memory 1502 are configured to store at least one computer program. The at least one computer program is configured to be executed by the processor 1501, to implement the item placement methods provided in the method embodiments of this disclosure.
In some embodiments, the terminal 1500 further includes a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502, and the peripheral device interface 1503 may be connected through a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1503 through a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency (RF) circuit 1504, a display 1505, a camera assembly 1506, an audio circuit 1507, and a power supply 1508.
The peripheral device interface 1503 may be configured to connect the at least one peripheral device related to input/output (I/O) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral device interface 1503 are integrated on the same chip or circuit board. In some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral device interface 1503 may be implemented on an independent chip or circuit board, which is not limited in this embodiment. The RF circuit 1504 is configured to receive and transmit an RF signal, which is also referred to as an electromagnetic signal. The RF circuit 1504 communicates with a communication network and another communication device through the electromagnetic signal. The RF circuit 1504 converts an electric signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electric signal. In some embodiments, the RF circuit 1504 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a DSP, a codec chipset, a user identity module card, and the like. The RF circuit 1504 may communicate with the another terminal through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to the World Wide Web, a metropolitan area network, the Intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and/or a wireless fidelity (Wi-Fi) network. In some embodiments, the RF circuit 1504 may further include a near field communication (NFC)-related circuit, which is not limited in this disclosure.
The display 1505 is configured to display a user interface (UI). The UI may include graphics, texts, icons, videos, and any combination thereof. When the display 1505 is a touch display, the display 1505 further has a capability of collecting a touch signal on or above a surface of the display 1505. The touch signal may be inputted into the processor 1501 as a control signal for processing. In this case, the display 1505 may be further configured to provide a virtual button and/or a virtual keyboard, which is also referred to as a soft button and/or a soft keyboard. In some embodiments, one display 1505 may be arranged on a front panel of the terminal 1500. In some other embodiments, at least two displays 1505 may be respectively arranged on different surfaces of the terminal 1500 or folded. In some other embodiments, the display 1505 may be a flexible display arranged on a curved surface or a folded surface of the terminal 1500. The display 1505 may alternatively be arranged as a non-rectangular irregular pattern, i.e., a special-shaped screen. The display 1505 may be manufactured by using a material such as a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
The camera assembly 1506 is configured to capture an image or a video. In some embodiments, the camera assembly 1506 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on a back of the terminal. In some embodiments, at least two rear cameras are arranged, which are respectively any one of a main camera, a depth-of-field camera, and a wide-angle camera, so as to achieve a background blurring function through fusion of the main camera and the depth-of-field camera, achieve a panoramic photographing function and a virtual reality (VR) photographing function through fusion of the main camera and the wide-angle camera, or achieve other fusion photographing functions. In some embodiments, the camera assembly 1506 may further include a flashlight. The flashlight may be a single-color-temperature flashlight or a dual-color-temperature flashlight. The dual-color-temperature flashlight is a combination of a warm flashlight and a cold flashlight, and may be configured for light compensation at different color temperatures.
The audio circuit 1507 may include a microphone and a speaker. The microphone is configured to collect a sound wave of a user and an environment, and convert the sound wave into an electrical signal and input the electrical signal to the processor 1501 for processing, or input the electrical signal to the RF circuit 1504 to achieve voice communication. For stereo collection or noise reduction, a plurality of microphones may be respectively arranged at different parts of the terminal 1500. The microphone may alternatively be an array microphone or an omnidirectional collection microphone. The speaker is configured to convert an electrical signal from the processor 1501 or the RF circuit 1504 into a sound wave. The speaker may be a conventional film speaker, or may be a piezoelectric ceramic speaker. When the speaker is the piezoelectric ceramic speaker, the speaker can not only convert an electric signal into a sound wave audible to human beings, but also convert the electric signal into a sound wave inaudible to human beings for ranging and the like. In some embodiments, the audio circuit 1507 may further include a headphone jack.
The power supply 1508 is configured to supply power to components in the terminal 1500. The power supply 1508 may be an alternating current power supply, a direct current power supply, a disposable battery, or a rechargeable battery. When the power supply 1508 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may be further configured to support a fast charging technology.
A person skilled in the art may understand that the structure shown in
In some embodiments, the computer device is provided as a server.
An embodiment of this disclosure further provides a computer-readable storage medium, such as a non-transitory computer-readable storage medium, having at least one computer program stored therein, the at least one computer program being loaded and executed by a processor, to implement the operations of the item placement methods provided in the above embodiments.
An embodiment of this disclosure further provides a computer program product, including a computer program, the computer program, when executed by a processor, implementing the operations of the item placement methods provided in the above embodiments.
A person of ordinary skill in the art may understand that all or some of the operations implementing the above embodiments may be implemented by hardware, or may be implemented by instructing relevant hardware through a program. The program may be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a disk, an optical disc, or the like.
The above descriptions are merely examples of the embodiments of this disclosure, and are not intended to limit the embodiments of this disclosure. Any modification, equivalent replacement, improvement, or the like made within the spirit and principle of the embodiments of this disclosure falls within the protection scope of this disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202211430656.8 | Nov 2022 | CN | national |
The present application is a continuation of International Application No. PCT/CN2023/123210, filed on Oct. 7, 2023, which claims priority to Chinese Patent Application No. 202211430656.8, filed on Nov. 15, 2022. The entire disclosures of the prior applications are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2023/123210 | Oct 2023 | WO |
Child | 18939501 | US |