Search

US-20260124538-A1 - METHOD AND DEVICE FOR INTERACTIVE PROCESSING IN VIRTUAL SCENE, AND STORAGE MEDIUM

US20260124538A1US 20260124538 A1US20260124538 A1US 20260124538A1US-20260124538-A1

Abstract

A method and a device for interactive processing in virtual scene are provided. The method includes the following operations. The virtual scene is displayed in a human-computer interaction interface, and the virtual scene includes a first player character. In response to a fusion triggering operation for the first player character and at least one first virtual pet of the first player character, or in response to the first player character and the at least one first virtual pet of the first player character meeting an automatic fusion condition, the first player character is fused with the at least one first virtual pet to form a second virtual pet. In response to an interactive triggering operation for the second virtual pet, the second virtual pet is controlled to release a skill of the first virtual pet.

Inventors

  • Yingwu ZHONG

Assignees

  • Hangzhou Pawprint Interactive Entertainment Technology Co., Ltd.

Dates

Publication Date
20260507
Application Date
20250916
Priority Date
20241104

Claims (20)

  1. 1 . A method for interactive processing in a virtual scene, the method comprising: displaying the virtual scene in a human-computer interaction interface, wherein the virtual scene comprises a first player character; in response to a fusion triggering operation for the first player character and at least one first virtual pet of the first player character, or in response to the first player character and the at least one first virtual pet of the first player character meeting an automatic fusion condition, fusing the first player character with the at least one first virtual pet to form a second virtual pet, wherein the first player character is a player character controlled by the human-computer interaction interface; and in response to an interactive triggering operation for the second virtual pet, controlling the second virtual pet to release a skill of the first virtual pet, wherein an interactive target of the skill comprises at least one of: a non-player character in the virtual scene or a second player character in the virtual scene, and the second player character is different from the first player character.
  2. 2 . The method of claim 1 , wherein in response to the fusion triggering operation for the first player character and the at least one first virtual pet of the first player character, fusing the first player character with the at least one first virtual pet to form the second virtual pet comprises: displaying a first pet list, wherein the first pet list comprises: the at least one first virtual pet of the first player character and skill information of the first virtual pet; in response to a selection operation for the first pet list, highlighting the at least one first virtual pet that has been selected; and in response to the fusion triggering operation for the first player character and the at least one first virtual pet that has been selected, fusing the first player character with the at least one first virtual pet that has been selected, to form the second virtual pet.
  3. 3 . The method of claim 2 , wherein when the first pet list comprises a plurality of first virtual pets, the plurality of first virtual pets are sorted based on at least one of: a historical summoning frequency, a historical fusion frequency, a matching degree with at least one of: a current environment in which the first player character is located or the interactive target, or an attribute value of the skill of the first virtual pet.
  4. 4 . The method of claim 3 , wherein the matching degree is predicted by using a first machine learning model based on a characteristic of the first player character, a characteristic of the current environment in which the first player character is located, and a characteristic of the interactive target, wherein the first machine learning model is trained by: calculating a predicted matching degree using the first machine learning model based on a characteristic of a sample player character, a characteristic of a current environment in which the sample player character is located, and a characteristic of an interactive target of the sample player character; and back-propagating a difference between the predicted matching degree and an actual interactive result label to update a parameter of the first machine learning model.
  5. 5 . The method of claim 1 , wherein fusing the first player character with the at least one first virtual pet to form the second virtual pet comprises: when the virtual scene currently only comprises a single first virtual pet of the first player character, fusing the first player character with the single first virtual pet currently comprised in the virtual scene, to form the second virtual pet; when the virtual scene currently comprises a plurality of first virtual pets of the first player character, fusing, in response to a selection operation for the plurality of first virtual pets, the first player character with the at least one first virtual pet that has been selected, to form the second virtual pet; when a number of first virtual pets of the first player character is multiple, fusing, in response to an automatic fusion triggering operation, the first player character with the at least one first virtual pet screened from the plurality of first virtual pets to form the second virtual pet, wherein the screened virtual pet is obtained based on a descending order of a screening parameter, and the screening parameter is determined based on at least one of: a historical summoning frequency, a historical fusion frequency, a matching degree with a current environment in which the first player character is located and the interactive target, or an attribute value of the skill of the first virtual pet.
  6. 6 . The method of claim 1 , wherein the automatic fusion condition comprises one of: a matching degree of the at least one the first virtual pet with a current environment in which the first player character is located and the interactive target being greater than a matching degree of the first player character with the current environment and the interactive target; the at least one first virtual pet being a first pre-configured object for the interactive target, wherein the first pre-configured object is a virtual pet that automatically fuses with the first player character when a distance between the first player character and the interactive target is less than a distance threshold; the at least one first virtual pet being a second pre-configured object for the current environment in which the first player character is located, wherein the second pre-configured object is a virtual pet that automatically fuses with the first player character when the first player character is located in the current environment; or a skill of the first player character alone being not capable of implementing a preset interactive result with the interactive target, and the skill of the at least one first virtual pet being capable of implementing the preset interactive result with the interactive target.
  7. 7 . The method of claim 1 , wherein after fusing the first player character and the at least one first virtual pet to form the second virtual pet, the method further comprises: in response to meeting an update fusion condition, switching the second virtual pet to a third virtual pet, wherein the third virtual pet is obtained by fusing the first player character with at least one fourth virtual pet of the first player character, wherein the update fusion condition comprises one of: receiving an update fusion operation, wherein the update fusion operation indicates fusing the first player character with the at least one fourth virtual pet; or a matching degree of the at least one fourth virtual pet with the virtual scene and the interactive target being greater than a matching degree of the at least one first virtual pet with the virtual scene and the interactive target.
  8. 8 . The method of claim 7 , further comprising: in response to an interactive triggering operation for the third virtual pet, controlling the third virtual pet to release a skill of the fourth virtual pet, wherein an interactive target of the skill of the fourth virtual pet comprises at least one of: the virtual scene, the non-player character in the virtual scene, or the second player character.
  9. 9 . The method of claim 1 , wherein after controlling the second virtual pet to release the skill of the first virtual pet, the method further comprises: in response to meeting a disassembly condition, decomposing the second virtual pet into the first player character and the at least one first virtual pet, wherein the disassembly condition comprises one of: receiving a disassembly triggering operation for the second virtual pet; a fusion duration of the first player character with the at least one first virtual pet reaching a preset duration; or the second virtual pet completing a preset task.
  10. 10 . The method of claim 1 , wherein the virtual scene comprises the at least one first virtual pet of the first player character, and the first player character has a plurality of first virtual pets, before responding to the fusion triggering operation for the first player character and the at least one first virtual pet of the first player character, the method further comprises at least one of: displaying a second pet list comprising the plurality of first virtual pets belonging to the first player character, and in response to a selection operation for the second pet list, switching a first virtual pet following the first player character in the virtual scene to the first virtual pet that has been selected; or in response to a switching operation, switching a first virtual pet following the first player character to another first virtual pet of the first player character, wherein the other first virtual pet is a first virtual pet with a highest screening parameter among the plurality of first virtual pets, and the screening parameter is determined based on at least one of: a historical summoning frequency, a historical fusion frequency, a matching degree with a current environment in which the first player character is located and the interactive target, or an attribute value of the skill of the first virtual pet.
  11. 11 . The method of claim 1 , wherein a size of the at least one first virtual pet of the first player character is smaller than a size of the second virtual pet, wherein a magnification factor of the size of the second virtual pet relative to the size of the first virtual pet characterizes a magnification factor of the skill of the first virtual pet used by the second virtual pet relative to the skill of the first virtual pet used by the first virtual pet; a skin of the second virtual pet is the same as a skin of the first virtual pet; the skin of the second virtual pet is obtained by fusing a skin of the first player character with the skin of the first virtual pet, and a face of the second virtual pet is obtained by fusing a face of the first player character with a face of the first virtual pet; or when fusing the first player character with a plurality of first virtual pets, the face and the skin of the second virtual pet change dynamically based on a first virtual pet to which a skill currently being used belongs.
  12. 12 . The method of claim 1 , wherein controlling the second virtual pet to release the skill of the first virtual pet comprises: in response to the first player character fusing with a plurality of first virtual pets to form the second virtual pet, releasing a skill combination, wherein the skill combination comprises at least one skill belonging to each of the plurality of first virtual pets.
  13. 13 . The method of claim 12 , wherein the skill combination is determined by combining a representative skill of each of the plurality of first virtual pets; or the skill combination is determined by: calculating characteristics of a plurality of candidate skill combinations of the plurality of first virtual pets using a second machine learning model to obtain a usage probability of each of the plurality of candidate skill combinations, and selecting a candidate skill combination with a maximum usage probability as the skill combination.
  14. 14 . The method of claim 13 , wherein the second machine learning model is trained by: predicting characteristics of a plurality of skill combination samples using the second machine learning model to obtain a predicted probability of each of the plurality of skill combination samples; and back-propagating a difference between the predicted probability of each of the plurality of skill combination samples and an actual selected result label to update a parameter of the second machine learning model.
  15. 15 . The method of claim 1 , wherein controlling the second virtual pet to release the skill of the first virtual pet comprises: when the first player character is fused with a single first virtual pet to form the second virtual pet, displaying a skill list of the first virtual pet, and controlling the second virtual pet to release a selected skill in response to a selection operation for the skill list.
  16. 16 . The method of claim 1 , wherein controlling the second virtual pet to release the skill of the first virtual pet comprises: when the first player character is fused with a single first virtual pet to form the second virtual pet, controlling the second virtual pet to release a selected skill in response to a triggering operation for a specific skill of the first virtual pet.
  17. 17 . The method of claim 1 , wherein an attribute value of the skill of the first virtual pet released by the second virtual pet is the same as an attribute value of the skill of the first virtual pet released by the first virtual pet.
  18. 18 . The method of claim 1 , wherein an attribute value of the skill of the first virtual pet released by the second virtual pet and an attribute value of the skill of the first virtual pet released by the first virtual pet have a same gain factor, wherein the gain factor is preset by a server or set by a first player account.
  19. 19 . A device for interactive processing in a virtual scene, the device comprising: a memory, configured to store computer-executable instructions; a processor, configured to execute the computer-executable instructions stored in the memory, to cause the device to: display the virtual scene in a human-computer interaction interface, wherein the virtual scene comprises a first player character; in response to a fusion triggering operation for the first player character and at least one first virtual pet of the first player character, or in response to the first player character and the at least one first virtual pet of the first player character meeting an automatic fusion condition, fuse the first player character with the at least one first virtual pet to form a second virtual pet, wherein the first player character is a player character controlled by the human-computer interaction interface; and in response to an interactive triggering operation for the second virtual pet, control the second virtual pet to release a skill of the first virtual pet, wherein an interactive target of the skill comprises at least one of: a non-player character in the virtual scene or a second player character in the virtual scene, wherein the second player character is different from the first player character.
  20. 20 . A non-transitory computer-readable storage medium, configured to store a computer program that causes a processor to perform a method for interactive processing in a virtual scene, comprising: displaying the virtual scene in a human-computer interaction interface, wherein the virtual scene comprises a first player character; in response to a fusion triggering operation for the first player character and at least one first virtual pet of the first player character, or in response to the first player character and the at least one first virtual pet of the first player character meeting an automatic fusion condition, fusing the first player character with the at least one first virtual pet to form a second virtual pet, wherein the first player character is a player character controlled by the human-computer interaction interface; and in response to an interactive triggering operation for the second virtual pet, controlling the second virtual pet to release a skill of the first virtual pet, wherein an interactive target of the skill comprises at least one of: a non-player character in the virtual scene or a second player character in the virtual scene, and the second player character is different from the first player character.

Description

CROSS-REFERENCE TO RELEVANT APPLICATION The present disclosure claims priority to Chinese patent application No. 202411557697.2 filed on November 4, 2024, the contents of which are hereby incorporated by reference in its entirety. BACKGROUND In the field of game technologies, in order to optimize a user interactive experience, many game developers create a virtual environment that is both realistic and interesting, allowing a player character to have a rich and diverse interactive experience with a virtual pet. In the related art, an interaction mode between the player character and the virtual pet is too monotonous, lacking a deep interaction with the virtual pet, which affects the immersion of the player character during an interactive process. SUMMARY The present disclosure relates to computer technologies, and more particularly to a method and device for interactive processing in a virtual scene. The embodiments of the present disclosure provide a method and a device for interactive processing in a virtual scene, an electronic device, a computer-readable storage medium and a computer program product, which is capable of providing a variety of interaction modes and improving a gaming experience of a player. The technical solutions of the embodiments of the present disclosure are implemented as follows. According to a first aspect of the disclosure, an embodiment of the present disclosure provides a method for interactive processing in a virtual scene, which includes the following operations. The virtual scene is displayed in a human-computer interaction interface, and the virtual scene includes a first player character. In response to a fusion triggering operation for the first player character and at least one first virtual pet of the first player character, or in response to the first player character and the at least one first virtual pet of the first player character meeting an automatic fusion condition, the first player character is fused with the at least one first virtual pet to form a second virtual pet, and the first player character is a player character controlled by the human-computer interaction interface. In response to an interactive triggering operation for the second virtual pet, the second virtual pet is controlled to release a skill of the first virtual pet, an interactive target of the skill includes at least one of: a non-player character in the virtual scene, or a second player character in the virtual scene, and the second player character is different from the first player character. According to a second aspect of the disclosure, an embodiment of the present disclosure provides a device for interactive processing in a virtual scene, which includes a scene display module, a fusion processing module and a control processing module. The scene display module is configured to display the virtual scene in a human-computer interaction interface. The virtual scene includes a first player character. The fusion processing module is configured to: in response to a fusion triggering operation for the first player character and at least one first virtual pet of the first player character, or in response to the first player character and the at least one first virtual pet of the first player character meeting an automatic fusion condition, fuse the first player character with the at least one first virtual pet to form a second virtual pet. The first player character is a player character controlled by the human-computer interaction interface. The control module is configured to: in response to an interactive triggering operation for the second virtual pet, control the second virtual pet to release a skill of the first virtual pet. An interactive target of the skill includes at least one of: a non-player character in the virtual scene, or a second player character in the virtual scene, and the second player character is different from the first player character. According to a third aspect of the disclosure, an embodiment of the present disclosure provides a computer-readable storage medium. The computer-readable storage medium is configured to store computer programs or computer-executable instructions. The computer programs or the computer-executable instructions, when executed by a processor, implement the method for interactive processing in a virtual scene provided by the embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram illustrating an architecture of an interactive processing system 100 for virtual scene according to an embodiment of the present disclosure. FIG. 2 is a schematic diagram illustrating a structure of a terminal 400 according to an embodiment of the present disclosure. FIG. 3A is a first flowchart illustrating a method for interactive processing in a virtual scene according to an embodiment of the present disclosure. FIG. 3B is a second flowchart illustrating a method for interactive processing in a virtual scene accordin