Method and device for setting virtual character state, computer program and electronic device
The method allows users to directly set virtual character states from a single interface using state icons, addressing the inefficiency of existing multi-interface methods and improving the convenience of state-setting operations.
Patent Information
- Application Number
- JP2024534415
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-23
- Filing Date
- 2023-06-09
- Publication Date
- 2025-02-04
- Estimated Expiration
- 2043-06-09
AI Technical Summary
The existing methods for setting virtual character states in virtual social scenes require users to switch between multiple interfaces, leading to complex and inefficient operations.
A method and device that allow users to set virtual character states directly from a single interface by using state icons, enabling users to copy the state of one virtual character to another without switching interfaces.
This approach simplifies the state-setting process by reducing the number of operations required, enhancing convenience and efficiency in setting virtual character states.
Smart Images

Figure 2025503405000001_ABST
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application, application number 202211015071X, entitled "Method and device for setting virtual character state, storage medium and electronic device," filed with the China Patent Office on August 23, 2022, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the field of computer technology, and more particularly to technology for controlling virtual characters. [Background technology]
[0003] In a virtual social scene, in order to realize the user's individual expression, the user is usually supported to set a state for the virtual character controlled by the user. For example, setting an action state of eating indicates that the virtual character controlled by the user is eating, and setting an action state of lifting a dumbbell indicates that the virtual character controlled by the user is doing fitness. In order to increase the entertainment value of the interaction between users, when a target user finds that an interesting state is set for a reference virtual character controlled by another friend, the target user can also set the state of the target virtual character controlled by the user to the same state as the reference virtual character.
[0004] In the related technology, a method for setting the state of a target virtual character includes selecting a reference virtual character in a state display interface of a target application, clicking to enter a character detail page of the reference virtual character, and copying the state of the reference virtual character to the target virtual character through a state setting control in the character detail page. When the target user returns to the state display interface, he or she can confirm that the state of the target virtual character has been changed to the same state as the state of the reference virtual character.
[0005] However, the method for setting the virtual character state requires switching from the state display interface of the target application to the character detail page of the reference virtual character, and then returning from the character detail page to the state display interface again before the state change of the target virtual character can be confirmed, which means that the state setting of the virtual character needs to be realized in different interfaces, which makes the operation complicated and the efficiency of the state setting poor. Summary of the Invention [Problem to be solved by the invention]
[0006] The embodiments of the present application provide a method and device for setting a virtual character state, a storage medium, and an electronic device that can simplify the operation for setting a virtual character state and improve the efficiency of setting the virtual character state. [Means for solving the problem]
[0007] According to one aspect of an embodiment of the present application, there is provided a method for setting a virtual character state executed by an electronic device, the method including: displaying, in a state display interface of a target application, state icons of a first set of virtual characters and a target virtual character, which is a virtual character of a target account currently registered in the target application; and, in response to a trigger operation on the first state icon in the state display interface, setting a current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface, wherein the first state icon is a state icon of a first virtual character in the first set of virtual characters, and the current state of the first virtual character is the first state.
[0008] According to another aspect of an embodiment of the present application, there is further provided a virtual character state setting device including: a first display unit for displaying, in a state display interface of the target application, a state icon of a first set of virtual characters and a target virtual character, which is a virtual character of a target account currently registered in the target application; and a first processing unit for setting a current state of the target virtual character to a first state corresponding to the first state icon in response to a trigger operation on the first state icon in the state display interface, and displaying the first state icon as the state icon of the target virtual character in the state display interface, where the first state icon is a state icon of a first virtual character in the first set of virtual characters, and the current state of the first virtual character is the first state.
[0009] According to yet another aspect of an embodiment of the present application, there is further provided a computer readable storage medium having a computer program stored thereon, the computer program being configured, when run, to execute the method for setting the virtual character state.
[0010] According to yet another aspect of an embodiment of the present application, there is provided a computer program product comprising computer programs / instructions, which, when executed by a processor, cause the steps of the method to be implemented.
[0011] According to yet another aspect of an embodiment of the present application, there is further provided an electronic device including a memory in which a computer program is stored, and a processor configured to execute the method for setting a virtual character state according to the computer program. Effect of the Invention
[0012] According to the above embodiment provided by the present application, in a state display interface displaying state icons of a first set of virtual characters and a target virtual character, the first state icon and the corresponding first state are directly copied to the target virtual character in response to a trigger operation on a first state icon in the state display interface, that is, the state of the target virtual character can be set to the same state as that of the first virtual character by one-click operation on the first state icon in the state display interface, by avoiding switching between different display interfaces and reducing the operation steps in multiple display interfaces, the technical problem of high complexity appearing in the process of setting the virtual character state is solved, and the convenience of setting the virtual character state is improved. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a schematic diagram of an application scenario of the method for selectively setting a virtual character state according to an embodiment of the present application. [Diagram 2] FIG. 2 is a flow chart of a method for setting selective virtual character states according to an embodiment of the present application. [Diagram 3] FIG. 3 is a schematic diagram of a method for setting selective virtual character states according to an embodiment of the present application. [Figure 4] FIG. 4 is a schematic diagram of a method for selectively setting a virtual character state according to an embodiment of the present application. [Diagram 5] FIG. 5 is a schematic diagram of a method for setting selective virtual character states according to an embodiment of the present application. [Figure 6] FIG. 6 is a schematic diagram of a method for setting selective virtual character states according to an embodiment of the present application. [Figure 7] FIG. 7 is a schematic diagram of a method for setting selective virtual character states according to an embodiment of the present application. [Figure 8] FIG. 8 is a schematic diagram of a method for setting selective virtual character states according to an embodiment of the present application. [Figure 9] FIG. 9 is a schematic diagram of selective virtual scene switching according to an embodiment of the present application. [Figure 10] FIG. 10 is a schematic diagram of state copying and state setting after selective virtual scene switching according to an embodiment of the present application. [Figure 11] FIG. 11 is a schematic diagram of state copying and state setting after selective virtual scene switching according to an embodiment of the present application. [Figure 12] FIG. 12 is a schematic diagram of state copying and state setting after selective virtual scene switching according to an embodiment of the present application. [Figure 13] FIG. 13 is a schematic diagram of a display position changing selective state icon according to an embodiment of the present application. [Figure 14] FIG. 14 is a schematic diagram of message notification after selective state copying according to an embodiment of the present application. [Figure 15] FIG. 15 is an overall flow chart of a method for setting selective virtual character states according to an embodiment of the present application. [Figure 16] FIG. 16 is a sequence diagram of a method for setting selective virtual character states according to an embodiment of the present application. [Figure 17] FIG. 17 is a structural schematic diagram of a selective virtual character state setting device according to an embodiment of the present application. [Figure 18] FIG. 18 is a structural schematic diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] In order to make the scheme of the present application more easily understood by those skilled in the art, the technical scheme of the embodiments of the present application will be described below clearly and comprehensively in combination with the drawings in the embodiments of the present application. Of course, the described embodiments are only a part of the embodiments of the present application, and are not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without the need for inventive ideas all belong to the scope of protection of the present application.
[0015] In addition, the terms "first", "second", and the like in the specification, claims, and drawings are used to distinguish between similar objects and are not necessarily intended to describe a particular order or sequence. It is to be understood that the data used in this manner are interchangeable depending on the context, and therefore the embodiments of the present application described herein may be performed in an order other than that shown or described. In addition, the terms "including", "comprises", and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or means may include not only those steps or means explicitly recited, but also steps or means not explicitly recited, or other steps or means inherent to the process, method, product, or apparatus.
[0016] According to an aspect of the embodiment of the present application, a method for setting a virtual character state is provided. As an optional embodiment, the method for setting a virtual character state can be applied to, but is not limited to, the application scenario shown in FIG. 1. In the application scenario shown in FIG. 1, a terminal device 102 can communicate with a server 106 through a network 104, but is not limited to the application scenario. The server 106 can perform an operation on a database 108, for example, but is not limited to, a data write operation or a data read operation. The terminal device 102 includes, but is not limited to, a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen can display, but is not limited to, a state of a target virtual character, a state icon of a first set of virtual characters, and the like. The processor can perform a corresponding operation or generate a corresponding command in response to the human-computer interaction operation, and send the generated command to the server 106, but is not limited to the application scenario. The memory is used for storing related processing data, for example, a first state icon, a relationship between a target account and a target virtual character, and the like.
[0017] As an optional method, the terminal device 102 can execute the following steps in the method for setting a virtual character state: step S102 of displaying, in a state display interface of the target application, state icons of a first set of virtual characters and a target virtual character, which is a virtual character operated by a target account currently registered in the target application; and step S104 of setting a current state of the target virtual character to a first state corresponding to the first state icon in response to a trigger operation on the first state icon in the state display interface and displaying the first state icon as the state icon of the target virtual character in the state display interface, where the first state icon is a state icon of the first virtual character in the first set of virtual characters and the current state of the first virtual character is the first state.
[0018] As an optional example, this embodiment does not limit the entity that performs the above steps S102 to S104. For example, the above steps S102 to S104 may all be performed by the terminal device 102 or the server 106, or some of them may be performed by the terminal device 102 and some of them may be performed by the server 106 that communicates with the terminal device 102.
[0019] According to the above method, in the state display interface displaying the state icons of the first set of virtual characters and the target virtual character, the first state icon is directly copied to the target virtual character, that is, the state of the first virtual character is copied to the target virtual character, by responding to the trigger operation on the first state icon in the state display interface. That is, by one-click operation on the first state icon in the state display interface, the state of the target virtual character can be set to the same state as that of the first virtual character, by avoiding switching between different display interfaces and reducing the operation steps in multiple display interfaces, the technical problem of high complexity appearing in the process of setting the virtual character state is solved, and the convenience of setting the virtual character state is improved.
[0020] In order to solve the above problem of high complexity appearing in the process of setting a virtual character state, an embodiment of the present application provides a method for setting a virtual character state. Figure 2 is a flow chart of the method for setting a virtual character state according to an embodiment of the present application, which includes the following steps:
[0021] In step S202, displaying state icons of a first set of virtual characters and a target virtual character, which is a virtual character operated by a target account currently registered in the target application, in a state display interface of the target application.
[0022] In the virtual social scene, each user operates one virtual character image and expresses how they are feeling or what they are doing at the time by setting a state corresponding to the virtual character.
[0023] The target application is an application program that supports a user to create and operate a virtual character, and the target application may be, for example, a game application, a social application, a media player application, a shopping application, etc. The state display interface is an interface for displaying the state of a virtual character in the target application, and the state display interface can display state icons of the first set of virtual characters and the target virtual character operated by the target account currently registered in the target application. Here, the first set of virtual characters includes at least one virtual character related to the target virtual character, and may be, for example, a virtual character operated by a friend of the target account, or may be, for example, a virtual character participating in the same game as the target virtual character operated by the target account. The state icons of the first set of virtual characters include state icons of each virtual character in the first set of virtual characters, and the state icons of the virtual characters are used to identify the current state of the virtual characters.
[0024] For example, as shown in Fig. 3(a), a state display interface of a target application in which a target account has been registered includes a target virtual character and a first set of virtual characters other than the target virtual character, such as Jessica, Ranran, Tom, etc. The state of each virtual character in the first set of virtual characters can be seen from the state icons of the first set of virtual characters, for example, the state icon of the virtual character Jessica can be seen to be that Jessica is sleeping, and the state icon of the virtual character Ranran can be seen to be that Ranran is eating.
[0025] It is easily understood that the above state display interface is merely an example and is not limited thereto. For example, the number of virtual characters in the state display interface may be three, four, or five, and the state icon of each virtual character may be any one of the preset state icons, etc.
[0026] In step S204, in response to a trigger operation on a first state icon in the state display interface, the current state of the target virtual character is set to a first state corresponding to the first state icon, and the state icon of the target virtual character is displayed on the first state icon in the state display interface, the first state icon is the state icon of the first virtual character in the first set of virtual characters, and the current state of the first virtual character is the first state.
[0027] In the embodiment of the present application, the state of each virtual character in the virtual scene includes, but is not limited to, two kinds of situations: a situation where the state is empty and a situation where a state is preset. Correspondingly, the state of the virtual character shown in FIG. 3(a) also includes, but is not limited to, the above two kinds of situations. In the following, in combination with a specific example, we will describe how to update the two different states of the virtual character to the first state icon respectively.
[0028] As an optional example, when displaying state icons of the first set of virtual characters and the target virtual character in the state display interface of the target application described above, the display includes displaying a waiting for state setting icon for the target virtual character in the state display interface, where the waiting for state setting icon indicates that the current state of the target virtual character is empty.
[0029] Setting the current state of the above-mentioned target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface includes setting the current state of the target virtual character to the first state and updating the state icon of the target virtual character in the state display interface from a state setting waiting icon to the first state icon.
[0030] As shown in FIG. 3(a), when the current state icon of the target virtual character is the state setting waiting icon, it means that no state has been preset for the target virtual character. After seeing the first state icon 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 icon, you can simply perform a trigger operation on the first state icon in the state display interface to change the state setting waiting icon of the target virtual character to the first state icon.
[0031] As shown in Fig. 3(b), after performing a trigger operation on the first state icon, the state icon of the target virtual character is updated from the state setting waiting icon to the first state icon, and the state of the target virtual character is switched to the first state. Here, the trigger operation on the first state icon includes, but is not limited to, a long press operation, a drag operation, etc. on the first state icon. The detailed process of the trigger operation will be described below in combination with a specific example.
[0032] As another optional example, when displaying state icons of the first set of virtual characters and the target virtual character in the state display interface of the target application described above, the method includes displaying a third state icon of the target virtual character in the state display interface, where the third state icon indicates that the current state of the target virtual character is the third state.
[0033] Setting the current state of the above-mentioned target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface further includes updating the current state of the target virtual character from a third state to the first state, and updating the state icon of the target virtual character from the third state icon to the first state icon in the state display interface.
[0034] As shown in FIG. 4(a), when the current state of the target virtual character is the third state corresponding to the third state icon, after seeing the first state icon 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 icon, you can change the state icon and state of the target virtual character by simply performing a trigger operation on the first state icon in the state display interface.
[0035] As shown in Fig. 4(b), after a trigger operation is performed on the first state icon, the state icon of the target virtual character is updated from the third state icon to the first state icon. Here, the trigger operation on the first state icon includes, but is not limited to, a long press operation, a drag operation, etc. on the first state icon.
[0036] Combining the above embodiments, it can be seen that in the process of changing the state icon of the target virtual character, the selection and operation of the first state icon, and the display result of the state icon of the target virtual character after the change are all completed in the same state display interface of the target application. In other words, the state icon and state of the target virtual character can be changed by one-clicking the first state icon without switching the state display interface, thereby reducing the operation steps for setting the state of the virtual character, solving the technical problem of high complexity that appears in the process of setting the state of the virtual character, and improving the convenience of setting the state of the virtual character.
[0037] As an optional example, when displaying state icons of the first set of virtual characters and the target virtual character in the state display interface of the target application, the above-mentioned method further includes displaying motion animations of the first set of virtual characters in the state display interface, wherein the motion animations of each virtual character in the first set of virtual characters correspond to the state icons of each virtual character in the first set of virtual characters.
[0038] When setting a current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface, the method further includes displaying a motion animation of the target virtual character in the state display interface.
[0039] Here, the motion animation of the target virtual character and the motion animation of the first virtual character both correspond to a first state icon, and the motion animation of the target virtual character and the motion animation of the first virtual character are identical, or the motion animation of the target virtual character indicates that the target virtual character performs a first motion, and the motion animation of the first virtual character indicates that the first virtual character performs a first motion, and the first motion corresponds to the first state icon.
[0040] According to the embodiment shown in Figures 3 and 4, it can be understood that the state icon of the target virtual character can be set to the first state icon by performing a trigger operation on the first state icon, and after the setting is completed, the specific expression form of the target virtual character in the state display interface includes at least one of the following, but is not limited to:
[0041] (1) Update all target virtual character images and state icons As shown in FIG. 4 , after setting the state icon of the target virtual character according to the above-mentioned virtual character state setting method, the character image of the target virtual character, the motion animation and the third state icon of the target virtual character are directly replaced with the character image, the motion animation and the first state icon of the first virtual character.
[0042] (2) Update only the state icon of the target virtual character As shown in FIG. 5(a), if the current state of the target virtual character is empty, the state icon of the target virtual character is set according to the above-mentioned method for setting the virtual character state, and then only the state setting waiting icon of the target virtual character is updated to the first state icon, and the motion performed by the target virtual character is changed to the same first motion as the first virtual character, for example, the motion of lifting a dumbbell, but the image of the target virtual character does not change.
[0043] Therefore, by adopting the technical solutions in the embodiments of the present application, part or all of the state icon of the target virtual character, the motion animation of the target virtual character, and the character image of the target virtual character can be updated with a single click, thereby improving the efficiency of the state setting of the virtual character, increasing the flexibility of the state setting of the virtual character, and enhancing the entertainment value of virtual socializing.
[0044] As an optional example, in response to a trigger operation on a first state icon in the above-mentioned state display interface, setting the current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon in the state display interface as the state icon of the target virtual character includes: in response to a first drag operation on the first state icon in the state display interface, displaying a first copy icon identical to the first state icon in the state display interface, which moves according to the first drag operation; and when the first copy icon moves within a predetermined judgment area and the first drag operation is dropped, setting the current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon in the state display interface as the state icon of the target virtual character.
[0045] As shown in FIG. 6(a), when the current state of the target virtual character is the third state corresponding to the third state icon, in order to set the state of the target virtual character to the first state corresponding to the first state icon, a step in the above-mentioned trigger operation (e.g., pressing and holding for a preset time), for example, pressing and holding for 0.5 seconds, is performed to select the first state icon of the first virtual character, enter a state copy mode, and copy the first state icon to obtain a first copy icon identical to the first state icon.
[0046] By performing a first drag operation as shown in FIG. 6(b), the first copy icon is moved in accordance with the first drag operation. When the first copy icon is moved to a predetermined judgment area as shown in FIG. 6(c), the first drag operation is stopped and the current state of the target virtual character can be set to a first state corresponding to the first state icon, for example, a state of lifting a dumbbell as shown in FIG. 6(d).
[0047] The above-mentioned preset judgment area may be, but is not limited to, an area where a target virtual character exists or a preset area in a state display interface. A specific process for respectively realizing the setting of the state of the target virtual character based on two different types of judgment areas includes: when a first copy icon moves to an area where a target virtual character exists and a first drag operation is dropped, the current state of the target virtual character is set to a first state corresponding to the first state icon, and the first state icon is displayed as the state icon of the target virtual character in the state display interface, the preset judgment area being the area where the target virtual character exists; or when a first copy icon moves to a preset area in the state display interface and a first drag operation is dropped, the current state of the target virtual character is set to a first state corresponding to the first state icon, and the first state icon is displayed as the state icon of the target virtual character in the state display interface, the preset judgment area being the preset area in the state display interface.
[0048] As shown in Fig. 6(c), when the first copy icon is moved to a preset determination area in which the target virtual character is present, if the drag operation on the first copy icon is stopped, the third state icon of the target virtual character can be set to the first copy icon. At the same time, the state of the target virtual character is also updated to the first state corresponding to the first copy icon (first state icon), for example, a state in which a dumbbell is being lifted, specifically, as shown in Fig. 6(d).
[0049] It is easily understood that the area in which the target virtual character exists may include not only the position in which the third state icon shown in Fig. 6(c) exists and the position in which the target virtual character exists, but also any position within the dotted frame shown in Fig. 6(c). Also, it is not necessary to completely drag the first copy icon into the dotted frame, and if there is an overlap between the first copy icon and the dotted frame, it is considered that the user wants to copy the first state corresponding to the first copy icon to the target virtual character, and the client side in which the target account exists transmits the ID parameter of the first state icon to the background, and the background can set the state of the target virtual character to the first state corresponding to the first state icon according to the setting.
[0050] In addition to the area where the target virtual character exists, a preset area in the state display interface shown in Fig. 7(a) may be set as a preset judgment area. Specifically, when the first copy icon is moved to the preset judgment area shown in Fig. 7(a), if the drag operation on the first copy icon is stopped, the third state icon of the target virtual character can be set to the first copy icon. At the same time, the state of the target virtual character is also updated to the first state corresponding to the first copy icon (first state icon), for example, a state in which a dumbbell is being lifted, specifically as shown in Fig. 7(b).
[0051] It is clear that the pre-defined areas in the state display interface shown in FIG. 7 are merely examples and are not limiting, and may be, for example, designated areas to the left, right, or above the target virtual character.
[0052] By using the above method, a first copy icon that moves in accordance with a first drag operation is displayed in the state display interface, and when the first copy icon moves to a preset judgment area, the first state icon is automatically copied to a target virtual character, and the state of the target virtual character is displayed in the first state corresponding to the first state icon, thereby improving the convenience of setting the state of the virtual character.
[0053] As an optional example, performing a trigger operation on the first state icon is realized by a state copy operation in which, in addition to the first drag operation on the first copy icon in the above embodiment, a state copy control for copying the current state of the first virtual character to the target virtual character is displayed in the state display interface in response to a long press operation on the first state icon in the state display interface, and the current state of the target virtual character is set to a first state corresponding to the first state icon and the first state icon is displayed in the state display interface as the state icon of the target virtual character in response to a trigger operation on the state copy control in the state display interface.
[0054] As shown in Fig. 8(a), in the state display interface, a first state icon is long-pressed to display a state copy tab, and then a "copy" or "don't copy" control is selected to determine whether or not to copy the first state icon. In addition, when the "copy" control is selected, the first state icon and the corresponding first state copy can be directly copied to the target virtual character, as specifically shown in Fig. 8(b).
[0055] In addition, unlike the method of setting the target virtual character state by long pressing the first state icon and dragging the first copy icon described above, in the embodiment of the present application, the target virtual character can be set by long pressing the first state icon and selecting a state tab, thereby reducing the response time of state copying and improving the efficiency of state setting.
[0056] In the state display interface of the target application, an actual virtual scene (e.g., a state square) is usually composed of multiple different partial virtual scenes, and the state display interface displayed after the registration of the target application is usually a default partial virtual scene, for example, a partial virtual scene to which the target virtual character belongs. When it is necessary to enter another partial virtual scene from the partial virtual scene, this can be realized by switching the displayed scene of the state square, and the state icon of the target virtual character can be set based on the state icon in the partial virtual scene after switching. Specifically, in response to the scene switching operation triggered in the state display interface, the virtual scene displayed in the state display interface is switching the virtual character display interface from the first partial virtual scene to a second partial virtual scene and displaying a state icon of a second set of virtual characters located in the second partial virtual scene, where the state icon of the first set of virtual characters is located in the first partial virtual scene; and in response to a trigger operation on the second state icon in the state display interface, setting a current state of the target virtual character to a second state corresponding to the second state icon and displaying the second state icon as the state icon of the target virtual character in the state display interface, where the second state icon is a state icon of a second virtual character in the second set of virtual characters, and the current state of the second virtual character is the second state.
[0057] As shown in Figure 9(a), if the first partial virtual scene is the partial virtual scene displayed by default when the state display interface is opened, and the state icon that the target account wants to set is displayed in the second partial virtual scene, by performing a scene switching operation, the virtual scene displayed in the state display interface is switched from the first partial virtual scene to the second partial virtual scene shown in Figure 9(b).
[0058] It can be easily understood that the first partial virtual scene and the second partial virtual scene are different partial virtual scenes that exist simultaneously in State Square, and the partial virtual scene displayed in the state display interface by a switching operation may be any one of the first partial virtual scene and the second partial virtual scene.
[0059] Using the same method as the trigger operation performed on the first state icon described above, a trigger operation can be performed on a second state icon in the second partial virtual scene to set the current state of the target virtual character to a second state corresponding to the second state icon.
[0060] In addition, in the process of switching the first partial virtual scene in the state display interface to the second partial virtual scene by performing a scene switching operation, when only the partial virtual scene is switched but the target virtual character is still located in the first partial virtual scene, the method of realizing setting the current state of the target virtual character to the second state corresponding to the second state icon is as follows: when the target virtual character is located in the first partial virtual scene, in response to a second drag operation on the second state icon in the state display interface, the target virtual character moves in accordance with the second drag operation in the state display interface; displaying a second copy icon identical to the second state icon; when the second copy icon moves across scenes to the first partial virtual scene, switching the displayed virtual scene from the second partial virtual scene to the first partial virtual scene in the state display interface; when the second copy icon moves to an area where the target virtual character is present and a second drag operation is dropped, setting the current state of the target virtual character to a second state corresponding to the second state icon, and displaying the second state icon as a state icon of the target virtual character located in the first partial virtual scene.
[0061] As shown in Fig. 10(a), when the virtual scene displayed in the state interface is switched from the first partial virtual scene to the second partial virtual scene, the target virtual character is still located in the first partial virtual scene, and the second state icon is located in the second partial virtual scene. By performing a second drag operation on the second state icon, a second copy icon corresponding to the second state icon is moved from the second partial virtual scene to the first partial virtual scene, and when the second copy icon is moved to a preset judgment area in the first partial virtual scene, the state icon of the target virtual character can be switched to the second state icon and the current state of the target virtual character can be switched to the second state corresponding to the second state icon by dropping the second drag operation on the second copy icon.
[0062] Based on the distance of the virtual scenes, the above first partial virtual scene and the second partial virtual scene may be two virtual scenes whose distance is equal to or greater than a predetermined distance threshold, for example, two adjacent virtual scenes in State Square, or they may be two virtual scenes that do not overlap, for example, a virtual scene in which another virtual scene exists 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 two situations, the above-mentioned target virtual character state setting method further includes: when the distance between the first partial virtual scene and the second partial virtual scene is equal to or greater than a predetermined distance threshold, switching the virtual scene displayed in the state display interface from the second partial virtual scene to the first partial virtual scene when the second copy icon moves away from the second partial virtual scene; or, when there is no overlap between the first partial virtual scene and the second partial virtual scene, switching the virtual scene displayed in the state display interface from the second partial virtual scene to the first partial virtual scene when the second copy icon moves away from the second partial virtual scene.
[0063] The following will further explain how to realize the above-mentioned method for setting the state of the target virtual character by combining specific examples.
[0064] Example 1 As shown in FIG. 11(a), assuming that the distance d between the first partial virtual scene and the second partial virtual scene is equal to or greater than a predetermined distance threshold Th, and the first partial virtual scene and the second partial virtual scene are two adjacent virtual scenes, the specific steps for setting the current state of the target virtual character to the second state indicated by the second state icon are as follows:
[0065] In S1102, the second state icon is pressed and held to enter state copy mode.
[0066] Here, the second state icon is located in the second partial virtual scene, and by pressing and holding the second state icon, for example for 0.5 seconds, a second copy icon identical to the second state icon is displayed in the second partial scene.
[0067] It is clear that the above-mentioned 0.5-second long press is merely an example and is not limiting, and may be, for example, 0.3-second long press, 0.6-second long press, etc. In addition, by long pressing for a preset time, it is possible to avoid conflict with the gesture of swiping the screen.
[0068] In S1104, as step (1), a second drag operation is performed on the second copy icon, and the second copy icon is moved to the edge of the state interface where the second virtual scene exists in accordance with the second drag operation.
[0069] In S1106, as step (2), the second drag operation is continued to be performed to move the second copy icon away from the second partial virtual scene and into the first partial virtual scene.
[0070] In S1108, as step (3), when the second copy icon is moved to an area in the first partial virtual scene where the target virtual character exists or to a preset area in the state display interface, a second drag operation is dropped.
[0071] In S1110, the current state of the target virtual character is set to a second state corresponding to the second state icon.
[0072] For example, as shown in FIG. 11(b), if the state corresponding to the second state icon is the sleep state, the current state of the target virtual character is set to the sleep state through the above steps S1102 to S1110.
[0073] Example 2 As shown in FIG. 12(a), assume that a third partial virtual scene exists between the first partial virtual scene and the second partial virtual scene, i.e., there is no overlap between the first partial virtual scene and the second partial virtual scene.
[0074] As shown in Fig. 12(b), in the second partial virtual scene, the second state icon is long pressed to enter a state copy mode and a second copy icon identical to the second state icon is displayed. When the second copy icon moves away from the second partial virtual scene, the displayed virtual scene in the state display interface is switched from the second partial virtual scene to the first partial virtual scene, and the second copy icon is moved to the first partial virtual scene.
[0075] When the second copy icon is moved to a predetermined judgment area in the first partial virtual scene, the second copy icon is acted on the target virtual character, thereby updating the state icon of the target virtual character to the second copy icon and updating the current state of the target virtual character to a second state corresponding to the second copy icon, for example, a sleep state.
[0076] As can be seen from the above Examples 1 and 2, after switching the virtual scene in the state display interface, different methods can be used to set the state desired by the user based on the distance between the virtual scenes after switching, thereby increasing the flexibility of setting the target virtual character and improving the applicability of the state setting.
[0077] As an optional example, when the current state of the target virtual character is set to a second state corresponding to a second state icon, the method further includes transitioning a display position of the state icon of the second virtual character from the second partial virtual scene to the first partial virtual scene when the number of copies of the target state reaches a predetermined number threshold within a predetermined time, and the number of copies of the target state indicates the number of times the current state of the second virtual character has been copied to the target virtual character.
[0078] Here, the first partial virtual scene is the partial virtual scene that is displayed by default when the state display interface is opened.
[0079] As shown in Fig. 13(a), it is assumed that a second virtual character is located in a second partial virtual scene, the state icon of the second virtual character is state icon 1, and the target virtual character is located in a first partial virtual scene. If, in a past period, the number of times that state icon 1 was copied was 6, and the preset threshold number of times was 5, the display position of state icon 1 is switched from the second partial virtual scene to the first partial virtual scene, as shown in Fig. 13(b) specifically, so that the distance between state icon 1 and the target virtual character is made closer.
[0080] The reason for changing the display position of the state icon 1 is, on the one hand, to identify the second virtual character as a close friend of the target virtual character based on the number of times the state icon 1 has been copied, and, on the other hand, to display the state icon 1 that the user always sets in a position close to the target virtual character. For example, by displaying it in the first partial virtual scene, the convenience of performing trigger operations on the state icon 1 can be increased, and the response efficiency of the state setting can be further improved.
[0081] As an optional example, when the current state of the target virtual character is set to a first state corresponding to the first state icon, the method further includes sending state notification information to the first account, where the first virtual character is a virtual character controlled by the first account, and the state notification information is for indicating to the first account that the current state of the first virtual character has been copied to the target virtual character.
[0082] As shown in FIG. 14(a), assume that the target application includes an account list, which includes multiple different accounts, each of which corresponds to a virtual character and an initial state graph of the virtual character.
[0083] If the first virtual character in Fig. 3 is a virtual character operated by a first account, a trigger operation is performed to copy the first state icon, and the first state indicated by the first copy icon is set as the current state of the target virtual character. Then, state notification information such as that shown in Fig. 14(b) is displayed in the conversation section of the first account, for example, state notification information such as "Mr. Akira copied your state 2 seconds ago", thereby notifying the target account that the state of the virtual character operated by the first account has been copied. In addition, by selecting the "Confirm" tag, the first account can confirm the motion animation and state icon of the target virtual character after the state is updated in the virtual scene.
[0084] The above-described state notification method allows the copied first account to be promptly notified after the state of the virtual character has been copied, thereby increasing the entertainment value of virtual socializing. The notification information also allows the copied first account to quickly check the updated state of the target virtual character, thereby increasing the immediacy of obtaining state copy information.
[0085] In order to further understand the above-mentioned virtual character state setting method of the present application, it will be further explained below in combination with the overall flowchart shown in FIG.
[0086] In S1502, the user presses and holds the state icon to enter state copy mode.
[0087] For example, as shown in FIG. 11(b), when the second state icon is pressed and held for 0.5 seconds, a second copy icon is displayed.
[0088] In S1504, a second copy icon is dragged in the state display interface.
[0089] Here, the second copy icon moves according to the second drag operation, and before the second drag operation is dropped, the second copy icon moves to a different display position in the same partial virtual scene or a different partial virtual scene.
[0090] In S1506, the finger is released and the drag operation is dropped.
[0091] In S1508, it is determined whether the state icon has moved to a preset determination area.
[0092] For example, when the drag operation is dropped, if the state icon is not moved into a preset determination area in which the target virtual character exists, as in step S1512, the copy operation is terminated.
[0093] When the drag operation is dropped, if the state icon is moved into a preset determination area in which the target virtual character exists, step S1510 is executed.
[0094] In S1510, the state of the target virtual character is set to the target state.
[0095] For example, as shown in FIG. 11(b), the state of the target virtual character is set to a second state corresponding to the second state icon, such as a sleeping state.
[0096] After the state setting is completed, the second copy icon being dragged acts on the target virtual character and disappears from the first partial virtual scene.
[0097] In S1512, the copying ends.
[0098] In order to make each embodiment of the present application more clearly understandable, the following describes how to set the state of the virtual character from the interaction process between the target account (user), the client side (product side) and the background (logic layer) in combination with the sequence diagram shown in Figure 16. Specifically, the method includes the following steps:
[0099] In S1602, the user performs a long press operation on the target state icon.
[0100] For example, after pressing and holding the target state icon for 0.5 seconds, the state copy mode is entered, and a copy icon identical to the target state icon is displayed in the state display interface.
[0101] In S1604, the copy icon is dragged and dropped at a specified position.
[0102] In S1606, it is determined whether the copy icon overlaps with the area in which the target virtual character exists.
[0103] Here, the criteria for judgment include, but are not limited to, a predetermined judgment area in which the target virtual character shown in FIG. 6(c) exists and a predetermined area in the state display interface shown in FIG. 7(a).
[0104] In S1608, if the determination result indicates that there is an area overlap, the state ID of the target state is transmitted to the background.
[0105] Here, each state of the virtual character corresponds to one state ID.
[0106] In S1610, the background sets the state of the target virtual character to a new state.
[0107] The new state is obviously the state indicated by the target state icon, for example the sleep state corresponding to the second state icon shown in FIG. 11(b).
[0108] In S1612, a motion animation of the target virtual character in the new state is displayed in the target application in which the target account exists.
[0109] According to the above-mentioned embodiment provided by the present application, by one-clicking the first state icon in the state display interface, the state of the target virtual character can be set to the same state as that of the first virtual character, thereby avoiding switching between different display interfaces and reducing the operation steps in multiple display interfaces, thereby solving the technical problem of high complexity that appears in the process of setting the virtual character state, and improving the convenience of setting the virtual character state.
[0110] It should be noted that, for the sake of simplicity, the above embodiments of the methods are all shown as a combination of a series of operations, but it is obvious to those skilled in the art that the present application is not limited to the order of operations described, and some steps can be performed in other orders or simultaneously according to the present application. It is also obvious to those skilled in the art that the embodiments described in the specification are all preferred embodiments, and the associated operations and modules are not necessarily required for the present application.
[0111] According to another aspect of an embodiment of the present application, a virtual character state setting device as shown in FIG. 11 is further provided, the device including: a first display unit 1702 for displaying, in a state display interface of a target application, state icons of a first set of virtual characters and a target virtual character, which is a virtual character operated by a target account currently registered in the target application; and a first processing unit 1704 for setting a current state of the target virtual character to a first state corresponding to the first state icon in response to a trigger operation on the first state icon in the state display interface, and displaying the first state icon as the state icon of the target virtual character in the state display interface, where the first state icon is a state icon of a first virtual character in the first set of virtual characters, and the current state of the first virtual character is the first state.
[0112] Optionally, the first processing unit 1704 includes: a first processing module for displaying, in the state display interface, a first copy icon identical to the first state icon, which moves according to the first drag operation, in response to a first drag operation on the first state icon in the state display interface; and a first setting module for setting the current state of the target virtual character to a first state corresponding to the first state icon when the first copy icon moves within a predetermined judgment area and the first drag operation is dropped, and displaying the first state icon as the state icon of the target virtual character in the state display interface.
[0113] Optionally, the first setting module includes a first processing submodule for setting a current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface when the first copy icon is moved to an area where a target virtual character is present and a first drag operation is dropped, the preset judgment area being an area where the target virtual character is present; or a second processing submodule for setting a current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface when the first copy icon is moved to a preset area in the state display interface and a first drag operation is dropped, the preset judgment area being a preset area in the state display interface.
[0114] Optionally, the first processing unit 1704 includes a second processing module for displaying a state copy control in the state display interface for copying the current state of the first virtual character to the target virtual character in response to a long press operation on the first state icon in the state display interface, and a third processing module for setting the current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface in response to a trigger operation on the state copy control in the state display interface.
[0115] Optionally, the device further includes: a second processing unit for switching the displayed virtual scene from the first partial virtual scene to a second partial virtual scene in the state display interface in response to a scene switching operation triggered in the state display interface, and displaying a state icon of a second set of virtual characters located in the second partial virtual scene, where the state icon of the first set of virtual characters is located in the first partial virtual scene; and a third processing unit for setting a current state of a target virtual character to a second state corresponding to the second state icon in the state display interface, and displaying the second state icon as the state icon of the target virtual character in the state display interface in response to a trigger operation on the second state icon in the state display interface, where the second state icon is a state icon of a second virtual character in the second set of virtual characters, and the current state of the second virtual character is the second state.
[0116] Optionally, the third processing unit includes a fourth processing module for displaying, in the state display interface, a second copy icon identical to the second state icon moving in accordance with the second drag operation in response to a second drag operation on the second state icon in the state display interface when the target virtual character is located in the first partial virtual scene; a fifth processing module for switching the displayed virtual scene from the second partial virtual scene to the first partial virtual scene in the state display interface when the second copy icon moves across scenes to the first partial virtual scene; and a sixth processing module for setting the current state of the target virtual character to a second state corresponding to the second state icon and displaying the second state icon as the state icon of the target virtual character located in the first partial virtual scene when the second copy icon moves to the area where the target virtual character is located and the second drag operation is dropped.
[0117] Optionally, the fifth processing module includes a third processing sub-module for switching the virtual scene displayed in the state display interface from the second partial virtual scene to the first partial virtual scene when the second copy icon moves away from the second partial virtual scene if the distance between the first partial virtual scene and the second partial virtual scene is equal to or greater than a predetermined distance threshold, or switching the virtual scene displayed in the state display interface from the second partial virtual scene to the first partial virtual scene when the second copy icon moves away from the second partial virtual scene if there is no overlap between the first partial virtual scene and the second partial virtual scene.
[0118] Optionally, the third processing unit further includes a seventh processing module for transitioning a display position of the state icon of the second virtual character from the second partial virtual scene to the first partial virtual scene when the number of copies of the target state reaches a predetermined number threshold within a predetermined time, and the number of copies of the target state indicates the number of times the current state of the second virtual character has been copied to the target virtual character.
[0119] Here, the first partial virtual scene is the partial virtual scene that is displayed by default when the state display interface is opened.
[0120] Optionally, the apparatus further includes a fourth processing unit for sending state notification information to the first account, wherein the first virtual character is a virtual character operated by the first account, and the state notification information is for indicating to the first account that a current state of the first virtual character has been copied to the target virtual character.
[0121] Optionally, the device further includes: a second display unit for displaying a third state icon of the target virtual character in the state display interface when displaying the state icons of the first set of virtual characters and the target virtual character in the state display interface of the target application, where the third state icon indicates that the current state of the target virtual character is the third state; and an update unit for updating the current state of the target virtual character from the third state to the first state and updating the state icon of the target virtual character in the state display interface from the third state icon to the first state icon.
[0122] Optionally, the first display unit 1702 includes: a first display module for displaying a waiting for state setting icon of the target virtual character in a state display interface, where the waiting for state setting icon indicates that the current state of the target virtual character is empty; and an eighth processing module for setting the current state of the target virtual character to the first state and updating the state icon of the target virtual character in the state display interface from the waiting for state setting icon to the first state icon.
[0123] Optionally, the first display unit 1702 further includes a second display module for displaying motion animations of the first set of virtual characters in a state display interface, where the motion animations of each virtual character in the first set of virtual characters correspond to a state icon of each virtual character in the first set of virtual characters, and the first processing unit 1704 includes a third display module for displaying the motion animation of the target virtual character in the state display interface.
[0124] Here, the motion animation of the target virtual character and the motion animation of the first virtual character both correspond to a first state icon, and the motion animation of the target virtual character and the motion animation of the first virtual character are identical, or the motion animation of the target virtual character indicates that the target virtual character performs a first motion, and the motion animation of the first virtual character indicates that the first virtual character performs a first motion, and the first motion corresponds to the first state icon.
[0125] By applying the above device to a one-click operation on a first state icon in a state display interface, the state of a target virtual character can be set to the same state as that of a first virtual character, thereby avoiding switching between different display interfaces and reducing the operation steps in multiple display interfaces, thereby solving the technical problem of high complexity that appears in the process of setting the virtual character state, and improving the convenience of setting the virtual character state.
[0126] Incidentally, for an embodiment of the virtual character state setting device here, reference can be made to the embodiment of the virtual character state setting method described above, and a description thereof will be omitted here.
[0127] According to yet another aspect of the embodiment of the present application, there is further provided an electronic device for implementing the above-mentioned method for setting a virtual character state, and the electronic device may be a terminal device as shown in Fig. 18. In this embodiment, the electronic device is described as a background device. As shown in Fig. 18, the electronic device includes a memory 1802 and a processor 1804, and a computer program is stored in the memory 1802. The processor 1804 is configured to execute the steps of the embodiment of the method according to any one of the above-mentioned methods by the computer program.
[0128] 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.
[0129] Optionally, in this embodiment, the processor is configured to execute a method for setting a virtual character state provided by the embodiment of the present application through a computer program.
[0130] Alternatively, for those skilled in the art, the structure shown in FIG. 18 is merely an image, and the electronic device of the electronic device may be a target terminal such as a smartphone (Android mobile phone, iOS mobile phone, etc.), a tablet computer, a pocket PC, and a mobile Internet device (Mobile Internet Devices, MID), PAD, etc. FIG. 18 is not limited to the structure of the electronic device of the electronic device. For example, the electronic device of the electronic device may include more or less assemblies (e.g., network interfaces, etc.) than those shown in FIG. 18, or may have a different arrangement than those shown in FIG. 18.
[0131] Here, the memory 1802 is used to store software programs and modules, for example, commands / modules corresponding to the method and device for setting a virtual character state in the embodiment of the present application, and the processor 1804 executes the software programs and modules stored in the memory 1802 to execute various functional applications and data processing, i.e., to realize the above-mentioned method for setting a virtual character state. The memory 1802 may include a high-speed random access memory, or may include one or more non-volatile memories, such as magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some embodiments, the memory 1802 may further include memories installed remotely to the processor 1804, and these remote memories are connected to the terminal by a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Here, the memory 1802 is specifically used to store, but is not limited to, a first set of state icons of virtual characters, a target account, a state ID of each state icon, and the like. 18, the memory 1802 may include, but is not limited to, a first display unit 1702 and a first processing unit 1704 in the virtual character state setting device. It may also include, but is not limited to, other module units in the virtual character state setting device, and the description thereof will be omitted in this example.
[0132] Optionally, the transmission device 1806 is used to receive or transmit 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) that can communicate with the Internet or a local area network by connecting to a router via a network cable and other network devices. In one embodiment, the transmission device 1806 is a radio frequency (RF) module for communicating with the Internet wirelessly.
[0133] The electronic device further includes a monitor 1808 for displaying target information sent by the target account, and a connection bus 1810 for connecting each module component in the electronic device.
[0134] In another embodiment, the target terminal or server may be a node in a distributed system, which may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the nodes in the form of network communication. Here, the nodes may form a peer-to-peer (P2P) network, and any type of computer device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining the peer-to-peer network.
[0135] 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 commands stored in a computer readable storage medium, a processor of a computing device reads the computer commands from the computer readable storage medium, and the processor executes the computer commands to cause the computing device to perform a method for setting a virtual character state provided in various selective implementation manners in the server check process, etc., the computer program being configured to perform the steps of any one of the method embodiments when executed.
[0136] Optionally, in this embodiment, the computer-readable storage medium is configured to store and execute the method for setting a virtual character state provided by the embodiment of the present application.
[0137] Alternatively, in this embodiment, those skilled in the art can understand that all or some of the steps in the various methods of the above embodiments are completed by issuing instructions to hardware related to the target terminal by a program, and the program is stored in a computer-readable storage medium, and the storage medium may include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0138] The numbers of the above embodiments of the present application are for illustrative purposes only and do not indicate superiority or inferiority of the embodiments.
[0139] The integrated units in the above embodiments may be realized in the form of a software functional unit and stored in the above computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essence of the technical proposal of the present application, that is, the part that contributes to the prior art, or all or part of the technical proposal may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes some commands for making one or more computer devices (which may be personal computers, servers, network devices, etc.) execute all or part of the steps of the methods of each embodiment of the present application.
[0140] In the above embodiments of the present application, the description of each embodiment has its own key points, and the parts not described in detail in one embodiment can be referred to the relevant descriptions of other embodiments.
[0141] It is understood that the client side disclosed in some embodiments provided in the present application can be realized in other forms. Here, the above-mentioned device embodiments are merely illustrative, for example, the division of the units is merely a division of a kind of logical function, and other division methods are possible when actually embodied. For example, multiple units or assemblies may be combined or integrated into another system, or some features may be omitted or not implemented. In addition, the mutual couplings, direct couplings, or communication connections shown or discussed may be indirect couplings or communication connections via some interfaces, units, or modules, or may be electrical or other forms.
[0142] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, and may be located in one place or distributed among multiple network units. Some or all of the units may be selected to achieve the purpose of the scheme of the present embodiment according to practical needs.
[0143] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist physically independent, or two or more units may be integrated into one unit. The integrated units may be realized in the form of hardware or software functional units.
[0144] It should be noted that the above is merely a preferred embodiment of the present application, and that those skilled in the art may make some improvements and modifications without departing from the principles of the present application, and these improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. 1. A method for setting a virtual character state executed by an electronic device, comprising: Displaying state icons of a first set of virtual characters and a target virtual character, which is a virtual character operated by a target account currently registered in the target application, in a state display interface of the target application; In response to a trigger operation on a first state icon in the state display interface, set a current state of the target virtual character to a first state corresponding to the first state icon, and display the first state icon as a state icon of the target virtual character in the state display interface, wherein the first state icon is a state icon of a first virtual character in the first set of virtual characters, and the current state of the first virtual character is the first state; How to set the virtual character state, including:
2. In response to a trigger operation on a first state icon in the state display interface, setting a current state of the target virtual character to a first state corresponding to the first state icon, and displaying the first state icon as a state icon of the target virtual character in the state display interface, In response to a first drag operation on the first state icon in the state display interface, displaying, in the state display interface, a first copy icon that is identical to the first state icon and moves in accordance with the first drag operation; When the first copy icon is moved to a predetermined determination area and the first drag operation is dropped, a current state of the target virtual character is set to the first state corresponding to the first state icon, and the first state icon is displayed as the state icon of the target virtual character in the state display interface; 2. The method of claim 1, further comprising:
3. When the first copy icon is moved to a predetermined determination area and the first drag operation is dropped, a current state of the target virtual character is set to the first state corresponding to the first state icon, and the first state icon is displayed as a state icon of the target virtual character in the state display interface. When the first copy icon is moved to an area where the target virtual character exists and the first drag operation is dropped, the current state of the target virtual character is set to the first state corresponding to the first state icon, and the first state icon is displayed as the state icon of the target virtual character in the state display interface, and the predetermined determination area is an area where the target virtual character exists; or when the first copy icon is moved to a preset area in the state display interface and the first drag operation is dropped, a current state of the target virtual character is set to the first state corresponding to the first state icon, and the first state icon is displayed as the state icon of the target virtual character in the state display interface, and the preset determination area is a preset area in the state display interface; 3. The method of claim 2, further comprising:
4. In response to a trigger operation on a first state icon in the state display interface, setting a current state of the target virtual character to a first state corresponding to the first state icon, and displaying the first state icon as a state icon of the target virtual character in the state display interface, displaying, in the state display interface, a state copy control for copying a current state of the first virtual character to the target virtual character in response to a long press operation on the first state icon in the state display interface; In response to a trigger operation on the state copy control in the state display interface, setting a current state of the target virtual character to the first state corresponding to the first state icon, and displaying the first state icon as the state icon of the target virtual character in the state display interface; 2. The method of claim 1, further comprising:
5. in response to a scene switching operation triggered in the state display interface, switching a displayed virtual scene from a first partial virtual scene to a second partial virtual scene in the state display interface, and displaying state icons of a second set of virtual characters located in the second partial virtual scene, wherein the state icons of the first set of virtual characters are located in the first partial virtual scene; In response to a trigger operation on a second state icon in the state display interface, set a current state of the target virtual character to a second state corresponding to the second state icon, and display the second state icon as a state icon of the target virtual character in the state display interface, wherein the second state icon is a state icon of a second virtual character in the second set of virtual characters, and the current state of the second virtual character is the second state; The method of claim 1 , further comprising:
6. In response to a trigger operation on a second state icon in the state display interface, setting a current state of the target virtual character to a second state corresponding to the second state icon, and displaying the second state icon as a state icon of the target virtual character in the state display interface, When the target virtual character is located in the first partial virtual scene, in response to a second drag operation on the second state icon in the state display interface, displaying a second copy icon identical to the second state icon in the state display interface, the second copy icon moving in accordance with the second drag operation; When the second copy icon moves across scenes to the first partial virtual scene, switching the displayed virtual scene from the second partial virtual scene to the first partial virtual scene in the state display interface; When the second copy icon is moved to an area where the target virtual character is present and the second drag operation is dropped, setting a current state of the target virtual character to the second state corresponding to the second state icon, and displaying the second state icon as a state icon of the target virtual character located in the first partial virtual scene; 6. The method of claim 5, further comprising:
7. When the second copy icon is moved across scenes to the first partial virtual scene, switching the displayed virtual scene from the second partial virtual scene to the first partial virtual scene in the state display interface is performed by: switching the displayed virtual scene from the second partial virtual scene to the first partial virtual scene in the state display interface when the second copy icon moves away from the second partial virtual scene if the distance between the first partial virtual scene and the second partial virtual scene is equal to or greater than a predetermined distance threshold; or switching the displayed virtual scene from the second partial virtual scene to the first partial virtual scene in the state display interface when the second copy icon moves away from the second partial virtual scene if there is no overlap between the first partial virtual scene and the second partial virtual scene; 7. The method of claim 6, further comprising:
8. when setting the current state of the target virtual character to a second state corresponding to the second state icon, When the number of copies of the target state reaches a threshold value of a preset number of copies within a preset time, a display position of a state icon of the second virtual character is transitioned from the second partial virtual scene to the first partial virtual scene, and the number of copies of the target state includes indicating the number of times a current state of the second virtual character is copied to the target virtual character; the first partial virtual scene is a partial virtual scene that is displayed by default when the state display interface is opened; A method for setting a virtual character state according to any one of claims 5 to 7.
9. when setting the current state of the target virtual character to the first state corresponding to the first state icon, further sending state notification information to a first account, the first virtual character being a virtual character operated by the first account, the state notification information being used to indicate to the first account that a current state of the first virtual character has been copied to the target virtual character; A method for setting a virtual character state according to any one of claims 1 to 8.
10. When displaying state icons of the first set of virtual characters and the target virtual character in a state display interface of the target application, further displaying, in the state display interface, a third state icon of the target virtual character, which indicates that a current state of the target virtual character is a third state; Setting a current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface includes: updating a current state of the target virtual character from the third state to the first state, and updating a state icon of the target virtual character in the state display interface from the third state icon to the first state icon. A method for setting a virtual character state according to any one of claims 1 to 9.
11. When displaying state icons of the first set of virtual characters and the target virtual character in a state display interface of the target application, further displaying, in the state display interface, a state setting waiting icon for the target virtual character, which indicates that the current state of the target virtual character is empty; Setting a current state of the target virtual character to a first state corresponding to the first state icon and displaying the first state icon as the state icon of the target virtual character in the state display interface includes: setting a current state of the target virtual character to the first state, and updating a state icon of the target virtual character in the state display interface from the state setting waiting icon to the first state icon. A method for setting a virtual character state according to any one of claims 1 to 9.
12. When displaying state icons of the first set of virtual characters and the target virtual character in a state display interface of the target application, further displaying motion animations of the first set of virtual characters in the state display interface, wherein the motion animations of each virtual character in the first set of virtual characters correspond to a state icon of each virtual character in the first set of virtual characters; When setting a current state of the target virtual character to a first state corresponding to the first state icon, and displaying the first state icon as the state icon of the target virtual character in the state display interface, further displaying a motion animation of the target virtual character in the state display interface; the motion animation of the target virtual character and the motion animation of the first virtual character both correspond to the first state icon, and the motion animation of the target virtual character and the motion animation of the first virtual character are the same, or the motion animation of the target virtual character indicates that the target virtual character performs a first motion, and the motion animation of the first virtual character indicates that the first virtual character performs the first motion, and the first motion corresponds to the first state icon; A method for setting a virtual character state according to any one of claims 1 to 9.
13. A first display unit for displaying state icons of a first set of virtual characters in a state display interface of a target application and a target virtual character, the target virtual character being a virtual character operated by a target account currently registered in the target application; a first processing unit for setting a current state of the target virtual character to a first state corresponding to the first state icon in the state display interface in response to a trigger operation on the first state icon, and displaying the first state icon as a state icon of the target virtual character in the state display interface, the first state icon being a state icon of a first virtual character in the first set of virtual characters, and a current state of the first virtual character being the first state; A virtual character state setting device including:
14. a computer program stored in said memory, the computer program being executed by a processor to perform a method for setting a virtual character state according to any one of claims 1 to 12; A computer-readable storage medium.
15. A computer program product comprising computer programs / commands which, when executed by a processor, cause the steps of the method for setting a virtual character state according to any one of claims 1 to 12 to be implemented. Computer program products.
16. A method for setting a virtual character state according to any one of claims 1 to 12, comprising: a memory; and a processor, the memory storing a computer program; and the processor being configured to execute the method for setting a virtual character state according to any one of claims 1 to 12 by the computer program. electronic equipment.
Citation Information
Patent Citations
Virtual character processing method and device, electronic equipment and storage medium
CN113332726A
Model processing method and device, storage medium and computer equipment
CN113350801A
Information management apparatus, information output system, portable terminal, and information output method
JP2004259206A
System and method for automatic merging of real and virtual environments
JP2013149239A
Game program, computer control method and computer
JP5899345B1