Virtual character control method, device, apparatus, and medium
By generating a second virtual character based on the first virtual character in a virtual scene, the problem of users having difficulty controlling skill release during game matches is solved, enabling skill practice in combat and improving the intuitiveness and efficiency of practice.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2022-03-23
- Publication Date
- 2026-05-29
AI Technical Summary
Users find it difficult to accurately control virtual characters to release skills during game matches, and existing technology cannot practice skills in actual combat, resulting in limited and inconvenient practice effects.
By generating a second virtual character based on a first virtual character in a virtual scene, and using the character data of the first virtual character, the second virtual character can be controlled to release unreleaseable skills. A graphical user interface is provided for operation, including generating, deleting, and distinguishing the display of the second virtual character, combined with preset trigger states and environmental information.
It improves the intuitiveness and convenience of virtual character skill practice, allowing skill practice to be carried out in actual combat without affecting the user character, thus improving practice efficiency.
Smart Images

Figure CN116832445B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of virtual interaction technology, and more specifically, to a method for controlling a virtual character, a device for controlling a virtual character, a terminal device, and a computer-readable storage medium. Background Technology
[0002] Games are widely enjoyed as an important leisure or competitive activity. Games typically take place in virtual environments, where users control their virtual characters to perform various skills.
[0003] However, not all users have a full understanding of the virtual character's skills and cannot accurately control the virtual character to perform skills. Therefore, skill practice is necessary. The current solution does not allow for sufficient practice of all skills in actual gameplay; training must be conducted outside of real-world games in a virtual training environment.
[0004] The above methods prevent users from actually using skills in battle, limiting the effectiveness of practice. Furthermore, since practice and matches cannot be conducted simultaneously, it is quite inconvenient.
[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] The purpose of this disclosure is to provide a method for controlling virtual characters, a device for controlling virtual characters, a terminal device, and a computer-readable storage medium, thereby improving the intuitiveness and convenience of virtual character practice to at least a certain extent.
[0007] According to one aspect of this disclosure, a method for controlling a virtual character is provided, comprising providing a graphical user interface (GUI) via a terminal device, the GUI displaying content partially including a virtual scene, a first virtual character located in the virtual scene, the first virtual character possessing at least one virtual skill, the virtual skill including a skill-releaseable state and a skill-non-releaseable state, the method comprising:
[0008] In response to a first operation targeting the first virtual character, control the first virtual character to release a first virtual skill that is currently in a skill release state;
[0009] A second virtual character is generated in the virtual scene. The second virtual character is generated based on the character data of the first virtual character, and the character data includes at least some skill data.
[0010] In response to a second operation targeting the second virtual character, the second virtual character is controlled to release a second virtual skill, which is a virtual skill that the first virtual character is currently in a state where skills cannot be released.
[0011] According to one embodiment of this disclosure, a method for controlling a virtual character is provided, the method further comprising:
[0012] In response to the deletion operation, delete the second virtual character; or
[0013] When the first virtual character is detected to be in a preset trigger state, the second virtual character is deleted. The preset trigger state includes being attacked by other virtual characters.
[0014] According to one embodiment of this disclosure, a method for controlling a virtual character is provided, the method further comprising:
[0015] The second virtual character is displayed to distinguish it from the first virtual character.
[0016] According to one embodiment of this disclosure, a method for controlling a virtual character is provided, wherein the step of generating a second virtual character in the virtual scene includes:
[0017] In response to a generation operation applied to the first virtual character or a generation operation applied to a preset shortcut key, a second virtual character is generated in the virtual scene.
[0018] According to an embodiment of this disclosure, a method for controlling a virtual character is provided, wherein the step of deleting a second virtual character in response to a deletion operation includes:
[0019] In response to a deletion operation applied to the second virtual character or a deletion operation applied to a preset shortcut key, the second virtual character is deleted from the virtual scene.
[0020] According to one embodiment of this disclosure, a method for controlling a virtual character is provided. After the step of detecting that the first virtual character is in a preset trigger state, the method further includes:
[0021] The graphical user interface displays virtual environment information, which is generated based on preset judgment rules.
[0022] According to one embodiment of this disclosure, a method for controlling a virtual character is provided, wherein the step of controlling the second virtual character to release a second virtual skill includes:
[0023] Based on the skill data of the first virtual character, generate a third virtual character;
[0024] Control the second virtual character to release the second virtual skill on the third virtual character.
[0025] According to one aspect of this disclosure, a control device for a virtual character is provided, which provides a graphical user interface via a terminal device. The content displayed by the graphical user interface partially includes a virtual scene, in which a first virtual character is located. The first virtual character possesses at least one virtual skill, the virtual skill including a skill-releaseable state and a skill-non-releaseable state. The method includes:
[0026] The first skill release module is used to respond to the first operation on the first virtual character and control the first virtual character to release the first virtual skill that is currently in the skill release state.
[0027] The second character generation module is used to generate a second virtual character in the virtual scene. The second virtual character is generated based on the character data of the first virtual character, and the character data includes at least some skill data.
[0028] The second skill release module is used to respond to a second operation on the second virtual character and control the second virtual character to release a second virtual skill. The second virtual skill is a virtual skill that the first virtual character is currently in a state where it cannot be released.
[0029] In one exemplary embodiment of this disclosure, the apparatus further includes:
[0030] The virtual character deletion module is used to delete the second virtual character in response to a deletion operation; or
[0031] When the first virtual character is detected to be in a preset trigger state, the second virtual character is deleted. The preset trigger state includes being attacked by other virtual characters.
[0032] In one exemplary embodiment of this disclosure, the apparatus further includes:
[0033] The virtual character differentiation display module is used to differentiate the second virtual character from the first virtual character.
[0034] In one exemplary embodiment of this disclosure, the second character generation module is used to generate a second virtual character in the virtual scene in response to a generation operation applied to the first virtual character or a generation operation applied to a preset shortcut key.
[0035] In one exemplary embodiment of this disclosure, the virtual character deletion module is used to delete the second virtual character in the virtual scene in response to a deletion operation performed on the second virtual character or in response to a deletion operation performed on a preset shortcut key.
[0036] In one exemplary embodiment of this disclosure, the apparatus further includes:
[0037] An environment information display module is used to display virtual environment information on the graphical user interface after the step of detecting that the first virtual character is in a preset trigger state. The virtual environment information is generated based on preset judgment rules.
[0038] In one exemplary embodiment of this disclosure, the second skill release module is used to generate a third virtual character based on the skill data of the first virtual character;
[0039] Control the second virtual character to release the second virtual skill on the third virtual character.
[0040] According to one aspect of this disclosure, a computer-readable medium is provided having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the method described in any one of the preceding claims.
[0041] According to one aspect of this disclosure, a terminal device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the method described in any of the preceding methods by executing the executable instructions.
[0042] According to one aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described in any of the preceding claims.
[0043] The exemplary embodiments disclosed herein may have some or all of the following beneficial effects:
[0044] In the technical solution provided by the exemplary embodiments of this disclosure, a second virtual character can be generated in a virtual scene based on the character data of the first virtual character. In response to a control operation, the second virtual character is controlled to perform corresponding action skills. On the one hand, by directly operating the second virtual character, the user can control it to complete actions that the first virtual character cannot release, allowing for intuitive and realistic practice of the first virtual character's skills, thus improving the intuitiveness of skill practice. On the other hand, by generating the second virtual character for practice while the first virtual character already exists, the user's first virtual character is not affected, making skill practice more convenient and improving its efficiency.
[0045] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0046] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0047] Figure 1 A schematic diagram of a system architecture for an exemplary application environment in which a virtual character control method and apparatus according to embodiments of the present disclosure can be applied is shown;
[0048] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing the terminal device of the present disclosure is shown;
[0049] Figure 3 A flowchart illustrating a method for controlling a virtual character according to an embodiment of the present disclosure is shown schematically.
[0050] Figure 4 The diagram illustrates an interface for generating a second virtual character according to one embodiment of the present disclosure.
[0051] Figure 5 The illustration shows a schematic diagram of an interface for generating two third virtual characters according to one embodiment of the present disclosure;
[0052] Figure 6 A block diagram of a control device for a virtual character according to an embodiment of the present disclosure is shown schematically. Detailed Implementation
[0053] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0054] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0055] Figure 1 A schematic diagram of a system architecture for an exemplary application environment in which a virtual character control method and apparatus according to embodiments of the present disclosure can be applied is shown.
[0056] like Figure 1 As shown, system architecture 100 may include one or more of terminal devices 101, 102, and 103. Terminal devices 101, 102, and 103 may be various terminal devices with displays, including but not limited to desktop computers, laptops, smartphones, and tablets. It should be understood that... Figure 1 The number of terminal devices shown is merely illustrative; any number of terminal devices can be used depending on the implementation requirements.
[0057] In one embodiment of this disclosure, the virtual character control method can run on a local terminal device or a server. When the virtual item control method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0058] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of the game interface control methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0059] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading, installing, and running the game program through the terminal device. The local terminal device can provide the graphical user interface to the player in various ways, such as rendering it on the terminal's display screen, or providing it to the player through holographic projection. For example, the local terminal device can include a display screen for displaying the graphical user interface, which includes the game screen, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
[0060] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing the terminal device of the present disclosure is shown.
[0061] It should be noted that, Figure 2 The computer system 200 of the terminal device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0062] like Figure 2 As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 202 or programs loaded from storage section 208 into random access memory (RAM) 203. The RAM 203 also stores various programs and data required for system operation. The CPU 201, ROM 202, and RAM 203 are interconnected via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.
[0063] The following components are connected to I / O interface 205: an input section 206 including a keyboard, mouse, etc.; an output section 207 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN card, modem, etc. The communication section 209 performs communication processing via a network such as the Internet. Drive 210 is also connected to I / O interface 205 as needed. Removable media 211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 210 as needed so that computer programs read from them can be installed into storage section 208 as needed.
[0064] In particular, according to embodiments of this disclosure, the processes described below with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 209, and / or installed from removable medium 211. When the computer program is executed by central processing unit (CPU) 201, it performs the various functions defined in the methods and apparatus of this application.
[0065] It should be noted that the virtual scenes involved in the exemplary embodiments of this disclosure can be digital scenes depicted by smart terminal devices such as computers, mobile phones, and tablets using digital technology. These virtual scenes can include buildings or structures such as houses, buildings, gardens, bridges, and pools, as well as natural landscapes such as mountains, rivers, and lakes, and any virtual items or props such as weapons, tools, and creatures. The virtual scene can be a simulation of the real world, a purely fictional virtual scene, or a partially simulated and partially fictional virtual scene; this exemplary embodiment does not impose any special limitations on this.
[0066] This disclosure can be used in virtual display programs, 3D map programs, multiplayer online battle arena (MOBA) games, etc.
[0067] The technical solutions of the embodiments of this disclosure are described in detail below:
[0068] This example implementation provides a method for controlling a virtual character. (See reference...) Figure 3 As shown, the method for controlling the virtual character provides a graphical user interface through a terminal device. The content displayed by the graphical user interface partially includes a virtual scene. A first virtual character is located in the virtual scene. The first virtual character possesses at least one virtual skill, which includes a skill that can be released and a skill that cannot be released. The method includes the following steps:
[0069] Step 310: In response to the first operation on the first virtual character, control the first virtual character to release the first virtual skill that is currently in the skill release state.
[0070] Step 320: Generate a second virtual character in the virtual scene. The second virtual character is generated based on the character data of the first virtual character, and the character data includes at least some skill data.
[0071] Step 330: Respond to the second operation for the second virtual character and control the second virtual character to release the second virtual skill. The second virtual skill is a virtual skill that the first virtual character is currently in a state where skills cannot be released.
[0072] In the technical solution provided by the exemplary embodiments of this disclosure, a second virtual character can be generated in a virtual scene based on the character data of the first virtual character. In response to a control operation, the second virtual character is controlled to perform corresponding action skills. On the one hand, by directly operating the second virtual character, the user can control it to complete actions that the first virtual character cannot release, allowing for intuitive and realistic practice of the first virtual character's skills, thus improving the intuitiveness of skill practice. On the other hand, by generating the second virtual character for practice while the first virtual character already exists, the user's first virtual character is not affected, making skill practice more convenient and improving its efficiency.
[0073] A virtual character is a virtual person or model controlled by a user through a terminal device. There is no limit to the number of virtual characters in a game; the number can vary depending on the game rules. A user can control one or more virtual characters, and multiple users can control virtual characters in the same game.
[0074] The skill data of a virtual character is used to control the virtual character to perform corresponding skill actions when the terminal device receives control operation instructions for the virtual character. For example, the skill data of a virtual character includes two skills. In response to a first control operation, the terminal device controls the virtual character to perform action A; in response to a second control operation, the terminal device controls the virtual character to perform action B. Control operations can be click operations applied to different skill controls, or gesture operations that do not apply to controls, etc.
[0075] The skill data of virtual characters can be fixed, with different skill data stored locally on the terminal device for different characters or obtained from the game server; the skill data of virtual characters can also be modified and changed, such as exchanging and configuring skill data between multiple virtual characters, obtaining new skill data from the server, etc.
[0076] The above steps will now be explained in more detail.
[0077] In step S310, in response to the first operation on the first virtual character, the first virtual character is controlled to release the first virtual skill that is currently in a skill releaseable state.
[0078] In this embodiment of the disclosure, the skill release state can refer to not being in a cooldown period, or it can refer to the skill release conditions being fully met, and being in a state where it can be released at any time.
[0079] In step S320, a second virtual character is generated in the virtual scene. The second virtual character is generated based on the character data of the first virtual character, and the character data includes at least some skill data.
[0080] In this embodiment, virtual characters can be generated by replacing textures, replacing model components, or hiding and showing specific combinations of model components. First, the resource data required for the first virtual character can be created as a first virtual character database, which may include texture, polygon, and skeletal data. A second virtual character is generated from this first virtual character database; the second virtual character is a model with the same or similar appearance as the first virtual character. For example, the second virtual character may have the same character model as the first virtual character but use different clothing textures to wear different virtual clothing; alternatively, it could have the same character model and clothing textures but with differences in transparency, highlighting, etc.
[0081] In step S330, in response to the second operation for the second virtual character, the second virtual character is controlled to release the second virtual skill, which is the virtual skill that the first virtual character is currently in a state where the skill cannot be released.
[0082] In this embodiment, it is possible to detect whether a second virtual character with the same role data as the first virtual character exists in the virtual scene. If the existence of a second virtual character is detected, the skill action corresponding to the user's operation behavior will no longer be executed through the first virtual character. The generation time of the models of the first and second virtual characters can be marked, and the model with the earlier generation time can be identified as the first virtual character, and the model with the later generation time can be identified as the second virtual character. Alternatively, a serial number label can be added to the model during model generation, for example, the first virtual character is model 1, and the second virtual character is model 2.
[0083] The system sends instructions to the terminal device to control the second virtual character to perform skill actions corresponding to the user's actions. When performing actions based on the skill data of the first virtual character, it may receive an operation instruction "execute action A" generated from the operation action, and then use the corresponding skill data to execute skill action A according to the mapping relationship between the operation instruction and the skill data.
[0084] Understandably, skills typically have usage restrictions during normal gameplay. These restrictions could include time limitations, such as skill cooldown time limits, or trigger condition limitations, such as requiring the virtual character to perform a specific action before the skill can be used. In this embodiment, when controlling the second virtual character to release a skill, the restrictions in the skill data of the first virtual character can be removed, allowing the skill to be used without cooldown or trigger restrictions.
[0085] Optionally, the second virtual character performs skill actions corresponding to the user's actions, but does not cause harm to other virtual characters or objects in the virtual scene (such as monsters and animals in the scene). That is, in the virtual scene, the first virtual character can be considered as the real user's game character, while the second virtual character is a virtual user's game character.
[0086] When a second virtual character exists in the virtual scene, the user can control the second virtual character in response to their input, instead of the first, thus practicing the virtual character's skills. This practice process can be terminated at any time, for example, via a preset hotkey, to avoid interfering with the normal game progress.
[0087] In an optional embodiment, after the second virtual character is generated in the virtual scene, the first virtual character is in a managed state or a static state. The managed state means that the first virtual character is controlled by the game system.
[0088] In an optional embodiment, the second virtual character is not observed by other characters in the game. These other characters can be characters other than the first virtual character, or characters from a different faction than the first virtual character.
[0089] In one embodiment of this disclosure, an implementation of a method for controlling a virtual character is also provided. The method further includes:
[0090] In response to the deletion operation, delete the second virtual character; or
[0091] When the first virtual character is detected to be in a preset trigger state, the second virtual character is deleted. The preset trigger state includes being attacked by other virtual characters.
[0092] In this embodiment, the user can actively delete the second virtual character, and the terminal device will respond to the deletion operation by deleting the model of the second virtual character; alternatively, the first virtual character can be passively deleted when it is in a preset triggered state. During the practice of controlling the second virtual character, the game's field of view can be a virtual scene observed from the virtual character's location in a certain direction at a certain angle. The user's field of view varies depending on the virtual character's position and facing different directions. Therefore, the fields of view corresponding to the first and second virtual characters are generally not the same. While controlling the second virtual character, it is difficult to fully focus on the state of the first virtual character and its virtual environment. In this situation, it is difficult to react promptly and effectively to enemy attacks. Therefore, when the first virtual character is detected to be in a preset triggered state, the second virtual character is automatically deleted.
[0093] It is understandable that the preset trigger state can also be the result of various data detections. For example, it can directly detect whether the life attribute value of the first virtual character has decreased or decreased significantly in a short period of time. For instance, if the location of the first virtual character changes from a normal area in the virtual scene to a "poisonous gas" area or is attacked by an enemy virtual character, and the user is creating and controlling a second virtual character at this time, then the second virtual character can be directly deleted from the virtual scene after the first virtual character loses a preset value of life attribute value. It can also detect whether there is an enemy virtual character in the virtual scene within a preset range centered on the first virtual character. For instance, if an enemy virtual character is 10 virtual distance units away from the first virtual character, the first virtual character can be directly deleted. This embodiment of the disclosure does not limit the specific rules for determining whether to delete the second virtual character based on the preset trigger state.
[0094] It is understandable that, after detecting the preset trigger state, the second virtual character may not be deleted directly, but may need to be confirmed by responding to the user's deletion operation before being deleted.
[0095] In real-time embodiments of this disclosure, a second virtual character is deleted in response to a deletion operation; or the second virtual character is deleted when a first virtual character is detected to be in a preset triggered state. This allows users to exit the practice state and return to normal gameplay, ensuring that the user's game progress is not affected and guaranteeing that both gameplay and skill practice can be carried out simultaneously, thus improving the efficiency of skill practice.
[0096] The first and second virtual characters are generated based on the same character data, making them difficult to distinguish visually. When operating the second virtual character, it's easy to confuse the first and second virtual characters, affecting the execution of skill actions.
[0097] In one embodiment of this disclosure, an implementation of a method for controlling a virtual character is also provided. The method further includes:
[0098] The second virtual character is displayed to distinguish it from the first virtual character.
[0099] In this embodiment, the first virtual character and the second virtual character can be displayed differently in various ways. For example, the first virtual character can be displayed normally, while the transparency of the second virtual character can be adjusted; alternatively, an outline or outline highlight can be added to the second virtual character. In particular, some of these differentiating display methods can be further refined. For instance, when using outline highlights for differentiation, the brightness of the highlight can be adjusted according to the ambient brightness of the virtual scene. When the virtual environment is relatively dark, the brightness of the outline highlight can be set to level A; when the virtual environment is relatively bright, the brightness of the outline highlight can be set to level B, with level A being lower than level B.
[0100] Optionally, the display method of the second virtual character's model can be different for different virtual characters. The model of the second virtual character can be configured to be displayed to friendly virtual characters and hidden from enemy virtual characters.
[0101] By implementing embodiments of this disclosure, the second virtual character is displayed separately from the first virtual character. This avoids confusion between the first and second virtual characters during practice using the second virtual character, improving the intuitiveness and clarity of skill practice.
[0102] In one embodiment of this disclosure, an implementation of a method for controlling a virtual character is also provided. The step of generating a second virtual character in the virtual scene includes:
[0103] In response to a generation operation applied to the first virtual character or a generation operation applied to a preset shortcut key, a second virtual character is generated in the virtual scene.
[0104] In this embodiment, there are at least two ways to generate the second virtual character. One method is to click and drag the model of the first virtual character, generating the second virtual character at the end of the dragging operation. This method is logically similar to generating the second virtual character based on the character data of the first virtual character. Alternatively, after clicking the model of the first virtual character, another location in the virtual scene can be clicked, generating the second virtual character at that location. The end of the dragging operation and the second click location can be within a preset range centered on the position of the first virtual character to limit the generation location of the second virtual character and prevent the first and second virtual characters from being too far apart.
[0105] For example, such as Figure 4 As shown, drag the first virtual character 401 to the right, and a second virtual character 402 will be generated at the end of the drag. The second virtual character 402 is different from the first virtual character 401 in terms of transparency, so as to distinguish them in display.
[0106] It can also generate a second virtual character in a virtual scene in response to a preset shortcut key. The preset shortcut keys can vary depending on the input device of the terminal. For example, when using an external device, a single key, or a combination of two or more keys on the keyboard, can be used as a preset shortcut key.
[0107] It is understandable that the generation operation applied to the first virtual character and the generation operation responding to the preset shortcut key can be combined. For example, when dragging operations are prone to conflict with other functions, i.e., prone to misoperation during dragging, then the second virtual character can be generated in response to the generation operation applied to the first virtual character, provided that the user has already applied the shortcut key. This disclosure does not impose any limitations on the embodiments herein.
[0108] Accordingly, in one embodiment of this disclosure, an implementation of a method for controlling a virtual character is also provided. The step of deleting the second virtual character in response to a deletion operation includes:
[0109] In response to a deletion operation applied to the first virtual character or a deletion operation applied to a preset shortcut key, the second virtual character is deleted from the virtual scene.
[0110] In this embodiment of the disclosure, similar to the generation operation, the second virtual character can be dragged toward the first virtual character, and then the second virtual character can be deleted, resulting in the experience of merging the second virtual character into the first virtual character. Alternatively, the second virtual character can be deleted again based on the shortcut key used to delete the second virtual character, responding to an operation applied to a preset shortcut key. When responding to a deletion operation applied to a preset shortcut key, the terminal device can control the second virtual character to move toward the first virtual character until they overlap, and then delete the model of the second virtual character, so that the operation logic is more consistent with the fact that the second virtual character is generated based on the character data of the second virtual character.
[0111] Since the first and second virtual characters are likely located in different positions within the virtual scene, after the second virtual character is generated, the game's field of view can switch to the virtual scene observed from the second virtual character's perspective. Therefore, when the user is controlling the second virtual character to unleash skills, it's easy to lose sight of the first virtual character, potentially leading to the first virtual character becoming uncontrollable and negatively impacting the gaming experience.
[0112] Based on this, in one embodiment of this disclosure, an implementation of a method for controlling a virtual character is also provided. After the step of detecting that the first virtual character is in a preset trigger state, the method further includes:
[0113] The graphical user interface displays virtual environment information, which is generated based on preset judgment rules.
[0114] In this embodiment, the environmental information can be multifaceted, such as virtual environment information related to the aforementioned preset trigger state, which can be used to determine whether danger has occurred based on preset rules. For example, it can be the same as the aforementioned preset trigger state. It directly detects whether the first virtual character's health attribute value has decreased or decreased significantly in a short period of time; it detects whether enemy virtual characters have appeared in the virtual scene within a preset range centered on the first virtual character. Corresponding environmental information is generated according to preset danger judgment rules, such as "An enemy has appeared, please be vigilant," or "Health value has decreased abnormally, you may be attacked." It can also be information related to game tasks, generating corresponding environmental information according to preset game progress judgment rules, such as prompting the user to operate the first virtual character to go to a specific location in the virtual scene to complete a task, etc. This embodiment does not limit the specific content of the virtual environment information that can reflect the environmental situation.
[0115] In controlling a second virtual character to unleash skills based on the skill data of the first virtual character, sometimes the skill can only be activated when teammates, enemy virtual characters, or other virtual objects are present. For example, the first virtual character's Skill A requires aiming at a teammate to increase their health; Skill B requires aiming at an enemy to reduce their movement speed. Therefore, skills cannot be activated without the corresponding virtual character present.
[0116] Based on this, in one embodiment of this disclosure, an implementation of a method for controlling a virtual character is also provided. The step of controlling the second virtual character to release a second virtual skill includes:
[0117] Based on the skill data of the first virtual character, generate a third virtual character;
[0118] Control the second virtual character to release the second virtual skill on the third virtual character.
[0119] In this embodiment of the disclosure, skill data can be read. For example, tags for corresponding virtual characters can be added to the skill data. Through the mapping relationship between tags and virtual character models, when a tag is read, the resource data required by the virtual character corresponding to the tag is called to create and generate the corresponding virtual character.
[0120] Optionally, the number and type of third virtual characters to be generated can be determined based on skill data. For example, if skill A requires three enemy virtual characters to activate, then three third virtual characters will be generated; if skill B is used to attack enemy virtual characters in the air, then an enemy third virtual character in the air will be generated; if skill B is used to generate a "protective shield" around a friendly third virtual character, which can damage enemy third virtual characters it touches, then both friendly and enemy third virtual characters will be generated. Depending on the skill data, only friendly or enemy third virtual characters may be generated. Both friendly and enemy third virtual characters may also be generated simultaneously. Other virtual objects may also be generated. This embodiment of the disclosure is not limited herein.
[0121] For example, such as Figure 5 As shown, the virtual scene includes a first virtual character 501, a second virtual character 502, a third virtual character 503 (a friendly third virtual character), and another third virtual character 504 (an enemy third virtual character). Controlling the second virtual character 502 to unleash a skill generates a protective circle around the third virtual character 503. The third virtual character 504 takes damage upon touching the protective circle, losing 1 health point for every second it touches the circle.
[0122] After the second virtual character releases its second virtual skill, it can deal damage to the third virtual character or other newly generated virtual objects based on the skill data, but it will not have any effect on actual friendly or enemy virtual characters.
[0123] In one embodiment of this disclosure, an implementation of a method for controlling a virtual character is also provided. The method further includes:
[0124] In response to the generation operation, the skill information corresponding to the skill data is obtained;
[0125] An information display window is generated, and the skill information is displayed in the information display window.
[0126] In this embodiment of the disclosure, in response to the generation operation, the terminal device can request the skill information from the server, or it can obtain the skill information corresponding to all skill data from the server in advance at the start of the game. The skill information is used to describe the characteristics of the skill corresponding to the skill identifier, such as skill cooldown time, attack range, attack effect, and other skill features.
[0127] The information display window can be generated in a blank area excluding controls in the display interface. When skill information is displayed in the information display window, multiple skill information can be displayed separately and simultaneously in the information display window; or, in response to a specific skill viewing operation, a single skill information can be displayed to avoid too much content on the display interface affecting the efficiency of information transmission.
[0128] By implementing embodiments of this disclosure, in response to a generation operation, skill information corresponding to the skill data is obtained and displayed in a generated information display window. This allows users to easily view relevant skill information when using a given skill, avoiding the problem of users being unfamiliar with the skill and improving the efficiency of skill learning.
[0129] It should be noted that although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.
[0130] Furthermore, in this example embodiment, a control device for a virtual character is also provided. This control device can provide a graphical user interface (GUI) via a terminal device. The GUI displays content that partially includes a virtual scene, in which a first virtual character resides. The first virtual character possesses at least one virtual skill, which includes a skill-releaseable state and a skill-non-releaseable state. (Reference) Figure 6 As shown, the control device 600 for the virtual character may include:
[0131] The first skill release module 601 is used to respond to a first operation on the first virtual character and control the first virtual character to release a first virtual skill that is currently in a skill releaseable state.
[0132] The second character generation module 602 is used to generate a second virtual character in the virtual scene. The second virtual character is generated based on the character data of the first virtual character, and the character data includes at least some skill data.
[0133] The second skill release module 603 is used to respond to a second operation on the second virtual character and control the second virtual character to release a second virtual skill, wherein the second virtual skill is a virtual skill that the first virtual character is currently in a state where skills cannot be released.
[0134] In one exemplary embodiment of this disclosure, the apparatus further includes:
[0135] The virtual character deletion module is used to delete the second virtual character in response to a deletion operation; or
[0136] When the first virtual character is detected to be in a preset trigger state, the second virtual character is deleted. The preset trigger state includes being attacked by other virtual characters.
[0137] In one exemplary embodiment of this disclosure, the apparatus further includes:
[0138] The virtual character differentiation display module is used to differentiate the second virtual character from the first virtual character.
[0139] In one exemplary embodiment of this disclosure, the second character generation module is used to generate a second virtual character in the virtual scene in response to a generation operation applied to the first virtual character or a generation operation applied to a preset shortcut key.
[0140] In one exemplary embodiment of this disclosure, the virtual character deletion module is used to delete the second virtual character in the virtual scene in response to a deletion operation performed on the second virtual character or in response to a deletion operation performed on a preset shortcut key.
[0141] In one exemplary embodiment of this disclosure, the apparatus further includes:
[0142] An environment information display module is used to display virtual environment information on the graphical user interface after the step of detecting that the first virtual character is in a preset trigger state. The virtual environment information is generated based on preset judgment rules.
[0143] In one exemplary embodiment of this disclosure, the second skill release module is used to generate a third virtual character based on the skill data of the first virtual character;
[0144] Control the second virtual character to release the second virtual skill on the third virtual character.
[0145] The specific details of each module or unit in the control device of the aforementioned virtual character have been described in detail in the corresponding control method of the virtual character, so they will not be repeated here.
[0146] In another aspect, this application also provides a computer-readable medium, which may be included in the terminal device described in the above embodiments; or it may exist independently and not assembled into the terminal device. The computer-readable medium carries one or more programs that, when executed by the terminal device, cause the terminal device to perform the methods described in the following embodiments.
[0147] It should be noted that the computer-readable medium disclosed herein may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0148] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0149] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for controlling a virtual character, characterized in that, A graphical user interface (GUI) is provided via a terminal device. The content displayed by the GUI partially includes a virtual scene. A first virtual character is located in the virtual scene. The first virtual character possesses at least one virtual skill, which includes a skill that can be released and a skill that cannot be released. The method includes: In response to a first operation targeting the first virtual character, control the first virtual character to release a first virtual skill that is currently in a skill release state; A second virtual character is generated in the virtual scene. The second virtual character is generated based on the character data of the first virtual character, and the character data includes at least some skill data. In response to a second operation targeting the second virtual character, the second virtual character is controlled to release a second virtual skill, which is a virtual skill that the first virtual character is currently in a state where skills cannot be released.
2. The method according to claim 1, characterized in that, The method further includes: In response to the deletion operation, delete the second virtual character; or When the first virtual character is detected to be in a preset trigger state, the second virtual character is deleted. The preset trigger state includes being attacked by other virtual characters.
3. The method according to claim 1, characterized in that, The method further includes: The second virtual character is displayed to distinguish it from the first virtual character.
4. The method according to claim 1, characterized in that, The step of generating a second virtual character in the virtual scene includes: In response to a generation operation applied to the first virtual character or a generation operation applied to a preset shortcut key, a second virtual character is generated in the virtual scene.
5. The method according to claim 2, characterized in that, The step of deleting the second virtual character in response to the deletion operation includes: In response to a deletion operation applied to the second virtual character or a deletion operation applied to a preset shortcut key, the second virtual character is deleted from the virtual scene.
6. The method according to claim 2, characterized in that, After the step of detecting that the first virtual character is in a preset trigger state, the method further includes: The graphical user interface displays virtual environment information, which is generated based on preset judgment rules.
7. The method according to claim 1, characterized in that, The step of controlling the second virtual character to release the second virtual skill includes: Based on the skill data of the first virtual character, generate a third virtual character; Control the second virtual character to release the second virtual skill on the third virtual character.
8. A control device for a virtual character, characterized in that, A graphical user interface (GUI) is provided via a terminal device. The content displayed by the GUI partially includes a virtual scene. A first virtual character is located in the virtual scene. The first virtual character possesses at least one virtual skill, which includes a skill that can be released and a skill that cannot be released. The device includes: The first skill release module is used to respond to the first operation on the first virtual character and control the first virtual character to release the first virtual skill that is currently in the skill release state. The second character generation module is used to generate a second virtual character in the virtual scene. The second virtual character is generated based on the character data of the first virtual character, and the character data includes at least some skill data. The second skill release module is used to respond to a second operation on the second virtual character and control the second virtual character to release a second virtual skill. The second virtual skill is a virtual skill that the first virtual character is currently in a state where it cannot be released.
9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 7.
10. A terminal device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1-7 by executing the executable instructions.