Interactive methods, devices, equipment, storage media, and program products in virtual scenes
By transforming a player character into a virtual pet and enabling interactions with other virtual pets, the method enhances interaction diversity and efficiency in virtual scenes, addressing the monotony and inefficiency of existing methods.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- HANGZHOU PAWPRINT INTERACTIVE ENTERTAINMENT TECHNOLOGY CO LTD
- Filing Date
- 2025-10-20
- Publication Date
- 2026-05-19
AI Technical Summary
Existing interactive methods in virtual scenes, such as games, are monotonous and reduce the efficiency of human-computer interaction, particularly when controlling pets within the game scene.
An interactive method and device that allows a player character to transform into a virtual pet, enabling interaction with other virtual pets of the same type, including summoning, moving towards virtual resources, performing tasks, and switching between different virtual pets, enhancing interaction diversity and efficiency.
The method diversifies interactive methods and improves the efficiency of human-machine interaction by allowing player characters to transform into virtual pets and engage in various interactions, thereby optimizing resource utilization.
Smart Images

Figure 2026082711000001_ABST
Abstract
Description
Cross-reference to related applications
[0001] The present invention is proposed based on a Chinese patent application with an application number of 202411566596.1 and an application date of November 4, 2024, claims the priority of this Chinese patent application, and incorporates all the contents of this Chinese patent application into this application by reference.
Technical Field
[0002] The present disclosure relates to the field of Internet technology, and particularly to an interactive method, device, electronic device, computer-readable storage medium, and computer program product in a virtual scene.
Background Art
[0003] In related games, a user can acquire a pet within the game scene, and then control the acquired pet to follow and act with the player character controlled by the user. However, such an interactive method is not only monotonous but also reduces the efficiency of human-computer interaction in the game.
Summary of the Invention
[0004] Embodiments of the present disclosure provide an interactive method, device, electronic device, computer-readable storage medium, and computer program product in a virtual scene, which can improve the diversity of the interactive method and the efficiency of human-computer interaction in the virtual scene.
[0005] The technical solutions of the embodiments of the present disclosure are realized as follows. Embodiments of the present disclosure provide an interactive method in a virtual scene, the method comprising: displaying a player character in a virtual scene; controlling to convert the form of the player character into a first virtual pet according to a conversion command for the player character; Displaying at least one second virtual pet, wherein the second virtual pet is of the same type as the first virtual pet, This includes controlling the first virtual pet to interact with the second virtual pet in response to an interactive command given to the first virtual pet.
[0006] Embodiments of this disclosure provide an interactive device in a virtual scene, the device is A first display module configured to display the player character in a virtual scene, A first control module configured to control the player character's form to be converted into a first virtual pet in response to a conversion command for the player character, A second display module configured to display at least one second virtual pet, wherein the second virtual pet is of the same type as the first virtual pet, The system includes a second control module configured to control the first virtual pet to interact with the second virtual pet in response to interactive commands given to the first virtual pet.
[0007] In the above proposed technology, the device further comprises a third display module, the third display module configured to trigger an interactive command for the first virtual pet in response to a summoning operation for the first virtual pet, the summoning operation being used to summon the at least one second virtual pet and cause the at least one second virtual pet to follow the first virtual pet, and the summoning operation being triggered by at least one of a summoning control, joystick, mouse, and keyboard.
[0008] In the above proposed technology, the second control module is further configured to control the first virtual pet to summon the second virtual pet in response to an interactive command to the first virtual pet, and to display the process by which the second virtual pet moves toward the first virtual pet during the process of the first virtual pet summoning the second virtual pet.
[0009] In the above proposed technology, the device further comprises a fourth display module, the fourth display module is configured to display a sealed virtual resource in the virtual scene, control the first virtual pet to move toward the virtual resource in response to a move operation on the first virtual pet, display the process by which at least one second virtual pet moves following the first virtual pet, display the process by which the seal on the virtual resource is released when the first virtual pet and the at least one second virtual pet move to the relevant position of the virtual resource, display the virtual resource in an unsealed state in response to the release of the seal on the virtual resource, and control the first virtual pet to pick up the virtual resource in response to a pick-up operation on the virtual resource in an unsealed state.
[0010] In the above proposed technology, the number of associated locations is multiple, each associated location corresponds to one pattern, and the device further comprises a third control module, the third control module is configured to control the first virtual pet to move to a target pattern among the multiple patterns in response to a movement operation for the first virtual pet, to switch the target pattern from a first style to a second style when the first virtual pet moves to the sensing area of the target pattern, to display the process of at least one second virtual pet moving to another pattern, and to switch the other pattern from a first style to a second style when the second virtual pet moves to the sensing area of the other pattern, and to determine that the first virtual pet and at least one second virtual pet have moved to the associated location of the virtual resource in response to the fact that the pattern of each associated location has all been switched to the second style.
[0011] In the above proposed technology, the device further comprises a fourth control module, which controls the first virtual pet to move toward a target second virtual pet among the at least one second virtual pet in response to a movement operation for the first virtual pet, the target second virtual pet being a second virtual pet capable of delivering interactive tasks, and which displays task acceptance guidance information when the first virtual pet moves within the interactive range of the target second virtual pet, and is configured to trigger an interactive command for the first virtual pet in response to a task acceptance operation for the first virtual pet based on the task acceptance guidance information, and the second control module is further configured to control the first virtual pet to receive the interactive task delivered by the target second virtual pet in response to an interactive command for the first virtual pet.
[0012] In the above proposed technology, the device further comprises a fifth display module, the fifth display module being configured to display the process by which the first virtual pet performs the interactive task in response to a task execution command to the first virtual pet, and to control the first virtual pet to receive a virtual resource from the target second virtual pet when the first virtual pet has completed the execution of the interactive task, in accordance with the first virtual pet being located within the interactive range of the target second virtual pet, the virtual resource being used as a reward for completing the interactive task.
[0013] In the above proposed technology, the interactive task is to pick up a target quantity of virtual items, and the fifth display module is further configured to display at least two quantity options depending on whether the first virtual pet is located within the interactive range of the target second virtual pet, the different quantity options corresponding to different quantities and being less than or equal to the target quantity, and in response to a selection operation for the target quantity option among the at least two quantity options, the fifth display module is configured to deliver a quantity of virtual items corresponding to the target quantity option to the target second virtual pet, and to control the first virtual pet to receive the corresponding virtual resources from the target second virtual pet.
[0014] In the above proposed technology, the interactive command is triggered by a pet interaction operation performed on the first virtual pet, and the second control module is further configured to control the first virtual pet to interact with the second virtual pet in response to the interactive command triggered based on the pet interaction operation, and to output an interaction response from the second virtual pet to the first virtual pet during the interaction process between the first and second virtual pets, where the interaction response is used to present an interactive operation that the first virtual pet can perform in the virtual scene.
[0015] In the above proposed technology, the virtual scene includes at least two scene areas, the first virtual pet is located in the first scene area of the virtual scene, and the device further comprises a fifth control module, which controls the first virtual pet to move from the first scene area to the second scene area of the virtual scene in response to a movement command for the first virtual pet, where the second scene area includes a third virtual pet, the third virtual pet being of a different type from the first virtual pet, and the fifth control module is configured to control the first virtual pet to transform into the third virtual pet when the first virtual pet is located in the second scene area.
[0016] In the above proposed technology, the player character is located in a first virtual space in the virtual scene, and the device further comprises a transfer module, which is configured to transfer the player character from the first virtual space to a second virtual space in the virtual scene in response to a spatial transfer command for the player character, and to trigger a conversion command for the player character when the player character is located in the second virtual space.
[0017] In the above proposed technology, the faction to which the player character belongs further includes at least one other virtual pet, the device further comprises a switching module, the switching module configured to switch the controlled object from the first virtual pet to the target other virtual pet in response to a switching command for the target other virtual pet among the at least one other virtual pets, where the target other virtual pet differs from the first virtual pet in at least one of its form and attribute values, and the second control module is further configured to control the target other virtual pet to interact with the second virtual pet in response to an interact command for the target other virtual pet.
[0018] In the above proposed technology, the number of first virtual pets obtained by the conversion target is at least one, the types of first virtual pets are different, the first control module is further configured to display a plurality of pet options in response to a conversion command to the player character, the different pet options correspond to different types of first virtual pets, and in response to a selection operation for a target pet option among the plurality of pet options, the player character is converted to a first virtual pet belonging to the target type to which the target pet option corresponds.
[0019] In the above proposed technology, the device further comprises a sixth control module, which is configured to control the first virtual pet to merge with the second virtual pet in response to a merge command for the first virtual pet, and to display the fourth virtual pet obtained by the merger, wherein the attribute values of the fourth virtual pet are higher than those of the first virtual pet.
[0020] In some embodiments, the device further comprises a sixth display module configured to display attackable objects, control the first virtual pet to attack the attackable objects in response to an attack command to the first virtual pet, and display the process by which the at least one second virtual pet attacks the attackable objects.
[0021] Embodiments of this disclosure provide electronic equipment, which is, Memory for storing computer executable instructions or computer programs, The present invention comprises a processor for realizing an interactive method in a virtual scene according to an embodiment of this disclosure by executing computer executable instructions or computer programs stored in the memory.
[0022] Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions or a computer program, and the computer-executable instructions or the computer program cause a processor to execute an interactive method in a virtual scene according to embodiments of the present disclosure.
[0023] Embodiments of the present disclosure provide a computer program product, which includes computer-executable instructions or a computer program, and the computer-executable instructions or the computer program are stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions or the computer program from the computer-readable storage medium and executes the computer-executable instructions or the computer program, thereby causing the electronic device to execute an interactive method in a virtual scene according to embodiments of the present disclosure.
[0024] Embodiments of the present disclosure have the following beneficial effects. After displaying a player character having a first virtual pet in a virtual scene, in response to a transformation command for the player character, control is performed to transform the form of the player character into a first virtual pet. Thereby, after displaying at least one second virtual pet of the same type as the first virtual pet, in response to an interactive command for the first virtual pet, control is performed such that the first virtual pet interacts with the second virtual pet. In this way, by changing the player character into a virtual pet and then making the virtual pet interact with other virtual pets of the same kind, not only is the interactive method for virtual pets diversified, improving the diversity of the interactive methods in the virtual scene, but also the efficiency of human-machine interaction and the utilization rate of the hardware resources of the electronic device are improved.
Brief Description of the Drawings
[0025] [Figure 1]Schematic architecture diagram of the interactive system 100 in a virtual scene according to an embodiment of the present disclosure. [Figure 2] Schematic structure diagram of an electronic device according to an embodiment of the present disclosure. [Figure 3] Flowchart of an interactive method in a virtual scene according to an embodiment of the present disclosure. [Figure 4] Schematic diagram of a player character and a first virtual pet according to an embodiment of the present disclosure. [Figure 5] Schematic diagram of the process of converting the form of a player character into a first virtual pet according to an embodiment of the present disclosure. [Figure 6] Schematic diagram of the process of forming a first virtual pet based on the combination of player characters according to an embodiment of the present disclosure. [Figure 7] Schematic diagram of a player character located at a target position according to an embodiment of the present disclosure. [Figure 8] Schematic diagram of the process of switching the control target from a first virtual pet to another target virtual pet according to an embodiment of the present disclosure. [Figure 9] Schematic diagram of a summoning control according to an embodiment of the present disclosure. [Figure 10] Schematic diagram of a summoning effect according to an embodiment of the present disclosure. [Figure 11] Schematic diagram of a pattern of related positions according to an embodiment of the present disclosure. [Figure 12] Schematic diagram of the process of passing an interactive task according to an embodiment of the present disclosure. [Figure 13] Schematic diagram of a first virtual pet and a second virtual pet communicating with each other according to an embodiment of the present disclosure. [Figure 14] Flowchart of an interactive method for a virtual scene according to an embodiment of the present disclosure.
Embodiments for Carrying Out the Invention
[0026] [[ID=MS4]] To further clarify the purpose, technical solutions, and benefits of this disclosure, the following descriptions will be made in more detail with reference to the drawings. The embodiments described should not be considered limiting to this disclosure, and all other embodiments that can be obtained without creative effort by those skilled in the art are included within the scope of this disclosure.
[0027] In the following description, when we refer to “some embodiments,” we mean a subset of all possible embodiments. However, to make it clear, “some embodiments” can be the same subset or different subsets of all possible embodiments, and can be combined with each other in a non-contradictory manner.
[0028] In the following description, terms such as “first / second / third” are used solely to distinguish similar subjects and do not represent a specific order of subjects. To ensure that it is understood that “first / second / third” can, where appropriate, be used to change a specific order or sequence, thereby allowing the embodiments of the disclosure described herein to be performed in an order other than those illustrated or described herein.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art. Terms used herein are solely for illustrative purposes of the embodiments of this disclosure and are not intended to limit the disclosure.
[0030] Before describing the embodiments of this disclosure in detail, the nouns and terms used in the embodiments of this disclosure will be explained below.
[0031] 1) ~depending on: Used to indicate the conditions or states on which an operation to be performed depends. When the dependent conditions or states are met, one or more operations to be performed may be in real time or may have a set delay. Unless otherwise specified, there are no restrictions on the order in which multiple operations to be performed are executed.
[0032] 2) Client: Also known as the user end, this refers to a program that provides local services to the user in conjunction with the server. Except for some applications that can only run locally, it is usually installed on the terminal and needs to work in conjunction with the server. In other words, the corresponding server and service program must be within the network to provide the corresponding services, thereby establishing a specific communication connection between the client and the server and ensuring the normal operation of the application. Examples include virtual scene clients (such as game clients) and video clients.
[0033] 3) Virtual Scene: A virtual scene that is displayed (or provided) when the application is run on the terminal. This virtual scene may be a real-world simulation environment, a semi-simulated, semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene may be a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene.
[0034] For example, a virtual scene may include the sky, land, sea, etc., and the land may include environmental elements such as deserts, cities, etc., and the user can control the player character and perform activities within the virtual scene. Such activities include, but are not limited to, adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. The virtual scene may be displayed in a first-person perspective (for example, the user plays the player character in the game from their own point of view), in a third-person perspective (for example, the user follows the player character in the game to progress through the game), or in a bird's-eye view, and the above perspectives can be switched at will.
[0035] 4) Player Character: An image of various people or things that can be interacted with within a virtual scene, or an actionable object within a virtual scene. Such actionable objects may be virtual people, virtual animals, animated characters, etc., and may be, for example, people, animals, plants, drums, walls, stones, or vehicles displayed in the virtual scene. The player character may also be a virtual image to represent the user in the virtual scene. A virtual scene may contain multiple player characters, each player character having its own shape and volume within the virtual scene and occupying a portion of the virtual scene's space.
[0036] For example, the player character may be a user character controlled by operations on the client, an artificial intelligence (AI) trained to participate in a virtual scene battle, or a non-player character (NPC) interactively configured in the virtual scene. Here, the number of player characters participating in the interactive virtual scene may be predetermined or dynamically determined according to the number of clients participating in the interactive.
[0037] 5) Virtual Pets: These are interactive images of people and objects within a virtual scene, which can be acquired through trading between users or by capturing them with a player character controlled by the user. They can be stored in the user's backpack, follow the player character around the virtual scene, or move around freely. Virtual pets may be controlled by the user or may be NPCs.
[0038] 6) Third-person perspective: In this perspective, the in-game camera is positioned at a certain distance behind the player character, and all combat elements, including the character and the surrounding environment, are visible on the screen.
[0039] 7) First-person perspective: The in-game camera is positioned at the player character's eye level, allowing the player to see a portion of the character's body and all combat elements within a certain surrounding environment.
[0040] Referring to Figure 1, Figure 1 is a schematic diagram of the architecture of an interactive system 100 in a virtual scene provided by an embodiment of the present disclosure. A terminal (exemplifying terminal 400) 400 is connected to a server 200 via a network 300. Here, the network 300 may be a wide area network, a local area network, or a combination of both, and data transmission is achieved using wireless or wired links.
[0041] Here, server 200 is used to send display data of the virtual scene to terminal 400.
[0042] Terminal 400 receives virtual scene display data, displays the virtual scene based on the display data, displays the player character in the virtual scene, controls the player character to convert the player character's form to the first virtual pet in response to a conversion command for the player character, displays at least one second virtual pet, the second virtual pet is of the same type as the first virtual pet, and is configured to control the first virtual pet to interact with the second virtual pet in response to an interaction command for the first virtual pet.
[0043] In some embodiments, the server 200 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal 400 may be, but is not limited to, a smartphone, tablet computer, laptop computer, desktop computer, set-top box, smart voice interaction device, smart home appliance, virtual reality device, in-car terminal, aircraft, portable music player, personal digital assistant, dedicated messaging device, portable game console, smart speaker, smartwatch, etc. The terminal and server may be connected directly or indirectly by wired or wireless means, and the embodiments of this disclosure are not limited to these connections.
[0044] Next, an electronic device that implements the interactive method in a virtual scene according to an embodiment of the present disclosure will be described. Referring to Figure 2, Figure 2 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure, and the electronic device may be a server or a terminal. Taking the terminal shown in Figure 1 as an example, the electronic device shown in Figure 2 includes at least one processor 410, memory 450, at least one network interface 420, and a user interface 430. Each component within the terminal 400 is connected via a bus system 440. To make it clear, the bus system 440 is used to enable connection communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity of explanation, all the various buses are shown as the bus system 440 in Figure 2.
[0045] The processor 410 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), a programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, where the general-purpose processor may be a microprocessor or any conventional processor.
[0046] The user interface 430 includes one or more output devices 431 for displaying media content, each output device 431 including one or more speakers and / or one or more visual displays. The user interface 430 further includes one or more input devices 432, each input device 432 including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touchscreen display, camera, and other input buttons and controls.
[0047] The memory 450 may be removable, non-removable, or a combination of both. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, and the like. The memory 450 may include one or more storage devices located physically separate from the processor 410.
[0048] The memory 450 may include volatile memory or non-volatile memory, or both volatile and non-volatile memory. Non-volatile memory may be read-only memory (ROM), and volatile memory may be random-access memory (RAM). The memory 450 described in the embodiments of this disclosure is intended to include any suitable type of memory.
[0049] In some embodiments, memory 450 can store data to support various operations, and examples of this data include programs, modules, and data structures, or subsets or supersets thereof, which are illustrated below.
[0050] Operating System 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the frame layer, core library layer, and driver layer, and is used to implement various basic services and handle hardware-based tasks.
[0051] The network communication module 452 is for accessing other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including Bluetooth®, Wireless Compatibility Certification (Wi-Fi®), and Universal Serial Bus (USB).
[0052] The presentation module 453 is used to display information (for example, a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the user interface 430.
[0053] The input processing module 454 is used to detect one or more user inputs or interactions from one or more input devices 432 and to interpret the detected inputs or interactions.
[0054] In some embodiments, the apparatus according to the embodiments of this disclosure may be implemented by software. Figure 2 shows an interactive device 455 in a virtual scene stored in memory 450, which may be software in the form of a program or plug-in, and comprises a first display module 4551, a first control module 4552, a second display module 4553, and a second control module 4554. These modules are logical and can therefore be arbitrarily combined or further divided depending on the function to be implemented. The function of each module will be described later.
[0055] In some other embodiments, the devices provided in the embodiments of the present disclosure can be implemented in hardware form, for example, an interactive device in a virtual scene according to an embodiment of the present disclosure may be a hardware decoding processor, which is programmed to perform the interactive method in a virtual scene according to an embodiment of the present disclosure, and for example, a hardware decoding processor may employ one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic elements.
[0056] In some embodiments, a terminal or server can implement the interactive method in the virtual scene according to embodiments of this disclosure by executing a computer program. For example, the computer program may be a native program or software module within an operating system, a native application (APP), i.e., a local client such as an instant messaging APP or a web browser APP that needs to be installed on the operating system, or a mini-application that can be run simply by downloading it to a browser environment, or a mini-application that can be embedded in any APP. In short, the computer program described above can be any form of client, module, or plug-in.
[0057] Based on the above description of the interactive system and electronic equipment in the virtual scene according to the embodiments of this disclosure, the interactive method in the virtual scene according to the embodiments of this disclosure will now be described. In actual implementation, the interactive method in the virtual scene according to the embodiments of this disclosure may be implemented by a terminal or a server alone, or by cooperation between a terminal and a server. The case in which terminal 400 in Figure 1 independently executes the interactive method in the virtual scene according to the embodiments of this disclosure will be described as an example. Referring to Figure 3, Figure 3 is a flowchart of the interactive method in the virtual scene according to the embodiments of this disclosure, and will be described in combination with what is shown in Figure 3.
[0058] In step 101, the terminal displays the player character in the virtual scene.
[0059] In actual implementation, the terminal has an application installed that supports a virtual scene. This application may be a multiplayer online role-playing game, a first-person shooter game, a third-person shooter game, a multiplayer online battle arena game, a virtual reality application, a 3D map program, or a multiplayer gunfight survival game. The user can play a game using the application on the terminal. When the user opens the application on the terminal and the terminal runs the application, the terminal renders a page of the virtual scene. Here, the virtual scene is viewed from a first-person or third-person perspective and contains a player character. Here, the player character may be controlled by the current player, or it may be controlled by other players (teammates) belonging to the same group as the current player.
[0060] It should be noted that the form of the player character is predetermined and may be, for example, a human form, an animal form, a plant form, a gaseous form, etc., but this is not limited to the embodiments of this disclosure.
[0061] In step 102, the system controls the transformation of the player character's form into the first virtual pet in response to a transformation command for the player character.
[0062] It should be noted that controlling the player character's form to be converted into a first virtual pet, that is, converting the player character to a first virtual pet, means that the object of control changes from the player character to the first virtual pet. Here, the first virtual pet may be something the player character possesses, that is, something the player has acquired previously, for example, something captured in a virtual scene, something purchased from a game store, or something given as a gift, but this is not limited to the embodiments of this disclosure. When displaying the player character in a virtual scene, the first virtual pet possessed by the player character may or may not be displayed in the virtual scene, for example, it may be in the player character's backpack. Here, the virtual pet may be in the form of an animal, a plant, etc., but this is not limited to the embodiments of this disclosure.
[0063] For illustrative purposes, referring to Figure 4, which is a schematic diagram of a player character and a first virtual pet according to an embodiment of the present disclosure. Based on Figure 4, the player character and the first virtual pet owned by the player character are displayed together in the virtual scene interface, where the dashed frame 401 points to the player character and the dashed frame 402 points to the first virtual pet owned by the player character.
[0064] Alternatively, the first virtual pet may not be owned by the player character, for example, it may be something the player character encounters while moving through a virtual scene, or it may be randomly determined when a transformation command is triggered on the player character, but this is not limited to the embodiments of this disclosure.
[0065] In actual implementation, the player character may be directly transformed into the first virtual pet, or the player character may be merged with the target virtual pet to form the first virtual pet.
[0066] In some embodiments, when the player character is directly transformed into a first virtual pet, the process of transforming the player character's form into the first virtual pet in response to a transformation command may involve playing a transformation animation in response to the transformation command. Here, the transformation animation is used to indicate that the player character is being transformed into the first virtual pet. Once the transformation animation has finished playing, the first virtual pet obtained by transforming the player character is displayed.
[0067] For illustrative purposes, referring to Figure 5, which is a schematic diagram of the process of converting the form of a player character to a first virtual pet according to an embodiment of the present disclosure. Based on Figure 5, the dashed frame 501 in Figure 5a refers to the player character, and in response to a conversion command for the player character, a conversion animation is played as shown in Figure 5b. Once the playback of the conversion animation is complete, the first virtual pet converted from the player character is displayed as shown in Figure 5c. Here, the dashed frame 502 in Figure 5c refers to the first virtual pet obtained by conversion from the player character.
[0068] In some other embodiments, when a player character is merged with a target virtual pet to form a first virtual pet, it may be determined that a conversion command for the player character is triggered in response to a merging trigger operation on the player character and at least one target virtual pet, or when the player character and at least one target virtual pet satisfy the automatic merging conditions. Thus, the process of converting the form of the player character to the first virtual pet in response to the conversion command for the player character may involve merging the player character and at least one target virtual pet to form the first virtual pet in response to the conversion command for the player character.
[0069] It should be noted that the target virtual pet may be any virtual pet, for example, a virtual pet owned by the player or a virtual pet not owned by a non-player in the virtual scene, but this is not limited to the embodiments of this disclosure. Also, the form and / or attribute values of the first virtual pet may be the same as or different from those of the target virtual pet, and the attribute values include at least health, damage, defense, speed, etc.
[0070] Here, the fusion trigger operation may be performed based on function controls, or based on at least one of the keyboard, mouse, and joystick. On the other hand, the automatic fusion conditions include one of the following: the environment in which the player character is currently located contains a virtual pet of the same type or species as the target virtual pet; the task object that the player character is about to interact with is of the same type or species as the first virtual pet obtained by fusion; and the interactive task that the player character is about to perform is associated with the first virtual pet obtained by fusion.
[0071] In actual implementation, during the process of combining a player character with at least one target virtual pet to create the first virtual pet, if the virtual scene currently contains only one target virtual pet, the player character will be combined with the only target virtual pet currently contained in the virtual scene to create the first virtual pet.
[0072] Alternatively, if the virtual scene currently contains multiple target virtual pets, the player character will be merged with at least one of the selected target virtual pets to become a second virtual pet, depending on the selection operation performed on the multiple target virtual pets.
[0073] Alternatively, if there are multiple target virtual pets, the player character is merged with at least one target virtual pet selected from among the multiple target virtual pets to form the first virtual pet, in response to an automatic fusion trigger operation, such as a trigger operation for automatic fusion control, or a trigger operation in the form of sound, sensation, etc. Here, the selected target virtual pet is selected based on a descending sort of selection parameters, which are determined by directly selecting one or by weighting and summing multiple characteristic parameters based on past summoning frequency, past fusion frequency, and at least one attribute value of the target virtual pet. Here, past summoning frequency refers to the number or frequency of times the player character has summoned the pet into the virtual scene. As mentioned above, attribute values include at least HP, damage, defense, speed, etc.
[0074] In practical applications, when multiple target virtual pets exist, the fusion priorities of different target virtual pets usually differ. Each target virtual pet can be displayed using a corresponding display style according to its fusion priority. That is, by displaying each target virtual pet with a different fusion priority using a different display style (e.g., different display order, different display color, different display brightness, different display font, etc.), or by highlighting the target virtual pet with a higher fusion priority, it becomes easier for the player to select and fuse the necessary target virtual pets, thus improving the accuracy and efficiency of the fusion process.
[0075] For example, if multiple target virtual pets exist, the pet list will display them in target order. Here, the target order is sorted based on characteristic parameters associated with the target virtual pets. Here, the characteristic parameters may include the past summoning frequency of the target virtual pet (i.e., if the target virtual pet is player-owned, this refers to the frequency or number of times the player character has summoned the target virtual pet into the virtual scene), and generally, the higher the past summoning frequency of a target virtual pet, the higher its fusion priority, and accordingly, the higher it will appear in the pet list. The characteristic parameters may also include the past fusion frequency of the target virtual pet (i.e., the frequency or number of times the player character and the target virtual pet have fused within a past target period), and generally, the higher the past fusion frequency of a target virtual pet, the higher its fusion priority, and accordingly, the higher it will appear in the pet list. The characteristic parameters may include the attribute values of the target virtual pet's skills (attack ability, defense ability, speed, health, magic value, etc.). Generally, the higher the attribute values of the target virtual pet's skills, the higher its fusion priority will be, and accordingly, that target virtual pet will appear higher in the pet list.
[0076] Feature parameters may include the degree of matching between the skills and abilities of the target virtual pet and the environment in which the player character is currently located. Generally, a higher degree of matching results in a higher priority for merging with the corresponding target virtual pet, and a higher display order in the pet list. Here, the degree of matching is obtained by calling a machine learning model to predict based on the characteristics of the abilities of the target virtual pet (i.e., ability types, e.g., climbing ability, swimming ability, flying ability, field of view expansion ability, night vision ability, detection ability, etc.) and the characteristics of the scene in which the player character is currently located (i.e., scene type, e.g., climbing scene like a mountainside, swimming scene like underwater, non-contact flying scene, dark scene, scene with obstacles, etc.). The machine learning model is trained in the following way: Based on the characteristics of the abilities of a sample virtual pet and the characteristics of the scene in which a sample player character is currently located, the machine learning model is called to calculate the predicted degree of matching, and the parameters of the machine learning model are updated by backpropagation based on the difference between the predicted degree of matching and the actual matching result label (1 for matching, 0 for mismatch). For example, after determining the value of the machine learning model's loss function based on the difference between the predicted matching degree and the actual matching result label (1 for matching, 0 for mismatch), it is determined whether the value of the loss function exceeds a predetermined threshold. If the value of the loss function exceeds the predetermined threshold, the error signal of the machine learning model is determined based on the loss function, and the error signal is backpropagated within the machine learning model, updating the model parameters of each layer during the propagation process.
[0077] Herein, the embodiments of this disclosure do not limit the model structure of the machine learning model; for example, the machine learning model may be a convolutional neural network, a deep neural network, etc. Furthermore, the form of the loss function is not limited; for example, it may be a cross-entropy loss function, an L2 loss function, etc. Now, let's explain backpropagation. Inputting training sample data into the input layer of a neural network model, passing through the hidden layer, and finally reaching the output layer to output the result is the forward propagation process of a neural network model. Because there is an error between the output result of the neural network model and the actual result, the error between the output result and the actual value is calculated, and this error is propagated in reverse from the output layer to the hidden layer, and then to the input layer. During the backpropagation process, the values of the model parameters are adjusted based on the error. That is, a loss function is constructed based on the error between the output result and the actual value, the partial derivatives of the loss function with respect to the model parameters are found for each layer, and the gradient of the loss function with respect to the model parameters of each layer is generated. Since the direction of the gradient indicates the direction in which the error expands, the gradient of the model parameters is reversed, and the sum with the original parameters of each layer model is calculated. The obtained sum is used as the updated model parameters for each layer, thereby reducing the error caused by the model parameters. The above process is repeated until convergence occurs.
[0078] It should be noted that when the target virtual pet and the player character merge, a merging animation may be played. That is, the process of the player character and the target virtual pet coming into contact, gradually fusing together, and finally becoming the first virtual pet will be displayed, and once the merging animation is complete, the first virtual pet obtained through merging will be displayed.
[0079] For illustrative purposes, referring to Figure 6, which is a schematic diagram of the process of forming a first virtual pet based on the fusion of player characters according to an embodiment of the present disclosure. Based on Figure 6, the dashed frame 601 in Figure 6a points to the player character, and the dashed frame 602 points to the target virtual pet. As a result, in response to a conversion command for the player character, a fusion animation is played as shown in Figure 6b. Once the fusion animation is completed, the first virtual pet obtained by the fusion of the player character and the target virtual pet is displayed as shown in Figure 6c. Here, the dashed frame 603 in Figure 6c points to the first virtual pet obtained by the fusion of the player character and the target virtual pet.
[0080] In actual implementation, transformation commands for the player character may be triggered based on a transformation operation, an item, or an element or target location in a virtual scene.
[0081] For example, when a conversion command for a player character is triggered by a conversion operation, the process of receiving a conversion command for a player character specifically includes displaying a conversion control, receiving a conversion command for a player character in response to a conversion operation triggered based on the conversion control, or receiving a conversion command for a player character in response to a conversion operation triggered based on at least one of the keyboard, mouse, and joystick.
[0082] For example, if a transformation command for a player character is triggered based on an element or target location in a virtual scene, the process of receiving a transformation command for a player character specifically includes: controlling the player character to move toward an element or target location in response to a movement operation on the player character; triggering a spatial transfer command when the player character moves into the sensing area of the element or target location in the virtual scene; that is, displaying the time the player character stays in the sensing area when the player character is within the sensing area of the element or target location in the virtual scene; and triggering a transformation command for the player character when the time stay reaches a stay threshold.
[0083] Here, the virtual natural phenomena to which the virtual natural elements belong can be natural phenomena that affect the environment in which they exist, such as tornadoes or volcanoes. The target location is a pre-set location in the virtual scene and can be identified by an effect or pattern.
[0084] In actual implementation, when a player character is within the sensing area of an element or target location in a virtual scene, the sensing area is a circular area centered on the element or target location in the virtual scene and with a radius equal to the target distance. The process of determining whether a player character is within the sensing area of an element or target location in a virtual scene specifically includes the terminal detecting the player character's position in the virtual scene in real time, obtaining the position of the element or target location in the virtual scene and the sensing area, obtaining the distance between the player character and the element or target location based on the player character's position and the position of the element or target location in the virtual scene, comparing that distance with the radius of the sensing area, i.e., the target distance, and determining that the player character is within the sensing range of the element or target location in the virtual scene if the comparison result indicates that the distance is less than or equal to the radius of the sensing area.
[0085] It should be noted that a transformation command can be directly triggered for the player character when the player character is within the sensing area of an element in the virtual scene or a target location. Alternatively, a transformation command can be triggered for the player character based on the time the player character spends within the sensing area. Specifically, when the player character is within the sensing area of an element in the virtual scene or a target location, the time the player character spends within the sensing area is displayed, and a transformation command is triggered for the player character when the time reaches a stay threshold. For example, when the player character is within the sensing area of an element in the virtual scene or a target location, the time the player character spends within the area is detected, and if the detection result indicates that the time the player character spends within the area has reached a stay threshold, for example, 5 seconds, a transformation command is triggered for the player character.
[0086] For illustrative purposes, referring to Figure 7, which is a schematic diagram of an embodiment of the present disclosure in which a player character is positioned at a target location. Based on Figure 7, the dashed frame 701 points to the player character, and 702 points to the target location. As a result, when the player character is within the sensing area of the target location pointed to by 702, a conversion command is triggered for the player character pointed to by the dashed frame 701.
[0087] In some embodiments, the number of first virtual pets obtained by the conversion target is at least one, and the types of first virtual pets differ. Here, when the number of first virtual pets obtained by the conversion target is one, the system controls the conversion command to the player character to directly convert the player character's form into the first virtual pet, that is, convert the player character into the first virtual pet. Here, the process of converting the player character's form into the first virtual pet is as described above, and the player character's form may be directly converted into the first virtual pet, or the player character may merge and convert with the displayed target virtual pet to obtain the first virtual pet, but the embodiments of this disclosure are not limited to this.
[0088] If the number of first virtual pets obtained from the conversion target is multiple, and the different first virtual pets are of different types, the process of converting the player character's form to a first virtual pet in response to a conversion command to the player character may involve displaying multiple pet options in response to the conversion command to the player character. Different pet options correspond to different types of first virtual pets. In response to a selection operation for a target pet option among the multiple pet options, the player character is converted to a first virtual pet belonging to the target type corresponding to the target pet option.
[0089] It should be noted that after triggering a conversion command, the system retrieves the number of first virtual pets the player intends to convert. If there are multiple first virtual pets, it analyzes the types of each first virtual pet to obtain their respective types, and then displays multiple pet options based on each first virtual pet type. This allows the player character to be converted to a first virtual pet belonging to the target type corresponding to the target pet option, depending on the selection operation for the target pet option among the multiple options. Meanwhile, the selection operation for the target pet option among multiple pet options can include click, single-click, and double-click operations on the target pet option. Here, different types of first virtual pets have different attribute values, which include at least HP, damage, defense, speed, etc. Thus, the user can select the virtual pet to be converted to based on different pet options, thereby acquiring the attribute values of the corresponding virtual pet. This not only diversifies the pet conversion process but also improves the diversity of interactive methods in the virtual scene and the efficiency of human-machine interaction.
[0090] In some embodiments, the virtual scene includes multiple factions (i.e., teams), and player characters and / or virtual pets of different factions are in a hostile relationship. Furthermore, the faction to which a player character belongs includes at least one other virtual pet. Here, the other virtual pet may be a virtual pet owned by the player character itself, a virtual pet owned by another character belonging to the same faction as the player character, a virtual pet directly controlled by another user, or an NPC within the virtual scene, but is not limited to the embodiments of this disclosure.
[0091] Then, after converting the player character's form to the first virtual pet in response to a conversion command for the player character, the control target can be switched from the first virtual pet to the target virtual pet in response to a switching command for at least one other virtual pet, which is the target virtual pet. Here, the target virtual pet differs from the first virtual pet in at least one of its form and attribute values. As a result, in a subsequent process, the process in which the first virtual pet interacts with the second virtual pet in response to an interact command for the first virtual pet may be controlled so that the target virtual pet interacts with the second virtual pet in response to an interact command for the target virtual pet.
[0092] It should be noted that switching the control target from the first virtual pet to the target virtual pet means that, before a switch command is triggered for at least one of the other virtual pets that is the target virtual pet, the current user can control the player character and act within the virtual scene, but after the switch command is triggered, the current user can no longer control the player character and can instead control the target virtual pet and act within the virtual scene. Here, when the user is controlling the first virtual pet, the other virtual pets may or may not be displayed within the virtual scene, and correspondingly, when the user is controlling the target virtual pet, the first virtual pet may or may not be displayed within the virtual scene.
[0093] Furthermore, as mentioned above, attribute values include at least health, damage, defense, and speed. The command to switch to the target virtual pet among at least one other virtual pet may be triggered based on function control, or by at least one of the keyboard, mouse, and joystick, but is not limited to the embodiments of this disclosure.
[0094] For example, if a switch command for the target virtual pet among at least one other virtual pet is triggered based on function control, the display interface displays the identifier of each other virtual pet, and then, in response to a selection operation for the identifier of the target virtual pet among each identifier, a switch command for the target virtual pet among at least one other virtual pet is received.
[0095] For illustrative purposes, referring to Figure 8, which is a schematic diagram of the process of switching the controlled object from the first virtual pet to the target other virtual pet according to an embodiment of the present disclosure. Based on Figure 8, the faction to which the player character belongs includes one additional virtual pet. In Figure 8a, the dashed box 801 points to the first virtual pet, and the dashed box 802 points to the identifiers of the first virtual pet and the one other virtual pet included in the faction to which the player character belongs. Here, the first identifier in the dashed box 802 is the identifier of the first virtual pet, and the second is the identifier of the other virtual pet. At this time, the identifier of the first virtual pet is selected, and therefore the player character is controlling the first virtual pet. Upon receiving a switching command triggered based on a selection operation on the identifier of the other virtual pet, the controlled object is switched from the first virtual pet to the target other virtual pet in accordance with the switching command on the target other virtual pet. That is, the interface shown in Figure 8b is displayed. Here, the dashed box 803 in Figure 8b refers to another virtual pet, and 804 refers to the identifier of the other virtual pet that is currently selected.
[0096] In some embodiments, the player character is located in a first virtual space within the virtual scene. Before the player character's form is transformed into the first virtual pet in response to a transformation command, the player character can be further transferred from the first virtual space to a second virtual space within the virtual scene in response to a spatial transfer command. When the player character is located in the second virtual space, a transformation command is triggered for the player character.
[0097] It should be noted that, as explained above regarding the triggering of transformation commands for the player character, the spatial transfer command here may be triggered based on a transfer operation, an item, or an element of the virtual scene.
[0098] For example, if a spatial transfer command is triggered by a transfer operation, the process of receiving the spatial transfer command specifically includes displaying a transfer control, receiving a spatial transfer command in response to a transfer operation triggered based on the transfer control, or receiving a conversion command for the player character in response to a transfer operation triggered based on at least one of the keyboard, mouse, and joystick.
[0099] For example, if a spatial transfer command is triggered based on elements of a virtual scene, the process of receiving a spatial transfer command specifically includes displaying virtual scene elements belonging to natural phenomena in a first virtual space, and triggering a spatial transfer command when the player character is within the sensing area of the virtual scene element; that is, when the player character is within the sensing area of the virtual scene element, displaying the time the player character stays within the sensing area, and triggering a spatial transfer command when the stay time reaches a stay time threshold.
[0100] Here, both the first and second virtual spaces are pre-configured and belong to the same virtual scene. The first and second virtual spaces can be configured as virtual spaces such as a desert, ocean, castle, or jungle. The first virtual space may contain multiple player characters or multiple types of virtual pets, while the second virtual space may contain only one type of virtual pet, for example, a virtual space containing only the first and second virtual pets. In other words, the second virtual space may be a collection of the first and second virtual pet species. The virtual natural phenomena to which the virtual natural elements belong may be natural phenomena that affect the environment in which they exist, such as tornadoes or volcanoes.
[0101] In actual implementation, when a player character is within the sensing area of a virtual scene element, the sensing area is a circular area centered on the virtual scene element with a radius equal to the target distance. The process of determining whether a player character is within the sensing area of a virtual scene element specifically involves the terminal detecting the player character's position in the first virtual space in real time, obtaining the position of the virtual scene element and the sensing area, obtaining the distance between the player character and the virtual scene element based on the player character's position and the position of the virtual scene element, comparing that distance with the radius of the sensing area, i.e., the target distance, and determining that the player character is within the sensing range of the virtual scene element if the comparison result indicates that the distance is less than or equal to the radius of the sensing area.
[0102] It should be noted that when a player character is within the sensing area of a virtual scene element, a spatial transfer command may be triggered directly, or it may be triggered based on the player character's time spent within the sensing area. Specifically, when a player character is within the sensing area of a virtual scene element, the time spent by the player character within the sensing area is displayed, and a spatial transfer command is triggered when the time reaches a stay threshold. For example, when a player character is within the sensing area of a virtual scene element, the time spent by the player character in the first virtual space is detected, and if the detection result indicates that the player character's time spent in the first virtual space has reached a stay threshold, for example, 5 seconds, a spatial transfer command is triggered.
[0103] In step 103, at least one second virtual pet is displayed, and the second virtual pet is of the same type as the first virtual pet.
[0104] It should be noted that the at least one second virtual pet that is displayed may appear around the first virtual pet at the same time that the player character is converted to the first virtual pet, or the first virtual pet may be moved within the virtual scene in response to a movement operation on the first virtual pet, and at least one second virtual pet may be displayed during that movement. Here, the second virtual pet and the first virtual pet being of the same type means that the first virtual pet and the second virtual pet are of the same species, that is, that the first virtual pet and the second virtual pet have the same form, or that the similarity of their forms reaches a target similarity, for example, 95%.
[0105] In some embodiments, after the player character is transformed into a first virtual pet, the user can have a second virtual pet of the same species as the first virtual pet assist them and operate within the virtual scene. Specifically, after displaying at least one second virtual pet, interactive commands can be triggered for the first virtual pet in response to a summoning operation for the first virtual pet. Here, the summoning operation is used to summon at least one second virtual pet and to make at least one second virtual pet follow the first virtual pet, and the summoning operation is triggered by at least one of the summoning controls, joystick, mouse, and keyboard.
[0106] It should be noted that summoning at least one second virtual pet means gathering and having at least one second virtual pet follow. Here, the summoning operation triggered based on the summoning control is a trigger operation on the summoning control and may be a click operation on the summoning control (including single-click and double-click operations) or a press operation on the summoning control (such as a long press operation). Illustratively, referring to Figure 9, which is a schematic diagram of a summoning control according to an embodiment of the present disclosure. Based on Figure 9, the dashed box 901 points to the summoning control, the dashed box 902 points to the first virtual pet, and the dashed box 903 points to at least one second virtual pet. Thus, in response to a trigger operation on the summoning control pointed to by the dashed box 901, an interactive command is triggered on the first virtual pet pointed to by the dashed box 902, and further, at least one second virtual pet is summoned and the at least one second virtual pet follows the first virtual pet.
[0107] In some other embodiments, after the player character is transformed into a first virtual pet, the user can control the first virtual pet to receive interactive tasks from a second virtual pet. Specifically, after displaying at least one second virtual pet, i.e., before controlling the first virtual pet to interact with the second virtual pet in response to an interactive command for the first virtual pet, the user can further control the first virtual pet to move toward a target second virtual pet, which is one of at least one second virtual pets, in response to a move operation for the first virtual pet. The target second virtual pet is a second virtual pet that can deliver interactive tasks. When the first virtual pet moves within the interactive range of the target second virtual pet, task acceptance guidance information is displayed. Based on the task acceptance guidance information, an interactive command is triggered for the first virtual pet in response to a task acceptance operation for the first virtual pet.
[0108] It should be noted that if the task acceptance operation is triggered based on a functional control, the task acceptance guidance information may include the task acceptance control and guidance information. This guidance information instructs the first virtual pet to perform a task acceptance operation, i.e., a trigger operation such as a click on the task acceptance control, so that the first virtual pet can accept an interactive task from the target second virtual pet. Alternatively, if the task acceptance guidance operation is triggered based on at least one of the keyboard, mouse, and joystick, the task acceptance guidance information may include guidance information, which instructs the first virtual pet to perform a task acceptance operation, i.e., a trigger operation on at least one of the keyboard, mouse, and joystick, so that the first virtual pet can accept an interactive task from the target second virtual pet, but this is not limited to the embodiments of this disclosure.
[0109] It should be noted that this interactive task may be a task specific to a particular type of virtual pet, i.e., a species, for example, a task that only a virtual pet of that type can perform. A task identifier can be displayed in a relevant location on the target second virtual pet, for example, above, to the left, to the right, or at its feet, and the task identifier is used to indicate that the corresponding second virtual pet can deliver the interactive task. The style of the task identifier may be pre-configured, but is not limited to the embodiments of this disclosure. The interactive range here is a fixed area, such as a circular area, centered on the target second virtual pet and with the target distance as its radius. This allows the terminal to detect the positions of the first virtual pet and the target second virtual pet in the virtual scene in real time, acquire the sensing area of the target second virtual pet, obtain the real-time distance between the first virtual pet and the target second virtual pet based on their positions, compare the real-time distance to the radius of the interactive range (i.e., the target distance), and if the comparison shows that the real-time distance is less than or equal to the radius of the interactive range, it is determined that the first virtual pet has moved into the interactive range of the target second virtual pet, and task acceptance notification information is displayed accordingly. This task acceptance notification information may be displayed on the display interface.
[0110] In step 104, the system controls the first virtual pet to interact with the second virtual pet in response to interactive commands given to the first virtual pet.
[0111] It should be noted that there are multiple ways in which the first virtual pet interacts with the second virtual pet in response to an interactive command given to the first virtual pet. For example, after summoning the second virtual pet, the first and second virtual pets may perform an interactive task together. Alternatively, the first virtual pet may receive and perform an interactive task directly from the second virtual pet without summoning the second virtual pet. Or, the first virtual pet may interact directly with the second virtual pet through dialogue. Next, using several interaction methods as examples, the process by which the first virtual pet interacts with the second virtual pet in response to an interactive command given to the first virtual pet will be explained.
[0112] In some embodiments, if the first and second virtual pets can perform interactive tasks together after the second virtual pet has been summoned, the process of the first virtual pet interacting with the second virtual pet in response to the interactive command for the first virtual pet, after triggering an interactive command for the first virtual pet based on a trigger operation for the summoning control, may involve controlling the first virtual pet to summon the second virtual pet in response to the interactive command for the first virtual pet. In the process of the first virtual pet summoning the second virtual pet, the process of the second virtual pet moving toward the first virtual pet is shown.
[0113] It should be noted that during the process of the first virtual pet summoning the second virtual pet, the process of the second virtual pet moving toward the first virtual pet is displayed, and when the second virtual pet moves within the target distance of the first virtual pet, the corresponding second virtual pet can stop moving. Also, when the first virtual pet finishes or stops the summoning process, any second virtual pet that has not moved within the target distance of the first virtual pet will stop moving toward the first virtual pet.
[0114] In actual implementation, as mentioned above, taking the example of a case where a summoning operation is triggered based on a summoning control, the summoning operation may be a click operation on the summoning control (including single-click and double-click operations) or a press operation on the summoning control (such as a long press operation). If the summoning operation is a click operation on the summoning control, after receiving the click operation on the summoning control, the summoning time and / or the number of summons are obtained and then displayed. Here, the summoning time indicates the time it takes for the first virtual pet to summon the second virtual pet, and the number of summons indicates the number of second virtual pets that have been summoned. Here, if the second virtual pet is within the target distance of the first virtual pet, it is determined that the second virtual pet has been summoned, that is, the number of summons may indicate the number of second virtual pets whose distance from the first virtual pet is less than or equal to the target distance. Based on this, the summoning time and / or the number of summons are detected, and if the detection result indicates that the summoning time has reached the target summoning time and / or the number of summons has reached the target number of summons, the summoning process is stopped. If the summoning operation is a press operation on the summoning control, the process of continuing to press the summoning control after receiving the press operation on the summoning control is the process of summoning the second virtual pet, and therefore the summoning process stops when a release operation on the summoning control is received.
[0115] Here, during the process in which the first virtual pet summons the second virtual pet, a summoning effect or summoning signal is displayed. The summoning effect or summoning signal here may be pre-configured so as to indicate that the first virtual pet is summoning based on the summoning effect. For illustrative purposes, referring to Figure 10, which is a schematic diagram of a summoning effect according to an embodiment of the present disclosure. Based on Figure 10, 1001 refers to a summoning effect, and the display of the summoning effect indicates that the first virtual pet is summoning at least one second virtual pet.
[0116] In actual implementation, after displaying the process of the second virtual pet moving toward the first virtual pet, the sealed virtual resource can be displayed in the virtual scene. In response to a movement operation on the first virtual pet, the first virtual pet is controlled to move toward the virtual resource, and the process of at least one second virtual pet following the first virtual pet is displayed. When the first virtual pet and at least one second virtual pet move to the relevant location of the virtual resource, the process of the virtual resource being unsealed is displayed. In response to the unsealing of the virtual resource, the virtual resource in the unsealed state is displayed. In response to a pickup operation on the unsealed virtual resource, the first virtual pet is controlled to pick up the virtual resource.
[0117] It should be noted that virtual resources can be applied to a virtual scene and may include items, experience points that increase attribute values or levels, coupons, etc. On the other hand, a sealed virtual resource may be in an inactive state (e.g., grayed out) or covered by a barrier, and correspondingly, an unsealed state is an active state (e.g., highlighted) or the barrier has disappeared. Furthermore, the associated location may be the location around the virtual resource, for example, a predetermined location around the virtual scene. While the first and second virtual pets are moving, their positions are detected in real time, and if the detection results indicate that the first virtual pet and at least one second virtual pet have moved to a predetermined location around the virtual resource, it is determined that the first virtual pet and at least one second virtual pet have moved to the associated location of the virtual resource.
[0118] Here, a sensing area exists at the associated location, and when the first virtual pet and at least one second virtual pet move to the sensing area of the associated location, it is determined that the first virtual pet and at least one second virtual pet have moved to the associated location around the virtual resource. The sensing area here is a fixed area centered on the virtual resource with a radius of the target distance, for example, a circular area. This allows the terminal to detect the positions of the first virtual pet and at least one second virtual pet in the virtual scene in real time, obtain the associated location of the virtual resource and the sensing area of the associated location, obtain the distance between the first virtual pet and at least one second virtual pet and the associated location based on the positions of the first virtual pet and at least one second virtual pet and the associated location, compare that distance with the radius of the sensing area, i.e., the target distance, and if the comparison result shows that the distance is less than or equal to the radius of the sensing area, it is determined that the first virtual pet and at least one second virtual pet have moved to the associated location around the virtual resource.
[0119] In some embodiments, there are multiple associated locations, and each associated location corresponds to one pattern. Before displaying the process of unlocking the virtual resource, the first virtual pet can be moved to a target pattern among the multiple patterns in response to a move operation on the first virtual pet. When the first virtual pet moves to the sensing area of the target pattern, the target pattern is switched from the first style to the second style. The process of at least one second virtual pet moving to another pattern is displayed, and when the second virtual pet moves to the sensing area of the other pattern, the other pattern is switched from the first style to the second style. In response to the fact that the patterns of each associated location have all been switched to the second style, it is determined that the first virtual pet and at least one second virtual pet have moved to the associated locations of the virtual resource.
[0120] It should be noted that the patterns corresponding to the associated locations may be the same or different, and the patterns corresponding to the associated locations correspond to identifiers of the associated locations and are used to indicate the specific orientation of the associated locations. On the other hand, the first and second styles may also be pre-set, for example, the first style may be grayed out and the second style highlighted, or the first style may be blue and the second style red, or the first style may be in a normal state and the second style in an effect state, etc., but this is not limited to the embodiments of this disclosure. Furthermore, the process of determining that the first virtual pet has moved to the sensing area of the target pattern, and the process of determining that the second virtual pet has moved to the sensing area of another pattern, are similar to the process of determining that the first virtual pet and at least one second virtual pet have moved to the sensing area of the associated location of the virtual resource, and therefore this will not be described in detail in the embodiments of this disclosure.
[0121] For illustrative purposes, referring to Figure 11, which is a schematic diagram of the association location patterns according to an embodiment of the present disclosure. Based on Figure 11, the dashed box 1102 points to a sealed virtual resource, which has three association locations, each corresponding to three identical patterns. Taking the association location pointed to by 1101 in Figure 11a as an example, since the virtual pet has not moved to that association location, the pattern corresponding to that association location is the first style, i.e., the grayed-out state shown in Figure 11a. On the other hand, when the virtual pet moves to that location, the pattern corresponding to that association location switches from the first style to the second style, i.e., the style pointed to by 1103 in Figure 11b. As a result, as shown in Figure 11b, when the pattern of each associated location is switched to the second style, it is determined that the first virtual pet and at least one second virtual pet have moved to the associated location of the virtual resource, the seal on the sealed virtual resource is released, and the virtual resource in the released state, pointed to by 1104 in Figure 11b, is displayed.
[0122] In some embodiments, when the first virtual pet directly receives and executes an interactive task from the second virtual pet, the process of the first virtual pet interacting with the second virtual pet in response to an interactive command, after triggering an interactive command for the first virtual pet, may involve controlling the first virtual pet to receive the interactive task delivered by the target second virtual pet in response to the interactive command.
[0123] It should be noted that the interactive tasks delivered by the target second virtual pet can be of various types, such as watching promotional videos, collecting target items, or destroying target objects, but are not limited to the embodiments of this disclosure.
[0124] In actual implementation, the system controls the first virtual pet to receive an interactive task delivered by the target second virtual pet, and then displays the process of the first virtual pet executing the interactive task in response to a task execution command to the first virtual pet. Once the first virtual pet completes the execution of the interactive task, the system controls the first virtual pet to receive a virtual resource from the target second virtual pet, depending on whether the first virtual pet is within the target second virtual pet's interactive range. The virtual resource is used as a reward for completing the interactive task.
[0125] It should be noted that after the first virtual pet completes the execution of the interactive task, it is controlled to move toward the target second virtual pet in response to a movement command to the first virtual pet. This determines that the first virtual pet is located within the interactive range of the target second virtual pet when it moves within the interactive range of the target second virtual pet. Here, the process of determining that the first virtual pet is located within the interactive range of the target second virtual pet is the same as the process of determining that the first virtual pet is located within the interactive range of the target second virtual pet when displaying the task acceptance guidance information mentioned above, and therefore will not be described in detail in the embodiments of this disclosure.
[0126] It should be noted that when the first virtual pet is within the interactive range of the target second virtual pet, a resource receiving control is displayed, thereby controlling the first virtual pet to receive virtual resources from the target second virtual pet in response to a trigger operation on the resource receiving control, or directly in response to a trigger operation on at least one of the joystick, mouse, and keyboard. Here, virtual resources are similar to the virtual resources mentioned above and can be applied to a virtual scene, and may be items, experience points that increase attribute values or levels, coupons, etc. Also, the resource receiving control may be the same control as the task receiving control mentioned above, and the role of this control depends on whether the first virtual pet has received an interactive task. Before the first virtual pet receives an interactive task, this control is a task receiving control and is used to receive tasks delivered by the target second virtual pet. On the other hand, after the first virtual pet has received and executed an interactive task, this control is a resource receiving control and is used to receive virtual resources from the target second virtual pet. Accordingly, the trigger operation on at least one of the joystick, mouse, and keyboard performed to receive a virtual resource is the same as the trigger operation on at least one of the joystick, mouse, and keyboard performed to receive the interactive task described above, except that before the first virtual pet receives the interactive task, the trigger operation on at least one of the joystick, mouse, and keyboard is used to receive the interactive task, and after the first virtual pet receives and performs the interactive task, the trigger operation on at least one of the joystick, mouse, and keyboard is used to receive a virtual resource.
[0127] For example, an interactive task is to pick up a target quantity of virtual items. In this case, the process by which the first virtual pet receives virtual resources from the target second virtual pet, depending on whether the first virtual pet is within the interactive range of the target second virtual pet, may involve displaying at least two quantity options (different quantity options corresponding to different quantities and less than or equal to the target quantity) depending on whether the first virtual pet is within the interactive range of the target second virtual pet, and in response to a selection operation for the target quantity option among the at least two quantity options, the first virtual pet delivers a quantity of virtual items corresponding to the target quantity option to the target second virtual pet, and is controlled to receive the corresponding virtual resources from the target second virtual pet.
[0128] It should be noted that the interactive task is to pick up a target quantity of virtual items, meaning the interactive task is to pick up a target quantity of virtual items for the target second virtual pet. Different quantity options correspond to different quantities, but each quantity is less than or equal to the target quantity. Here, each quantity option is used to instruct the system to hand over the corresponding quantity of virtual items to the target second virtual pet, and by handing over different quantities of virtual items, different virtual resources can be received; that is, each quantity option has a corresponding virtual resource.
[0129] For illustrative purposes, referring to Figure 12, which is a schematic diagram of the process of handing over an interactive task according to an embodiment of the present disclosure. Based on Figure 12, the dashed box 1201 points to three quantity options, which, in response to a selection operation on the target quantity option among the three quantity options, control the target quantity option to hand over a corresponding quantity of virtual items to the target second virtual pet, and the first virtual pet to receive the corresponding virtual resources from the target second virtual pet.
[0130] In some other embodiments, when the first virtual pet and the second virtual pet interact directly, the interactive command is triggered by a pet interaction operation performed on the first virtual pet. Thus, after an interactive command is triggered for the first virtual pet based on the pet interaction operation, the process by which the first virtual pet interacts with the second virtual pet in response to the interactive command for the first virtual pet may be controlled to allow the first virtual pet to interact with the second virtual pet in response to the interactive command triggered based on the pet interaction operation. During the interaction process between the first and second virtual pets, the second virtual pet outputs an interaction response to the first virtual pet. Here, the interaction response is used to present the first virtual pet with an interactive operation that it can perform in the virtual scene.
[0131] It should be noted that pet interaction operations may be performed based on function controls, or based on at least one of a joystick, mouse, and keyboard, but are not limited to the embodiments of this disclosure. On the other hand, the content of the interaction output by the first virtual pet may be pre-configured or entered by the user. Here, the input method may be text input or voice input, but are not limited to the embodiments of this disclosure. Correspondingly, the method of outputting the interaction response from the second virtual pet to the first virtual pet may be voice or text, etc.
[0132] Here, the first virtual pet can acquire objective information in the virtual scene, such as a specific play style, by interacting with the second virtual pet. For example, if the user is a new user, and the second virtual pet is owned by an NPC or another veteran player, the player character controlled by the user will transform into a virtual pet, and then the user can interact with the second virtual pet to acquire play style information in the virtual scene, i.e., guidance information.
[0133] For illustrative purposes, referring to Figure 13, which is a schematic diagram of an embodiment of the present disclosure in which a first virtual pet and a second virtual pet interact. Based on Figure 13, the dashed box 1301 points to the first virtual pet and the second virtual pet, where the first virtual pet and the second virtual pet are interacting, and as a result, the text content of the interaction process between the first virtual pet and the second virtual pet is displayed.
[0134] In some embodiments, the virtual scene includes at least two scene areas, and the first virtual pet is located in the first scene area of the virtual scene. This allows the first virtual pet to be controlled to interact with the second virtual pet in response to an interactive command, and then, in response to a move command, to be controlled to move the first virtual pet from the first scene area to the second scene area of the virtual scene. Here, the second scene area includes a third virtual pet, which is of a different type from the first virtual pet. When the first virtual pet is located in the second scene area, it is controlled to transform its form into that of the third virtual pet.
[0135] It should be noted that different scene areas represent different locations within a virtual scene, and at least two scene areas constitute a virtual scene; that is, a virtual scene is formed by combining at least two scene areas. Here, the second scene area may be an accumulation point for third virtual pets, meaning that third virtual pets are pets specific to the second scene area, and other scene areas either have no third virtual pets or only a small number of third virtual pets below a quantity threshold. This allows control to transform the form of the first virtual pet into that of a third virtual pet when the first virtual pet is located in the second scene area. In this way, the user can control the third virtual pet to be active in the second scene area and interact or communicate with other third virtual pets in the second scene area.
[0136] In some embodiments, the system can control the first virtual pet to interact with the second virtual pet in response to an interactive command, and then, in response to a merge command, control the first virtual pet to merge with the second virtual pet, thereby displaying the resulting fourth virtual pet. Here, the attribute values of the fourth virtual pet are higher than those of the first virtual pet.
[0137] It should be noted that, as mentioned above, attribute values include at least HP, damage, defense, speed, etc., and a fusion animation or fusion effect can be displayed during the process of controlling the first virtual pet to fuse with the second virtual pet. This fusion animation or fusion effect is used to indicate that the first and second virtual pets are fused. Furthermore, the attribute values of the fourth virtual pet obtained by fusion may have a positive correlation with the number of second virtual pets that fused, or the attribute values of the fourth virtual pet obtained by fusion may be the same regardless of the number of second virtual pets that fused, but this is not limited to the embodiments of this disclosure.
[0138] In some embodiments, after displaying at least one second virtual pet, an attackable object may be displayed. In response to an attack command to the first virtual pet, the first virtual pet is controlled to attack the attackable object, and the process of at least one second virtual pet attacking the attackable object is displayed.
[0139] It should be noted that attackable objects may be NPCs or monsters, or virtual pets or virtual characters belonging to a different faction than the first virtual pet in the virtual scene. Here, such virtual pets or virtual characters may be controlled by other users. As a result, when the first virtual pet attacks an attackable object, at least one second virtual pet will also follow the first virtual pet and attack that attackable object.
[0140] In some embodiments, after converting the player character's form to a first virtual pet in response to a conversion command for the player character, the first virtual pet can be converted back to the player character. Specifically, in response to a return command for the first virtual pet, the form of the first virtual pet is controlled to be converted back to the player character. Here, the process of receiving a return command for the first virtual pet is similar to the process of receiving a conversion command for the player character described above. The process of receiving a return command for the first virtual pet specifically includes displaying a return control, receiving a return command for the first virtual pet in response to a trigger operation on the return control, or receiving a return command for the first virtual pet in response to a return operation triggered based on at least one of the keyboard, mouse, and joystick. Alternatively, this may occur when the merging time between the player character and the target virtual pet reaches a predetermined time, or when the second virtual pet completes an interactive task, but is not limited to the embodiments of this disclosure.
[0141] Here, the predetermined time can be set in advance, for example, 10 minutes. Also, if the player character is directly converted into the first virtual pet, upon receiving a conversion command for the first virtual pet, the first virtual pet is directly converted into the player character. If the player character is obtained by merging with the first virtual pet, and thereby the player character is converted into the first virtual pet, upon receiving a conversion command for the first virtual pet, the first virtual pet is converted into the player character, and the first virtual pet possessed by the player character is displayed.
[0142] In some embodiments, referring to Figure 14, which is a flowchart of an interactive method for a virtual scene according to an embodiment of the present disclosure. Based on Figure 14, in step 1401, the virtual scene is first initialized and a user-controlled human character (i.e., a player character) is loaded into the virtual scene. In steps 1402 to 1403, the operation of the human character is detected in real time, and based on the detection result, it is decided whether to perform a transformation operation on the human character, that is, whether to trigger a transformation command on the human character, thereby deciding whether to transform the human character into a pet character. In steps 1404 to 1405, if it is decided to transform the human character into a pet character, an animation of the transformation process is displayed, and after the display of the animation is complete, the data of the corresponding pet form is called and the pet character is displayed. In steps 1406 to 1408, the operation of the pet character is detected in real time, and based on the detection result, it is decided whether to perform an interactive operation on a family member or task, and if it is decided that an interactive operation on a family member or task has been performed, the interactive process of the pet character is displayed. In steps 1409 to 1411, the pet character is detected in real time, and based on the detection result, it is determined whether a recovery operation for the pet character has been performed, that is, whether a recovery command for the pet character has been triggered. Based on this, it is determined whether to change the pet character into a human character, and if it is determined to change the pet character into a human character, the recovery process animation is displayed, and after the animation is finished, the recovered human character is displayed.
[0143] By applying the above embodiments of this disclosure, after displaying a player character having a first pet in a virtual scene, the system controls the player character to transform into a first virtual pet in response to a transformation command to the player character, thereby displaying at least one second virtual pet of the same type as the first virtual pet, and then controlling the first virtual pet to interact with the second virtual pet in response to an interaction command to the first virtual pet. In this way, by transforming the player character into a virtual pet and then having that virtual pet interact with other virtual pets of the same type, the methods of interaction with virtual pets are diversified, improving the diversity of interaction methods in the virtual scene, as well as improving the efficiency of human-machine interaction and the utilization rate of hardware resources of electronic devices.
[0144] The following describes an exemplary structure when the interactive device 455 in the virtual scene according to the embodiments of this disclosure is implemented as a software module. In some embodiments, as shown in Figure 2, the software module in the interactive device 455 in the virtual scene stored in memory 450 comprises a first display module 4551, a first control module 4552, a second display module 4553, and a second control module 4554.
[0145] The first display module 4551 is configured to display the player character in the virtual scene.
[0146] The first control module 4552 is configured to control the player character's form to be converted into a first virtual pet in response to a conversion command for the player character.
[0147] The second display module 4553 is configured to display at least one second virtual pet, wherein the second virtual pet is of the same type as the first virtual pet.
[0148] The second control module 4554 is configured to control the first virtual pet to interact with the second virtual pet in response to interactive commands given to the first virtual pet.
[0149] In some embodiments, the device further comprises a third display module configured to trigger interactive commands for the first virtual pet in response to a summoning operation for the first virtual pet, wherein the summoning operation is used to summon the at least one second virtual pet to cause the at least one second virtual pet to follow the first virtual pet, and the summoning operation is triggered by at least one of a summoning control, joystick, mouse, and keyboard.
[0150] In some embodiments, the second control module 4554 is further configured to control the first virtual pet to summon the second virtual pet in response to an interactive command to the first virtual pet, and to display the process by which the second virtual pet moves toward the first virtual pet during the process of the first virtual pet summoning the second virtual pet.
[0151] In some embodiments, the device further comprises a fourth display module configured to display a sealed virtual resource in the virtual scene, control the first virtual pet to move toward the virtual resource in response to a move operation on the first virtual pet, display the process by which at least one second virtual pet moves in accordance with the first virtual pet, display the process by which the seal on the virtual resource is released when the first virtual pet and the at least one second virtual pet move to the relevant location of the virtual resource, display the virtual resource in an unsealed state in response to the unsealing of the virtual resource, and control the first virtual pet to pick up the virtual resource in response to a pick-up operation on the unsealed virtual resource.
[0152] In some embodiments, the number of associated locations is multiple, each associated location corresponds to one pattern, and the device further comprises a third control module, which controls the first virtual pet to move to a target pattern among the multiple patterns in response to a move operation on the first virtual pet, switches the target pattern from a first style to a second style when the first virtual pet moves to the sensing area of the target pattern, displays the process of the at least one second virtual pet moving to another pattern, switches the other pattern from a first style to a second style when the second virtual pet moves to the sensing area of the other pattern, and determines that the first virtual pet and the at least one second virtual pet have moved to the associated location of the virtual resource in response to the fact that the pattern at each associated location has all been switched to the second style.
[0153] In some embodiments, the apparatus further comprises a fourth control module which controls the first virtual pet to move toward a target second virtual pet among the at least one second virtual pet in response to a move operation on the first virtual pet, the target second virtual pet being a second virtual pet capable of delivering interactive tasks, and which displays task acceptance guidance information when the first virtual pet moves within the interactive range of the target second virtual pet, and is configured to trigger an interactive command for the first virtual pet in response to a task acceptance operation on the first virtual pet based on the task acceptance guidance information, and the second control module 4554 is further configured to control the first virtual pet to receive the interactive task delivered by the target second virtual pet in response to an interactive command for the first virtual pet.
[0154] In some embodiments, the device further comprises a fifth display module, which is configured to display the process by which the first virtual pet performs the interactive task in response to a task execution command to the first virtual pet, and, when the first virtual pet completes the execution of the interactive task, to control the first virtual pet to receive a virtual resource from the target second virtual pet, depending on whether the first virtual pet is within the interactive range of the target second virtual pet, the virtual resource being used as a reward for completing the interactive task.
[0155] In some embodiments, the interactive task is to pick up a target quantity of virtual items, and the fifth display module is further configured to display at least two quantity options depending on whether the first virtual pet is located within the interactive range of the target second virtual pet, the different quantity options corresponding to different quantities and being less than or equal to the target quantity, and in response to a selection operation for the target quantity option among the at least two quantity options, the module is configured to deliver a quantity of virtual items corresponding to the target quantity option to the target second virtual pet, and to control the first virtual pet to receive the corresponding virtual resources from the target second virtual pet.
[0156] In some embodiments, the interactive command is triggered by a pet interaction operation performed on the first virtual pet, and the second control module 4554 is further configured to control the first virtual pet to interact with the second virtual pet in response to the interactive command triggered based on the pet interaction operation, and to output an interaction response from the second virtual pet to the first virtual pet during the interaction process between the first and second virtual pets, where the interaction response is used to present an interactive operation that the first virtual pet can perform in the virtual scene.
[0157] In some embodiments, the virtual scene includes at least two scene areas, the first virtual pet is located in the first scene area of the virtual scene, and the device further includes a fifth control module which controls the first virtual pet to move from the first scene area to a second scene area of the virtual scene in response to a move command for the first virtual pet, the second scene area includes a third virtual pet which is of a different type from the first virtual pet, and is configured to control the first virtual pet to transform into the third virtual pet when the first virtual pet is located in the second scene area.
[0158] In some embodiments, the player character is located in a first virtual space in the virtual scene, and the device further comprises a transfer module, which is configured to transfer the player character from the first virtual space to a second virtual space in the virtual scene in response to a spatial transfer command for the player character, and to trigger a conversion command for the player character when the player character is located in the second virtual space.
[0159] In some embodiments, the faction to which the player character belongs further includes at least one other virtual pet, and the device further comprises a switching module, which is configured to switch the controlled object from the first virtual pet to the target other virtual pet in response to a switching command for the target other virtual pet, where the target other virtual pet differs from the first virtual pet in at least one of its form and attribute values, and the second control module 4554 is further configured to control the target other virtual pet to interact with the second virtual pet in response to an interact command for the target other virtual pet.
[0160] In some embodiments, the number of first virtual pets obtained by the conversion target is at least one, the different types of first virtual pets are different, and the first control module 4552 is further configured to display a plurality of pet options in response to a conversion command for the player character, the different pet options corresponding to different types of first virtual pets, and in response to a selection operation for a target pet option among the plurality of pet options, the player character is converted to a first virtual pet belonging to the target type to which the target pet option corresponds.
[0161] In some embodiments, the apparatus further comprises a sixth control module configured to control the first virtual pet to merge with the second virtual pet in response to a merge command to the first virtual pet, and to display a fourth virtual pet obtained by the merger, wherein the attribute values of the fourth virtual pet are higher than those of the first virtual pet.
[0162] In some embodiments, the device further comprises a sixth display module configured to display attackable objects, control the first virtual pet to attack the attackable objects in response to an attack command to the first virtual pet, and display the process by which the at least one second virtual pet attacks the attackable objects.
[0163] Embodiments of the present disclosure provide a computer program product which includes a computer executable instruction or computer program which is stored on a computer read storage medium. The processor of an electronic device reads the computer executable instruction or computer program from the computer read storage medium and executes the computer executable instruction or computer program, thereby causing the electronic device to perform the interactive method in the virtual scene described above in the embodiment of the present disclosure.
[0164] Embodiments of the present disclosure provide a computer read storage medium storing computer executable instructions or computer programs, and when the computer executable instructions or computer programs are executed by a processor, the processor is instructed to execute an interactive method in a virtual scene according to an embodiment of the present disclosure, for example, the interactive method in a virtual scene shown in Figure 3.
[0165] In some embodiments, the computer read-only storage medium may be a memory such as read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic disk, optical disk, or CD-ROM, or it may be a variety of devices containing one or any combination of the above memories.
[0166] In some embodiments, computer executable instructions can take the form of programs, software, software modules, scripts, or code, and can be written in any form of programming language (including compiled or interpreted languages, declarative or procedural languages), and can be arranged in any form, such as as standalone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0167] For example, computer executable instructions do not necessarily correspond to files in the file system; they may be stored in parts of files that store other programs or data. For instance, they may be stored in one or more scripts within a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program being discussed, or in multiple collaborative files (such as files that store one or more modules, subroutines, or code sections).
[0168] For example, a computer executable instruction may be configured to run on one electronic device, on multiple electronic devices in one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.
[0169] Furthermore, the embodiments described herein involve relevant data such as user operation data. If the embodiments described herein are applied to a specific product or technology, user permission or consent will be required, and the collection, use, and processing of relevant data will comply with the applicable laws, regulations, and standards of the relevant countries and regions.
[0170] The foregoing are merely examples of the embodiments of this disclosure and do not limit the scope of protection provided for by this disclosure. Any modifications, equivalent substitutions, or improvements made in the spirit and scope of this disclosure shall also be included within the scope of protection provided for by this disclosure.
Claims
1. An interactive method in a virtual scene, Displaying the player character in a virtual scene, In response to a conversion command for the player character, control is performed to convert the form of the player character into a first virtual pet. Displaying at least one second virtual pet, wherein the second virtual pet is of the same type as the first virtual pet, This includes controlling the first virtual pet to interact with the second virtual pet in response to an interactive command given to the first virtual pet, Interactive methods in virtual scenes.
2. After displaying the at least one second virtual pet, the interactive method in the virtual scene is as follows: The further includes triggering an interactive command for the first virtual pet in response to a summoning operation for the first virtual pet, The summoning operation is used to summon the at least one second virtual pet and to make the at least one second virtual pet follow the first virtual pet, and the summoning operation is triggered by at least one of the summoning control, joystick, mouse, and keyboard. The method for interacting in a virtual scene according to claim 1.
3. Controlling the first virtual pet to interact with the second virtual pet in response to an interactive command to the first virtual pet is: Controlling the first virtual pet to summon the second virtual pet in response to an interactive command to the first virtual pet, The process by which the first virtual pet summons the second virtual pet includes displaying the process by which the second virtual pet moves toward the first virtual pet, The method for interacting in a virtual scene as described in claim 2.
4. After displaying the process of the second virtual pet moving toward the first virtual pet, the interactive method in the virtual scene is: In the aforementioned virtual scene, displaying virtual resources that are in a sealed state, In response to a movement operation on the first virtual pet, the system controls the first virtual pet to move toward the virtual resource, and displays the process by which at least one second virtual pet follows the first virtual pet as it moves. When the first virtual pet and the at least one second virtual pet move to the associated location of the virtual resource, the process of the virtual resource being unsealed is displayed, In response to the unsealing of the virtual resource, the virtual resource in the unsealed state is displayed, The further includes controlling the first virtual pet to pick up the virtual resource in response to a pickup operation on the virtual resource which is in an unsealed state, The method for interacting in a virtual scene as described in claim 3.
5. The number of the aforementioned related locations is multiple, and each of the aforementioned related locations corresponds to one pattern, and before displaying the process of the virtual resource being unsealed, the interactive method in the virtual scene is Controlling the first virtual pet to move to a target pattern among the plurality of patterns in response to a movement operation on the first virtual pet, When the first virtual pet moves to the sensing area of the target pattern, the target pattern is switched from the first style to the second style, The process of at least one second virtual pet moving to another pattern is displayed, and when the second virtual pet moves to the sensing area of the other pattern, the other pattern is switched from the first style to the second style. The further includes determining that the first virtual pet and the at least one second virtual pet have moved to the associated location of the virtual resource, in response to the fact that the pattern of each of the associated locations has been switched to the second style, The method for interacting in a virtual scene according to claim 4.
6. In response to an interactive command for the first virtual pet, before controlling the first virtual pet to interact with the second virtual pet, the interactive method in the virtual scene is: Controlling the first virtual pet to move toward a target second virtual pet among the at least one second virtual pet in response to a movement operation on the first virtual pet, wherein the target second virtual pet is a second virtual pet capable of delivering interactive tasks. When the first virtual pet moves within the interactive range of the target second virtual pet, task acceptance notification information is displayed. The method further includes triggering an interactive command for the first virtual pet in response to a task acceptance operation for the first virtual pet, based on the task acceptance notification information, Controlling the first virtual pet to interact with the second virtual pet in response to an interactive command to the first virtual pet is: This includes controlling the first virtual pet to receive the interactive task delivered by the target second virtual pet in response to an interactive command given to the first virtual pet, The method for interacting in a virtual scene according to claim 1.
7. After the first virtual pet is controlled to receive the interactive task delivered by the target second virtual pet, the interactive method in the virtual scene is: The process by which the first virtual pet executes the interactive task in response to a task execution command to the first virtual pet is displayed, The first virtual pet, upon completion of the interactive task, is controlled to receive a virtual resource from the target second virtual pet, in accordance with the first virtual pet being located within the interactive range of the target second virtual pet, wherein the virtual resource is used as a reward for completing the interactive task. The method for interacting in a virtual scene according to claim 6.
8. The interactive task is to pick up a target quantity of virtual items, and to control the first virtual pet to receive virtual resources from the target second virtual pet in accordance with the interactive range of the first virtual pet being located within the target second virtual pet's range. In response to the first virtual pet being located within the interactive range of the target second virtual pet, at least two quantity options are displayed, wherein the different quantity options correspond to different quantities and are less than or equal to the target quantity. The system includes, in response to a selection operation for a target quantity option among the at least two quantity options, delivering a quantity of virtual items corresponding to the target quantity option to the target second virtual pet, and controlling the first virtual pet to receive the corresponding virtual resources from the target second virtual pet, The method for interacting in a virtual scene according to claim 7.
9. The interactive command is triggered by a pet interaction operation performed on the first virtual pet, and in response to the interactive command for the first virtual pet, the first virtual pet is controlled to interact with the second virtual pet. Controlling the first virtual pet to interact with the second virtual pet in response to the interactive command triggered based on the pet interaction operation, The interaction process between the first virtual pet and the second virtual pet includes outputting an interaction response from the second virtual pet to the first virtual pet, The aforementioned interaction response is used to present the first virtual pet with an interactive operation that it can perform in the virtual scene. The method for interacting in a virtual scene according to claim 1.
10. An interactive device in a virtual scene, A first display module configured to display the player character in a virtual scene, A first control module configured to control the player character's form to be converted into a first virtual pet in response to a conversion command for the player character, A second display module configured to display at least one second virtual pet, wherein the second virtual pet is of the same type as the first virtual pet, An interactive device in a virtual scene, comprising: a second control module configured to control the first virtual pet to interact with the second virtual pet in response to an interactive command given to the first virtual pet.