Virtual character state setting method and apparatus, and storage medium and electronic device
By directly setting the status of the target virtual character in the status display interface of the target application, the problem of high complexity in the virtual character status setting process is solved and a more efficient operation process is achieved.
Patent Information
- Application Number
- PCT/CN2023/099305
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-23
- Filing Date
- 2023-06-09
- Publication Date
- 2024-09-12
AI Technical Summary
In virtual social scenes, existing technologies require switching between different interfaces, resulting in complex and inefficient virtual character status setting operations.
Display the status identifier of the first group of virtual characters and the target virtual character in the status display interface of the target application, and directly set the status of the target virtual character to the same status as the first virtual character by responding to the trigger operation in the status display interface, Avoid interface switching and simplify operations.
It improves the convenience and efficiency of virtual character status setting, reduces operating steps, and simplifies the status setting process.
Smart Images

Figure CN2023099305_12092024_PF_FP
Abstract
Description
Method and device for setting virtual character status, storage medium, and electronic device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on August 23, 2022, with application number 202211015071X and application name “Method and device for setting virtual character status, storage medium and electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a virtual character control technology. Background Art
[0003] In virtual social scenarios, to enable personalized user expression, users are often allowed to set states for their controlled avatars. For example, setting a state like eating indicates that the avatar is eating; setting a state like lifting dumbbells indicates that the avatar is exercising. To increase the fun of user interactions, if a target user sees another friend setting an interesting state for their reference avatar, the target user can also set the state of their own avatar to the same as the reference avatar.
[0004] In the related art, the method for setting the status of the target virtual character includes: in the status display interface of the target application, selecting the reference virtual character, clicking to enter the role details page of the reference virtual character, and using the status setting control in the role details page to copy the status of the reference virtual character to the target virtual character. After the target user returns to the status display interface, he can view that the status of the target virtual character has changed and becomes the same as that of the reference virtual character.
[0005] However, the above-mentioned method for setting the status of the virtual character requires switching from the status display interface of the target application to the character details page of the reference virtual character, and then returning from the character details page to the status display interface to view the status changes of the target virtual character. That is, the status setting of the virtual character needs to be implemented in different interfaces, the operation is complicated, and the status setting efficiency is low.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a method and apparatus for setting a virtual character status, a storage medium, and an electronic device, which can simplify the operation of setting the virtual character status and improve the efficiency of setting the virtual character status.
[0008] According to one aspect of an embodiment of the present application, a method for setting the status of a virtual character is provided, which is executed by an electronic device, and includes: displaying the status identifier of a first group of virtual characters and a target virtual character in a status display interface of a target application, wherein the target virtual character is the virtual character of a target account currently logged in to the target application; in response to a trigger operation for the first status identifier in the status display interface, setting the current state of the target virtual character to a first state corresponding to the first status identifier, and displaying the status identifier of the target virtual character as the first status identifier in the status display interface, wherein the first status identifier is the status identifier of the first virtual character in the first group of virtual characters, and the current state of the first virtual character is the first state.
[0009] According to another aspect of an embodiment of the present application, a device for setting the status of a virtual character is also provided, including: a first display unit, used to display the status identifier of a first group of virtual characters and a target virtual character in a status display interface of a target application, wherein the target virtual character is the virtual character of a target account currently logged in to the target application; a first processing unit, used to set the current state of the target virtual character to a first state corresponding to the first state identifier in response to a trigger operation for the first state identifier in the status display interface, and display the status identifier of the target virtual character as the first state identifier in the status display interface, wherein the first state identifier is the status identifier of the first virtual character in the first group of virtual characters, and the current state of the first virtual character is the first state.
[0010] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned method for setting the virtual character state when running.
[0011] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program / instruction, which implements the steps of the above method when executed by a processor.
[0012] According to another aspect of the embodiments of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the method for setting the virtual character state through the computer program.
[0013] Through the above-mentioned embodiment provided by the present application, in the status display interface displaying the status identifiers of the first group of virtual characters and the status of the target virtual character, by responding to the trigger operation for the first status identifier in the status display interface, the first status identifier and its corresponding first state are directly copied to the target virtual character. In other words, by performing a one-key operation on the first status identifier in the status display interface, the state of the target virtual character can be set to the same state as the first virtual character, avoiding jumping between different display interfaces and reducing the operation steps in multiple display interfaces, thereby solving the technical problems of high complexity that arise in the process of setting the virtual character status and improving the convenience of setting the virtual character status. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] FIG1 is a schematic diagram of an application scenario of an optional method for setting a virtual character state according to an embodiment of the present application;
[0015] FIG2 is a flow chart of an optional method for setting a virtual character state according to an embodiment of the present application;
[0016] FIG3 is a schematic diagram of an optional method for setting a virtual character state according to an embodiment of the present application;
[0017] FIG4 is a schematic diagram of an optional method for setting a virtual character state according to an embodiment of the present application;
[0018] FIG5 is a schematic diagram of an optional method for setting a virtual character state according to an embodiment of the present application;
[0019] FIG6 is a schematic diagram of an optional method for setting a virtual character state according to an embodiment of the present application;
[0020] FIG7 is a schematic diagram of an optional method for setting a virtual character state according to an embodiment of the present application;
[0021] FIG8 is a schematic diagram of an optional method for setting a virtual character state according to an embodiment of the present application;
[0022] FIG9 is a schematic diagram of an optional switching virtual scene according to an embodiment of the present application;
[0023] FIG10 is a schematic diagram of an optional state replication and state setting after virtual scene switching according to an embodiment of the present application;
[0024] FIG11 is a schematic diagram of an optional state replication and state setting after virtual scene switching according to an embodiment of the present application;
[0025] FIG12 is a schematic diagram of an optional state replication and state setting after virtual scene switching according to an embodiment of the present application;
[0026] FIG13 is a schematic diagram of an optional display position of a change status indicator according to an embodiment of the present application;
[0027] FIG14 is a schematic diagram of an optional message notification after state replication according to an embodiment of the present application;
[0028] FIG15 is an overall flow chart of an optional method for setting a virtual character state according to an embodiment of the present application;
[0029] FIG16 is a timing diagram of an optional method for setting a virtual character state according to an embodiment of the present application;
[0030] FIG17 is a schematic structural diagram of an optional device for setting a virtual character state according to an embodiment of the present application;
[0031] FIG18 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] According to one aspect of an embodiment of the present application, a method for setting the status of a virtual character is provided. As an optional implementation, the above-mentioned method for setting the status of a virtual character can be, but is not limited to, applied to the application scenario shown in Figure 1. In the application scenario shown in Figure 1, the terminal device 102 can be, but is not limited to, communicating with the server 106 via the network 104, and the server 106 can be, but is not limited to, performing operations on the database 108, such as write data operations or read data operations. The above-mentioned terminal device 102 can be, but is not limited to, including a human-computer interaction screen, a processor, and a memory. The above-mentioned human-computer interaction screen can be, but is not limited to, used to display the status of the target virtual character, the status identifier of the first group of virtual characters, etc. The above-mentioned processor can be, but is not limited to, used to respond to the above-mentioned human-computer interaction operation, perform corresponding operations, or generate corresponding instructions and send the generated instructions to the server 106. The above-mentioned memory is used to store relevant processing data, such as the first status identifier, the relationship between the target account and the target virtual character, etc.
[0035] As an optional method, the following steps in the method for setting the virtual character status can be executed by the terminal device 102: Step S102, displaying the status identifier of the first group of virtual characters and the target virtual character in the status display interface of the target application, wherein the target virtual character is the virtual character controlled by the target account currently logged in to the target application; Step S104, in response to the trigger operation for the first status identifier in the status display interface, setting the current state of the target virtual character to the first state corresponding to the first status identifier, and displaying the status identifier of the target virtual character as the first status identifier in the status display interface, wherein the first status identifier is the status identifier of the first virtual character in the first group of virtual characters, and the current state of the first virtual character is the first state.
[0036] As an optional example, this embodiment does not limit the execution entity of the above steps S102 to S104. For example, the above steps S102 to S104 can be executed on the terminal device 102 or the server 106, or can be partially executed on the terminal device 102 and partially executed on the server 106 communicating with the terminal device 102.
[0037] Using the above method, in the status display interface displaying the status identifiers of the first group of virtual characters and the status of the target virtual character, by responding to a trigger operation on the first status identifier in the status display interface, the first status identifier is directly copied to the target virtual character, that is, the state of the first virtual character is copied to the target virtual character. In other words, by performing a one-click operation on the first status identifier in the status display interface, the state of the target virtual character can be set to the same state as the first virtual character, avoiding jumping between different display interfaces and reducing the operation steps in multiple display interfaces, thereby solving the high-complexity technical problem that arises in the process of setting the virtual character status and improving the convenience of setting the virtual character status.
[0038] In order to solve the above-mentioned problem of high complexity in the process of setting the virtual character status, an embodiment of the present application provides a method for setting the virtual character status. FIG2 is a flowchart of the method for setting the virtual character status according to an embodiment of the present application. The process includes the following steps:
[0039] Step S202: displaying the status identifiers of the first group of virtual characters and the target virtual character in the status display interface of the target application, wherein the target virtual character is the virtual character controlled by the target account currently logged into the target application;
[0040] It should be noted that in a virtual social scene, each user controls a virtual character image and sets a corresponding status for the virtual character to express his or her current mood or what he or she is doing.
[0041] It should be understood that the target application is an application that supports users to create and manipulate virtual characters. The target application can be, for example, a game application, a social application, a media playback application, a shopping application, etc. The status display interface is an interface in the target application for displaying the status of the virtual character. The status display interface can display the status identifiers of the first group of virtual characters and the target virtual character controlled by the target account currently logged in to the target application. Among them, the first group of virtual characters includes at least one virtual character related to the target virtual character, for example, it can be a virtual character controlled by a friend of the target account, for example, it can be a virtual character participating in the same game as the target virtual character controlled by the target account, and so on. The status identifier of the first group of virtual characters includes the status identifier of each virtual character in the first group of virtual characters, and the status identifier of the virtual character is used to identify the current status of the virtual character.
[0042] For example, as shown in FIG3(a), the status display interface of the target application in which the target account has logged in includes the target virtual character and a first group of virtual characters other than the target virtual character, such as Jessica, Xiao Lanlan, and Tom. The status identifiers of the first group of virtual characters indicate the status of each virtual character in the first group. For example, the status identifier of the virtual character Jessica indicates that Jessica is sleeping; the status identifier of the virtual character Xiao Lanlan indicates that Xiao Lanlan is eating, etc.
[0043] It is easy to understand that the above status display interface is only an example and is not limiting. For example, the number of virtual characters in the status display interface can also be 3, 4 or 5, and the status identifier of each virtual character can be any one of the pre-set status identifiers.
[0044] Step S204, in response to the trigger operation for the first state identifier in the state display interface, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface, wherein the first state identifier is the state identifier of the first virtual character in the first group of virtual characters, and the current state of the first virtual character is the first state.
[0045] In the embodiments of the present application, the status of each virtual character in the virtual scene includes, but is not limited to, two situations: one in which the status is empty, and the other in which a status is pre-set. Accordingly, the status of the virtual character shown in FIG3(a) also includes, but is not limited to, the above two situations. The following describes how to update the two different states of the virtual character to the first state identifier, respectively, using specific examples.
[0046] As an optional example, when the status identifiers of the first group of virtual characters and the target virtual character are displayed in the status display interface of the target application, it includes: displaying a status to be set identifier of the target virtual character in the status display interface, wherein the status to be set identifier indicates that the current status of the target virtual character is empty.
[0047] The above-mentioned setting the current state of the target virtual character to the first state corresponding to the first state identifier, and displaying the state identifier of the target virtual character as the first state identifier in the state display interface includes: setting the current state of the target virtual character to the first state, and updating the state identifier of the target virtual character from the state to be set identifier to the first state identifier in the state display interface.
[0048] As shown in (a) of Figure 3, assuming that the current status identifier of the target virtual character is the status to be set identifier, it means that no status has been pre-set for the target virtual character. After seeing the first status identifier of the first virtual character, if you want to set the status of the target virtual character to the first state corresponding to the first status identifier, you only need to perform a trigger operation on the first status identifier in the status display interface to change the status to be set identifier of the target virtual character to the first status identifier.
[0049] As shown in Figure 3(b), after a trigger operation is performed on the first state indicator, the target virtual character's state indicator is updated from the state to be set indicator to the first state indicator, and the target virtual character's state is switched to the first state. The trigger operation on the first state indicator includes, but is not limited to, long-pressing or dragging the first state indicator. The detailed process of the trigger operation is described below with reference to specific examples.
[0050] As another optional example, when the state identifiers of the first group of virtual characters and the target virtual character are displayed in the state display interface of the target application, the method further includes: displaying a third state identifier of the target virtual character in the state display interface, wherein the third state identifier indicates that the current state of the target virtual character is the third state;
[0051] The above-mentioned setting of the current state of the target virtual character to the first state corresponding to the first state identifier, and displaying the state identifier of the target virtual character as the first state identifier in the state display interface, also includes: updating the current state of the target virtual character from the third state to the first state, and updating the state identifier of the target virtual character from the third state identifier to the first state identifier in the state display interface.
[0052] As shown in (a) of Figure 4, assuming that the current state of the target virtual character is the third state corresponding to the third state identifier, after seeing the first state identifier of the first virtual character, if you want to set the state of the target virtual character to the first state corresponding to the first state identifier, then you only need to perform a trigger operation on the first state identifier in the state display interface to change the state identifier and state of the target virtual character.
[0053] As shown in (b) of Figure 4, after the trigger operation is performed on the first state identifier, the target virtual character state identifier is updated from the third state identifier to the first state identifier, wherein the trigger operation on the first state identifier includes but is not limited to a long press operation, a drag operation, etc. on the first state identifier.
[0054] As can be seen from the above embodiments, during the process of changing the status identifier of the target virtual character, the selection and operation of the first status identifier, as well as the display of the changed status identifier of the target virtual character, are all completed within the same status display interface of the target application. In other words, without having to switch status display interfaces, the status identifier and status of the target virtual character can be changed by performing a single-click operation on the first status identifier, thus reducing the number of steps required to set the virtual character's status, resolving the complex technical issues that arise during the virtual character status setting process, and improving the convenience of setting the virtual character's status.
[0055] As an optional example, when the status identifiers of the first group of virtual characters and the target virtual character are displayed in the status display interface of the target application, the method further includes: displaying action animations of the first group of virtual characters in the status display interface, wherein the action animations of the respective virtual characters in the first group of virtual characters correspond to the status identifiers of the respective virtual characters in the first group of virtual characters;
[0056] When the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface, the method further includes: displaying an action animation of the target virtual character in the state display interface;
[0057] Among them, the action animation of the target virtual character and the action animation of the first virtual character both correspond to the first state identifier, and the action animation of the target virtual character is the same as the action animation of the first virtual character; or, the action animation of the target virtual character is used to show that the target virtual character performs the first action, and the action animation of the first virtual character is used to show that the first virtual character performs the first action, and the first action corresponds to the first state identifier.
[0058] As can be seen from the embodiments shown in FIG3 and FIG4, after the trigger operation is performed on the first state identifier, the state identifier of the target virtual character can be set to the first state identifier. Then, after the setting is completed, the specific expression of the target virtual character in the state display interface includes but is not limited to at least one of the following:
[0059] (1) Update the image and status of the target virtual character
[0060] As shown in Figure 4, after setting the status identifier of the target virtual character according to the above-mentioned virtual character status setting method, the character image, action animation and third status identifier of the target virtual character are directly replaced with the character image, action animation and first status identifier of the first virtual character.
[0061] (2) Only update the status identifier of the target virtual character
[0062] As shown in (a) of Figure 5, assuming that the current state of the target virtual character is empty, then after setting the state identifier of the target virtual character according to the above-mentioned virtual character state setting method, only the state to be set identifier of the target virtual character is updated to the first state identifier, and the action performed by the target virtual character is changed to the same first action as the first virtual character, for example, the action of lifting dumbbells, and the image of the target virtual character does not change.
[0063] It can be seen that by adopting the technical solution in the embodiments of the present application, the status identification of the target virtual character, the action animation of the target virtual character and the character image of the target virtual character can be updated in part or in whole through one-click operation, thereby improving the efficiency of the virtual character status setting, improving the flexibility of the virtual character status setting, and increasing the fun of virtual social interaction.
[0064] As an optional example, in response to a triggering operation for a first state identifier in a state display interface, setting the current state of the target virtual character to the first state corresponding to the first state identifier, and displaying the state identifier of the target virtual character as the first state identifier in the state display interface includes:
[0065] In response to a first drag operation on the first state identifier in the state display interface, displaying a first copy identifier that moves following the first drag operation in the state display interface, wherein the first copy identifier is identical to the first state identifier;
[0066] When the first copy identifier moves into the preset determination area and the first drag operation is released, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface.
[0067] As shown in (a) of Figure 6, assuming that the current state of the target virtual character is the third state corresponding to the third state identifier, when the state of the target virtual character is set to the first state corresponding to the first state identifier, through the steps in the above-mentioned trigger operation (for example, long press for a preset time), for example, long press for 0.5 seconds, the first state identifier of the first virtual character is selected, and the state copy mode is entered, the first state identifier is copied, and a first copy identifier that is the same as the first state identifier is obtained.
[0068] By performing the first drag operation as shown in FIG6 (b), the first copy identifier moves following the first drag operation, and when the first copy identifier is moved to the preset determination area as shown in FIG6 (c), the first drag operation is stopped, and the current state of the target virtual character can be set to the first state corresponding to the first state identifier, for example, the state of lifting dumbbells as shown in FIG6 (d).
[0069] It should be noted that the above-mentioned preset determination area may be, but is not limited to, the area where the target virtual character is located and the preset area in the status display interface. The specific process of setting the target virtual character status according to the two different determination areas includes:
[0070] When the first copy identifier is moved to the area where the target virtual character is located and the first drag operation is released, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface, wherein the preset determination area is the area where the target virtual character is located; or
[0071] When the first copy identifier is moved to a preset area in the status display interface and the first drag operation is released, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the status display interface, wherein the preset judgment area is the preset area in the status display interface.
[0072] As shown in FIG6(c), when the first copy marker is moved to the preset determination area where the target virtual character is located, if the dragging operation on the first copy marker is stopped, the third state marker of the target virtual character is set to the first copy marker. At the same time, the state of the target virtual character is also updated to the first state corresponding to the first copy marker (first state marker), for example, the state of lifting dumbbells, as shown in FIG6(d).
[0073] It is easy to understand that the area where the target virtual character is located not only includes the location of the third state identifier as shown in FIG6 (c) and the location of the target virtual character, but can also be any location within the dotted box as shown in FIG6 (c). And there is no need to drag the first copy identifier completely into the dotted box. As long as the first copy identifier overlaps with the dotted box, it can be considered that the user wants to copy the first state corresponding to the first state identifier to the target virtual character. The client where the target account is located can send the ID parameter of the first state identifier to the background, and the background responds to the setting and sets the state of the target virtual character to the first state corresponding to the first state identifier.
[0074] In addition to the area where the target virtual character is located, a preset area in the status display interface shown in FIG. 7(a) can also be set as a preset determination area. Specifically, when the first copy marker is moved to the preset determination area shown in FIG. 7(a), if the dragging operation on the first copy marker is stopped, the third state marker of the target virtual character can be set to the first copy marker. At the same time, the state of the target virtual character is also updated to the first state corresponding to the first copy marker (first state marker), for example, the state of lifting dumbbells, as shown in FIG. 7(b).
[0075] Obviously, the preset area in the status display interface shown in FIG7 is only an example and is not limited thereto. For example, it may also be a designated area on the left side, right side, or above the target virtual character.
[0076] Using the above method, by displaying the first copy identifier that follows the first drag operation in the status display interface, when the first copy identifier moves to the preset judgment area, the first status identifier is automatically copied to the target virtual character, and the status of the target virtual character is displayed as the first status corresponding to the first status identifier, thereby improving the convenience of virtual character status setting.
[0077] As an optional example, the trigger operation on the first state indicator may be performed by the following state copy operation in addition to the first drag operation on the first copy indicator in the above embodiment:
[0078] In response to a long press operation on the first state identifier in the state display interface, displaying a state copy control in the state display interface, wherein the state copy control is used to copy the current state of the first virtual character to the target virtual character;
[0079] In response to a trigger operation on the state copy control in the state display interface, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface.
[0080] As shown in Figure 8(a), in the status display interface, long-press the first status indicator to display the status copy tab, and then select "Copy" or "Don't Copy" to determine whether to copy the first status indicator. If the "Copy" control is selected, the first status indicator and its corresponding first status are directly copied to the target virtual character. For details, please refer to Figure 8(b).
[0081] It should be noted that, unlike the above-mentioned method of setting the target virtual character state by long pressing the first state identifier + dragging the first copy identifier, in the embodiment of the present application, the setting of the target virtual character state can be achieved by long pressing the first state identifier + selecting the state option, which can reduce the response time of the state copy and improve the efficiency of the state setting.
[0082] In the status display interface of the target application, the actual virtual scene (e.g., the status square) is usually composed of multiple different local virtual scenes. The status display interface displayed after logging into the target application is usually the default local virtual scene, such as the local virtual scene to which the target virtual character belongs. However, when it is necessary to switch from a local virtual scene to another local virtual scene, this can be achieved by switching the display scene of the status square, and the status identifier in the switched local virtual scene can be set as the status identifier of the target virtual character, specifically including:
[0083] In response to a scene switching operation triggered in the status display interface, the virtual scene displayed in the status display interface is switched from the first partial virtual scene to the second partial virtual scene, and status identifiers of the second group of virtual characters located in the second partial virtual scene are displayed, wherein the status identifiers of the first group of virtual characters are located in the first partial virtual scene;
[0084] In response to a trigger operation for the second state identifier in the state display interface, the current state of the target virtual character is set to the second state corresponding to the second state identifier, and the state identifier of the target virtual character is displayed as the second state identifier in the state display interface, wherein the second state identifier is the state identifier of the second virtual character in the second group of virtual characters, and the current state of the second virtual character is the second state.
[0085] As shown in Figure 9 (a), assuming that the first local virtual scene is the local virtual scene displayed by default when the status display interface is opened, and the status identifier that the target account wants to set is displayed in the second local virtual scene, then by executing the scene switching operation, the virtual scene displayed in the status display interface is switched from the first local virtual scene to the second local virtual scene as shown in Figure 9 (b).
[0086] It is easy to understand that the first local virtual scene and the second local virtual scene are different local virtual scenes that exist simultaneously in the status square. Through switching operations, the local virtual scene displayed in the status display interface can be any one of the first local virtual scene and the second local virtual scene.
[0087] Using the same method as the trigger operation performed on the first state identifier, a trigger operation can be performed on the second state identifier in the second partial virtual scene to set the current state of the target virtual character to the second state corresponding to the second state identifier.
[0088] It should be noted that, in the process of switching the first partial virtual scene in the status display interface to the second partial virtual scene by executing the scene switching operation, only the partial virtual scene is switched, but the target virtual character is still located in the first partial virtual scene. In this case, the current state of the target virtual character is set to the second state corresponding to the second state identifier as follows:
[0089] When the target virtual character is located in the first partial virtual scene, in response to a second drag operation on the second state identifier in the state display interface, a second copy identifier that moves following the second drag operation is displayed in the state display interface, wherein the second copy identifier is identical to the second state identifier;
[0090] When the second copy mark moves across scenes to the first partial virtual scene, the virtual scene displayed in the status display interface is switched from the second partial virtual scene to the first partial virtual scene;
[0091] When the second copy identifier moves to the area where the target virtual character is located and the second drag operation is released, the current state of the target virtual character is set to the second state corresponding to the second state identifier, and the state identifier of the target virtual character located in the first local virtual scene is displayed as the second state identifier.
[0092] As shown in (a) of Figure 10, when the virtual scene displayed in the status interface is switched from the first local virtual scene to the second local virtual scene, the target virtual character is still located in the first local virtual scene, and the second state identifier is located in the second local virtual scene. By performing a second drag operation on the second state identifier, the second copy identifier corresponding to the second state identifier is moved from the second local virtual scene to the first local virtual scene, and when the second copy identifier is moved to the preset judgment area in the first local virtual scene, the second drag operation on the second copy identifier is released, and the status identifier of the target virtual character can be switched to the second state identifier, and the current state of the target virtual character is switched to the second state corresponding to the second state identifier.
[0093] It should be noted that, depending on the distance between the virtual scenes, the first partial virtual scene and the second partial virtual scene can be two virtual scenes whose distance is greater than or equal to a predetermined distance threshold, for example, two adjacent virtual scenes in the status square; or they can be two virtual scenes without any overlapping parts, for example, there are other virtual scenes between the first partial virtual scene and the second partial virtual scene. For the first partial virtual scene and the second partial virtual scene in both cases, the method for setting the target virtual character state further includes:
[0094] In a case where the distance between the first partial virtual scene and the second partial virtual scene is greater than or equal to a predetermined distance threshold, when the second copy identifier moves away from the second partial virtual scene, the virtual scene displayed in the status display interface is switched from the second partial virtual scene to the first partial virtual scene; or
[0095] In the case where there is no overlapping portion between the first partial virtual scene and the second partial virtual scene, when the second copy marker moves away from the second partial virtual scene, the virtual scene displayed in the status display interface is switched from the second partial virtual scene to the first partial virtual scene.
[0096] The following further describes the implementation of the method for setting the target virtual character state in conjunction with specific embodiments.
[0097] Example 1
[0098] As shown in FIG11( a ), assuming that the distance d between the first partial virtual scene and the second partial virtual scene is greater than or equal to the predetermined distance threshold Th, and the first partial virtual scene and the second partial virtual scene are two adjacent virtual scenes, then the specific steps of setting the current state of the target virtual character to the second state represented by the second state identifier are as follows:
[0099] S1102, long press the second status indicator to enter the status copy mode;
[0100] The second state identifier is located in the second local virtual scene. By long pressing the second state identifier, for example, long pressing for 0.5 seconds, a second copy identifier is displayed in the second local virtual scene, wherein the second copy identifier is the same as the second state identifier.
[0101] Obviously, the above-mentioned long press of 0.5 seconds is only an example and is not limited thereto. For example, it can also be a long press of 0.3 seconds, a long press of 0.6 seconds, etc. And by presetting the long press time, it is possible to avoid conflicts with the gesture of sliding the screen.
[0102] S1104, executing step ①, performing a second drag operation on the second copy marker, so that the second copy marker follows the second drag operation and moves to the edge of the state interface where the second virtual scene is located;
[0103] S1106, through step ②, continue to perform the second drag operation, so that the second copy mark moves out of the second partial virtual scene and enters the first partial virtual scene;
[0104] S1108, executing step ③, when the second copy marker is moved to the area where the target virtual character is located in the first partial virtual scene, or to the preset area in the status display interface, releasing the second drag operation;
[0105] S1110: Set the current state of the target virtual character to the second state corresponding to the second state identifier.
[0106] For example, as shown in FIG11( b ), assuming that the state corresponding to the second state identifier is the sleeping state, the current state of the target virtual character is set to the sleeping state through the above steps S1102 to S1110 .
[0107] Example 2
[0108] As shown in FIG. 12( a ), it is assumed that there is a third local virtual scene between the first local virtual scene and the second local virtual scene, that is, there is no overlapping portion between the first local virtual scene and the second local virtual scene.
[0109] As shown in FIG12(b), in the second partial virtual scene, long-pressing the second state indicator enters the state copy mode and displays the second copy indicator, wherein the second copy indicator is identical to the second state indicator. When the second copy indicator is moved away from the second partial virtual scene, the virtual scene displayed in the state display interface jumps from the second partial virtual scene to the first partial virtual scene, and the second copy indicator is moved to the first partial virtual scene.
[0110] When the second copy identifier is moved to the preset judgment area in the first local virtual scene, the second copy identifier is applied to the target virtual character, so that the status identifier of the target virtual character is updated to the second copy identifier, and the current state of the target virtual character is updated to the second state corresponding to the second copy identifier, for example, the sleeping state.
[0111] It can be seen from the above-mentioned Examples 1 and 2 that after the virtual scenes in the status display interface are switched, different methods can be used to set the status desired by the user according to the distance between the switched virtual scenes, thereby improving the flexibility of the target virtual character status setting and the applicability of the status setting.
[0112] As an optional example, in the case where the current state of the target virtual character is set to the second state corresponding to the second state identifier, the method further includes:
[0113] Within a preset time period, if the target state is replicated a number of times reaches a preset threshold, the display position of the state identifier of the second virtual character is moved from the second partial virtual scene to the first partial virtual scene, wherein the target state replication number represents the number of times the current state of the second virtual character is replicated for the target virtual character;
[0114] The first local virtual scene is the local virtual scene displayed by default when the status display interface is opened.
[0115] As shown in Figure 13(a), assume that the second virtual character is located in the second partial virtual scene, and the second virtual character's status identifier is status identifier 1, and the target virtual character is located in the first partial virtual scene. Assume that the number of times status identifier 1 is copied in the historical period is 6, and the preset number threshold is 5. In this case, the display position of status identifier 1 is switched from the second partial virtual scene to the first partial virtual scene, so that the distance between status identifier 1 and the target virtual character is closer, as shown in Figure 13(b).
[0116] It should be noted that the reason for changing the display position of the above-mentioned status identifier 1 is, on the one hand, to determine the second virtual character as a close friend of the target virtual character based on the number of times the status identifier 1 is copied; on the other hand, for the status identifier 1 that is frequently set by the user, it is displayed at a position closer to the target virtual character, for example, displayed in the first local virtual scene, which can improve the convenience of triggering the status identifier 1 and further improve the response efficiency of the status setting.
[0117] As an optional example, in the case where the current state of the target virtual character is set to the first state corresponding to the first state identifier, the method further includes:
[0118] A status notification message is sent to the first account, wherein the first virtual character is a virtual character controlled by the first account, and the status notification message is used to prompt the first account that the current status of the first virtual character is copied by the target virtual character.
[0119] As shown in FIG. 14 ( a ), it is assumed that the target application includes an account list, wherein the account list includes multiple different accounts, and each account corresponds to a virtual character and an initial status icon of the virtual character.
[0120] Assuming the first virtual character in Figure 3 is a virtual character controlled by a first account, after executing a trigger operation to copy the first state identifier and set the first state represented by the first copy identifier as the current state of the target virtual character, a status notification message as shown in Figure 14(b) will be displayed in the conversation column of the first account, such as "Xiao Ming copied your state 2 seconds ago," to inform the first account that the state of the virtual character controlled by the first account has been copied by the target account. Furthermore, by selecting the "View" option, the first account can view the updated target virtual character's action animation and state identifier in the virtual scene.
[0121] Through the above-mentioned status notification method, the first account whose status is copied can be notified in time after the status of the virtual character is copied, which increases the fun of virtual social interaction. At the same time, through the notification information, the first account whose status is copied can also check the updated status of the target virtual character in time, which improves the timeliness of obtaining status copy information.
[0122] In order to better understand the above-mentioned method for setting the virtual character status of the present application, it is further described below in conjunction with the overall flow chart shown in Figure 15.
[0123] S1502: The user long presses the status indicator to enter the status copy mode;
[0124] For example, as shown in FIG11( b ), after long pressing the second state mark for 0.5 seconds, the second copy mark will be displayed.
[0125] S1504, drag the second copy mark in the status display interface,
[0126] The second copy marker moves following the second drag operation, and before the second drag operation is released, the second copy marker can be moved to a different display position in the same local virtual scene or different local virtual scenes.
[0127] S1506, release the finger, and release the drag operation;
[0128] S1508, determining whether the status indicator has been moved to a preset determination area;
[0129] For example, if the state marker is not moved into the preset determination area where the target virtual character is located when the drag operation is released, the copy operation is exited (step S1512);
[0130] If the state indicator is moved into the preset determination area where the target virtual character is located when the drag operation is released, step S1510 is executed.
[0131] S1510, setting the state of the target virtual character to the target state;
[0132] For example, as shown in FIG11( b ), the state of the target virtual character is set to the second state corresponding to the second state identifier, for example, the sleeping state.
[0133] It should be noted that, after the state setting is completed, the second copy mark being dragged acts on the target virtual character and disappears from the first partial virtual scene.
[0134] S1512, exit copying.
[0135] In order to more clearly understand the various embodiments of this application, the following describes the method for setting the virtual character status from the perspective of the interaction process between the target account (user), the client (product side) and the backend (logic layer) in conjunction with the timing diagram shown in Figure 16. Specifically, it includes:
[0136] S1602: The user performs a long press operation on the target state identifier;
[0137] For example, after long pressing the target status icon for 0.5 seconds, the state copy mode is entered, and a copy icon identical to the target status icon is displayed in the status display interface.
[0138] S1604, drag the copy marker and release the drag operation at the specified position;
[0139] S1606, determining whether the copy mark overlaps with the area where the target virtual character is located;
[0140] The judgment criteria include but are not limited to the preset judgment area where the target virtual character is located as shown in FIG. 6 (c) and the preset area in the status display interface as shown in FIG. 7 (a).
[0141] S1608: If the result of the determination is that there is an area overlap, the state ID of the target state is transmitted to the backend;
[0142] The state of each virtual character corresponds to a state ID.
[0143] S1610, the background sets the state of the target virtual character to a new state;
[0144] Obviously, the new state refers to the state indicated by the target state identifier, for example, the sleep state corresponding to the second state identifier shown in FIG11( b ).
[0145] S1612: Display the action animation of the target virtual character in the new state in the target application where the target account is located.
[0146] Through the above-mentioned embodiments provided by the present application, the state of the target virtual character can be set to the same state as the first virtual character by performing a one-click operation on the first state identifier in the state display interface, thereby avoiding jumping between different display interfaces and reducing the operation steps in multiple display interfaces, thereby solving the highly complex technical problems that arise in the process of setting the virtual character state and improving the convenience of setting the virtual character state.
[0147] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0148] According to another aspect of an embodiment of the present application, a device for setting a virtual character state is provided as shown in FIG11 , the device comprising:
[0149] The first display unit 1702 is configured to display the status identifiers of the first group of virtual characters and the target virtual character in the status display interface of the target application, wherein the target virtual character is the virtual character controlled by the target account currently logged into the target application;
[0150] The first processing unit 1704 is used to set the current state of the target virtual character to the first state corresponding to the first state identifier in response to the trigger operation for the first state identifier in the state display interface, and display the state identifier of the target virtual character as the first state identifier in the state display interface, wherein the first state identifier is the state identifier of the first virtual character in the first group of virtual characters, and the current state of the first virtual character is the first state.
[0151] Optionally, the first processing unit 1704 includes:
[0152] a first processing module, configured to, in response to a first drag operation on a first state identifier in a state display interface, display a first copy identifier in the state display interface that moves following the first drag operation, wherein the first copy identifier is identical to the first state identifier;
[0153] The first setting module is used to set the current state of the target virtual character to the first state corresponding to the first state identifier when the first copy identifier moves to the preset judgment area and the first drag operation is released, and display the state identifier of the target virtual character as the first state identifier in the state display interface.
[0154] Optionally, the first setting module includes:
[0155] a first processing submodule, configured to, when the first copy identifier is moved to the area where the target virtual character is located and the first drag operation is released, set the current state of the target virtual character to a first state corresponding to the first state identifier, and display the state identifier of the target virtual character as the first state identifier in the state display interface, wherein the preset determination area is the area where the target virtual character is located;
[0156] or,
[0157] The second processing submodule is used to set the current state of the target virtual character to the first state corresponding to the first state identifier when the first copy identifier is moved to a preset area in the status display interface and the first drag operation is released, and display the status identifier of the target virtual character as the first state identifier in the status display interface, wherein the preset judgment area is the preset area in the status display interface.
[0158] Optionally, the first processing unit 1704 includes:
[0159] a second processing module, configured to display a state copy control in the state display interface in response to a long press operation on the first state identifier in the state display interface, wherein the state copy control is used to copy the current state of the first virtual character to the target virtual character;
[0160] The third processing module is used to set the current state of the target virtual character to the first state corresponding to the first state identifier in response to the trigger operation of the state copy control in the state display interface, and display the state identifier of the target virtual character as the first state identifier in the state display interface.
[0161] Optionally, the above device further includes:
[0162] a second processing unit, configured to, in response to a scene switching operation triggered in the status display interface, switch the virtual scene displayed in the status display interface from the first partial virtual scene to the second partial virtual scene, and display status identifiers of the second group of virtual characters located in the second partial virtual scene, wherein the status identifiers of the first group of virtual characters are located in the first partial virtual scene;
[0163] The third processing unit is used to set the current state of the target virtual character to the second state corresponding to the second state identifier in response to the trigger operation for the second state identifier in the state display interface, and display the state identifier of the target virtual character as the second state identifier in the state display interface, wherein the second state identifier is the state identifier of the second virtual character in the second group of virtual characters, and the current state of the second virtual character is the second state.
[0164] Optionally, the third processing unit includes:
[0165] a fourth processing module configured to, when the target virtual character is located in the first partial virtual scene, display, in the status display interface, a second copy identifier that moves following the second drag operation in response to a second drag operation on the second status identifier in the status display interface, wherein the second copy identifier is identical to the second status identifier;
[0166] A fifth processing module is configured to switch the virtual scene displayed in the status display interface from the second partial virtual scene to the first partial virtual scene when the second copy identifier moves across scenes to the first partial virtual scene;
[0167] The sixth processing module is used to set the current state of the target virtual character to the second state corresponding to the second state identifier when the second copy identifier moves to the area where the target virtual character is located and the second drag operation is released, and display the state identifier of the target virtual character located in the first local virtual scene as the second state identifier.
[0168] Optionally, the fifth processing module includes:
[0169] a third processing submodule, configured to, if the distance between the first partial virtual scene and the second partial virtual scene is greater than or equal to a predetermined distance threshold, switch the virtual scene displayed in the status display interface from the second partial virtual scene to the first partial virtual scene when the second copy marker moves away from the second partial virtual scene;
[0170] or,
[0171] In the case where there is no overlapping portion between the first partial virtual scene and the second partial virtual scene, when the second copy marker moves away from the second partial virtual scene, the virtual scene displayed in the status display interface is switched from the second partial virtual scene to the first partial virtual scene.
[0172] Optionally, the third processing unit further includes:
[0173] a seventh processing module, configured to move the display position of the state identifier of the second virtual character from the second partial virtual scene to the first partial virtual scene if the target state is replicated a number of times within a preset time period, wherein the target state is replicated a number of times the current state of the second virtual character is replicated for the target virtual character;
[0174] The first local virtual scene is the local virtual scene displayed by default when the status display interface is opened.
[0175] Optionally, the above device further includes:
[0176] The fourth processing unit is configured to send a status notification message to the first account, wherein the first virtual character is a virtual character controlled by the first account, and the status notification message is configured to notify the first account that the current status of the first virtual character is copied by the target virtual character.
[0177] Optionally, the above device further includes:
[0178] a second display unit, configured to display a third state identifier of the target virtual character in the state display interface when displaying the state identifiers of the first group of virtual characters and the target virtual character in the state display interface of the target application, wherein the third state identifier indicates that the current state of the target virtual character is the third state;
[0179] The updating unit is configured to update the current state of the target virtual character from the third state to the first state, and update the state identifier of the target virtual character from the third state identifier to the first state identifier in the state display interface.
[0180] Optionally, the first display unit 1702 includes:
[0181] A first display module is configured to display a status pending setting indicator of the target virtual character in the status display interface, wherein the status pending setting indicator indicates that the current status of the target virtual character is empty;
[0182] The eighth processing module is configured to set the current state of the target virtual character to the first state, and update the state indicator of the target virtual character from the state to be set indicator to the first state indicator in the state display interface.
[0183] Optionally, the first display unit 1702 further includes:
[0184] A second display module is configured to display action animations of the first group of virtual characters in a status display interface, wherein the action animations of the respective virtual characters in the first group of virtual characters correspond to status identifiers of the respective virtual characters in the first group of virtual characters;
[0185] The first processing unit 1704 includes:
[0186] A third display module is used to display the action animation of the target virtual character in the status display interface;
[0187] Among them, the action animation of the target virtual character and the action animation of the first virtual character both correspond to the first state identifier, and the action animation of the target virtual character is the same as the action animation of the first virtual character; or, the action animation of the target virtual character is used to show that the target virtual character performs the first action, and the action animation of the first virtual character is used to show that the first virtual character performs the first action, and the first action corresponds to the first state identifier.
[0188] By applying the above-mentioned device to perform a one-click operation on the first status identifier in the status display interface, the status of the target virtual character can be set to the same status as the first virtual character, avoiding jumping between different display interfaces and reducing the operation steps in multiple display interfaces, thereby solving the highly complex technical problems that arise in the process of setting the virtual character status and improving the convenience of setting the virtual character status.
[0189] It should be noted that the embodiment of the device for setting the virtual character status here can refer to the embodiment of the method for setting the virtual character status described above, which will not be described in detail here.
[0190] According to another aspect of the embodiments of the present application, an electronic device for implementing the above-mentioned method for setting the virtual character status is also provided. The electronic device may be the terminal device shown in Figure 18. This embodiment is described using the electronic device as a background device as an example. As shown in Figure 18, the electronic device includes a memory 1802 and a processor 1804. The memory 1802 stores a computer program, and the processor 1804 is configured to execute the steps of any of the above-mentioned method embodiments through the computer program.
[0191] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0192] Optionally, in this embodiment, the processor may be configured to execute the method for setting the virtual character status provided in the embodiment of the present application through a computer program.
[0193] Alternatively, those skilled in the art will appreciate that the structure shown in FIG18 is merely illustrative, and the electronic device may also be a target terminal such as a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, and a mobile internet device (MID), a PAD, etc. FIG18 does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components (such as a network interface, etc.) than those shown in FIG18 , or may have a configuration different from that shown in FIG18 .
[0194] Memory 1802 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and apparatus for setting the virtual character status in the embodiments of the present application. Processor 1804 executes the software programs and modules stored in memory 1802 to execute various functional applications and data processing, thereby implementing the aforementioned method for setting the virtual character status. Memory 1802 may include high-speed random access memory (RAM) 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 embodiments, memory 1802 may further include memory remote from processor 1804, which can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Memory 1802 may specifically, but is not limited to, be used to store the status identifiers of the first set of virtual characters, the target account number, and the status ID of each status identifier. As an example, as shown in FIG. 18 , memory 1802 may, but is not limited to, include the first display unit 1702 and the first processing unit 1704 of the apparatus for setting the virtual character status. In addition, other module units in the above-mentioned device for setting the virtual character status may also be included but not limited to, which will not be described in detail in this example.
[0195] Optionally, the transmission device 1806 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1806 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 one embodiment, the transmission device 1806 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0196] In addition, the electronic device further includes: a display 1808 for displaying the target message sent by the target account; and a connection bus 1810 for connecting various module components in the electronic device.
[0197] In other embodiments, the target terminal or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes via network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0198] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the method for setting the virtual character state provided in various optional implementations of the above-mentioned server verification processing and other aspects, wherein the computer program is configured to perform the steps of any of the above-mentioned method embodiments when running.
[0199] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a method for executing the virtual character status setting method provided in the embodiment of the present application.
[0200] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the target terminal through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0201] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0202] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.
[0203] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0204] 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 is merely a logical functional division. In actual implementation, there may be other division methods, such as combining or integrating multiple units or components into another system, or ignoring or not implementing some features. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interface, indirect coupling or communication connection of units or modules, and may be electrical or other forms.
[0205] Units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0206] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0207] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for setting a virtual character state, executed by an electronic device, include: Displaying the status identifiers of the first group of virtual characters and the target virtual character in the status display interface of the target application, wherein the target virtual character is the virtual character controlled by the target account currently logged in to the target application; In response to a trigger operation on a first state identifier in the state display interface, the current state of the target virtual character is set to a first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface, wherein the first state identifier is the state identifier of the first virtual character in the first group of virtual characters, and the current state of the first virtual character is the first state.
2. The method according to claim 1, wherein in response to a trigger operation on a first state identifier in the state display interface, the current state of the target virtual character is set to a first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface, include: In response to a first drag operation on the first state identifier in the state display interface, displaying a first copy identifier moving following the first drag operation in the state display interface, wherein the first copy identifier is the same as the first state identifier; When the first copy identifier is moved to a preset determination area and the first drag operation is released, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface.
3. The method according to claim 2, wherein when the first copy mark is moved to a preset determination area and the first drag operation is released, the current state of the target virtual character is set to the first state corresponding to the first state mark, and the state mark of the target virtual character is displayed as the first state mark in the state display interface, include: When the first copy mark is moved to the area where the target virtual character is located and the first drag operation is released, the current state of the target virtual character is set to the first state corresponding to the first state mark, and the state mark of the target virtual character is displayed as the first state mark in the state display interface, wherein the preset determination area is the area where the target virtual character is located; or, When the first copy identifier is moved to a preset area in the status display interface and the first drag operation is released, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the status identifier of the target virtual character is displayed as the first state identifier in the status display interface, wherein the preset determination area is a preset area in the status display interface.
4. The method according to claim 1, wherein in response to a trigger operation for a first state identifier in the state display interface, the current state of the target virtual character is set to a first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface, include: In response to a long press operation on the first state identifier in the state display interface, displaying a state copy control in the state display interface, wherein the state copy control is used to copy the current state of the first virtual character to the target virtual character; In response to a trigger operation on the state copy control in the state display interface, the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface.
5. The method according to any one of claims 1 to 4, further comprising: include: In response to a scene switching operation triggered in the status display interface, the virtual scene displayed in the status display interface is switched from the first local virtual scene to the second local virtual scene, and the status identifiers of the second group of virtual characters located in the second local virtual scene are displayed, wherein the status identifiers of the first group of virtual characters are located in the first local virtual scene. In a local virtual scene; In response to a trigger operation for a second state identifier in the state display interface, the current state of the target virtual character is set to a second state corresponding to the second state identifier, and the state identifier of the target virtual character is displayed as the second state identifier in the state display interface, wherein the second state identifier is the state identifier of the second virtual character in the second group of virtual characters, and the current state of the second virtual character is the second state.
6. The method according to claim 5, wherein in response to a trigger operation for a second state identifier in the state display interface, the current state of the target virtual character is set to a second state corresponding to the second state identifier, and the state identifier of the target virtual character is displayed as the second state identifier in the state display interface, include: When the target virtual character is located in the first partial virtual scene, in response to a second drag operation on the second state identifier in the state display interface, a second copy identifier that moves following the second drag operation is displayed in the state display interface, wherein the second copy identifier is the same as the second state identifier; When the second copy mark moves across scenes to the first partial virtual scene, the virtual scene displayed in the status display interface is switched from the second partial virtual scene to the first partial virtual scene; When the second copy identifier is moved to the area where the target virtual character is located and the second drag operation is released, the current state of the target virtual character is set to the second state corresponding to the second state identifier, and the state identifier of the target virtual character located in the first local virtual scene is displayed as the second state identifier.
7. The method according to claim 6, wherein when the second copy mark moves across scenes to the first partial virtual scene, the virtual scene displayed in the status display interface is switched from the second partial virtual scene to the first partial virtual scene, include: In the case where the distance between the first local virtual scene and the second local virtual scene is greater than or equal to a predetermined distance threshold, when the second copy mark moves away from the second local virtual scene, the virtual scene displayed in the status display interface is switched from the second local virtual scene to the first local virtual scene; or, In the case where there is no overlapping portion between the first local virtual scene and the second local virtual scene, when the second copy marker moves away from the second local virtual scene, the virtual scene displayed in the status display interface is switched from the second local virtual scene to the first local virtual scene.
8. The method according to any one of claims 5 to 7, wherein when the current state of the target virtual character is set to the second state corresponding to the second state identifier, the method further include: Within a preset time, if the target state is copied a certain number of times, the display position of the state identifier of the second virtual character is moved from the second local virtual scene to the first local virtual scene, wherein the target state is copied a certain number of times for the target virtual character. The first local virtual scene is a local virtual scene displayed by default when the status display interface is opened.
9. The method according to any one of claims 1 to 8, wherein, when the current state of the target virtual character is set to the first state corresponding to the first state identifier, the method further include: Sending status notification information to a first account, wherein the first virtual character is a virtual character controlled by the first account, and the status notification information is used to prompt the first account that a current status of the first virtual character is copied by the target virtual character.
10. The method according to any one of claims 1 to 9, wherein when displaying the status identifiers of the first group of virtual characters and the target virtual character in the status display interface of the target application, the method further include: Displaying a third state identifier of the target virtual character in the state display interface, wherein the third state identifier indicates that the current state of the target virtual character is the third state; The current state of the target virtual character is set to the first state corresponding to the first state identifier, and Displaying the state identifier of the target virtual character as the first state identifier in the state display interface includes: The current state of the target virtual character is updated from the third state to the first state, and the state identifier of the target virtual character is updated from the third state identifier to the first state identifier in the state display interface.
11. The method according to any one of claims 1 to 9, wherein when displaying the status identifiers of the first group of virtual characters and the target virtual character in the status display interface of the target application, the method further include: Displaying a status to be set mark of the target virtual character in the status display interface, wherein the status to be set mark indicates that the current status of the target virtual character is empty; The step of setting the current state of the target virtual character to the first state corresponding to the first state identifier, and displaying the state identifier of the target virtual character as the first state identifier in the state display interface includes: The current state of the target virtual character is set as the first state, and the state indicator of the target virtual character is updated from the state to be set indicator to the first state indicator in the state display interface.
12. The method according to any one of claims 1 to 9, when displaying the status identifiers of the first group of virtual characters and the target virtual character in the status display interface of the target application, the method further include: Displaying the action animation of the first group of virtual characters in the status display interface, wherein the action animation of each virtual character in the first group of virtual characters corresponds to the status identifier of each virtual character in the first group of virtual characters; When the current state of the target virtual character is set to the first state corresponding to the first state identifier, and the state identifier of the target virtual character is displayed as the first state identifier in the state display interface, the method further includes: Displaying the action animation of the target virtual character in the status display interface; Among them, the action animation of the target virtual character and the action animation of the first virtual character both correspond to the first state identifier, and the action animation of the target virtual character is the same as the action animation of the first virtual character; or, the action animation of the target virtual character is used to show that the target virtual character performs a first action, and the action animation of the first virtual character is used to show that the first virtual character performs the first action, and the first action corresponds to the first state identifier.
13. A device for setting the state of a virtual character, include: A first display unit, configured to display the status identifiers of the first group of virtual characters and a target virtual character in a status display interface of a target application, wherein the target virtual character is a virtual character controlled by a target account currently logged into the target application; A first processing unit is used to set the current state of the target virtual character to a first state corresponding to the first state identifier in response to a trigger operation on the first state identifier in the state display interface, and display the state identifier of the target virtual character as the first state identifier in the state display interface, wherein the first state identifier is the state identifier of the first virtual character in the first group of virtual characters, and the current state of the first virtual character is the first state.
14. A computer-readable storage medium, the computer-readable storage medium comprising a stored program, in, When the program is executed by a processor, the method according to any one of claims 1 to 12 is executed.
15. A computer program product comprising a computer program / instructions, which when executed by a processor implement the steps of the method according to any one of claims 1 to 12.
16. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 12 through the computer program.
