Game mission upgrade interaction methods and devices, storage media and electronic devices
By displaying resource exchange controls in game tasks and responding to press operations to determine the upgrade interaction status, the problem of insufficient flexibility in existing upgrade interaction methods is solved, and flexible and efficient game character upgrades are achieved.
Patent Information
- Application Number
- CN202210618500.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-06-01
AI Technical Summary
The existing game task upgrade interaction method is not flexible enough. Players need to click multiple times and consume excessive gold coins when they lack experience, which makes the operation cumbersome and inflexible.
By displaying resource exchange controls, the system responds to press operations to determine the upgrade interaction state that matches the operation parameters. When the conditions for accelerating the upgrade are met, an upgrade animation is played, allowing virtual characters to upgrade from the first level to the second level and increasing the number of virtual characters participating in the battle.
It enables flexible upgrades based on press operation parameters, avoiding repeated operations and improving the flexibility and efficiency of the upgrade interaction.
Smart Images

Figure CN117180736B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computers, and more specifically, to a method and apparatus for upgrading game tasks, a storage medium, and an electronic device. Background Technology
[0002] In existing tactical strategy games, players can use virtual coins to upgrade their game level or purchase and upgrade their virtual avatars during the preparation phase, following certain strategies. During the battle phase, the virtual avatars controlled by the two players will automatically determine the outcome of the game.
[0003] Typically, a player's opportunities to interact with their avatar during the preparation phase are related to their current match level. For example, the higher the player's match level, the more avatars they can control in the arena. In other words, choosing between using virtual currency to level up or purchasing avatars becomes a crucial gameplay strategy.
[0004] Existing methods for upgrading player match levels typically involve exchanging a fixed amount of virtual coins for a fixed amount of match experience points. Players accumulate experience points through multiple exchanges, eventually leveling up once a preset threshold is reached. However, this method requires multiple clicks, making it cumbersome. Furthermore, when only a small amount of experience is needed to level up, the fixed cost per click means excessive virtual coins are consumed to achieve the desired upgrade. In other words, the current upgrade interaction method in games suffers from a lack of flexibility.
[0005] There is currently no effective solution to the above problems. Summary of the Invention
[0006] This invention provides a method, apparatus, storage medium, and electronic device for upgrading game tasks, in order to at least solve the technical problem of poor flexibility in existing upgrade interaction methods.
[0007] According to one aspect of the present invention, a method for upgrading and interacting with a game task is provided, comprising: displaying a task screen of a virtual game task currently participated in by a controlled virtual character, wherein the virtual game task is a multi-round confrontation task between multiple virtual characters, and each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation; displaying a resource exchange control in the task screen, wherein the resource exchange control is used to acquire upgrade resources using material resources held by the controlled virtual character; determining an upgrade interaction state matching the operation parameters of the pressing operation in response to a pressing operation of the resource exchange control; and playing an upgrade animation of the controlled virtual character upgrading from its current first level to a second level when the upgrade interaction state indicates that the conditions for accelerating the upgrade have been met, wherein the number of virtual images allowed to participate in the confrontation at the first level is less than the number of virtual images allowed to participate in the confrontation at the second level.
[0008] According to another aspect of the present invention, a game task upgrade interaction device is also provided, comprising: a first display unit for displaying a task screen of a virtual game task currently participated in by a controlled virtual character, wherein the virtual game task is a multi-round confrontation task between multiple virtual characters, and each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation; a second display unit for displaying a resource exchange control in the task screen, wherein the resource exchange control is used to obtain upgrade resources using material resources held by the controlled virtual character; a determination unit for determining an upgrade interaction state matching the operation parameters of the pressing operation in response to a pressing operation of the resource exchange control; and a playback unit for playing an upgrade animation of the controlled virtual character upgrading from its current first level to a second level when the upgrade interaction state indicates that the conditions for accelerating the upgrade have been met, wherein the number of virtual images allowed to participate in the confrontation at the first level is less than the number of virtual images allowed to participate in the confrontation at the second level.
[0009] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, wherein the computer program is configured to execute the upgrade interaction method of the above-mentioned game task when running.
[0010] According to another aspect of the embodiments of this application, a computer program product is provided, the computer program product including a computer program / instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program / instructions from the computer-readable storage medium, and executes the computer program / instructions, causing the computer device to perform the upgrade interaction method for the game task described above.
[0011] According to another aspect of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to execute the upgrade interaction method of the game task described above through the computer program.
[0012] In this embodiment of the invention, a task screen is displayed showing the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round combat task between multiple virtual characters, where each round involves two virtual characters selecting at least one virtual image to participate in the combat. A resource exchange control is displayed on the task screen, used to acquire upgrade resources using the material resources held by the controlled virtual character. In response to pressing the resource exchange control, an upgrade interaction state matching the operation parameters of the pressing operation is determined. When the upgrade interaction state indicates that the conditions for accelerating the upgrade have been met, an upgrade animation showing the controlled virtual character upgrading from its current first level to the second level is played. The number of virtual images allowed to participate in the combat at the first level is less than the number allowed at the second level. By detecting the upgrade interaction state corresponding to the pressing operation on the resource exchange control, it is determined whether the upgrade interaction operation has been completed based on the current operation, thus avoiding multiple repetitive operations and solving the technical problem of poor flexibility in existing upgrade interaction methods. This achieves the technical effect of flexible upgrades based on pressing operation parameters. Attached Figure Description
[0013] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0014] Figure 1 This is a schematic diagram of the application environment of an optional game task upgrade interaction method according to an embodiment of the present invention;
[0015] Figure 2 This is a schematic diagram of an optional game task upgrade interaction method according to an embodiment of the present invention;
[0016] Figure 3This is a schematic diagram of an optional game task upgrade interaction method according to an embodiment of the present invention;
[0017] Figure 4 This is a schematic diagram of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0018] Figure 5 This is a schematic diagram of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0019] Figure 6 This is a schematic diagram of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0020] Figure 7 This is a schematic diagram of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0021] Figure 8 This is a schematic diagram of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0022] Figure 9 This is a schematic diagram of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0023] Figure 10 This is a flowchart of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0024] Figure 11 This is a timing diagram of an optional game task upgrade interaction method according to an embodiment of the present invention;
[0025] Figure 12 This is a flowchart of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0026] Figure 13 This is a timing diagram of another optional game task upgrade interaction method according to an embodiment of the present invention;
[0027] Figure 14 This is a schematic diagram of the structure of an optional game task upgrade interaction device according to an embodiment of the present invention;
[0028] Figure 15 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0031] It should be noted that the embodiments of this application will involve the following technical terms:
[0032] Auto Chess is an in-game collectible hero card multiplayer turn-based competitive game. There are eight players, each occupying a chessboard. Each round consists of two phases: preparation and combat. In the preparation phase, players purchase heroes from the shop and arrange them on the board. In the combat phase, both sides lock their lineups, and the heroes automatically engage in combat until one side's heroes are all eliminated. The player whose heroes are all eliminated loses the round and loses health. The game continues, with new opponents being matched, until a player's health is ≤0 and they are eliminated. The last remaining player wins the game (1st place).
[0033] Gold: The basic resource used in matches to purchase heroes, upgrade heroes, and refresh the shop. You receive a fixed bonus of 10% of your current gold each round, and additional gold is awarded for consecutive wins or losses.
[0034] Upgrade: This specifically refers to the game mechanic in Auto Chess where players spend gold to buy experience, accumulating enough experience to upgrade their current team level, thereby increasing the number of heroes that can be deployed.
[0035] According to one aspect of the present invention, a method for upgrading game tasks is provided. As an optional implementation, the above-described method for upgrading game tasks can be applied to, but is not limited to, [examples of other methods]. Figure 1The hardware environment shown includes a game task upgrade interaction system, which may include, but is not limited to, terminal device 102, network 104, server 106, database 108, and terminal device 110. Both terminal device 102 and terminal device 110 run client applications for the battle game. Terminal device 102 includes a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen displays a virtual scene provided by the battle game task. This virtual scene includes a first virtual character 10 and a second virtual character 11 belonging to different factions participating in the battle game task. The first virtual character 10 and the second virtual character 11 can directly fight each other within the virtual scene and can also control their respective virtual avatars to fight. The screen also provides a human-computer interaction interface to receive human-computer interaction operations for controlling the controlled virtual avatars in the virtual scene. These virtual avatars will complete the battle game tasks set in the virtual scene. The processor generates interaction instructions in response to the aforementioned human-computer interaction operations and sends these instructions to the server. The memory is used to store relevant attribute data, such as scene image data, attribute information of the virtual character controlled by the client (such as the virtual character's level information, virtual character's health points, number or type of virtual characters owned by the virtual character, etc.), and virtual social resources held by the virtual character controlled by the client.
[0036] Furthermore, server 106 includes a processing engine for performing store or read operations on database 108. Specifically, the processing engine determines the upgrade operation result based on the press operation instructions of the resource exchange controls fed back by terminal device 110. If the upgrade is confirmed to be complete, the virtual character's first level is upgraded to the second level, and the number of virtual avatars allowed to participate in combat on the current virtual character's field is increased. Simultaneously, upgrade animations corresponding to different levels are read from database 108 and displayed on the game interface.
[0037] The specific process is as follows: As in step S102, the terminal device 102 displays the task screen of the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round confrontation task between multiple virtual characters. Each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation. Then, as in step S104, a resource exchange control is displayed on the task screen. The resource exchange control is used to obtain upgrade resources by utilizing the material resources held by the controlled virtual character. As in step S106, in response to the pressing operation of the resource exchange control, an upgrade interaction state matching the operation parameters of the pressing operation is determined. Then, as in step S108, when the upgrade interaction state indicates that the conditions for accelerating the upgrade have been met, an upgrade animation is played showing the controlled virtual character upgrading from the current first level to the second level. The number of virtual images allowed to participate in the confrontation at the first level is less than the number of virtual images allowed to participate in the confrontation at the second level. Then, as in step S110, the terminal device 102 sends the upgrade result to the server 106 through the network 104.
[0038] Server 106 will execute steps S110-S112 to determine the number of virtual avatars allowed to participate in the confrontation based on the synthesis result; and return the number of virtual avatars allowed to participate in the confrontation to terminal device 102 through network 104.
[0039] As another optional implementation, when the terminal device 102 has powerful computing capabilities, the above-mentioned step S110 can also be performed by the terminal device 102. This is just an example, and no limitation is made in this embodiment.
[0040] In this embodiment of the invention, a task screen is displayed showing the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round combat task between multiple virtual characters, where each round involves two virtual characters selecting at least one virtual image to participate in the combat. A resource exchange control is displayed on the task screen, used to acquire upgrade resources using the material resources held by the controlled virtual character. In response to pressing the resource exchange control, an upgrade interaction state matching the operation parameters of the pressing operation is determined. When the upgrade interaction state indicates that the conditions for accelerating the upgrade have been met, an upgrade animation showing the controlled virtual character upgrading from its current first level to the second level is played. The number of virtual images allowed to participate in the combat at the first level is less than the number allowed at the second level. By detecting the upgrade interaction state corresponding to the pressing operation on the resource exchange control, it is determined whether the upgrade interaction operation has been completed based on the current operation, thus avoiding multiple repetitive operations and solving the technical problem of poor flexibility in existing upgrade interaction methods. This achieves the technical effect of flexible upgrades based on pressing operation parameters.
[0041] Optionally, in this embodiment, the above-mentioned game task upgrade interaction method can be applied to a user device, which can be, but is not limited to, a mobile phone, tablet computer, laptop computer, personal computer (PC), or other user device that supports running application clients. The server and user device can interact via a network, which can include, but is not limited to, a wireless network or a wired network. The wireless network includes Bluetooth, Wi-Fi, and other networks that enable wireless communication. The wired network can include, but is not limited to, a wide area network (WAN), a metropolitan area network (MAN), and a local area network (LAN). The above is merely an example, and no limitation is made in this embodiment.
[0042] Optionally, in this embodiment, the game application can be a single-player game (SPG) application. The type of game application may include, but is not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual reality (VR) game applications, augmented reality (AR) game applications, and mixed reality (MR) game applications. This is merely an example, and this embodiment does not impose any limitations on it.
[0043] Alternatively, as an alternative implementation method, such as Figure 2As shown, the upgrade interaction methods for the above game tasks include:
[0044] S202, Displays the mission screen of the virtual game mission currently being participated in by the controlled virtual character;
[0045] Among them, the virtual game task is a multi-round confrontation task between multiple virtual characters. Each round of confrontation task is a process in which two virtual characters each choose at least one virtual image to participate in the confrontation.
[0046] Specifically, the aforementioned virtual game mission can be an in-game collectible hero card multiplayer turn-based competitive game. There are N players (N is an even number greater than 0) who engage in two-on-two battles within a single game round. Each player occupies a virtual battlefield, and during the battle phase, the battlefields of the two players are combined to form the combined virtual battlefield. Each game mission round consists of two phases: preparation and battle. In the preparation phase, players purchase game pieces (i.e., virtual avatars) from the shop and arrange them on the board; in the battle phase, the lineups of both sides are locked, and the game pieces automatically engage in combat until one side's game pieces are all eliminated. The player whose game pieces are all eliminated loses the round and loses a certain amount of health (battle resources). After each round, the game rounds are repeated, with each player matched with a new opponent, until a player's health is ≤0 and they are eliminated. The last remaining player wins the game (1st place).
[0047] An optional virtual game mission screen can be like... Figure 3 The image shows the game quest screen of the currently controlled virtual character. It should be noted that the currently controlled virtual character is the game account controlled by the current player (not shown in the image). Figure 3 The "Little Monster 1", "Little Monster 2", "Little Monster 3", and "Little Monster 4" shown are the virtual avatars selected by the currently controlled virtual character for participation in the battle; correspondingly, Figure 3 The "Little Monster 5" and "Little Monster 6" shown are the virtual avatars selected by the opposing player's account (the opposing virtual avatar of the currently controlled virtual character) for participation in the battle. It should be noted that in this embodiment, during the preparation phase, the controlled virtual character and its opposing virtual character can select the virtual avatars to participate in the battle, upgrade the level of the participating virtual avatars, and arrange the positions of the virtual avatars; during the battle phase, the controlling... Figure 3 The virtual characters in the game automatically engage in battles, and the result of the current game is determined when all of one side's virtual characters are "defeated".
[0048] S204, Display resource exchange controls in the task screen, whereby the resource exchange controls are used to acquire upgrade resources using the material resources held by the controlled virtual character;
[0049] First, let's explain the aforementioned material resources. These resources can be virtual coins, virtual treasures, virtual exchange resources, and other materials used for transactions by the controlled virtual character. The aforementioned upgrade resources can be virtual experience points used to indicate the current game skill level or game time of the controlled virtual character, and accumulating virtual experience points can increase the current game level of the controlled virtual character.
[0050] As an alternative approach, the controlled virtual character can obtain different amounts of upgrade resources based on the outcome of the battle. For example, at the end of a battle, the winning virtual character can receive a large amount of upgrade resources, while the losing character can receive a smaller amount. Alternatively, the upgrade resources can also be obtained based on the duration of the battle; for instance, a virtual character participating in a longer battle can receive more upgrade resources. It is understood that the above methods of obtaining upgrade resources are merely examples and do not limit the specific methods of obtaining upgrade resources in the embodiments of this application.
[0051] In this embodiment, a resource exchange control can be displayed to acquire upgrade resources using the material resources held by the controlled virtual character. For example, consuming one unit of material resources from the controlled virtual character can acquire one unit of upgrade resources.
[0052] Continuing with the example of the auto chess game, the above method will be explained. The aforementioned resource can be virtual currency, which can be used by the controlled virtual character to purchase the aforementioned virtual avatar to participate in battles, and can also be used to upgrade the aforementioned virtual avatar. As an optional method, the virtual currency held by the controlled virtual character can also gain a certain percentage increase at the end of each round. For example, before the end of the current battle round, the first controlled virtual character holds 100 virtual coins. At the end of the current battle round, the first controlled virtual character can gain a 10% increase in the number of virtual coins, that is, gain an additional 10 (100*10%) virtual coins, leaving a total of 110 virtual coins. In this embodiment, the virtual character can also use the aforementioned virtual currency to exchange for virtual experience points. For example, consuming 1 virtual coin can gain an additional 1 virtual experience point.
[0053] As a specific method, the above-described method of displaying the resource exchange control can be as follows: Figure 3The resource exchange control 301 displayed in the lower left corner is an optional display style. This resource exchange control 301 is used to obtain upgrade resources by utilizing the material resources held by the controlled virtual character. In other words, virtual experience points can be "purchased" using virtual coins through this resource exchange control 301.
[0054] In another alternative approach, the resource exchange controls can be displayed during the preparation phase and hidden during the battle phase to avoid accidental touches during the battle phase.
[0055] In another alternative approach, the resource exchange controls are hidden by default during the preparation phase, and then displayed when a virtual character's exchange trigger operation is detected. For example, the virtual exchange controls can be displayed in response to a virtual character's double-click operation on a virtual avatar.
[0056] S206, In response to a press operation on the resource exchange control, determine an upgrade interaction state that matches the operation parameters of the press operation;
[0057] Specifically, the aforementioned pressing operation can be either a long press or a tap. It's understandable that different upgrade interaction methods can be configured for different types of operations. For example, a tap operation might correspond to the first type of upgrade interaction; a long press operation might correspond to the second type. The operation parameters mentioned above can be the duration of the long press or the pressure applied during the long press. Once these operation parameters are obtained, the specific operation mode is determined, and thus the upgrade interaction state is determined.
[0058] As an alternative approach, the upgrade interaction state can be determined as a fast upgrade if the operation time of the pressing operation reaches a preset threshold; in another alternative approach, the upgrade interaction state can be determined as a normal exchange state if the operation time of the pressing operation does not reach the preset threshold.
[0059] S208, when the upgrade interaction status indication has reached the condition for accelerated upgrade, play the upgrade animation of the controlled virtual character upgrading from the current first level to the second level, wherein the number of virtual characters allowed to participate in the battle under the first level is less than the number of virtual characters allowed to participate in the battle under the second level.
[0060] The following combination Figure 4 A specific implementation of the above method will be described.
[0061] like Figure 4Figure (a) shows an optional resource exchange control 401. The left box of this control displays the current controlled virtual character's level "Level 5" and upgrade information "38 / 56," indicating that upgrading from level 5 to level 6 requires 56 experience points, and the current experience points are 38. The right box displays the number "4," indicating that clicking the control performs a normal exchange, consuming 4 virtual coins to exchange for 4 experience points. A coin prompt box 405 is displayed below the control, indicating that the controlled virtual character has 36 remaining coins. It should also be noted that in this embodiment, the controlled virtual character at the current level can control 4 virtual avatars to participate in combat.
[0062] Upon detecting a long-press operation on the resource exchange control 401, i.e., determining that the trigger condition for a fast upgrade has been met, the following is displayed: Figure 4 The icon shown in Figure (b) indicates that the current upgrade progress information is displayed on the resource exchange control 401 via a circular icon overlay, and an upgrade prompt box 402 "Target level 5>6; Remaining gold coins 36>18" is displayed above the resource exchange control 401, indicating that the next level to be upgraded is "level 6", and the current number of remaining "gold coins" is 36. After the upgrade is completed, the number of remaining "gold coins" will be 18, indicating that 18 "gold coins" will be consumed to obtain 18 experience points, thereby completing the upgrade interaction operation.
[0063] exist Figure 4 The circular progress icon in diagram (b) shows the upgrade progress at 100%, further displaying... Figure 4 The control style is shown in Figure (c). As shown in resource exchange control 404, the left box of resource exchange control 404 displays the current controlled virtual character's level "6" and upgrade information "0 / 80", indicating that upgrading from the current level "6" to "7" requires 80 experience points, and the current experience points obtained are 0. Simultaneously, an upgrade animation 403 is displayed above resource exchange control 404, indicating that the upgrade interaction of the currently controlled virtual character has been completed. Furthermore, a gold coin prompt box 406 indicates that the controlled virtual character currently holds 18 gold coins. It should be noted that at the current level, the controlled virtual character is allowed to control 5 virtual characters to participate in combat; that is, by increasing its level, the controlled virtual character is allowed to control more virtual characters to participate in combat.
[0064] In this embodiment of the invention, a task screen is displayed showing the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round combat task between multiple virtual characters, where each round involves two virtual characters selecting at least one virtual image to participate in the combat. A resource exchange control is displayed on the task screen, used to acquire upgrade resources using the material resources held by the controlled virtual character. In response to pressing the resource exchange control, an upgrade interaction state matching the operation parameters of the pressing operation is determined. When the upgrade interaction state indicates that the conditions for accelerating the upgrade have been met, an upgrade animation showing the controlled virtual character upgrading from its current first level to the second level is played. The number of virtual images allowed to participate in the combat at the first level is less than the number allowed at the second level. By detecting the upgrade interaction state corresponding to the pressing operation on the resource exchange control, it is determined whether the upgrade interaction operation has been completed based on the current operation, thus avoiding multiple repetitive operations and solving the technical problem of poor flexibility in existing upgrade interaction methods. This achieves the technical effect of flexible upgrades based on pressing operation parameters.
[0065] As an optional implementation, the above-described upgrade interaction state, which determines the operation parameters matching the press operation in response to a press operation on the resource exchange control, includes:
[0066] S1, in response to a press operation on the resource exchange control, obtains the operation parameters of the press operation, wherein the operation parameters include at least one of the following: press duration and press pressure;
[0067] S2, when the operation parameters reach the conditions for triggering accelerated upgrade, determine to trigger the accelerated upgrade mode and obtain the resource value of the material resources currently held by the controlled virtual character;
[0068] S3, when the resource value of the material resources currently held by the controlled virtual character reaches the target material resource value, it is determined that the upgrade interaction state has met the conditions for accelerating the upgrade. The target material resource value is determined based on the resource value of the upgrade resources that match the second level, and the second level is adjacent to the first level.
[0069] Understandably, when a press operation on the resource exchange control is detected, the duration and pressure of the press are used to determine whether the current press operation is a long press. Specifically, it can be determined that a press operation on the resource exchange control has been detected if the press pressure reaches a first threshold, and that no press operation on the resource exchange control has been detected if the press pressure does not reach the first threshold.
[0070] If a press operation on the resource exchange control is detected, the press duration parameter is obtained. If the press duration reaches the first threshold, the accelerated upgrade trigger condition is determined to be met. If the press duration does not reach the first threshold, the currently detected press operation is determined to be a single click operation, i.e., a normal exchange operation is performed. Specifically, one exchange operation can consume 4 virtual coins to obtain 4 experience points.
[0071] Furthermore, based on the condition that the operating parameters meet the accelerated upgrade trigger conditions, the accelerated upgrade mode is triggered, and the resource value of the materials currently held by the controlled virtual character is obtained. It can be understood that the quantity of materials currently held by the controlled virtual character can be compared with the quantity of materials required for a rapid upgrade to the next level. If the quantity of materials currently held is greater than or equal to the quantity of materials required for a rapid upgrade to the next level, the condition for accelerated upgrade is determined to have been met.
[0072] For example, if the controlled virtual character currently holds 100 virtual coins, and the experience value required to upgrade to the next level is 50, assuming that one virtual coin can be exchanged for one experience point, then the number of coins required to upgrade to the next level is 50, which is less than the number of virtual coins held by the previously controlled virtual resource. Therefore, it is determined that the resource value of the material resources currently held by the controlled virtual character has reached the target resource value, and the upgrade interaction state has met the conditions for accelerating the upgrade.
[0073] In another embodiment, if the currently controlled virtual character holds 25 virtual coins, and the experience required to upgrade to the next level is 50, then the number of virtual coins needed to upgrade to the next level is 50, which is greater than the number of virtual coins currently held by the controlled virtual resource. Therefore, it is determined that the upgrade interaction status has not met the conditions for accelerating the upgrade. As an optional approach, if the conditions for accelerating the upgrade are not met, a message "Sorry, insufficient virtual coins" can be displayed to indicate that the accelerated upgrade operation has failed.
[0074] It should be noted that in this embodiment, the level increase achieved by accelerating the upgrade is 1 level. To accelerate the upgrade again, a second long press is required. This prevents players from accidentally consuming all resources too quickly, thus affecting the user experience.
[0075] Through the above-described embodiments of this application, in response to a press operation on the resource exchange control, operation parameters of the press operation are obtained, wherein the operation parameters include at least one of the following: press duration and press pressure; when the operation parameters meet the conditions for triggering accelerated upgrades, it is determined that the accelerated upgrade mode is triggered, and the resource value of the material resources currently held by the controlled virtual character is obtained; when the resource value of the material resources currently held by the controlled virtual character reaches the target material resource value, it is determined that the upgrade interaction state has met the conditions for accelerated upgrades, wherein the target material resource value is determined based on the resource value of the upgrade resource matching the second level, the second level being adjacent to the first level, thereby determining whether to trigger the accelerated upgrade mode based on the press operation parameters, and thus combining the normal exchange upgrade method and the fast upgrade method to improve the flexibility of the game task upgrade interaction process.
[0076] As an optional implementation, after obtaining the operation parameters for the pressing operation, the method further includes:
[0077] If the press duration in the operation parameters is greater than or equal to the target duration, it is determined that the operation parameters have met the accelerated upgrade trigger condition, and the accelerated upgrade mode is triggered; and / or,
[0078] If the pressing pressure in the operation parameters is greater than or equal to the target pressure value, it is determined that the operation parameters have reached the accelerated upgrade trigger condition, and the accelerated upgrade mode is triggered.
[0079] In this embodiment, the triggering of the accelerated upgrade mode can be determined based on the press duration. If the press duration is greater than or equal to the target duration, it is determined that the operation parameters have met the accelerated upgrade triggering conditions, and the accelerated upgrade mode is triggered. If the press duration is less than the target duration, it is determined that the operation parameters have not met the accelerated upgrade triggering conditions, and the normal upgrade mode is triggered. In other words, the press duration determines that the current press operation is a click operation. In response to the click operation, a fixed amount of material resources are consumed to obtain a fixed amount of upgrade resources.
[0080] In this embodiment, the system can also determine whether to trigger the accelerated upgrade mode based on the pressing pressure. If the pressing pressure is greater than or equal to the target pressure value, it is determined that the operating parameters have met the accelerated upgrade triggering conditions, and the accelerated upgrade mode is triggered. If the pressing pressure is less than the target pressure value, it is determined that the operating parameters have not met the accelerated upgrade triggering conditions, and the normal upgrade mode is triggered. In other words, the pressing pressure determines that the current pressing operation is a click operation, and in response to the click operation, a fixed amount of material resources are consumed to obtain a fixed amount of upgrade resources.
[0081] Through the above-described embodiments of this application, when the pressing duration in the operation parameters is greater than or equal to the target duration, it is determined that the operation parameters have reached the accelerated upgrade trigger condition, and the accelerated upgrade mode is triggered; and / or when the pressing pressure in the operation parameters is greater than or equal to the target pressure value, it is determined that the operation parameters have reached the accelerated upgrade trigger condition, and the accelerated upgrade mode is triggered. Thus, based on the pressing operation parameters, it is accurately determined whether the accelerated upgrade mode is triggered, thereby combining the normal exchange upgrade method and the fast upgrade method to improve the flexibility of the game task upgrade interaction process.
[0082] As an optional implementation, after obtaining the resource value of the material resources currently held by the controlled virtual character, the method further includes: if the resource value of the material resources currently held by the controlled virtual character has not reached the target material resource value, determining that the upgrade interaction status has not met the conditions for accelerating the upgrade, and displaying a prompt message to indicate that the upgrade of the controlled virtual character has failed.
[0083] The following combination Figure 5 , Figure 6 Two optional implementations of the above method are described below. For example... Figure 5 As shown in Figure (a), as indicated in resource exchange control 501, 18 experience points are required to upgrade to the next level, meaning 18 gold coins are needed for a quick upgrade. However, the gold coin prompt box 502 indicates that the currently controlled virtual character holds 10 virtual gold coins, which does not meet the requirement of at least 18 virtual gold coins to exchange for 18 experience points to upgrade to the next level. Upon detecting a long-press operation on resource exchange control 501, the following is displayed: Figure 5 The icon interface shown in Figure (b) displays the 503 "Opps! Insufficient coins" prompt animation above the resource exchange control, which is a prompt message used to indicate that the controlled virtual character has failed to upgrade.
[0084] The following combination Figure 6 Another alternative implementation will be described. For example... Figure 6 As shown in Figure (a), when a long-press operation is detected on the resource exchange control 601, and the amount of virtual coins held by the currently controlled virtual character does not meet the minimum number of coins required to upgrade to the next level, the following is displayed: Figure 6 The game scene interface shown in Figure (b) displays the prompt animation "Opps! Insufficient coins" on the scene interface, which is a prompt message used to indicate that the controlled virtual character has failed to upgrade.
[0085] Through the above-described embodiments of this application, when the resource value of the material resources currently held by the controlled virtual character has not reached the target material resource value, it is determined that the upgrade interaction status has not met the conditions for accelerating the upgrade, and a prompt message is displayed to indicate that the upgrade of the controlled virtual character has failed. Thus, when the resource value of the material resources does not meet the conditions for rapid upgrade, relevant prompt messages are displayed, thereby improving the interaction efficiency of performing the upgrade interaction.
[0086] As an optional implementation, when the upgrade interaction status indication has reached the condition for accelerated upgrade, playing the upgrade animation of the controlled virtual character upgrading from the current first level to the second level includes:
[0087] S1, when the upgrade interaction status indicates that the conditions for accelerating the upgrade have been met, play the upgrade buffer progress prompt animation, wherein the upgrade buffer progress prompt animation is used to dynamically prompt the buffer progress of upgrading to the first level.
[0088] S2, when the upgrade buffer progress animation has finished playing, confirm that the upgrade buffer for the first level is complete, upgrade the first level to the second level, and display a message indicating that the controlled virtual character has been successfully upgraded.
[0089] It is understood that in this embodiment, the upgrade buffering progress is indicated by playing an upgrade buffering progress indicator animation. As an optional display method, the upgrade buffering progress indicator animation can be a circular progress graph, where the percentage of the highlighted portion on the circle indicates the current buffered percentage. Alternatively, it can be a bar chart, where the highlighted portion of the bars indicates the current upgrade buffering progress. Yet another optional method is a pie chart. The above buffering progress indicator animation display methods are merely examples and do not constitute a limitation on the actual buffering animation used in this embodiment.
[0090] As one option, the playback duration of the aforementioned prompt animation can be a fixed duration, thus confirming the upgrade completion after the fixed-duration buffer animation finishes playing. Alternatively, the playback duration of the prompt animation can be a variable duration. The specific duration of the variable duration can be determined based on the remaining experience points required for the controlled virtual character to upgrade to the next level; for example, the more experience points remaining, the longer the playback duration of the prompt animation. The above methods for determining the playback duration of the prompt animation are merely examples and do not limit the actual method for determining the animation duration.
[0091] Specifically, such as Figure 4The circular progress chart shown in Figure (b) is one optional display format for the upgrade buffer animation. It displays a buffer ring near the press point, with highlighted portions indicating the completed buffering progress; as shown... Figure 7 As shown, this is another optional way to display the upgrade buffer animation. (As shown...) Figure 7 In Figure (a), in response to a long press on the resource exchange control, the following is displayed: Figure 7 The icon style in Figure (b) is as shown in the animation 701. It displays the current buffering progress as 9 / 16 in a horizontal bar chart, indicating that 18 experience points are needed to upgrade to the next level, and 11 experience points have been gained so far, leaving 7 experience points to complete the fast upgrade. It is understandable that when animation 701 indicates that buffering is complete, the following display would be appropriate. Figure 7 The icon style indicating a successful upgrade is shown in Figure (c).
[0092] Through the above-described embodiments of this application, when the upgrade interaction status indicates that the conditions for accelerating the upgrade have been met, an upgrade buffer progress prompt animation is played. The upgrade buffer progress prompt animation is used to dynamically indicate the buffer progress of upgrading to the first level. When the upgrade buffer progress prompt animation finishes playing, it is determined that the upgrade buffer for the first level has been completed, the first level is upgraded to the second level, and a prompt message indicating that the controlled virtual character has been successfully upgraded is displayed. Thus, the current upgrade buffer progress information is prompted in the form of animation, thereby improving the operational accuracy of the fast upgrade operation.
[0093] As an optional implementation, the above-mentioned method of playing the upgrade buffer progress prompt animation further includes: canceling the upgrade buffer for the first level when the pressing operation of the resource exchange control is interrupted, and maintaining the resource value of the material resources and the resource value of the upgrade resources held by the controlled virtual character before the pressing operation.
[0094] Understandably, in this embodiment, when a long press operation on the resource exchange control is detected, an upgrade buffering animation is displayed to indicate the current buffering progress; when the long press operation is interrupted, the currently controlled virtual character is instructed to cancel the quick upgrade operation, thereby controlling the material resources and upgrade resources of the controlled virtual character to remain at the values before the resource exchange control was triggered.
[0095] Through the above-described embodiments of this application, in the event that the pressing operation of the resource exchange control is interrupted, the upgrade buffer of the first level is canceled, and the resource values of the material resources and upgrade resources held by the controlled virtual character before the pressing operation are maintained. This provides the controlled virtual character with a way to cancel the fast upgrade operation, avoids the loss of material resources due to accidental touch operation by the controlled virtual character, and improves the accuracy of the upgrade interaction operation.
[0096] As an optional implementation, the above-mentioned playback upgrade buffering progress prompt animation includes one of the following:
[0097] Determine the first playback duration that matches the level of the second tier; play the upgrade buffer progress indicator animation according to the first playback duration;
[0098] Determine the resource value of the upgrade resource that matches the second level and the difference between the resource value of the upgrade resource currently held by the controlled virtual character; play the upgrade buffer progress prompt animation according to the second playback duration that matches the difference.
[0099] It is understandable that in the first method of this embodiment, the animation duration of the upgrade buffer progress prompt animation is related to the level to be upgraded; the higher the level, the longer the animation duration, i.e., the longer the buffering time. In a specific method, the animation duration during the process of quickly upgrading from level 5 to level 6 corresponds to "level 6," let's assume it's 1 second. Furthermore, the animation duration during the process of quickly upgrading from level 6 to level 7 corresponds to "level 7," let's assume it's 1.2 seconds. That is to say, a longer long press operation needs to be detected before the quick upgrade operation from level 6 to level 7 is triggered.
[0100] In the second method of this embodiment, the animation duration of the upgrade buffer progress prompt animation is related to the difference in upgrade resource value required for the current fast upgrade. The higher the difference, the longer the animation duration of the upgrade buffer progress prompt animation. In one specific method, if the controlled virtual character currently has 20 experience points, and the total experience point required to upgrade from level 5 to level 6 is 30, then the remaining required experience point is 10. Therefore, the animation duration of the upgrade buffer progress prompt animation is determined to be 0.1 times 10, i.e., 1 second. If the controlled virtual character currently has 30 experience points, and the total experience point required to upgrade from level 6 to level 7 is 35, then the remaining required experience point is 5. Therefore, the animation duration of the upgrade buffer progress prompt animation is determined to be 0.1 times 5, i.e., 0.5 seconds. In other words, in this embodiment, the more remaining required experience points, the longer the long press operation needs to be detected before the fast upgrade operation is completed.
[0101] The real-time method described in this application determines a first playback duration that matches the second level; plays an upgrade buffer progress indicator animation according to the first playback duration; determines the resource value of the upgrade resource that matches the second level and the difference between the resource value and the upgrade resource currently held by the controlled virtual character; and plays an upgrade buffer progress indicator animation according to a second playback duration that matches the difference, thereby providing multiple ways to play upgrade buffer animations and improving the flexibility of upgrade interaction operations.
[0102] As an optional implementation, after determining the upgrade interaction state that matches the operation parameters of the pressing operation, the method further includes:
[0103] S1, determine the resource value of the upgrade resource that matches the second level and the difference between the resource value of the upgrade resource currently held by the controlled virtual character;
[0104] S2, if the resource value of the material resources currently held by the controlled virtual character allows the exchange to obtain the first reference resource value of the upgrade resources, and the difference is greater than or equal to the first reference resource value, then the upgrade interaction state is determined to meet the conditions for accelerating the upgrade.
[0105] It is understood that, in this embodiment, after determining the upgrade interaction state that matches the operation parameters of the press operation, the difference between the first reference resource value of the upgrade resources that can be obtained by exchanging the resource value of the material resources currently held by the controlled virtual character and the resource value of the upgrade resources that match the second level and the resource value of the upgrade resources currently held by the controlled virtual character is used to determine whether the current fast upgrade operation can be completed. If the numerical relationship between the two satisfies that the reference resource value that can be obtained by exchanging the material resources is greater than or equal to the above difference, it is determined that the fast upgrade operation can be realized.
[0106] Through the above-described embodiments of this application, the resource value of the upgrade resource matching the second level and the difference between the resource value of the upgrade resource currently held by the controlled virtual character are determined; if the resource value of the material resource currently held by the controlled virtual character allows the first reference resource value of the upgrade resource to be obtained through exchange to be greater than or equal to the difference, it is determined that the upgrade interaction state has reached the condition for accelerating the upgrade, thereby accurately determining the possibility of realizing the rapid upgrade operation based on the comparison of the two, and improving the flexibility of the upgrade interaction operation.
[0107] As an optional implementation, the above-mentioned upgrade animation of the controlled virtual character upgrading from the current first level to the second level when the upgrade interaction status indication has reached the condition for accelerated upgrade includes: when the upgrade interaction status indication has reached the condition for accelerated upgrade, playing an upgrade progress prompt animation, wherein the upgrade progress prompt animation is used to dynamically prompt the upgrade progress from the first level to the second level.
[0108] It should be noted that in this embodiment, the current upgrade progress is dynamically indicated through a progress animation. In other words, in this implementation, in response to a long press on the resource exchange control, a certain amount of experience points can be exchanged at regular intervals, and the real-time exchange process is displayed in the form of animation.
[0109] Through the above-described embodiments of this application, when the upgrade interaction status indicates that the conditions for accelerating the upgrade have been met, an upgrade progress prompt animation is played. The upgrade progress prompt animation is used to dynamically prompt the upgrade progress from the first level to the second level, and to prompt the real-time progress of resource exchange when the resource exchange control is long-pressed, thereby realizing flexible control of the upgrade interaction operation.
[0110] As an optional implementation, the above-mentioned playback upgrade progress prompt animation includes:
[0111] S1, determine the time interval within which the continuous operation duration of the pressing operation is located;
[0112] S2, according to the exchange interval that matches the time interval, exchange material resources of unit resource value for upgrade resources. The longer the continuous operation time, the smaller the exchange interval.
[0113] S2 dynamically determines the upgrade progress in the upgrade progress prompt animation based on the exchange result.
[0114] In this embodiment, the upgrade resource value of the controlled virtual character is updated in real time. If the long-press operation is interrupted, the experience already exchanged will not be revoked, and the virtual coins already consumed will not be returned, thus remaining at the current upgrade progress. At the same time, the exchange speed of material resources for upgrade resources will increase with the length of the long-press operation.
[0115] The following combination Figure 7 , Figure 8 The above methods will be explained. For example... Figure 7 As shown, the longer the long press duration, the shorter the exchange interval for converting virtual coins into virtual resources. Figure 8 In the first duration period (0, 200ms), the corresponding exchange interval is 200ms. This means that if a long press operation with a duration of 200ms is detected, one exchange between virtual coins and virtual resources will occur. In the second duration period (200ms, 400ms), the corresponding exchange interval is 100ms, meaning two exchange operations will occur within the second duration period (200ms). In the third duration period (400ms, 700ms), the corresponding exchange interval is 75ms, meaning four exchange operations will occur within the third duration period (300ms). In the fourth duration period (700ms, 1000ms), the corresponding exchange interval is 50ms, meaning six exchange operations will occur within the fourth duration period (300ms).
[0116] Furthermore, the linear relationship between pressing duration and number of exchanges is illustrated in the diagram below. Figure 9 As shown. In Figure 9 In the data, it can be determined that the first redemption operation occurs when the long press lasts for 200ms; while when the long press lasts for 700ms, a total of 7 redemption operations occur. As shown in the figure, the redemption speed increases and the redemption cycle shortens as the press duration increases.
[0117] Understandably, once the number of exchanges is obtained, the amount of resource value exchanged each time can be further obtained. This allows us to determine the amount of resource value exchanged as the duration of the press increases, and then display the current exchange and upgrade progress through the upgrade progress prompt animation.
[0118] The above-described implementation method of this application determines the time interval in which the continuous operation duration of the pressing operation is located; according to the exchange interval matching the time interval, the material resources of a unit resource value are exchanged for upgrade resources, wherein the longer the continuous operation duration, the smaller the exchange interval; the upgrade progress in the upgrade progress prompt animation is dynamically determined based on the exchange result, thereby accurately determining the relationship between the pressing duration and the exchange quantity, and improving the accuracy of the upgrade interactive operation.
[0119] As an optional implementation, when playing the upgrade progress prompt animation, the method further includes: canceling the upgrade to the first level if the pressing operation of the resource exchange control is interrupted, but updating the material resources held by the controlled virtual character to the remaining resource value at the time of interruption, and pausing the upgrade progress prompt animation at the upgrade progress reached at the time of interruption.
[0120] It is understood that in this embodiment, long-pressing the resource exchange control can realize real-time resource exchange until the current quick upgrade operation is completed. If the current quick upgrade operation is not completed and an interruption of the long-press operation is detected, the resource value already exchanged at the time of the interruption is the final state, and the material resources and upgrade resources of the controlled virtual character are updated.
[0121] Through the above-described embodiments of this application, when the pressing operation of the resource exchange control is interrupted, the upgrade to the first level is canceled, but the material resources held by the controlled virtual character are updated to the remaining resource value at the time of interruption, and the upgrade progress prompt animation is paused at the upgrade progress reached at the time of interruption. This provides an operation method that can be started and stopped at any time based on the long press operation to accurately determine the exchange upgrade progress, thereby improving the flexibility of the upgrade interaction operation.
[0122] As an optional implementation, after canceling the upgrade to the first level, the method further includes: if the pressing operation of the resource exchange control is resumed, continuing to update the upgrade progress in the upgrade progress prompt animation, starting from the upgrade progress reached when the interruption occurred.
[0123] It is understood that in this embodiment, if the long-press operation is interrupted, the real-time redemption and upgrade operation can continue based on the next long-press operation. In one optional approach, the redemption rate of the resumed long-press operation can be increased based on the previously interrupted long-press operation. Combined with... Figure 8 The above method is explained below. For example, during the process of upgrading from level 5 to level 6 by long-pressing, the first long-press operation lasts for 200ms, corresponding to a redemption speed of 200ms / time, which means one redemption operation is achieved. After the first long-press operation is interrupted, the second long-press operation lasts for 200ms. The corresponding redemption rate can be continuously calculated based on the first long-press operation, that is, the duration of the second long-press operation is assumed to be within the period of 200ms-400ms, and thus the corresponding redemption speed is 100ms / time, which means two redemptions are achieved.
[0124] In another alternative implementation, the redemption rate for the restored long-press operation needs to be recalculated. (Continue with...) Figure 8 The above method is explained below. For example, during the process of upgrading from level 5 to level 6 by long-pressing, the first long-press operation lasts for 200ms, corresponding to a redemption speed of 200ms / time, which means one redemption operation is completed. After the first long-press operation is interrupted, the second long-press operation lasts for 200ms, and the corresponding redemption rate needs to be recalculated. That is, the duration of the second long-press operation is considered to be within the period of 0ms-200ms, and the corresponding redemption speed is 200ms / time, which means one redemption is completed.
[0125] Through the above-described embodiments of this application, when the pressing operation on the resource exchange control is resumed, the upgrade progress in the upgrade progress prompt animation is updated from the upgrade progress reached when the interruption occurred as the starting point. This provides an operation method that can be started and stopped at any time based on the long press operation to accurately determine the exchange upgrade progress, thereby improving the flexibility of the upgrade interaction operation.
[0126] As an optional implementation, when playing the upgrade animation of the controlled virtual character upgrading from the current first level to the second level, the method further includes: prompting the controlled virtual character to upgrade to the second level and displaying the remaining resource value of the material resources held by the controlled virtual character after the upgrade.
[0127] The following combination Figure 4 The above methods will be explained. Figure 4The circular progress icon in diagram (b) shows the upgrade progress at 100%, further displaying... Figure 4 The control style in Figure (c) is shown. As shown in resource exchange control 404, the left box of resource exchange control 404 displays the current controlled virtual character's level "6" and upgrade information "0 / 80", indicating that upgrading from the current level "6" to "7" requires 80 experience points, and the current experience points obtained are 0. And as shown in the gold coin prompt box 406, it indicates that the remaining gold coins after the upgrade are 18.
[0128] The above-described embodiments of this application can be used to prompt the controlled virtual character to upgrade to the second level and display the remaining resource value of the material resources held by the controlled virtual character after the upgrade, thereby improving the display efficiency of the upgrade interaction operation.
[0129] The following combination Figure 10 , 11 A specific implementation method will be described.
[0130] like Figure 10 The flowchart shown is as follows, such as step S1002, where the player long-presses the experience purchase button;
[0131] Specifically, the system can determine whether to trigger the fast leveling-up function based on the duration the player holds down the experience purchase button. If the duration reaches the threshold, the fast leveling-up function will be triggered.
[0132] Next, as in step S1004, determine whether there are enough coins to upgrade to the next level. If there are enough coins, execute step S1006-1 to trigger the quick upgrade function; if there are not enough coins, execute step S1006-2 to display a message indicating insufficient coins.
[0133] It is understood that step S1004 above can be implemented by the server system. After the server returns the judgment result to the terminal, the terminal executes step S1006-1 or step S1006-2 based on the feedback result.
[0134] During the execution of step S1006-1, it can be done as follows: Figure 4 As shown, the current upgrade goal and remaining gold coins are displayed above the button for easy reading; at the same time, a trigger buffer bar (circular, horizontal, or vertical) is displayed at the position where the finger is pressed. Figure 4 (Taking a ring as an example).
[0135] Next, execute step S1008 to determine if the buffer bar has finished moving. If the buffer bar has finished moving, execute step S1010-2 to complete the upgrade and display a notification effect. If the buffer bar has not finished moving, execute step S1010-1 to determine if the player has lifted their finger. If the player has lifted their finger, execute step S1012 to cancel the operation. If the player has not lifted their finger, return to execute step S1008.
[0136] Specifically, players can complete the upgrade by pressing and holding the button until the progress bar completes, triggering a success notification effect. In this example, the upgrade operation is already finished; continuing to press and hold will not trigger it again. To continue upgrading, players need to remove their hand from the screen and press and hold again. Furthermore, if the player lifts their finger midway, the quick upgrade operation is canceled, and the current gold and experience points remain unchanged.
[0137] If the system determines that the player's current gold coins are insufficient to advance to the next level, the quick level-up function will not be triggered after the player holds down the experience purchase button for a certain period of time. Instead, a corresponding prompt will be displayed. This prompt can appear near the button or in the center of the screen.
[0138] The following combination Figure 11 The timing diagram shown further illustrates the above method.
[0139] S1102, the player long-presses the experience purchase button; S1104, the presentation layer transmits the player's real-time finger operation signal to the logic layer; S1106, the logic layer determines whether the current number of coins is sufficient to upgrade to the next level; S1108-1, if "no", the quick upgrade operation is not executed, and then S1110-1 is executed, the presentation layer displays a "insufficient coins" prompt; S1108-2, if "yes", the quick upgrade operation is executed, that is, S1110-2 is executed again, the presentation layer displays the upgrade target and remaining coins above the button; and displays a trigger buffer bar at the finger's press point;
[0140] S1112, the player holds down the long press or lifts their finger; S1114, the presentation layer transmits the player's real-time finger operation signal to the logic layer; S1116, the logic layer determines whether the player lifted their finger during the buffer period; S1118-1, if "no", the upgrade is successful after the buffer ends; S1120-1, the presentation layer displays the corresponding prompt effect; S1118-2, if "yes", the operation is canceled; S1120-2, the presentation layer controls the buffer bar to disappear, while the number of coins and experience points remain unchanged.
[0141] The following combination Figure 12 , 13 Another specific implementation will be described.
[0142] As in step S1202, the player long-presses the experience purchase button;
[0143] Specifically, the system can determine whether to trigger the fast leveling-up function based on the duration the player holds down the experience purchase button. If the duration reaches the threshold, the fast leveling-up function will be triggered.
[0144] Next, execute step S1204 to determine if the number of gold coins is 0; if the number of gold coins is 0, execute step S1206-2 to stop the fast upgrade and stop the progress bar at the current progress; if the number of gold coins is not 0, execute S1206-1 to execute the fast upgrade, and the speed of experience injection will increase with the time.
[0145] Specifically, if "Yes", a quick upgrade will not be performed, and the progress bar in the information panel will remain at the current progress; if "No", a quick upgrade will be performed (an information panel will be displayed above the button and the progress bar will be updated in real time), and the speed of experience injection will increase with the duration of the button press. This can be achieved as follows: Figure 7 As shown, after a player presses and holds the "Purchase Experience" button for a certain period of time, the fast level-up function is triggered. At this time, the system performs the following operations: An information prompt panel is displayed above the button. Experience is automatically purchased for the player at regular intervals (Xms), and the exchange interval shortens as the holding time increases. The relationship between the duration of the long press and the exchange interval can be illustrated as follows: Figure 8 As shown.
[0146] Next, proceed to step S1208 to determine if the player has raised their finger. If the player has raised their finger, proceed to step S1206-2 to stop the fast upgrade and stop the progress bar at the current progress. If the player has not raised their finger, proceed to step S1210-1 to determine if the upgrade is complete. If the upgrade is complete, proceed to step S1212 to indicate that the upgrade was successful and a notification effect will pop up. If the upgrade is not complete, return to step S1204.
[0147] Specifically, in this embodiment, pressing and holding will automatically convert experience until the level is completed, and a success notification effect will pop up. By the rules, the leveling operation is now complete; continuing to press and hold will not trigger it again. To continue leveling up, you need to remove your hand from the screen and press and hold again to trigger it again. Experience conversion is done in real-time throughout the process. If the player releases their hand midway, the conversion will stop but the current progress will be retained. Consumed gold will not be refunded, and gained experience will not be reclaimed. If the player does not have enough gold to advance to the next level, the progress bar will stop when the player runs out of gold. Even if the leveling up is unsuccessful, consumed gold will not be refunded, and gained experience will not be reclaimed.
[0148] The following combination Figure 13 The timing diagram further illustrates the above method.
[0149] S1302, the player long-presses the experience purchase button; S1304, the presentation layer transmits the player's real-time finger input signal to the logic layer; S1306, the logic layer checks if the current gold coin count is 0; S1308-1, if "yes", the quick level-up operation is not performed; S1310-1, the presentation layer displays an information prompt panel, where the progress bar is stuck at the current progress; S1308-2, if "no", the quick level-up operation is performed, and the experience injection speed increases with time; S1310-2, the presentation layer displays an information prompt panel above the button and updates the progress bar in real time.
[0150] S1312, the player holds down the long press or lifts their finger; S1314, the presentation layer transmits the player's real-time finger operation signal to the logic layer; S1316, the logic layer determines whether the player lifts their finger before the upgrade is complete; S1318-1, if "no", the upgrade is successful after the progress bar completes; S1320-1, the presentation layer displays an upgrade success notification effect; S1318-2, if "yes", the fast upgrade is paused; S1320-2, the progress bar on the information display panel remains at the current progress.
[0151] In this embodiment of the invention, a task screen is displayed showing the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round combat task between multiple virtual characters, where each round involves two virtual characters selecting at least one virtual image to participate in the combat. A resource exchange control is displayed on the task screen, used to acquire upgrade resources using the material resources held by the controlled virtual character. In response to pressing the resource exchange control, an upgrade interaction state matching the operation parameters of the pressing operation is determined. When the upgrade interaction state indicates that the conditions for accelerating the upgrade have been met, an upgrade animation showing the controlled virtual character upgrading from its current first level to the second level is played. The number of virtual images allowed to participate in the combat at the first level is less than the number allowed at the second level. By detecting the upgrade interaction state corresponding to the pressing operation on the resource exchange control, it is determined whether the upgrade interaction operation has been completed based on the current operation, thus avoiding multiple repetitive operations and solving the technical problem of poor flexibility in existing upgrade interaction methods. This achieves the technical effect of flexible upgrades based on pressing operation parameters.
[0152] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0153] According to another aspect of the present invention, an upgrade interaction device for a game task is also provided for implementing the above-described upgrade interaction method for game tasks, such as... Figure 14 As shown, the device includes:
[0154] The first display unit 1402 is used to display the task screen of the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round confrontation task between multiple virtual characters. Each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation.
[0155] The second display unit 1404 is used to display a resource exchange control in the task screen, wherein the resource exchange control is used to obtain upgrade resources by utilizing the material resources held by the controlled virtual character;
[0156] The determining unit 1406 is used to determine an upgrade interaction state that matches the operation parameters of the pressing operation in response to a pressing operation on the resource exchange control.
[0157] Playback unit 1408 is used to play an upgrade animation of the controlled virtual character upgrading from the current first level to the second level when the upgrade interaction status indication has reached the condition for accelerating the upgrade, wherein the number of virtual characters allowed to participate in the battle under the first level is less than the number of virtual characters allowed to participate in the battle under the second level.
[0158] According to another aspect of the present invention, an electronic device for implementing the above-described game task upgrade interaction method is also provided, the electronic device being... Figure 15 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 15 As shown, the electronic device includes a memory 1502 and a processor 1504. The memory 1502 stores a computer program, and the processor 1504 is configured to execute the steps of any of the above method embodiments via the computer program.
[0159] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0160] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0161] S1 displays the task screen of the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round confrontation task between multiple virtual characters. Each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation.
[0162] S2, Display resource exchange controls in the task screen, whereby the resource exchange controls are used to acquire upgrade resources using the material resources held by the controlled virtual character;
[0163] S3, in response to a press operation on the resource exchange control, determines an upgrade interaction state that matches the operation parameters of the press operation;
[0164] S4, when the upgrade interaction status indicator has reached the condition for accelerated upgrade, play the upgrade animation of the controlled virtual character upgrading from the current first level to the second level, wherein the number of virtual characters allowed to participate in the battle under the first level is less than the number of virtual characters allowed to participate in the battle under the second level.
[0165] Alternatively, as those skilled in the art will understand, Figure 15 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 15 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 15 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 15 The different configurations shown.
[0166] The memory 1502 can be used to store software programs and modules, such as the program instructions / modules corresponding to the game task upgrade interaction method and device in this embodiment of the invention. The processor 1504 executes various functional applications and data processing by running the software programs and modules stored in the memory 1502, thereby realizing the aforementioned game task upgrade interaction method. The memory 1502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1502 may further include memory remotely located relative to the processor 1504, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1502 may be used, but is not limited to, to store various elements in the scene screen, game task upgrade interaction information, and other information. As an example, such as... Figure 15 As shown, the memory 1502 may include, but is not limited to, the first display unit 1402, the second display unit 1404, the determination unit 1406, and the playback unit 1408 of the game task upgrade interaction device. Furthermore, it may include, but is not limited to, other module units of the game task upgrade interaction device, which will not be elaborated upon in this example.
[0167] Optionally, the transmission device 1506 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1506 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1506 is a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0168] In addition, the aforementioned electronic device also includes: a display 1508 for displaying a virtual scene in the interface; and a connection bus 1510 for connecting various module components in the aforementioned electronic device.
[0169] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.
[0170] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.
[0171] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0172] According to one aspect of this application, a computer-readable storage medium is provided, from which a processor of a computer device reads computer instructions, and the processor executes the computer instructions, causing the computer device to perform the aforementioned game task upgrade interaction method.
[0173] Optionally, in this embodiment, the computer-readable storage medium may also be configured to store a computer program for performing the following steps:
[0174] S1 displays the task screen of the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round confrontation task between multiple virtual characters. Each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation.
[0175] S2, Display resource exchange controls in the task screen, whereby the resource exchange controls are used to acquire upgrade resources using the material resources held by the controlled virtual character;
[0176] S3, in response to a press operation on the resource exchange control, determines an upgrade interaction state that matches the operation parameters of the press operation;
[0177] S4, when the upgrade interaction status indicator has reached the condition for accelerated upgrade, play the upgrade animation of the controlled virtual character upgrading from the current first level to the second level, wherein the number of virtual characters allowed to participate in the battle under the first level is less than the number of virtual characters allowed to participate in the battle under the second level.
[0178] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0179] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0180] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0181] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.
[0182] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0183] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0184] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for upgrading interaction of a game task, characterized in that, include: The screen displays the task screen of the virtual game task currently being participated in by the controlled virtual character. The virtual game task is a multi-round confrontation task between multiple virtual characters. Each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation. The task screen displays a resource exchange control, which is used to acquire upgrade resources using the material resources held by the controlled virtual character; In response to a press operation on the resource exchange control, an upgrade interaction state matching the operation parameters of the press operation is determined; When the upgrade interaction status indication has reached the condition for accelerated upgrade, play the upgrade animation of the controlled virtual character upgrading from the current first level to the second level, and determine the time interval of the continuous operation duration of the pressing operation; according to the exchange interval matching the time interval, exchange material resources of unit resource value for upgrade resources, wherein the longer the continuous operation duration, the smaller the exchange interval; dynamically determine the upgrade progress in the upgrade progress prompt animation based on the exchange result; If the pressing operation of the resource exchange control is interrupted, the upgrade to the first level is canceled, and if the pressing operation of the resource exchange control is resumed, the upgrade progress in the upgrade progress prompt animation is updated again, starting from the upgrade progress reached when the interruption was made and the continuous operation duration. If the controlled virtual character's level is upgraded to the second level, the upgrade operation for the controlled virtual character is cancelled. The number of virtual characters allowed to participate in the confrontation at the first level is less than the number of virtual characters allowed to participate in the confrontation at the second level, and the second level is adjacent to the first level.
2. The method of claim 1, wherein, The step of determining an upgrade interaction state that matches the operation parameters of the press operation in response to a press operation of the resource exchange control includes: In response to a press operation on the resource exchange control, the operation parameters of the press operation are obtained, wherein the operation parameters include at least one of the following: press duration and press pressure; When the operation parameters reach the conditions for triggering accelerated upgrades, the accelerated upgrade mode is triggered, and the resource value of the material resources currently held by the controlled virtual character is obtained. If the resource value of the material resources currently held by the controlled virtual character reaches the target material resource value, it is determined that the upgrade interaction state has met the conditions for accelerating the upgrade, wherein the target material resource value is determined based on the resource value of the upgrade resources that match the second level.
3. The method of claim 2, wherein, After obtaining the operation parameters for the pressing operation, the method further includes: If the press duration in the operation parameters is greater than or equal to the target duration, it is determined that the operation parameters have reached the accelerated upgrade trigger condition, and the accelerated upgrade mode is triggered; and / or, If the pressing pressure in the operation parameters is greater than or equal to the target pressure value, it is determined that the operation parameters have reached the accelerated upgrade trigger condition, and the accelerated upgrade mode is triggered.
4. The method according to claim 2, characterized in that, After obtaining the resource value of the material resources currently held by the controlled virtual character, the method further includes: If the resource value of the material resources currently held by the controlled virtual character has not reached the target material resource value, it is determined that the upgrade interaction state has not met the conditions for accelerating the upgrade, and a prompt message is displayed to indicate that the upgrade of the controlled virtual character has failed.
5. The method according to claim 1, characterized in that, When the upgrade interaction status indication has reached the condition for accelerated upgrade, playing the upgrade animation of the controlled virtual character upgrading from the current first level to the second level further includes: When the upgrade interaction status indicates that the conditions for accelerating the upgrade have been met, an upgrade buffer progress prompt animation is played, wherein the upgrade buffer progress prompt animation is used to dynamically prompt the buffer progress of upgrading to the first level. When the upgrade buffer progress animation finishes playing, it is determined that the upgrade buffer for the first level is complete, the first level is upgraded to the second level, and a prompt message indicating that the controlled virtual character has been successfully upgraded is displayed.
6. The method according to claim 5, characterized in that, The upgrade buffering progress indicator animation also includes: If the press operation on the resource exchange control is interrupted, the upgrade buffer for the first level is canceled, and the resource values of the material resources and the upgrade resources held by the controlled virtual character before the press operation are maintained.
7. The method according to claim 5, characterized in that, The playback upgrade buffering progress indicator animation includes one of the following: Determine a first playback duration that matches the level of the second level; play the upgrade buffer progress indicator animation according to the first playback duration; Determine the difference between the upgrade resource value matching the second level and the upgrade resource value currently held by the controlled virtual character; play the upgrade buffer progress prompt animation according to a second playback duration matching the difference.
8. The method according to claim 5, characterized in that, After determining the upgraded interaction state that matches the operating parameters of the pressing operation, the method further includes: Determine the resource value of the upgrade resource that matches the second level and the difference between the resource value of the upgrade resource currently held by the controlled virtual character; If the resource value of the material resources currently held by the controlled virtual character allows for the exchange of a first reference resource value for the upgrade resources obtained, and this reference value is greater than or equal to the difference, then the upgrade interaction state is determined to have met the conditions for accelerating the upgrade.
9. The method according to claim 1, characterized in that, When the upgrade interaction status indication has reached the condition for accelerated upgrade, playing the upgrade animation of the controlled virtual character upgrading from the current first level to the second level further includes: When the upgrade interaction status indicates that the conditions for accelerating the upgrade have been met, the upgrade progress prompt animation is played, wherein the upgrade progress prompt animation is used to dynamically indicate the upgrade progress from the first level to the second level.
10. The method according to claim 1, characterized in that, If the pressing operation on the resource exchange control is interrupted, after canceling the upgrade to the first level, the method further includes: Update the material resources held by the controlled virtual character to the remaining resource value at the time of the interruption, and pause the upgrade progress prompt animation at the upgrade progress reached at the time of the interruption.
11. The method according to any one of claims 1 to 10, characterized in that, When playing the upgrade animation of the controlled virtual character upgrading from its current first level to the second level, the method further includes: The system indicates that the controlled virtual character is about to be upgraded to the second level and displays the remaining resource value of the material resources held by the controlled virtual character after the upgrade.
12. An interactive device for upgrading game tasks, characterized in that, include: The first display unit is used to display the task screen of the virtual game task currently being participated in by the controlled virtual character, wherein the virtual game task is a multi-round confrontation task between multiple virtual characters, and each round of confrontation task is a process in which two virtual characters each select at least one virtual image to participate in the confrontation. The second display unit is used to display a resource exchange control in the task screen, wherein the resource exchange control is used to obtain upgrade resources by utilizing the material resources held by the controlled virtual character; A determining unit is configured to, in response to a pressing operation on the resource exchange control, determine an upgrade interaction state that matches the operation parameters of the pressing operation; The playback unit is configured to, when the upgrade interaction status indicates that the conditions for accelerating the upgrade have been met, play an upgrade animation of the controlled virtual character upgrading from its current first level to the second level, and determine the time interval of the continuous operation duration of the pressing operation; exchange material resources of unit resource value for upgrade resources according to an exchange interval matching the time interval, wherein the longer the continuous operation duration, the smaller the exchange interval; dynamically determine the upgrade progress in the upgrade progress prompt animation based on the exchange result; cancel the upgrade to the first level if the pressing operation of the resource exchange control is interrupted, and continue to update the upgrade progress in the upgrade progress prompt animation starting from the upgrade progress reached when the interruption occurred and the continuous operation duration when the pressing operation of the resource exchange control is resumed; cancel the upgrade operation of the controlled virtual character if the level of the controlled virtual character upgrades to the second level, wherein the number of virtual images allowed to participate in the battle at the first level is less than the number of virtual images allowed to participate in the battle at the second level, and the second level is adjacent to the first level.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method described in any one of claims 1 to 11.
14. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method described in any one of claims 1 to 11.
15. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 11 through the computer program.
