Embodiments of this application relate to the field of virtual environments, and in particular, to a method and an apparatus for selecting an ability of a virtual object, a device, a medium, and a program product.
A battle game is a game in which a plurality of user accounts compete in the same scene. For example, the battle game may be a multiplayer online battle arena (MOBA) game. A player may control a virtual object to cast an ability in a MOBA game, thereby attacking an opponent virtual object.
In the related technology, during ability casting, a virtual prop is cast, thereby hurting an object within a prop function trigger range, and abilities can be leveled up. For example, when a virtual object is upgraded from a first level to a second level, a player can select an ability of the virtual object to be leveled up, thereby raising an attribute value of the ability, so as to improve an attack effect of the ability.
However, the foregoing mechanism of upgrading abilities for a virtual object provides relatively low freedom for user to customize its virtual object, hence less variation of operation can be performed.
Embodiments of this application provide a method and an apparatus for selecting an ability of a virtual object, a device, a medium, and a program product, to improve diversity of ability combinations in a virtual battle. The technical solutions are as follows:
An aspect provides a method for selecting an ability of a virtual object, applicable to a computer device, the method including:
Another aspect provides an apparatus for selecting an ability of a virtual object, including:
Another aspect provides a computer device, including a processor and a memory, the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor and causing the computer device to implement the method for selecting an ability of a virtual object provided in the foregoing embodiments.
Another aspect provides a non-transitory computer-readable storage medium, storing at least one instruction, the at least one instruction being loaded and executed by a processor of a computer device and causing the computer device to implement the method for selecting an ability of a virtual object provided in the foregoing embodiments.
According to another aspect, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a non-transitory computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform the method for selecting an ability of a virtual object described in any one of the foregoing embodiments.
The technical solutions provided in the embodiments of this application achieve at least the following beneficial effects:
At least two second ability identifiers are displayed when a virtual object is changed to a second level, and a selected second ability replaces a first ability to serve as an evolved ability of the virtual object. Because the second ability is selected from at least two candidate second abilities, diversity of ability evolution is increased, and strategization of a virtual battle is improved, to avoid a problem that relatively weak strategization of the virtual battle is caused because of relatively undiversified ability configuration, thereby improving experience of a player in the virtual battle.
To describe the technical solutions in the embodiments of this application more clearly, the accompanying drawings required for describing the embodiments are briefly described below. Apparently, the accompanying drawings in the following descriptions show merely some embodiments of this application, and a person of ordinary skill in the art may obtain other accompanying drawings according to these accompanying drawings without creative efforts.
To make objectives, technical solutions, and advantages of this application clearer, the following further describes implementations of this application in detail with reference to the accompanying drawings.
First, terms involved in the embodiments of this application are briefly introduced.
A virtual environment is a virtual environment displayed (or provided) by an application when run on a terminal. The virtual environment may be a simulated environment of a real world, or may be a semi-simulated semi-fictional environment, or may be an entirely fictional environment. The virtual environment may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. This is not limited in this application.
A virtual object is a movable object in a virtual environment. The movable object may be a virtual character, a virtual animal, a cartoon character, or the like, such as a character, an animal, or the like displayed in a three-dimensional virtual environment. In some embodiments, the virtual object is a three-dimensional model created based on a skeletal animation technology. Each virtual role has a respective shape and size in the three-dimensional virtual environment, and occupies some space in the three-dimensional virtual environment. The embodiments of this application are described by using an example in which a virtual object is a master virtual object controlled by a user, and the master virtual object generally refers to one or more master virtual objects in a virtual environment.
Multiplayer Online Battle Arena Games (MOBA) is an arena in which different virtual teams on at least two opposing camps occupy respective map regions in a virtual environment, and compete against each other using a specific victory condition as a goal. The victory condition includes, but is not limited to at least one of the following: occupying forts or destroying forts of the opposing camps, killing virtual roles in the opposing camps, ensuring own survivals in a specified scene and time, seizing a specific resource, or outscoring the opponent within a specified time. The battle arena game may take place in rounds. The same map or different maps may be used in different rounds of the battle arena game. Each virtual team includes one or more virtual roles, for example, 1 virtual role, 2 virtual roles, 3 virtual roles, or 5 virtual roles. A duration of a round of the MOBA game is from a time point at which the game starts to a time point at which the victory condition is met.
An ability refers to a capability configured for a virtual object in a virtual battle and used for hurting an opponent virtual object. Usually, a virtual object is simultaneously configured with at least two abilities at a moment in a virtual battle. For example, at a beginning stage of the virtual battle, the virtual object is configured with two initial abilities, and after the virtual object reaches a specific level or conforms to a specific requirement, the virtual object is configured with three abilities. An ability configured for the virtual object can be evolved into a higher form.
For example, referring to
In the related technology, abilities configured for a virtual object in a virtual battle do not change, but are correspondingly evolved according to level upgrading of the virtual object. For example,
However, in the foregoing manner, only the levels of the abilities can be evolved, while the abilities themselves configured for the virtual object in the virtual battle are fixed, and cannot be combined again, causing relatively low diversity of ability configuration.
However, in the embodiments of this application, in response to changing a virtual object to a second level in a virtual battle, a capability of upgrading a first ability configured for the virtual object to a second ability is provided, and at least two candidate second abilities are provided when the first ability is evolved, so that a player can select one second ability from the at least two candidate second abilities to replace the currently configured first ability to serve as a new ability configured for the virtual object.
For example,
An application supporting a virtual environment is installed and run on the first terminal 420. The application may be any one of a virtual reality application, a three-dimensional map program, a military simulation program, a First Person Shooting Game (FPS) game, a MOBA game, a multiplayer shooting survival game, and a battle royale shooting game. The first terminal 420 is a terminal used by the first user, and the first user uses the first terminal 420 to control a first master virtual role located in the virtual environment to perform activities, including but not limited to: at least one of adjusting body posture, walking, running, jumping, releasing abilities, picking-up, attacking, or dodging attacks from other virtual roles. For example, the first master virtual role is a first virtual character, for example, a simulated character role or a cartoon character role. For example, the first master virtual role casts a regional ability in the virtual environment, and the virtual environment picture moves from a location at which the master virtual role is located to a target region selected by a regional ability indicator. The regional ability indicator is configured to select a cast region when the master virtual role casts an ability.
The first terminal 420 is connected to the server 440 by a wireless network or a wired network.
The server 440 includes at least one of one server, a plurality of servers, a cloud computing platform, and a virtualization center. For example, the server 440 includes a processor 444 and a memory 442. The memory 442 further includes a receiving module 4421, a control module 4422, and a transmitting module 4423. The receiving module 4421 is configured to receive a request transmitted by a client, such as a team forming request; the control module 4422 is configured to control rendering of the virtual environment picture; and The transmission module 4423 is configured to send a message notification to the client, such as a team success notification. The server 440 is configured to provide a backend service for an application supporting a three-dimensional virtual environment. In some embodiments, the server 440 is responsible for primary computing work, and the first terminal 420 and the second terminal 460 are responsible for secondary computing work; or the server 440 is responsible for secondary computing work, and the first terminal 420 and the second terminal 460 are responsible for primary computing work; or the server 440, the first terminal 420, and the second terminal 460 perform collaborative computing by using a distributed computing architecture among each other.
The second terminal 460 is connected to the server 440 by a wireless network or a wired network.
An application supporting a virtual environment is installed and run on the second terminal 460. The second terminal 460 is a terminal used by a second user, and the second user uses the second terminal 460 to control a second master virtual role located in the virtual environment to perform a movement. For example, the second master virtual role is a second virtual character, for example, a simulated character role or a cartoon character role.
In some embodiments, the first virtual character role and the second virtual character role are located in the same virtual environment. In some embodiments, the first virtual character role and the second virtual character role may belong to the same team or the same organization, have a friend relationship, or have a temporary communication permission.
In some embodiments, the applications installed on the first terminal 420 and the second terminal 460 are the same, or the applications installed on the two terminals are the same type of applications in different control system platforms. The first terminal 420 may be generally one of a plurality of terminals, and the second terminal 460 may be generally one of a plurality of terminals. In this embodiment, only the first terminal 420 and the second terminal 460 are used as an example for description. The device types of the first terminal 420 and the second terminal 460 are the same or different. The following embodiment is described by using an example in which the terminal includes a smartphone.
A person skilled in the art may learn that there may be more or fewer terminals. For example, there may be only one terminal, or there are dozens of, hundreds of, or more terminals. The number and the device type of the terminal are not limited in the embodiments of this application.
Step 501. Display a first ability identifier of a first ability, the first ability being an ability configured for the virtual object to perform the first ability at a first level in a virtual battle.
The first ability corresponds to the first level, that is, the first ability is an ability configured by the computer device for the virtual object when the virtual object is at the first level. In some embodiments, a single ability corresponds to a single level, or a single ability corresponds to a plurality of levels. When a single ability corresponds to a plurality of levels, ability effects of an ability at different levels are the same or different. For example, when the virtual object is at each of the first level and the second level, the player can select the ability “leaf”. When the virtual object is at the first level, the leaf ability is at the first stage of evolution, and when the virtual object is at the second level, the leaf ability is at the second stage of evolution. When the virtual object is switched to the second level, at least two abilities are provided for the player to select, and include the leaf ability at the second stage of evolution. That is, when the virtual object is switched from the first level to the second level, the player may select to evolve the leaf ability at the first stage into the leaf ability at the second stage, or may select to evolve the leaf ability at the first stage into another ability different from the leaf ability.
In this embodiment of this application, a description is made by using an example in which abilities provided at different levels are different. Abilities provided at an nth level are preset. For example, at the first level, abilities provided for the player to select are obtained from a first ability set, and at the second level, abilities provided for the player to select are obtained from a second ability set, where both the first ability set and the second ability set are preset ability sets; or abilities provided at the nth level are associated with abilities selected by the player at an (n−1)th level, and n is a positive integer greater than 1. For example, when an ability selected by the player at the first level is the leaf ability, abilities provided for the player to select at the second level are the pollen puff ability and the leaf tornado ability, and the pollen puff ability and the leaf tornado ability are associated with the leaf ability.
In some embodiments, the first ability identifier is implemented as at least one of an icon of the first ability, a name of the first ability, and an attribute of the first ability. That is, if the first ability identifier is displayed in a battle interface of the virtual battle, it indicates that the virtual object is currently configured with the first ability. In some embodiments, the first ability identifier is used for indicating an ability configuration situation of the virtual object, and/or the first ability identifier is used for controlling the virtual object to cast an ability. For example, when the player selects the first ability identifier, the virtual object is triggered to cast the first ability in the virtual battle.
In some embodiments, the first ability is an initial equipped ability of the virtual object participating in the virtual battle, or the first ability is an ability configured by the player for the virtual object during historical level switching of the virtual object. When the first ability is the initial equipped ability of the virtual object, the first ability is a preset ability, or the first ability is an ability randomly selecting from an initial ability set.
In some embodiments, a virtual battle interface is displayed, and the virtual battle interface is an interface of observing a virtual environment when the virtual object participates in the virtual battle. In some embodiments, the virtual battle interface includes a virtual environment picture and a control (for example, the foregoing first ability identifier), where the control is superimposed and displayed on a virtual environment interface.
Step 502. Display at least two second ability identifiers of at least second abilities associated with the virtual object in response to the virtual object changing from the first level to a second level in the virtual battle, the second abilities corresponding to the second level, and the at least two second ability identifiers including a target second ability identifier.
In some embodiments, the second level is a particular level at which an ability evolution event exists, or the second level is a level within a preset level range at which an evolution event can be provided. For example, the highest level of the virtual object is the level 50, and when the virtual object is at a level lower than the level 30, the virtual object correspondingly has one ability evolution opportunity each time the virtual object is raised by one level. In some embodiments, the first level is the level 5, and the second level is the level 10. That is, the virtual object is upgraded level by level starting from the level 5, and when the virtual object is upgraded to the level 10, at least two second ability identifiers are displayed in a preset display position corresponding to the first ability identifier.
In the foregoing example, a description is made by using an example in which levels are implemented as digital levels. In some embodiments, levels of the virtual object may alternatively be implemented as preset names, and this is not limited in this embodiment of this application.
In some embodiments, as the level of the virtual object changes, the appearance form of the virtual object correspondingly changes with the level. For example, if the virtual object is implemented as a virtual elf, the virtual elf is evolved with the battle process in the virtual battle, and changes in the appearance form with the evolution.
The at least two second ability identifiers are used for providing at least two second abilities to the virtual object to replace the first ability, and the second abilities correspond to the second level of the virtual object after evolution. For example, the virtual object is currently in a primary form and configured with the leaf ability, and when the virtual object is evolved into an intermediate form, the pollen puff ability and the leaf tornado ability are displayed, where the pollen puff ability and the leaf tornado ability are abilities corresponding to the second level. In addition, in some embodiments, the pollen puff ability and the leaf tornado ability corresponds to the second level, and the pollen puff ability and the leaf tornado ability correspond to the leaf ability. That is, the leaf ability is an ability corresponding to a current key position in the primary form, and the pollen puff ability and the leaf tornado ability are abilities corresponding to the current key position in the intermediate form.
In some embodiments, the at least two second ability identifiers displayed in the interface are identifiers corresponding to at least two preset second abilities; or the at least two second ability identifiers displayed in the interface are identifiers corresponding to at least two second abilities selected from a preset ability library corresponding to the second level.
In some embodiments, the at least two second ability identifiers are displayed in a preset display position corresponding to the first ability identifier. In some embodiments, the foregoing preset display position includes a position corresponding to the display key position of the first ability in the virtual environment interface, or the foregoing preset display position is a position corresponding to the first ability identifier in an ability configuration interface, the foregoing ability configuration interface is an interface retrieved through a preset control, and the player may configure the current ability in the ability configuration interface.
In some embodiments, a manner of displaying the at least two second ability identifiers includes any one of the following manners:
A first manner is to display the at least two second ability identifiers in a sector display manner with the first ability identifier as a surrounding center.
A second manner is to display at least two switching paths with the first ability identifier as a path start point, where end points of the switching paths are the at least two second ability identifiers.
For example, a description is made by using an example in which the second ability identifiers are displayed in the form of switching paths.
A third manner is to superimpose and display the at least two second ability identifiers in a display position of the first ability identifier. Each second ability identifier displays a scaled-down complete ability identifier, or each second ability identifier displays a tailored partial identifier. For example, if a description is made by using two second ability identifiers as an example, when the two ability identifiers are displayed, a left half identifier of one of the second ability identifiers is obtained through tailoring, a right half identifier of the other second ability identifier is obtained through tailoring, and after the left half identifier and the right half identifier obtained through tailoring are spliced, an identifier obtained through splicing is superimposed and displayed on the first ability identifier. The size of the identifier obtained by splicing the left half identifier and the right half identifier obtained through tailoring is consistent with the size of the first ability identifier; or the size of the identifier obtained by splicing the left half identifier and the right half identifier obtained through tailoring is greater than the identifier size of the first ability identifier.
In some embodiments, the second abilities include at least one type of ability of the following three types:
(1). The second abilities are abilities the same as the first ability. In some embodiments, the second abilities are abilities obtained after the ability level of the first ability is raised, that is, ability levels of the first ability and the second abilities are different, and the raise in the ability level causes attribute values corresponding to the second abilities to be raised, but the ability effects of the second abilities are the same as that of the first ability. For example, the ability effect of the first ability is an accelerating effect, whose corresponding accelerating attribute value is speed raise of 4%, and the ability effects of the second abilities are also an accelerating effect, whose corresponding accelerating attribute value is speed raise of 6%.
In some embodiments, the foregoing ability effects include at least one of an ability name, a display effect of an ability cast in a virtual environment, an attribute effect, an ability configuration structure, and the like.
An ability configuration structure is used for indicating an effect combination situation generated by an ability, and if ability configuration structures of different second abilities are different, it indicates that the different second abilities can generate different effects. In some embodiments, the ability configuration structure of the second ability includes at least one of configuration information such as attribute, function, rarity, attack performance, defense performance, subsidiarity, and the like corresponding to the second ability. For example, using an example in which the ability configuration structure includes the function of the ability, the at least two second abilities are respectively the pollen puff ability and the leaf tornado ability, where the ability configuration structure of the pollen puff ability is hurt and restoration, that is, the pollen puff ability can both supplement hurt for a teammate and provide health point restoration for the teammate; and the ability configuration structure of the leaf tornado ability is hurt and accelerating, that is, and can both hurt an opponent and provide an accelerating runway to increase the moving speed.
(2). The second abilities are abilities partially the same as the first ability. In some embodiments, the ability effect of the first ability is partially the same as those of the second abilities, the second abilities are abilities obtained after the first ability undergoes ability evolution, and the ability evolution changes some ability effects of the ability. In some embodiments, attribute values corresponding to the ability effects of the second abilities partially the same as that of the first ability may be raised, or may be kept the same as that of the first ability. For example, the ability effect of the first ability is the accelerating effect, whose corresponding accelerating attribute value is speed raise of 4%, and the ability effects of the second abilities include the accelerating effect and the restoration effect, where the restoration effect is to restore a virtual state of the virtual object, for example, a health point, an energy point, or a mana point, and the accelerating attribute value corresponding to the foregoing accelerating effect may be the same as that of the first ability, that is, is still speed raise of 4%, or may be different from that of the first ability, for example, speed raise of 6%. Alternatively, the ability effects of the first ability are the accelerating effect and the restoration effect, where if the accelerating attribute value corresponding to the accelerating effect is speed raise of 4%, and the restoration attribute value corresponding to the restoration effect is health point restoration of 100 points, an ability effect of a second ability A is the accelerating effect, whose corresponding accelerating attribute value is speed raise of 10%, and an ability effect of a second ability B is the restoration effect, whose corresponding restoration attribute value is health point restoration of 500 points.
(3). The second abilities are abilities completely different from the first ability. In some embodiments, the ability effect of the first ability is completely different from those of the second abilities, the second abilities are abilities obtained after the first ability undergoes ability evolution, and the ability evolution changes all ability effects of the ability. For example, the second ability is not an advanced ability obtained after the attribute value is increased based on the first ability, but another ability that is set different from the first ability in both the presentation form and the attribute value. For example, the ability effect of the first ability is the accelerating effect, whose corresponding accelerating attribute value is speed raise of 4%, and the ability effects of the second abilities are a transfer effect, whose corresponding transfer attribute value is a transfer range of 100 meters.
In some embodiments, corresponding ability configuration structures of at least two second abilities corresponding to the foregoing at least two second ability identifiers are different.
Step 503. Replace the first ability with a second ability corresponding to the target second ability identifier in response to a selection operation on the target second ability identifier.
In this embodiment of this application, the foregoing at least two second ability identifiers include the target second ability identifier, and the target second ability identifier is a second ability identifier selected by the player to replace the first ability identifier.
In some embodiments, the selection operation is implemented through touch on the interface, or the selection operation is implemented through a physical key. For example, a click operation on the second ability identifier on the virtual battle interface is received, and the click operation is used as the selection operation on the target second ability identifier. The foregoing selection operation may be further implemented by a long-press operation, a double-click operation (including at least one of a single-finger double-click operation or a two-or-more-finger double-click operation), a hover operation, a drag operation, and a combination thereof, which is not limited herein.
In some embodiments, the first ability identifier is displayed in a target display key position in the virtual environment interface, and after the selection operation on the target second ability identifier is received, display of the first ability identifier in the target display key position is canceled according to the selection operation, and the target second ability identifier is displayed in the target display key position. When the target second ability identifier is displayed in the foregoing target display key position, it indicates that the first ability configured for the virtual object is replaced with the second ability corresponding to the target second ability identifier.
In conclusion, in the method for selecting an ability of a virtual object provided in this embodiment of this application, at least two second ability identifiers are displayed when a virtual object is changed to a second level, and a selected second ability replaces a first ability to serve as an evolved ability of the virtual object. Because the second ability is selected from at least two candidate second abilities, diversity of ability evolution is increased, and strategization of a virtual battle is improved, to avoid a problem that relatively weak strategization of the virtual battle is caused because of relatively undiversified ability configuration, thereby improving experience of a player in the virtual battle.
In some embodiments, the at least two second abilities are determined from the ability set corresponding to its own role of the virtual object and the second level.
Step 701. Display a first ability identifier of a first ability, where the first ability is an ability configured for a virtual object to perform the first ability in a virtual battle, and a level of the virtual object in the virtual battle is a first level.
The first ability corresponds to the first level, that is, the first ability is an ability configured for the virtual object when the virtual object is at the first level. In some embodiments, a single ability corresponds to a single level, or a single ability corresponds to a plurality of levels. When a single ability corresponds to a plurality of levels, ability effects of an ability at different levels are the same or different. For example, when the virtual object is at each of the first level and the second level, the player can select the ability “leaf”. When the virtual object is at the first level, the leaf ability is at the first stage of evolution, and when the virtual object is at the second level, the leaf ability is at the second stage of evolution. When the virtual object is switched to the second level, at least two abilities are provided for the player to select, and include the leaf ability at the second stage of evolution.
In some embodiments, the first ability identifier is implemented as at least one of an icon of the first ability, a name of the first ability, and an attribute of the first ability. That is, if the first ability identifier is displayed in a battle interface of the virtual battle, it indicates that the virtual object is currently configured with the first ability. In some embodiments, the first ability identifier is used for indicating an ability configuration situation of the virtual object, and/or the first ability identifier is used for controlling the virtual object to cast an ability. For example, when the player selects the first ability identifier, the virtual object is triggered to cast the first ability in the virtual battle.
Step 702. Determine, in response to the virtual object changing from the first level to a second level in the virtual battle, an ability set corresponding to the virtual object and the second level.
The ability set corresponds to its own role of the virtual object, and the ability set corresponds to the foregoing second level, that is, its own role of the virtual object corresponds to an entire ability set, and the ability set corresponding to the second level is a subset in the entire ability set.
In some embodiments, the virtual object corresponds to a role identifier, the second level corresponds to a level identifier, and an ability set corresponding to both the role identifier and the level identifier is searched for and used as an ability set from which the second abilities are selected.
Step 703. Determine at least two second abilities from the ability set.
In some embodiments, a manner of determining the at least two second abilities from the ability set includes any one of the following manners:
A first manner is to randomly determine the at least two second abilities from the ability set. For example, the quantity of second abilities provided for the player to select is preset, and the at least two second abilities are randomly determined from the ability set according to the foregoing quantity.
A second manner is to obtain historical behavior data corresponding to the virtual object, where the historical behavior data includes historical ability trigger data of the virtual object; and determine the at least two second abilities triggered for the most number of times from the ability set according to the historical behavior data. In some embodiments, the historical behavior data further includes historical ability selection data of the virtual object, that is, the number of times that the player selects an ability in a historical virtual battle.
A third manner is to determine, from the ability set according to settings of the player, the at least two second abilities selected by the player. For example, before the virtual battle begins, the player presets to-be-provided second abilities in an ability setting interface.
A fourth manner is to determine, from the ability set according to an equipment attribute of a virtual equipment configured for the virtual object in the current virtual battle, the at least two second abilities selected by the player. In an example, when the equipment attribute is a physical attribute, the at least two second abilities matching the physical attribute are selected from the ability set, and when the equipment attribute is a magic attribute, the at least two second abilities matching the magic attribute are selected from the ability set.
Step 704. Display at least two second ability identifiers corresponding to the at least two second abilities in a preset display position.
In this embodiment of this application, the foregoing preset display position corresponds to the first ability identifier. In some embodiments, the preset display position may be a position within a preset sector range with the first ability identifier as a surrounding center; or the preset display position may be a position at a preset distance to the first ability identifier with the first ability identifier as a start point; the preset display position may be a display position of the first ability identifier, which is not limited herein.
In some embodiments, if the virtual object itself is configured with at least two first abilities, the virtual battle interface displays at least two first ability identifiers, and the player can respectively evolve the at least two first abilities in different evolution stages. For example, referring to
When the virtual object is evolved from the intermediate form into an advanced form, the player selects the photosynthesis ability 820 from the pollen puff ability 831 and the photosynthesis ability 820 to perform evolution, and during evolution of the photosynthesis ability 820, two candidate second abilities are included, and are respectively a cotton guard ability 841 and a cotton spore ability 842. In an exemplary embodiment, the player selects the cotton guard ability 841, so that the virtual object is configured with the pollen puff ability 831 and the cotton guard ability 841.
For the foregoing different selection situations, when the virtual object is evolved into the advanced form, possible ability configuration manners include:
In some embodiments, when the virtual object is evolved from the intermediate form into the advanced form, the player does not evolve the photosynthesis ability 820, but continues to evolve the pollen puff ability 831, that is, there may be more ability configuration manners. This is not limited in this embodiment of this application.
In the foregoing example, a description is made by using an example in which the player selects one ability from two abilities to perform evolution. In some embodiments, after the level of the virtual object is switched, the player can evolve a designated ability, but cannot select one of a plurality of abilities to perform evolution.
Step 705. Replace the first ability with a second ability corresponding to the target second ability identifier in response to a selection operation on the target second ability identifier.
In this embodiment of this application, the at least two second ability identifiers include the target second ability identifier.
In some embodiments, in response to displaying switching paths between the first ability identifier and the second ability identifiers, a slide operation received between the first ability identifier and the target second ability identifier is used as the selection operation, where a slide start position of the slide operation is on the first ability identifier, and a slide termination position of the slide operation is on the target second ability identifier.
In some embodiments, when a second ability is selected, the selected second ability needs to be first understood to specific extent. Therefore, the slide operation between the first ability identifier and the target second ability identifier is received, and an ability effect preview animation of the target second ability identifier is displayed according to the slide operation; and in response to end of the slide operation and the slide termination position of the slide operation being on the target second ability identifier, the slide operation is determined as the selection operation on the target second ability identifier.
For example,
In some embodiments, display of the first ability identifier is canceled according to the selection operation, and the target second ability identifier is displayed in the target display key position of the first ability identifier.
In conclusion, in the method for selecting an ability of a virtual object provided in this embodiment of this application, at least two second ability identifiers are displayed when a virtual object is changed to a second level, and a selected second ability replaces a first ability to serve as an evolved ability of the virtual object. Because the second ability is selected from at least two candidate second abilities, diversity of ability evolution is increased, and strategization of a virtual battle is improved, to avoid a problem that relatively weak strategization of the virtual battle is caused because of relatively undiversified ability configuration, thereby improving experience of a player in the virtual battle.
In the method provided in this embodiment, the second ability identifiers of the at least two second abilities are determined from the ability set and displayed, thereby improving the selection diversity and the selectable range of the second abilities, and improving the combination capability of ability configuration.
In the method provided in this embodiment, during ability switching, the ability effect preview animation is presented according to the slide operation, thereby presenting ability effects of candidate abilities in advance, for the player to confirm and select the second abilities, to improve the ability selection efficiency.
In some embodiments, ability configuration prompt information is further displayed on a peripheral side of the second ability identifier.
Step 1001. Display a first ability identifier of a first ability, the first ability being an ability configured for the virtual object to perform the first ability at a first level in a virtual battle.
In some embodiments, the first ability identifier is implemented as at least one of an icon of the first ability, a name of the first ability, and an attribute of the first ability. That is, if the first ability identifier is displayed in a battle interface of the virtual battle, it indicates that the virtual object is currently configured with the first ability. In some embodiments, the first ability identifier is used for indicating an ability configuration situation of the virtual object, and/or the first ability identifier is used for controlling the virtual object to cast an ability. For example, when the player selects the first ability identifier, the virtual object is triggered to cast the first ability in the virtual battle.
Step 1002. Display, in response to the virtual object changing from the first level to a second level in the virtual battle, at least two second ability identifiers in a preset display position corresponding to the first ability identifier, where second abilities corresponding to the second ability identifiers correspond to the second level.
In some embodiments, as the level of the virtual object changes, the appearance form of the virtual object correspondingly changes with the level. For example, if the virtual object is implemented as a virtual elf, the virtual elf is evolved with the battle process in the virtual battle, and changes in the appearance form with the evolution.
The at least two second ability identifiers are used for providing at least two second abilities to the virtual object to replace the first ability, and the second abilities correspond to the second level of the virtual object after evolution. For example, the virtual object is currently in a primary form, and is configured with a leaf ability, and when the virtual object is evolved into an intermediate form, a pollen puff ability and a leaf tornado ability are displayed in a preset display position corresponding to an ability identifier of the leaf ability, where the pollen puff ability and the leaf tornado ability are abilities corresponding to the second level. In addition, in some embodiments, the pollen puff ability and the leaf tornado ability corresponds to the second level and the leaf ability. That is, the leaf ability is an ability corresponding to a current key position in the primary form, and the pollen puff ability and the leaf tornado ability are abilities corresponding to the current key position in the intermediate form.
In some embodiments, the at least two second ability identifiers displayed in the interface are identifiers corresponding to at least two preset second abilities; or the at least two second ability identifiers displayed in the interface are identifiers corresponding to at least two second abilities selected from a preset ability library corresponding to the second level.
Step 1003. Display ability configuration prompt information in preset positions on peripheral sides of the second ability identifiers when the at least two second ability identifiers are displayed, where the ability configuration prompt information is used for indicating the ability configuration structures of the second abilities.
In some embodiments, the ability configuration structure of the second ability includes at least one of configuration information such as attribute, function, rarity, attack performance, defense performance, subsidiarity, and the like corresponding to the second ability.
For example, referring to
In some embodiments, the ability configuration prompt information is used for indicating configuration information through color, frequent blinking, highlighting, pattern, shape, or another manner.
Step 1004. Replace the first ability with a second ability corresponding to the target second ability identifier in response to a selection operation on the target second ability identifier.
The foregoing target second ability identifier is an identifier selected by the player from the at least two second ability identifiers.
In some embodiments, after the first ability is replaced with the second ability according to the foregoing selection operation, ability operation guide information is displayed in a virtual environment interface, and the foregoing ability operation guide information is used as a reminder of operation-related content of the second ability corresponding to the target second ability identifier. In some embodiments, the content presented by the foregoing operation guide information includes at least one of a casting path, a casting range, a trigger manner, a trigger effect, and other information of the second ability. In some embodiments, the presentation form of the foregoing operation guide information includes one of an animation form, a text form, a voice form, and the like.
In conclusion, in the method for selecting an ability of a virtual object provided in this embodiment of this application, at least two second ability identifiers are displayed when a virtual object is changed to a second level, and a selected second ability replaces a first ability to serve as an evolved ability of the virtual object. Because the second ability is selected from at least two candidate second abilities, diversity of ability evolution is increased, and strategization of a virtual battle is improved, to avoid a problem that relatively weak strategization of the virtual battle is caused because of relatively undiversified ability configuration, thereby improving experience of a player in the virtual battle.
In the method provided in this embodiment, the ability configuration prompt information is displayed in the preset position on the peripheral side of the second ability identifier, thereby indicating the configuration structure of the second ability corresponding to the second ability identifier, and before selecting the second ability identifier, the player initially understands the second ability, to avoid a problem that the second ability is blindly selected to cause relatively low selection accuracy.
For example,
Step 1201. Upgrade a role.
That is, a virtual object participating in a virtual battle in a virtual environment is upgraded in level or evolved. For example, using an example in which the virtual object is implemented as a virtual elf, to upgrade the role is to evolve the virtual elf.
Step 1202. Determine whether to reach an ability configuration level.
Ability configuration refers to a process that the player configures an ability for the virtual object. That is, at some levels, the player can configure an ability for the virtual object, and after other levels are upgraded, the player does not have the capability of configuring an ability for the virtual object.
Step 1203. Enable ability configuration when the virtual object reaches the ability configuration level.
In some embodiments, such two candidate ability options as ability configuration A and ability configuration B are provided to the player, that is, the player can select one of the ability configuration A and the ability configuration B to perform ability configuration.
Step 1204. The player selects ability configuration to be learned.
In some embodiments, the ability configuration A and the ability configuration B are ability configurations used for replacing an original ability with new to-be-learned abilities of the virtual object. The player selects one of the ability configuration A and the ability configuration B for a new configured ability of the virtual object.
Step 1205. Remove an old ability in the same key position.
Because the ability configuration A and the ability configuration B are used for replacing the old ability, the old ability in the key position is first removed, thereby adding an ability selected by the player to the key position.
Step 1206. Determine ability configuration learned by the player.
Step 1207. Map the ability configuration A to the key position in response to the player learning the ability configuration A.
Step 1208. Map the ability configuration B to the key position in response to the player learning the ability configuration B.
In conclusion, in the method for selecting an ability of a virtual object provided in this embodiment of this application, at least two second ability identifiers are displayed when a virtual object is changed to a second level, and a selected second ability replaces a first ability to serve as an evolved ability of the virtual object. Because the second ability is selected from at least two candidate second abilities, diversity of ability evolution is increased, and strategization of a virtual battle is improved, to avoid a problem that relatively weak strategization of the virtual battle is caused because of relatively undiversified ability configuration, thereby improving experience of a player in the virtual battle.
In some embodiments, the display module 1310 is further configured to: cancel displaying the first ability identifier in a target display key position; and display the target second ability identifier in the target display key position of the first ability identifier.
In some embodiments, the at least two second abilities correspond to different ability configuration structures, and the ability configuration structures are used for indicating effect combination situations generated by the abilities; and
In some embodiments, as shown in
In some embodiments, the determining unit 1311 is further configured to: obtain historical behavior data corresponding to the virtual object, where the historical behavior data includes historical ability trigger data of the virtual object; and determine the at least two second abilities triggered for the most number of times from the ability set according to the historical behavior data.
In some embodiments, the display module 1310 is further configured to display the at least two second ability identifiers in a sector display manner with the first ability identifier as a surrounding center;
In some embodiments, the receiving module 1320 is further configured to use a slide operation received between the first ability identifier and the target second ability identifier as the selection operation in response to displaying the switching paths between the first ability identifier and the second ability identifiers, where a slide start position of the slide operation is on the first ability identifier, and a slide termination position of the slide operation is on the target second ability identifier.
In some embodiments, the receiving module 1320 is further configured to receive the slide operation between the first ability identifier and the target second ability identifier; and
In some embodiments, the display module 1310 is further configured to display ability configuration prompt information in preset positions on peripheral sides of the second ability identifiers in response to displaying the at least two second ability identifiers, where the ability configuration prompt information is used for indicating the ability configuration structures of the second abilities.
In conclusion, in the apparatus for selecting an ability of a virtual object provided in this embodiment of this application, at least two second ability identifiers are displayed when a virtual object is changed to a second level, and a selected second ability replaces a first ability to serve as an evolved ability of the virtual object. Because the second ability is selected from at least two candidate second abilities, diversity of ability evolution is increased, and strategization of a virtual battle is improved, to avoid a problem that relatively weak strategization of the virtual battle is caused because of relatively undiversified ability configuration, thereby improving experience of a player in the virtual battle.
The apparatus for selecting an ability of a virtual object provided in the foregoing embodiments is illustrated with an example of division of the foregoing functional modules. In actual application, the functions may be allocated to and completed by different functional modules according to requirements, that is, the internal structure of the device is divided into different functional modules, to implement all or some of the content described above.
This application further provides a terminal, the terminal includes a processor and a memory, the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement steps of performing the method for selecting an ability of a virtual object performed by the first terminal or by the second terminal. The terminal may be a terminal provided in
Generally, the terminal 1500 includes: a processor 1501 and a memory 1502.
The processor 1501 may include one or more processing cores, such as a 4-core processor or an 8-core processor.
The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include a high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, a non-transitory computer-readable storage medium in the memory 1502 is configured to store at least one instruction, the at least one instruction being configured to be executed by the processor 1501 to implement the method for selecting an ability of a virtual object provided in the method embodiments of this application.
In some embodiments, the terminal 1500 also includes: a peripheral interface 1503 and at least one peripheral. The processor 1501, the memory 1502 and the peripheral interface 1503 may be connected by a bus or a signal line. Each peripheral may be connected to the peripheral interface 1503 by a bus, signal line, or a circuit board. Specifically, the peripheral includes at least one of: a radio frequency (RF) circuit 1504, a touchscreen 1505, a camera 1506, an audio circuit 1507, a positioning assembly 1508, or a power supply 1509.
The peripheral interface 1503 may be configured to connect at least one peripheral related to input/output (I/O) to the processor 1501 and the memory 1502.
The RF circuit 1504 is configured to receive and transmit RF signals, also referred to as electromagnetic signals. The RF circuit 1504 communicates with a communication network and other communication devices through the electromagnetic signals. The RF circuit 1504 converts an electric signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electric signal.
The display screen 1505 is configured to display a user interface (UI).
The camera assembly 1506 is configured to capture images or video.
The audio circuit 1507 may include a microphone and a speaker.
The positioning assembly 1508 is configured to position a current geographic location of the terminal 1500 to implement navigation or location based service (LBS).
The power supply 1509 is configured to power the various assemblies in the terminal 1500.
In some embodiments, the terminal 1500 also includes one or more sensors 1510. The one or more sensors 1510 include, but are not limited to: an acceleration sensor 1511, a gyroscope sensor 1512, a pressure sensor 1513, a fingerprint sensor 1514, an optical sensor 1515, and a proximity sensor 1516.
It will be appreciated by those skilled in the art that the structure shown in
The memory further includes one or more programs. The one or more programs are stored in the memory. The one or more programs include a program for performing the method for selecting an ability of a virtual object provided in the embodiments of this application.
An embodiment of this application further provides a computer-readable storage medium. The storage medium stores at least one instruction, and at least one instruction is loaded and executed by a processor, to implement the method for selecting an ability of a virtual object according to the foregoing method embodiments.
An embodiment of this application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform the method for selecting an ability of a virtual object described in any one of the foregoing embodiments.
The sequence numbers of the foregoing embodiments of this application are merely for description purpose, and are not intended to indicate the preference among the embodiments.
A person of ordinary skill in the art may understand that all or some of the steps of the embodiments may be implemented by hardware or a program instructing related hardware. The program may be stored in a computer-readable storage medium. The storage medium may include: a read-only memory, a magnetic disk, or an optical disc.
The foregoing descriptions are merely exemplary embodiments of this application, but are not intended to limit this application. Any modification, equivalent replacement, or improvement made within the spirit and principle of this application shall fall within the protection scope of this application. In this application, the term “unit” or “module” in this application refers to a computer program or part of the computer program that has a predefined function and works together with other related parts to achieve a predefined goal and may be all or partially implemented by using software, hardware (e.g., processing circuitry and/or memory configured to perform the predefined functions), or a combination thereof. Each unit or module can be implemented using one or more processors (or processors and memory). Likewise, a processor (or processors and memory) can be used to implement one or more modules or units. Moreover, each module or unit can be part of an overall module that includes the functionalities of the module or unit.
Number | Date | Country | Kind |
---|---|---|---|
202011140965.2 | Oct 2020 | CN | national |
This application is a continuation application of PCT Patent Application No. PCT/CN2021/122678, entitled “SKILL SELECTION METHOD AND APPARATUS FOR VIRTUAL OBJECT, AND DEVICE, MEDIUM AND PROGRAM PRODUCT” filed on Oct. 8, 2021, which claims priority to Chinese Patent Application No. 202011140965.2, filed with the State Intellectual Property Office of the People's Republic of China on Oct. 22, 2020, and entitled “METHOD AND APPARATUS FOR SELECTING ABILITY OF VIRTUAL OBJECT, DEVICE, MEDIUM, AND PROGRAM PRODUCT”, all of which are incorporated herein by reference in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
20020198046 | Nakazawa | Dec 2002 | A1 |
20070060347 | Itou | Mar 2007 | A1 |
20190209926 | Benedetto | Jul 2019 | A1 |
20190329138 | Panesar | Oct 2019 | A1 |
20200261797 | Tahkokallio | Aug 2020 | A1 |
20210129023 | Jarzebinski | May 2021 | A1 |
Number | Date | Country |
---|---|---|
101795737 | Aug 2010 | CN |
110833695 | Feb 2020 | CN |
111589116 | Aug 2020 | CN |
111760278 | Oct 2020 | CN |
112156471 | Jan 2021 | CN |
112156471 | Sep 2022 | CN |
2018118146 | Aug 2018 | JP |
Entry |
---|
SirJames | Gamerfuzion, “Assassin's Creed Unity Skill Tree” available at https://www.youtube.com/watch?v=QzDRwZFkVCo, Nov. 8, 2014 (Year: 2014). |
Stadose, “Assassin's Creed Unity Combat guide part 1—Skills, techniques and enemy types,” available at https://www.youtube.com/watch?v=AjC1yShuNxE, Nov. 16, 2015 (Year: 2015). |
Parkin, Jeffrey, “Assassin's Creed Origins guide: Your abilities,” available at https://www.polygon.com/assassins-creed-origins-guide/2017/12/27/16541802/abilities-skill-tree-ability-points-hunter-warrior-seer, Dec. 27, 2017 (Year: 2017). |
Bilibili, “DOTA2 version 7.0: a Detailed List of All Hero Talent Trees”, Dec. 28, 2016, 2 pgs., Retrieved from the Internet: https://www.bilibili.com/video/BV1Rs41la7fb?from=search&seid=7106354545433681883&spm_id_from=333.337.0.0. |
Tencent Technology, ISR, PCT/CN2021/122678, Jan. 7, 2022, 2 pgs. |
Emotional Therapist, “Marvel Super War: Rocket Raccoon Skills Introduction, Gatling 3 Basic Attacks in 1 Second, Blasting and Laying Mine”, Haokan Baidu, Sep. 26, 2020, 1 pg., Retrieved from the Internet: https://haokan.baidu.com/v?pd=wisenatural&vid=9018634349849026957. |
Tencent Technology (Shenzhen) Company, Office Action, JP2022/573488, Sep. 12, 2023, 9 pgs. |
Gigazine.net—“Pokemon Unite”, Pokemon's first 5-on-5 team battle game announced Jun. 24, 2020, https://gigazine.net/news/20200624-pokemon-presents/, retrieved Aug. 7, 2023. |
Tencent Technology, WO, PCT/CN2021/122678, Jan. 7, 2022, 6 pgs. |
Tencent Technology, IPRP, PCT/CN2021/122678, Apr. 13, 2023, 7 pgs. |
Tencent Technology, Vietnamese Office Action, VN Patent Application No. 1202206068, Jun. 25, 2024, 4 pgs. |
Tencent Technology, Korean Office Action, KR Patent Application No. 10-2022-7040641, Oct. 28, 2024, 13 pgs. |
YouTube.com, Pokémon Official YouTube Channel, “Pokémon Presents”, Jun. 24, 2020, Retrieved from the Internet: https://www.youtube.com/watch?v= ANNYd8W73kM&t=87s. |
Number | Date | Country | |
---|---|---|---|
20220355202 A1 | Nov 2022 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2021/122678 | Oct 2021 | WO |
Child | 17871743 | US |