CN-121988037-A - Role cooperative control method, device, equipment and medium thereof
Abstract
The application relates to a role cooperative control method and a device, equipment and medium thereof. The method comprises the steps of monitoring a corresponding accumulation state of a cooperative energy value of a foreground character to reach a preset cooperative threshold, activating cooperative control authority of a background character, responding to a character switching instruction, triggering first cooperative skills of the foreground character based on the cooperative control authority, loading character resources of the background character, switching control authority of a game character to the background character, triggering second cooperative skills corresponding to the background character according to the first cooperative skills, continuing to execute a foreground operation process corresponding to the foreground action when the current foreground action of the foreground character is not executed, updating the background character to the current foreground character, updating character attributes of the current foreground character, and monitoring the corresponding accumulation state of the cooperative energy value of the current foreground character. The application provides a smooth game fight mechanism, improves the game experience of players and improves the fight fluency and operability of games.
Inventors
- LAI WENJIE
- HUANG XINYAO
Assignees
- 广州库洛数界科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20250606
Claims (10)
- 1. The role cooperative control method is characterized by comprising the following steps of: Monitoring a corresponding accumulation state of cooperative energy values of the foreground roles, and activating cooperative control authority of the background roles in a standby state when the cooperative energy values accumulate to a preset cooperative threshold value; Responding to a role switching instruction aiming at the background role, triggering a first cooperative skill corresponding to the foreground role based on the cooperative control authority, and clearing a cooperative energy value of the foreground role; Based on the role resources of the background role loaded by a game engine, switching the control authority of the game role from the foreground role to the background role, and triggering a second cooperative skill corresponding to the background role according to the first cooperative skill, wherein the method comprises the steps of activating the second cooperative skill corresponding to the background role according to the first cooperative skill triggered by the foreground role, and executing the second cooperative skill by the background role to dynamically generate a cooperative skill effect of the second cooperative skill according to the role attribute and the role equipment of the background role, wherein when the current foreground action of the foreground role is not executed, continuing to execute a foreground operation process corresponding to the foreground action; Updating the background role into a current foreground role, updating the role attribute of the current foreground role based on the first cooperative skill and the second cooperative skill, and synchronously monitoring the corresponding accumulation state of the cooperative energy value of the current foreground role.
- 2. The character cooperative control method according to claim 1, wherein monitoring a corresponding accumulation state of cooperative energy values of a foreground character, when the cooperative energy values accumulate to a preset cooperative threshold, activating cooperative control authority of a background character in a standby state, comprises: monitoring the fight interaction behavior of the foreground character in the current fight scene in real time, and acquiring the corresponding accumulated cooperative energy value of the foreground character in the fight interaction behavior process; And when the accumulated amount of the cooperative energy value reaches the cooperative threshold value and the first cooperative skill is in an activatable state, generating a permission activation signal representing whether the cooperative control permission of the background character has been activated so as to associate the permission activation signal with a corresponding second cooperative skill of at least one of the background characters.
- 3. The character cooperative control method according to claim 2, wherein in response to a character switching instruction for the background character, based on the cooperative control authority, triggering a first cooperative skill corresponding to the foreground character, clearing a cooperative energy value of the foreground character, comprising: Verifying the activation state of the permission activation signal corresponding to the background role according to the role switching instruction sent by the player aiming at the background role; And when the permission activation signal pointed by the role switching instruction characterizes that the cooperative control permission is activated, clearing the cooperative energy value of the foreground role, and triggering a first cooperative skill corresponding to the foreground role so as to execute the first cooperative skill by the foreground role.
- 4. The character cooperative control method according to claim 1, wherein when the current foreground action of the foreground character is not performed, continuing to perform a foreground operation process corresponding to the foreground action, comprising: determining a corresponding foreground action which is not currently calculated by the foreground character, and determining a character entity animation and fight trigger data corresponding to the foreground action which is currently executed by the foreground character; and when the settlement process of the corresponding fight trigger data of the foreground character is not calculated, maintaining the settlement process of the fight trigger data so as to recover the character model resources of the foreground character after the play process and the settlement process are finished.
- 5. The character cooperative control method according to any one of claims 1 to 4, wherein updating the background character to a current foreground character, updating character attributes of the current foreground character based on the first cooperative skills and the second cooperative skills, and synchronously monitoring a corresponding accumulation state of cooperative energy values of the current foreground character, comprises: Determining the background role as a current foreground role, determining the current foreground role as a game role currently controlled by a game player, and acquiring a corresponding accumulated cooperative energy value of the current foreground role in combat interactive behaviors in a current combat scene; When the accumulation amount of the cooperative energy value of the current foreground character reaches the cooperative threshold value, detecting whether a first cooperative skill corresponding to the current foreground character is in an activatable state or not so as to activate cooperative control rights of one or more current background characters corresponding to the current foreground character when the first cooperative skill is in the activatable state.
- 6. The character cooperative control method according to claim 5, further comprising: responding to a game rendering event, and when the second cooperative skill is triggered, adjusting the visual effect level of the foreground character applying the first cooperative skill to a background rendering mode; Responding to a data processing event, determining a skill duration corresponding to the first cooperative skill, and updating a role attribute value of the background role according to a skill value parameter of the first cooperative skill and the skill duration so as to correspondingly update a skill value of the second cooperative skill triggered by the background role; And responding to a resource recovery event, and releasing the role model resource of the foreground role when the role entity animation corresponding to the first collaborative skill is released by the foreground role.
- 7. A character cooperative control apparatus, comprising: the energy monitoring module is used for monitoring the corresponding accumulation state of the cooperative energy value of the foreground character, and activating the cooperative control authority of the background character in the standby state when the cooperative energy value is accumulated to a preset cooperative threshold value; The first cooperative module is used for responding to a role switching instruction aiming at the background role, triggering a first cooperative skill corresponding to the foreground role based on the cooperative control authority, and clearing the cooperative energy value of the foreground role; The second cooperative module is configured to load the role resource of the background role based on a game engine, switch the control authority of the game role from the foreground role to the background role, and trigger a second cooperative skill corresponding to the background role according to the first cooperative skill, wherein the second cooperative skill corresponding to the background role is activated according to the first cooperative skill triggered by the foreground role so as to dynamically generate a cooperative skill effect of the second cooperative skill according to the role attribute and the role equipment of the background role; And the cooperative updating module is used for updating the background role into a current foreground role, updating the role attribute of the current foreground role based on the first cooperative skill and the second cooperative skill, and synchronously monitoring the corresponding accumulation state of the cooperative energy value of the current foreground role.
- 8. The character cooperative control device according to claim 7, wherein the energy monitoring module further comprises: the fight monitoring module is used for monitoring fight interaction behaviors of the foreground character in the current fight scene in real time and acquiring the corresponding accumulated cooperative energy value of the foreground character; The signal generation module is used for generating a permission activation signal representing whether the cooperative control permission of the background role is activated or not when the accumulation amount of the cooperative energy value reaches the cooperative threshold value and the first cooperative skill is in an activatable state; And the right triggering module is set to associate the right activating signal with at least one corresponding second cooperative skill of the background role and trigger the activating right of the second cooperative skill.
- 9. A role cooperative control apparatus comprising a central processor and a memory, characterized in that the central processor is adapted to invoke execution of a computer program stored in the memory to perform the steps of the method according to any of claims 1 to 6.
- 10. A non-transitory readable storage medium, characterized in that it stores in form of computer readable instructions a computer program implemented according to the method of any one of claims 1 to 6, which when invoked by a computer, performs the steps comprised by the corresponding method.
Description
Role cooperative control method, device, equipment and medium thereof Technical Field The present application relates to the field of computer technologies, and in particular, to a role cooperative control method, a device, an apparatus, and a medium thereof. Background In many electronic game pieces today, particularly traditional MMORPG games and part ARPG games, the design of their combat systems mostly expands around a single character. In the game process, a player can usually only control one character to perform combat operation, and long-time single-character control easily causes fatigue of the player, so that the game experience gradually tends to be monotonous. Although a part of games are added with a team allocation mechanism for enriching game playing methods, players are allowed to build teams containing a plurality of characters, when actually fight, the players can only control one character to be in a field to fight, and the other characters are in a standby state. Under the traditional mechanism, when a player needs to change a present character every time, the player must execute character switching operation, at the moment, the former character can completely fade, the original action instruction, skill releasing state, relevant fight effect and the like can be interrupted, and the newly switched character starts fight from the initial state, and the two characters lack continuity and engagement in the fight state, so that the linkage coordination between the characters is insufficient. The players cannot make full use of the skill characteristics of multiple roles to perform seamless connection and cooperative combat in the combat process, and more strategic and diversified combat playing methods are difficult to realize, so that the playability and depth of the games are influenced, meanwhile, the strategic richness of a game combat system is limited, and the game experience requirements of the players on team cooperation combat cannot be fully met. Disclosure of Invention The present application aims to solve the above problems and provide a role cooperative control method, and corresponding apparatus, device, non-volatile readable storage medium, and computer program product thereof. According to one aspect of the present application, there is provided a role cooperative control method, including: Monitoring a corresponding accumulation state of the cooperative energy value of the foreground character, and activating cooperative control authority of the background character when the cooperative energy value is accumulated to a preset cooperative threshold value; responding to a role switching instruction aiming at the background role, and triggering a first cooperative skill corresponding to the foreground role based on the cooperative control authority; loading the role resources of the background role, switching the control authority of the game role from the foreground role to the background role, and triggering a second cooperative skill corresponding to the background role according to the first cooperative skill, wherein when the current foreground action of the foreground role is not executed, the foreground operation process corresponding to the foreground action is continuously executed; And updating the background role into a current foreground role, updating the role attribute of the current foreground role based on the first cooperative skill and the second cooperative skill, and monitoring the corresponding accumulation state of the cooperative energy value of the current foreground role. According to another aspect of the present application, there is provided a character cooperative control apparatus including: The energy monitoring module is used for monitoring the corresponding accumulation state of the cooperative energy value of the foreground character, and activating the cooperative control authority of the background character when the cooperative energy value is accumulated to a preset cooperative threshold value; the first cooperative module is used for responding to a role switching instruction aiming at the background role and triggering a first cooperative skill corresponding to the foreground role based on the cooperative control authority; The second cooperative module is configured to load the role resources of the background role, switch the control authority of the game role from the foreground role to the background role, and trigger a second cooperative skill corresponding to the background role according to the first cooperative skill, wherein when the current foreground action of the foreground role is not executed, the foreground operation process corresponding to the foreground action is continuously executed; And the cooperative updating module is used for updating the background role into a current foreground role, updating the role attribute of the current foreground role based on the first cooperative skill and the second cooperative skill,