Game interaction method, device, equipment and product based on virtual open world

By determining the outside state of the pet character based on the event status in the virtual open world, the problem of insufficient in-game and outside interaction in the open world game is solved, and the linkage and player experience of the game are improved.

CN118949420APending Publication Date: 2024-11-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411144030.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In existing open world games, the interaction between inside and outside is low, resulting in players' experience in open world and in games, reducing the depth and playability of the game.

Method used

By introducing pet characters in the virtual open world and determining the pet character's external state based on the operation and event status of the master virtual character, the external state will be extended to the internal state at the beginning of the game, ensuring the internal state and external state. Stay connected, provide transitions and reduces the sense of splitting.

Benefits of technology

It improves the linkage between events and games in the virtual open world, enhances the immersion of player experience and the playability of the game, and reduces the sense of separation between inside and outside.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118949420A_ABST
    Figure CN118949420A_ABST
Patent Text Reader

Abstract

The invention discloses a game interaction method, device, equipment and product based on a virtual open world, and relates to the technical field of virtual environments. The method comprises the following steps: receiving a control operation on a master control virtual role in a virtual open world, wherein the master control virtual role has the capability of calling a first pet role; displaying a system-controlled second pet character in an out-of-office state in the virtual open world, the out-of-office state being a state in which the second pet character is based on an event in the virtual open world when the second pet character is virtually out-of-office; in response to at least one of the master control virtual character and the first pet character entering a virtual match with a second pet character, displaying the second pet character in a first in-office state in the virtual match from a starting moment of the virtual match, the first in-office state being an in-office state determined based on an out-of-office state; and displaying a second pet character in a second in-office state in the virtual game when the first in-office state meets an end condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of virtual environment technology, and in particular to a game interaction method, device, equipment and product based on a virtual open world. Background Art

[0002] Open world games, with their vast exploration space and rich interactive experience, provide players with a highly free and immersive gaming environment. Such games usually allow players to freely explore the game world, interact with the environment and characters, and experience a variety of gameplay. In open world games, the design of in-game and out-of-game gameplay is one of the key factors to enhance the player experience.

[0003] In the related technology, a sneak attack mechanism is provided, whereby players can enter the battle by sneak attacking other characters outside the game and gain the first-mover advantage inside the game, allowing players to directly influence the outcome of the battle based on their actions in the open world, thereby enhancing the interactivity inside and outside the game.

[0004] However, the above method can only determine the first and second moves in the game through simple interactive operations such as sneak attacks, or skip the first round of actions in the game. The player's experience in the open world and the game is relatively fragmented, which reduces the depth and playability of open world games. Summary of the invention

[0005] The embodiments of the present application provide a game interaction method, device, equipment and product based on a virtual open world, which can reduce the sense of separation between the inside and outside of a virtual game in a virtual open world. The technical solution is as follows.

[0006] On the one hand, a game interaction method based on a virtual open world is provided, the method comprising:

[0007] Receiving a control operation on a master virtual character in the virtual open world, wherein the control operation is used to control an action of the master virtual character, and the master virtual character has the ability to summon a first pet character;

[0008] Displaying a second pet character in an out-of-game state in the virtual open world, the second pet character is an object controlled by the system, and the out-of-game state is a state of the second pet character based on an event in the virtual open world when the second pet character is out of the virtual game;

[0009] In response to at least one of the main virtual character and the first pet character and the second pet character entering the virtual game, starting from the start time of the virtual game, displaying the second pet character in a first in-game state in the virtual game, wherein the first in-game state is an in-game state determined based on the out-of-game state;

[0010] When the first in-game state meets the end condition, a second pet character in a second in-game state in the virtual game is displayed.

[0011] On the other hand, a game interaction device based on a virtual open world is provided, the device comprising:

[0012] A receiving module, used for receiving a control operation on a master virtual character in the virtual open world, wherein the control operation is used for controlling the action of the master virtual character, and the master virtual character has the ability to summon the first pet character;

[0013] The display module is further used to display a second pet character in an out-of-game state in the virtual open world, the second pet character is an object controlled by the system, and the out-of-game state is a state of the second pet character based on an event in the virtual open world when the second pet character is out of the virtual game;

[0014] The display module is further configured to, in response to at least one of the main virtual character and the first pet character entering the virtual game with the second pet character, display the second pet character in a first in-game state in the virtual game starting from the start time of the virtual game, wherein the first in-game state is an in-game state determined based on the out-of-game state;

[0015] The display module is further configured to display a second pet character in a second in-game state in the virtual game when the first in-game state meets an end condition.

[0016] In some embodiments, the display module includes an external display unit for:

[0017] Based on a first event generated by the main virtual character in the virtual open world, displaying a second pet character in a first out-of-game state in the virtual open world; or,

[0018] Based on a second event generated by the second pet character in the virtual open world, displaying the second pet character in a second out-of-game state in the virtual open world; or,

[0019] Based on a first interactive event generated between the main virtual character and the second pet character in the virtual open world, displaying the second pet character in a third out-of-game state in the virtual open world; or

[0020] Based on at least two of the first event, the second event and the first interactive event, a second pet character in a fourth out-of-game state is displayed in the virtual open world.

[0021] In some embodiments, the first event includes at least one of the following events:

[0022] The main control virtual character releases a behavior restriction skill to the second pet character in the virtual open world; the first out-of-game state includes a behavior restriction state, and the behavior restriction state is used to indicate a state in which the second pet character loses the ability to act, wherein the charging time of the main control virtual character when releasing the behavior restriction skill is positively correlated with the restriction time, and the restriction time refers to the duration of time that the second pet character is in the behavior restriction state based on the behavior restriction skill;

[0023] The main control virtual character moves to the area behind the second pet character in the virtual open world; the first out-of-game state includes a back-to-back state, and the back-to-back state is used to indicate that the second pet character is facing away from the main control virtual character;

[0024] The main virtual character triggers a stealth state in the virtual open world and enters a preset area around the second pet character in the stealth state; the first outside state includes a relaxed state, and the relaxed state is used to indicate that the second pet character ignores the state of the main virtual character based on the stealth state of the main virtual character.

[0025] In some embodiments, the behavior restriction skill meets a valid condition, and the valid condition includes at least one of the following conditions:

[0026] The charging time reaches the preset charging time;

[0027] The behavior restriction skill hits the second pet character;

[0028] The character attributes of the second pet character and the behavior restriction skills meet the restriction conditions.

[0029] In some embodiments, the second event includes at least one of the following events:

[0030] The second pet character falls asleep in the virtual open world; the second out-of-game state includes a sleeping state;

[0031] The second pet character triggers a gain skill in the virtual open world; the second out-of-game state includes a gain state, and the gain state is used to indicate a state in which the second pet character obtains a gain effect;

[0032] The second pet character triggers an attack skill towards the main virtual character in the virtual open world; the second out-of-game state includes an attack state, and the attack state is used to indicate that the second pet character has launched an attack towards the main virtual character in a previous round;

[0033] The second pet character enters a virtual trap in the virtual open world; the first out-of-game state includes a trapped state, and the trapped state is used to indicate that the second pet character is trapped in the virtual trap.

[0034] In some embodiments, the first interaction event includes at least one of the following events:

[0035] The second pet character is disguised as a first virtual element in the virtual open world, and the main virtual character triggers a first interactive operation to the second pet character disguised as the first virtual element; the third out-of-game state includes a sneak attack state, and the sneak attack state is used to indicate that the second pet character resumes disguise and launches an attack on the main virtual character;

[0036] The main virtual character chases the second pet character in the virtual open world, and the second pet character avoids the pursuit of the main virtual character for a first preset time period; the third out-of-game state includes a tired state, and the tired state is used to indicate that the physical attribute of the second pet character is reduced compared to the historical physical attribute before avoiding the pursuit;

[0037] The second pet character chases the main virtual character in the virtual open world, and the main virtual character avoids the pursuit of the second pet character for a second preset time period; the third out-of-game state includes an incentive state, which is used to indicate that the specified combat attribute of the second pet character is increased relative to the historical combat attribute before avoiding the chase.

[0038] In some embodiments, the receiving module is further used to receive a summoning operation of the main virtual character for the first pet character, wherein the summoning operation is used to summon the first pet character to move in the virtual open world;

[0039] The out-of-game display unit is further used to display a second pet character in a fifth out-of-game state in the virtual open world based on a third event generated by the first pet character in the virtual open world; or

[0040] The out-of-game display unit is further used to display the second pet character in the sixth out-of-game state in the virtual open world based on a fourth event generated by the cooperation of the first pet character and the master virtual character in the virtual open world; or

[0041] The out-of-game display unit is further used to display the second pet character in the seventh out-of-game state in the virtual open world based on a second interactive event generated by the first pet character and the second pet character in the virtual open world.

[0042] In some embodiments, the display module further includes a first in-office display unit, configured to:

[0043] Displaying a second pet character that maintains the out-of-game state as the first in-game state in the virtual game; or

[0044] A second pet character is displayed in the virtual game, which obtains a first in-game state based on the out-game state conversion, and releases a game skill based on the first in-game state.

[0045] In some embodiments, the first in-office display unit is further used for:

[0046] In the case where the second pet character is in a behavior restriction state outside the virtual game, the second pet character maintaining the behavior restriction state as the first in-game state when entering the virtual game is displayed, the first in-game state is used to indicate that the second pet character obtains a debuff effect in the virtual game and the second pet character does not take a game action within a limited duration in the virtual game based on the behavior restriction state, and the duration of the debuff effect corresponds to the limited duration; or

[0047] In the case where the second pet character is in a sleeping state outside the virtual game, displaying the second pet character that maintains the sleeping state as the first in-game state when entering the virtual game, wherein the first in-game state is used to indicate that the second pet character does not take any game action based on the sleeping state during the sleep duration in the virtual game; or

[0048] In the case where the second pet character is in a back-to-back state outside the virtual game, displaying the second pet character maintaining the back-to-back state as the first game state when entering the virtual game, the first game state is used to indicate that the second pet character does not take any game action based on the back-to-back state during the back-to-back duration in the virtual game; or

[0049] In the case where the second pet character is in a trapped state outside the virtual game, displaying the second pet character maintaining the trapped state as the first in-game state when entering the virtual game, wherein the first in-game state is used to indicate that the second pet character takes a struggling behavior as a game action based on the trapped state within the duration of the trapped state in the virtual game; or

[0050] In the case where the second pet character is in a fatigued state outside the virtual game, the second pet character maintaining the fatigued state as the first in-game state when entering the virtual game is displayed, and the first in-game state is used to indicate that the second pet character takes a recovery behavior as a game action based on the fatigued state within the fatigue duration of the fatigued state in the virtual game; or

[0051] When the second pet character is in an excited state outside the virtual game, the second pet character maintaining the excited state when entering the virtual game is displayed as the first in-game state, and the first in-game state is used to indicate that the second pet character obtains a gain effect in the virtual game, and the duration of the gain effect corresponds to the duration of the excitation state in the virtual game.

[0052] In some embodiments, the first in-office display unit is further used for:

[0053] When the second pet character is in an attacking state or a sneak attacking state outside the virtual game, the second pet character is displayed to launch an attack by releasing the game skills in the previous round after entering the virtual game; or

[0054] When the second pet character is in a buffed state outside the virtual game, the second pet character is displayed to perform a virtual battle with the buffed attack or defense capability after entering the virtual game.

[0055] In some embodiments, the virtual game includes a turn-based game, and the turn-based game includes multiple rounds; the first in-game display unit is further used to:

[0056] Determine a second duration of the first in-game state based on the first duration of the out-game state;

[0057] The second pet character in the first in-game state is displayed in at least one round of the round-based game based on the second duration.

[0058] In some embodiments, the display module further includes a second in-office display unit, configured to:

[0059] In the case where the second pet character remains in a sleeping state in the at least one round, in response to the second pet character meeting a first end condition, an action round of the second pet character in the round-based game shows that the second pet character is out of the sleeping state;

[0060] The first termination condition includes at least one of the following conditions:

[0061] The main control virtual character or the first pet character uses an attack skill on the second pet character;

[0062] The moving speed of the main virtual character or the first pet character moving toward the second pet character reaches a preset speed threshold;

[0063] The audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold.

[0064] In some embodiments, the second in-office display unit is further used for:

[0065] In the case where the second pet character maintains a back-facing state in at least one round, in response to the second pet character meeting a second end condition, the action round of the second pet character in the round-based game shows that the second pet character turns from facing away from the master virtual character to facing the master virtual character;

[0066] The second termination condition includes at least one of the following conditions:

[0067] The main control virtual character or the first pet character uses an attack skill on the second pet character;

[0068] The main control virtual character or the first pet character moves to a preset viewing angle range corresponding to the second pet character;

[0069] The distance between the main virtual character or the first pet character and the second pet character is less than a preset distance threshold;

[0070] The moving speed of the main virtual character or the first pet character moving toward the second pet character reaches a preset speed threshold;

[0071] The audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold.

[0072] In some embodiments, the receiving module is further used to receive a capture operation of the master virtual character on the second pet character in the virtual game, wherein the capture operation is used to capture the second pet character as a servant of the master virtual character;

[0073] Among them, when the second pet character is in at least one of the first in-game states of sleeping, back-to-back, behavior-restricted, trapped and tired in the virtual game based on the out-of-game state, the capture success rate corresponding to the capture operation is higher than the capture success rate when the second pet character is in other states.

[0074] In some embodiments, the apparatus further comprises a processing module for:

[0075] In response to an attack event between the main control virtual character and the second pet character, entering the virtual game; or,

[0076] In response to the main virtual character calling the first pet character in the direction of the second pet character, the virtual game is entered; or,

[0077] In response to an attack event occurring between the first pet character and the second pet character, entering the virtual game; or,

[0078] In response to at least one of the main virtual character and the first pet character entering the territory of the second pet character, the virtual game is entered.

[0079] In some embodiments, the out-of-game display unit is further used to display the first pet character in an out-of-game state in the virtual open world when the master virtual character summons the first pet character, wherein the out-of-game state is the state of the first pet character based on an event in the virtual open world when the first pet character is out of the virtual game;

[0080] The first in-game display unit is further configured to, in response to the first pet character and the second pet character entering the virtual game, display the first pet character in a first in-game state in the virtual game starting from the start time of the virtual game, wherein the first in-game state is an in-game state determined based on the out-of-game state of the first pet character;

[0081] The second in-game display unit is further used to display the first pet character in the second in-game state in the virtual game when the first in-game state meets the end condition.

[0082] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a game interaction method based on a virtual open world as described in any of the above-mentioned embodiments of the present application.

[0083] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a game interaction method based on a virtual open world as described in any of the above-mentioned embodiments of the present application.

[0084] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the above-mentioned methods for interactive games based on a virtual open world.

[0085] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0086] By determining the first in-game state of the second pet character in the virtual game through the out-of-game state of the second pet character before entering the virtual game, the out-of-game state caused by the events in the virtual open world on the second pet character can have an impact on the first in-game state when entering the virtual game, and the out-of-game state is extended to the inside of the game, so that the in-game state and the out-of-game state are kept related, thereby improving the linkage between events in the virtual open world and the virtual game, and using the first in-game state as the intermediate state between the out-of-game state and the second in-game state to provide a transition between the outside and inside of the game, thereby reducing the sense of separation between the inside and outside of the game, improving the immersion of the player experience, and improving the playability of the open world game. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0088] Figure 1 is a schematic diagram of a computer system provided by an exemplary embodiment of the present application;

[0089] Figure 2 is a flow chart of a game interaction method based on a virtual open world provided by an exemplary embodiment of the present application;

[0090] Figure 3 This is a schematic diagram of game interaction based on a virtual open world provided by an exemplary embodiment of the present application;

[0091] Figure 4 is a flow chart of a method for displaying an out-of-office status provided by an exemplary embodiment of the present application;

[0092] Figure 5 is a flow chart of a first intra-office status display method provided by an exemplary embodiment of the present application;

[0093] Figure 6 This is a schematic diagram of in-game and out-game linkage based on a dizziness state provided by an exemplary embodiment of the present application;

[0094] Figure 7 It is a schematic diagram of intra- and extra-office linkage based on sleep state provided by an exemplary embodiment of the present application;

[0095] Figure 8 It is a schematic diagram of intra-office and extra-office linkage based on a back-to-back state provided by an exemplary embodiment of the present application;

[0096] Fig. 9 It is a schematic diagram of in-game and out-game linkage based on attack status provided by an exemplary embodiment of the present application;

[0097] Fig.10 It is a schematic diagram of internal and external linkage based on sneak attack status provided by an exemplary embodiment of the present application;

[0098] Fig.11 It is a schematic diagram of intra- and extra-office linkage based on gain state provided by an exemplary embodiment of the present application;

[0099] Fig.12 It is a schematic diagram of internal and external linkage based on superposition state provided by an exemplary embodiment of the present application;

[0100] Fig.13 This is a schematic diagram of a game interaction process based on a virtual open world provided by an exemplary embodiment of the present application;

[0101] Fig.14 is a schematic diagram of a state machine provided by an exemplary embodiment of the present application;

[0102] Fig.15 is a structural block diagram of a game interaction device based on a virtual open world provided by an exemplary embodiment of the present application;

[0103] Fig.16 is a structural block diagram of a game interaction device module based on a virtual open world provided by an exemplary embodiment of the present application;

[0104] Fig.17 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0105] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0106] It should be understood that although the terms first, second, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0107] First, a brief introduction to the terms involved in the embodiments is given:

[0108] Virtual open world: It is a virtual environment displayed (or provided) when the application is running on the terminal. It has a high degree of freedom and exploration, allowing players to explore freely without a fixed route or task sequence. The virtual open world can be a simulation of the real world, a semi-simulated and semi-fictional environment, or a purely fictional virtual environment. The virtual open world can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, which is not limited in the embodiments of the present application. The following embodiments take a three-dimensional virtual environment as an example of a virtual open world.

[0109] The main virtual character refers to the movable object played by the player in the virtual open world. The main virtual character can be a virtual person, a virtual animal, an animated character, etc., such as a person or an animal displayed in a three-dimensional virtual world. Optionally, the main virtual character is a three-dimensional model created based on animation skeleton technology. Each main virtual character has its own shape and volume in the three-dimensional virtual world and occupies a part of the space in the three-dimensional virtual world.

[0110] Pet characters: are movable objects in the virtual open world that are not played by players. Pet characters can be virtual creatures, virtual animals, virtual monsters, virtual elves, etc., for example: movable objects in the form of animals or other forms displayed in the virtual open world. Pet characters can be captured, raised, upgraded, and performed at least one of the interactive operations by the main virtual character. Pet characters can include a first pet character controlled by a player, and a second pet character controlled by the system. The main virtual character can obtain the first pet character by capturing the second pet character. The first pet character can assist the main virtual character in at least one of the interactive operations of collecting, fighting, farming, and capturing other pet characters.

[0111] Outside the game: refers to the part outside the virtual game in the virtual open world in the open world game. This part is a real-time mode. Players can freely explore, move and interact with the virtual open world, and get instant feedback based on their behavior.

[0112] In-game: refers to the game part of the virtual game in the open world game. This part can be implemented as a turn-based mode. After the player selects the command, the command is settled in sequence according to the speed order of the combat characters of both sides.

[0113] The main virtual character can trigger the entry into a virtual game (inside the game) in the virtual open world (outside the game), or switch from inside the game to outside the game after the virtual game ends, or based on the exit operation inside the game.

[0114] In the related art, a sneak attack mechanism is provided for open world games. Players can enter the battle by sneak attacking other characters outside the game, gaining the first-hand advantage in the game, allowing players to directly influence the outcome of the battle based on their actions in the open world, and enhancing the interactivity between the game and outside the game. However, the above method can only determine the first and second moves in the game through simple interactive operations such as sneak attacks, or skip the first round of actions in the game. The player's experience in the open world and the game is relatively disconnected, reducing the depth and playability of the open world game.

[0115] The game interaction method based on the virtual open world provided in the embodiment of the present application determines the first in-game state of the second pet character in the virtual game by the out-of-game state of the second pet character before entering the virtual game, so that the out-of-game state caused by the event in the virtual open world on the second pet character can affect the first in-game state when entering the virtual game, and the out-of-game state is extended to the inside of the game, so that the in-game state and the out-of-game state are kept related, thereby improving the linkage between the events in the virtual open world and the virtual game, and using the first in-game state as the intermediate state between the out-of-game state and the second in-game state to provide a transition between the outside and inside of the game, thereby reducing the sense of separation between the inside and outside of the game, improving the immersion of the player experience, and improving the playability of the open world game.

[0116] This paper introduces the computer system of this application. Please refer to Figure 1 , which shows a schematic diagram of a computer system provided by an exemplary embodiment of the present application, and the computer system includes: a terminal 110.

[0117] The terminal 110 has an application program supporting a virtual open world installed and running.

[0118] Optionally, the application may be an open world game program, a turn-based game program, a role-playing game (RPG) program, a three-dimensional map program, a virtual reality (VR) application, an augmented reality (AR) application, or any other application that can provide a virtual open world, which is not limited in the embodiments of the present application.

[0119] Terminal 110 is a terminal used by the user. The user uses terminal 110 to control the main virtual character in the virtual open world to perform activities, which include but are not limited to: adjusting body posture, walking, running, jumping, riding, driving, aiming, picking, capturing combat characters, controlling combat characters, raising combat characters, using combat characters to pick, using combat characters to fight, using throwing props, and attacking other virtual characters.

[0120] Illustratively, the terminal 110 receives a control operation on a master virtual character in a virtual open world, the control operation is used to control the actions of the master virtual character, the master virtual character having the ability to summon a first pet character; displays a second pet character in an out-of-game state in the virtual open world, the second pet character is an object controlled by the system, the out-of-game state is the state of the second pet character based on events in the virtual open world when the second pet character is outside the virtual game; in response to at least one of the master virtual character and the first pet character entering the virtual game with the second pet character, starting from the start moment of the virtual game, displays the second pet character in a first in-game state in the virtual game, the first in-game state being an in-game state determined based on the out-of-game state; and when the first in-game state meets an end condition, displays the second pet character in a second in-game state in the virtual game.

[0121] In some embodiments, the computer system further includes a server 120 , a communication network 130 exists between the terminal 110 and the server 120 , and the terminal 110 and the server 120 transmit data via the communication network 130 .

[0122] The server 120 is used to provide background services for the application in the terminal 110, for example, responding to client requests of the terminal 110, controlling screen rendering in the application, recording events in the virtual open world, determining the out-of-game state, the first in-game state, and the second in-game state of the second virtual pet character, etc.

[0123] It is worth noting that the service content of the above-mentioned server 120 is only an example and is not limited in this application.

[0124] The above-mentioned terminal is optional. The terminal can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a smart TV, a smart car, and other forms of terminal devices, which are not limited to the embodiments of the present application.

[0125] It is worth noting that the above-mentioned servers can be independent physical servers, or they can be server clusters or distributed systems composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud security, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0126] Among them, cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.

[0127] In some embodiments, the above server can also be implemented as a node in a blockchain system.

[0128] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant regions. For example, the operation data and account information involved in this application are all obtained with full authorization.

[0129] To further explain, before collecting relevant data of users (for example, account information, historical operation data, and real-time operation data involved in this application) and during the process of collecting relevant data of users, this application can display a prompt interface, pop-up window, or output voice prompt information. The prompt interface, pop-up window, or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of users after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of users are terminated, that is, the relevant data of users are not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use, and processing of relevant user data need to comply with the relevant laws, regulations, and standards of the relevant regions.

[0130] For illustration, please refer to Figure 2, which shows a flowchart of a game interaction method based on a virtual open world provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 2 As shown, the method comprises the following steps:

[0131] Step 210: receiving a control operation on a master virtual character in the virtual open world.

[0132] The control operation is used to control the actions of the main control virtual character, and the main control virtual character has the ability to summon the first pet character.

[0133] The virtual open world is a virtual scene provided in an application running on a terminal.

[0134] The main virtual character is the virtual character controlled by the first account in the virtual open world.

[0135] The first account can control the activities of the main virtual character in the virtual open world through control operations, including but not limited to at least one of adjusting body posture, walking, running, jumping, riding, driving, aiming, picking up, capturing combat characters, controlling combat characters, raising combat characters, using combat characters to pick, using combat characters to fight, using throwing props, and attacking other virtual characters.

[0136] Optionally, the control operation can be a touch operation on the program interface control (such as touch screen operation, mouse operation, joystick operation and other trigger operations), or it can be triggered by a pre-associated button on an external input device connected to the terminal (such as a handle, keyboard, steering wheel, etc.), or it can be controlled based on user voice commands or gesture commands, etc., and the present application does not impose any limitations on this.

[0137] There is an association relationship between the first pet character and the main virtual character, and the summoning ability means that the main virtual character can summon the first pet character through a summoning operation to move in the virtual open world.

[0138] Optionally, the first pet character is a pet character owned by the main virtual character, or the first pet character is a pet character owned by an account associated with the first account, or the first pet character is a pet character corresponding to a preset event.

[0139] Taking the example that the first pet character is a pet character owned by the main virtual character, the main virtual character can obtain the first pet character by capturing pet characters in the virtual open world, or by completing designated tasks, or by exchanging designated virtual resources for the first pet character, etc.

[0140] Taking the example that the first pet character is a pet character owned by an associated account of the first account, the associated account can be a friend account of the first account, an account that teamed up with the first account within a historical time period, an account that interacted with the first account in a virtual open world within a historical time period, etc.

[0141] With the authorization of the associated account, the master virtual character can summon the first pet character owned by the associated account through a summoning operation.

[0142] Taking the first pet character and the pet character corresponding to the preset event as an example, the preset event may be that the master virtual character triggers a preset task node, or that the master virtual character enters the summoning range of the first pet character.

[0143] Illustratively, when the main controlling virtual character is advancing the main quest in the virtual open world, if the main controlling virtual character meets the requirements of the quest node, the main controlling virtual character can summon the first pet character provided in the main quest to jointly participate in advancing the main quest. For example, in the main storyline, the main controlling virtual character is required to rescue non-player character A. When the main controlling virtual character enters a battle to rescue non-player character A, the pet character B of non-player character A can be summoned to participate in rescuing non-player character A.

[0144] Illustratively, when the main virtual character triggers the experience node of the first pet character, the main virtual character can summon the first pet character based on the experience node without owning the first pet character, so that the first pet character follows the main virtual character in the virtual open world within the experience duration.

[0145] Illustratively, the first pet character can be a pet character that moves within a designated area in the virtual open world. When the main virtual character reaches a contract with the first pet character, or when the intimacy reaches a preset intimacy threshold, the main virtual character can summon the first pet character within the summoning range of the first pet character. For example, pet character C moves within a fixed territory area. When the main virtual character enters the territory area, pet character C can be summoned within the area to follow the main virtual character to explore the area.

[0146] It is worth noting that the above-mentioned association relationship between the main virtual character and the first pet character is only an illustrative example, and this application does not limit this.

[0147] Step 220, displaying the second pet character that is outside the virtual open world.

[0148] The second pet character is an object controlled by the system, and the out-of-game state is the state of the second pet character based on events in the virtual open world when the second pet character is out of the virtual game.

[0149] In some embodiments, based on an event in the virtual open world, a second pet character that is out of the game in the virtual open world is displayed.

[0150] Optionally, the event used to determine the out-of-game state is at least one of the following events:

[0151] The first event that the main virtual character generates in the virtual open world;

[0152] A second event in which a second pet character is generated in the virtual open world;

[0153] The first interactive event generated by the main control virtual character and the second pet character in the virtual open world.

[0154] The first event refers to an event in which the second pet character is placed in a first out-of-game state due to the behavior of the main virtual character in the virtual open world.

[0155] Illustratively, based on the main controlling virtual character releasing a behavior-restricted skill (such as a star skill used to stun the second pet character) to the second pet character in the virtual open world, the second pet character is put into a behavior-restricted state (such as a stun state caused by being hit by a star skill), and the behavior-restricted state refers to a state in which the second pet character loses the ability to move; or, based on the main controlling virtual character moving to the area behind the second pet character in the virtual open world, the second pet character is put into a back-to-back state, and the back-to-back state refers to a state in which the second pet character has its back to the main controlling virtual character.

[0156] It is worth noting that the event content of the above-mentioned first event is only an illustrative example. The first event can be any event generated by the main virtual character in the virtual open world that can affect the out-of-game status of the second pet character, and the embodiment of the present application is not limited to this.

[0157] Optionally, when the main control virtual character generates multiple first events in the virtual open world, the second pet character can also be placed in at least two first out-of-game states simultaneously based on at least two first events.

[0158] The second event refers to an event that causes the second pet character to be in a second out-of-game state based on the second pet character's own behavior in the virtual open world.

[0159] For example, based on the second pet character falling asleep in the virtual open world, the second pet character is put into a sleeping state; or, based on the second pet character triggering a gain skill in the virtual open world, the second pet character is put into a gain state, and the gain state refers to a state in which the second pet character obtains a gain effect; or, based on the second pet character triggering an attack skill toward the main virtual character in the virtual open world, the second pet character is put into an attack state, and the attack state refers to a state in which the second pet character launches an attack toward the main virtual character in a prior round.

[0160] It is worth noting that the event content of the above-mentioned second event is only an illustrative example. The second event can be any event generated by the second pet character in the virtual open world that can affect the out-of-game status of the second pet character, and the embodiments of the present application are not limited to this.

[0161] Optionally, when the second pet character generates multiple second events in the virtual open world, the second pet character may be simultaneously placed in at least two second out-of-game states in the virtual open world based on at least two second events.

[0162] The first interactive event refers to an event that causes the second pet character to be in a third-out-of-game state based on the interactive behavior between the main virtual character and the second pet character in the virtual open world.

[0163] For example, based on the second pet character being disguised as the first virtual element in the virtual open world, the main virtual character triggers a first interactive operation to the second pet character disguised as the first virtual element, putting the second pet character in a sneak attack state, which means that the second pet character resumes its disguise and launches an attack on the main virtual character.

[0164] It is worth noting that the event content of the above-mentioned first interactive event is only an illustrative example. The first interactive event can be any interactive event generated by the main virtual character and the second pet character in the virtual open world that can affect the out-of-game state of the second pet character. The embodiment of the present application does not limit this.

[0165] Optionally, when the main virtual character and the second pet character generate multiple first interactive events, the second pet character can also be simultaneously placed in at least two third out-of-game states based on at least two first interactive events.

[0166] The above-mentioned first event, second event, and first interactive event may also be combined arbitrarily to jointly affect the out-of-game status of the second pet character.

[0167] Illustratively, based on at least two of the first event, the second event and the first interactive event, a second pet character is displayed in a fourth out-of-game state in the virtual open world.

[0168] When a first pet character is summoned in the virtual open world based on the summoning operation of the master virtual character, the event used to determine the above-mentioned out-of-game state may also include at least one of the following events:

[0169] The third event in which the first pet character is generated in the virtual open world;

[0170] A fourth event generated by the cooperation between the first pet character and the main control virtual character in the virtual world;

[0171] A second interactive event generated by the first pet character and the second pet character in the virtual open world.

[0172] The third event refers to an event in which the second pet character is placed in the fifth out-of-game state based on the first pet character's own behavior in the virtual open world.

[0173] For example, based on the first pet character triggering an offensive skill to the second pet character, the second pet character is put in an injured state.

[0174] It is worth noting that the event content of the third event mentioned above is only an illustrative example. The third event can be any event generated by the first pet character in the virtual open world that can affect the out-of-game status of the second pet character, and the embodiment of the present application is not limited to this.

[0175] Optionally, when the first pet character generates multiple third events, the second pet character can also be simultaneously placed in at least two fifth out-of-game states based on at least two third events.

[0176] The fourth event refers to an event in which the second pet character is placed in the sixth out-of-game state based on the cooperation between the first pet character and the main control virtual character in the virtual open world.

[0177] For example, based on the main control virtual character approaching the second pet character from the front, the first pet orange approaches the second pet character from behind, so that the second pet character is in a surrounded state, which means that the retreat route of the second pet character is blocked.

[0178] It is worth noting that the event content of the fourth event mentioned above is only an illustrative example. The fourth event can be any event that can affect the out-of-game status of the second pet character in the virtual open world, which is not limited to this in the embodiments of the present application.

[0179] Optionally, when the first pet character and the main control virtual character cooperate to generate multiple fourth events, the second pet character can also be placed in at least two sixth out-of-game states simultaneously based on at least two fourth events.

[0180] The second interactive event refers to an event that causes the second pet character to be in the seventh out-of-game state based on the interactive behavior between the first pet character and the second pet character in the virtual open world.

[0181] For example, based on the first pet character being disguised as the second virtual element in the virtual open world, the second pet character triggers a second interactive operation to the first pet character disguised as the second virtual element, causing the second pet character to be in an attacked state, where the attacked state refers to a state in which the second pet character has been attacked by the first pet character in a previous round.

[0182] It is worth noting that the event content of the above-mentioned second interactive event is only an illustrative example. The second interactive event can be any interactive event generated by the first pet character and the second pet character in the virtual open world that can affect the out-of-game status of the second pet character. The embodiment of the present application is not limited to this.

[0183] Optionally, when the first pet character and the second pet character generate multiple second interactive events, the second pet character can also be placed in multiple seventh out-of-game states simultaneously based on the multiple second interactive events.

[0184] When a first pet character is summoned in the virtual open world, the above-mentioned first event, second event, third event, fourth event, first interactive event, and second interactive event can be arbitrarily combined to jointly affect the out-of-game status of the second pet character.

[0185] Illustratively, based on at least two of the first event, the second event, the third event, the fourth event, the first interactive event, and the second interactive event, a second pet character is displayed in an eighth out-of-game state in the virtual open world.

[0186] In some embodiments, the system controls the out-of-game status of the second pet character in the virtual open world through artificial intelligence (AI).

[0187] Optionally, according to the association relationship between the above-mentioned various events and the out-of-game state, when the AI ​​detects an event generated in the virtual open world, the second pet character is controlled to be in a corresponding out-of-game state based on the association relationship.

[0188] For example, in response to detecting a first event occurring in the virtual open world, the second pet character is controlled to be in a first out-of-game state; or, in response to detecting a second event and a first interactive event occurring in the virtual open world, the second pet character is controlled to be in a fourth out-of-game state, etc.

[0189] In some embodiments, AI uses a state machine to control the out-of-game state of the second pet character. The state machine includes states, behavior groups, and state switching conditions, wherein the state can be determined based on the behavior group, the state can be triggered or interrupted based on the state switching conditions, and the state switching can be executed.

[0190] Schematically, various events in the virtual open world correspond to event identifiers, and the event identifiers are associated with various state identifiers of out-of-game states. When an event occurs in the virtual open world, AI obtains the corresponding event identifier, and reads the associated state identifier based on the event identifier, and controls the second pet character to be in the corresponding out-of-game state based on the state identifier. When the behavior group or state meets the state switching conditions, the out-of-game state of the second pet character is switched.

[0191] Step 230, in response to at least one of the main virtual character and the first pet character entering into a virtual game with the second pet character, displaying the second pet character in the first game state in the virtual game starting from the start time of the virtual game.

[0192] The first intra-office state is an intra-office state determined based on the extra-office state.

[0193] The out-of-game state is used to affect the in-game state when entering the virtual game. The first in-game state when entering the virtual game is determined based on the out-of-game state, so that the first in-game state is used as an intermediate state for transitioning between the out-of-game state and the second in-game state, thereby enhancing the linkage between the in-game (virtual game) and the outside of the game (virtual open world), and allowing the second pet character to be presented in the virtual game in the first in-game state that inherits the out-of-game state, thereby reducing the sense of separation between the in-game and the outside of the game.

[0194] Optionally, determining the first intra-office state based on the extra-office state includes at least the following two situations:

[0195] The first one is to keep the out-of-game state as the first in-game state.

[0196] Optionally, when the second pet character is in a persistent out-of-game state such as a behavior restriction state, a sleeping state, a back-to-back state, etc. outside the virtual game, the out-of-game state can be continuously maintained as the first in-game state.

[0197] Illustratively, when the second pet character is in a behavior restriction state outside the virtual game, the second pet character is displayed as maintaining the behavior restriction state as the first in-game state when entering the virtual game. The first in-game state (in-game behavior restriction state) is used to indicate that the second pet character obtains a debuff effect in the virtual game, and the second pet character does not take game action within the limited time period in the virtual game based on the behavior restriction state.

[0198] The second method is to obtain the first in-game state based on the out-game state conversion, and release the game skills based on the first in-game state.

[0199] Optionally, when the second pet character is in a skill-triggered out-of-game state such as an attacking state, a sneak attack state, a gain state, etc. outside the virtual game, the first in-game state can be obtained based on the out-of-game state conversion, and the second pet character can release the game skill based on the first in-game state.

[0200] Indicatively, when the second pet character is in an offensive state or a sneak attack state outside the virtual game, the second pet character is shown to launch an attack by releasing the game skills in the previous round after entering the virtual game (offensive state within the game).

[0201] It is worth noting that the above-mentioned first intra-office state is only an illustrative example, and the first intra-office state can be any intra-office state determined based on the external-office state, and this application does not limit this.

[0202] In some embodiments, the duration of the first in-game state may be determined based on the duration of the out-game state.

[0203] Taking the virtual game as a turn-based game as an example, the turn-based game includes multiple rounds. The second duration of the first in-game state is determined based on the first duration of the out-of-game state, and the second pet character in the first in-game state is displayed in at least one round of the turn-based game based on the second duration.

[0204] The first duration refers to the duration during which the second pet character is out of the game based on a designated event in the virtual open world.

[0205] The first duration is positively correlated with the degree of impact of the specified event on the second pet character.

[0206] Taking the behavior restriction state as an example, the duration of the behavior restriction state is positively correlated with the charging time when the main virtual character releases the behavior restriction skill. The longer the charging time, the longer the behavior restriction state lasts.

[0207] Optionally, the time limit is also related to the character attribute of the second pet character.

[0208] For example, when the character attributes of the second pet character restrain the behavior restriction skill, the duration of the behavior restriction state can be reduced, or the behavior restriction skill can be made invalid.

[0209] Optionally, the second duration is related to the starting moment of entering the virtual game.

[0210] The first duration of the out-of-game state is determined based on a designated event, the consumed time of the out-of-game state is determined based on the start time of the virtual game and the start time of the out-of-game state, and the second duration of the first in-game state is determined based on the first duration and the consumed time.

[0211] Illustratively, based on the charging time of 3 seconds when the main virtual character releases a behavior-restricted skill to the second pet character in the virtual open world, it is determined that the behavior-restricted state of the second pet character in the virtual open world needs to last for 15 seconds. In response to entering the virtual game at the 5th second when the second pet character is in the behavior-restricted state, it is determined that the second pet character needs to last for 10 seconds in the behavior-restricted state in the virtual game. Then, starting from the start of the virtual game, the second pet character is displayed in the behavior-restricted state in multiple rounds corresponding to 10 seconds.

[0212] In some embodiments, the main virtual character can capture the second pet character in a virtual game.

[0213] Illustratively, in a virtual game, a capture operation of a second pet character by a main control virtual character is received, and the capture operation is used to capture the second pet orange as a servant of the main control virtual character.

[0214] Optionally, the capture success rate is related to the first in-game state.

[0215] For example, when the second pet character is in at least one of the first in-game states of sleeping, back-to-back, and behavior-restricted states in the virtual game based on the out-of-game state, the capture success rate corresponding to the capture operation is higher than the capture success rate when the second pet character is in other states.

[0216] Therefore, through events in the virtual open world, the second pet character is placed in a specified out-of-game state, so that the second pet character is placed in the first in-game state based on the out-of-game state from the start of the virtual game. This not only reduces the sense of separation between the in-game and out-of-game, but also increases the capture success rate in the game through out-of-game events, expands the player's game strategy depth, and thus improves the playability of the open world game.

[0217] Optionally, the virtual game may be initiated through various events in the virtual open world.

[0218] For example, in response to an attack event between the main virtual character and the second pet character, a virtual game is entered; or, in response to the main virtual character summoning the first pet character in the direction of the second pet character, a virtual game is entered; or, in response to an attack event between the first pet character and the second pet character, a virtual game is entered; or, in response to at least one of the main virtual character and the first pet character entering the territory of the second pet character, a virtual game is entered, etc.

[0219] It is worth noting that the above-mentioned events that trigger entering a virtual game are merely illustrative examples and are not limited to this in this application.

[0220] When entering a virtual game, you can directly enter the virtual game with the world scene of the virtual open world as the background; you can also introduce additional game scenes in the virtual open world based on the game type, for example, a virtual game with backgrounds such as a virtual chessboard and a virtual runway; you can also enter the virtual game with a transition scene between the world scene and the game scene. For example, the second pet character has a virtual farm, and the virtual game triggered by the main virtual character and the second pet character is a competition to harvest crops on the virtual farm. In this case, the main virtual character and the second pet character can enter the virtual game by moving from the scene of the virtual open world triggering the virtual game to the transition scene in the virtual farm.

[0221] It is worth noting that the above-mentioned virtual game scenario is only an illustrative example and is not limited to this in the embodiments of the present application.

[0222] Step 240, when the first game state meets the end condition, display the second pet character in the second game state in the virtual game.

[0223] In some embodiments, the second in-game state is an in-game state determined based on the game situation in the virtual game.

[0224] The end condition is used to switch the status of the second pet character in the virtual game, the end condition and the duration of the first game status, and the behavior of the game characters (at least one of the main virtual character, the first pet character, and the second pet character).

[0225] Optionally, the end condition includes that the duration of the first in-game state reaches the second duration in the above step 230, or the game character performs a specified game behavior in the virtual game, and the specified game behavior is used to interrupt the first in-game state of the second pet character.

[0226] Through the end condition, the state switching condition in the virtual game is provided for the second pet character, so that the system can flexibly control the in-game state of the second pet character and ensure that the first in-game state can play a transitional role, rather than rigidly determining the entire game state of the second pet character in the virtual game based on the out-of-game state, thereby improving the control flexibility of the in-game state.

[0227] Taking the sleeping state as an example, when the second pet character remains in the sleeping state in the virtual game based on the out-of-game sleeping state, in response to the second pet character meeting the first end condition, the second pet character is displayed in the virtual game as escaping from the sleeping state.

[0228] Among them, the first ending condition includes at least one of the following conditions: the main virtual character or the first pet character uses an attack skill to the second pet character; the movement speed of the main virtual character or the first pet character to the second pet character reaches a preset speed threshold; the audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold; the second pet character's sleep time in the virtual game reaches a second duration.

[0229] For example, assuming that the main virtual character needs to get close to the second pet character in a virtual game, when the main virtual character triggers a preset virtual switch while getting close to the second pet character, a mechanism sound effect is played. When the volume of the mechanism sound effect reaches a preset volume threshold, the second pet character is awakened, indicating that the second pet character has woken up from a sleeping state.

[0230] Illustratively, assuming that the second pet character automatically falls asleep in a night scene in the virtual open world and automatically wakes up in a day scene, when the main virtual character enters a virtual game with the second pet character when there are 2 minutes left before dawn in the virtual open world, then in response to the second pet character remaining in a sleeping state for 2 minutes in the virtual game, the second pet character automatically wakes up, indicating that the second pet character has emerged from the sleeping state.

[0231] It is worth noting that the above-mentioned termination conditions are merely illustrative examples and are not limited to this application.

[0232] For illustration, please refer to Figure 3 , Figure 3 is a schematic diagram of a game interaction based on a virtual open world provided by an exemplary embodiment of the present application, such as Figure 3 As shown, in the virtual open world 300, based on the main virtual character 301 releasing a star skill (which is only an illustrative example name, and the skill can also be called other skill names) on the second pet character 302, the second pet character 302 is displayed in a dizzy state in the virtual open world 300. In response to the first pet character 303 and the second pet character 302 entering the virtual game 310, from the starting moment of the virtual game 310, the second pet character 302 is displayed in a dizzy state in the virtual game 310. When the dizzy state meets the end conditions, the second pet character 302 is displayed in a normal state in the virtual game 310.

[0233] To summarize, the method provided in the embodiment of the present application determines the first in-game state of the second pet character in the virtual game by the out-of-game state of the second pet character before entering the virtual game, so that the out-of-game state caused by the events in the virtual open world on the second pet character can have an impact on the first in-game state when entering the virtual game, and the out-of-game state is extended to the inside of the game, so that the in-game state and the out-of-game state are kept related, thereby improving the linkage between events in the virtual open world and the virtual game, and using the first in-game state as the intermediate state between the out-of-game state and the second in-game state to provide a transition between the outside and inside of the game, thereby reducing the sense of separation between the inside and outside of the game, improving the immersion of the player experience, and improving the playability of the open world game.

[0234] In some embodiments, the above-mentioned out-of-game state is determined based on events in the virtual open world. Figure 4 , which shows a flowchart of an out-of-office status display method provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 4 As shown, the above step 220 includes the following steps:

[0235] Step 221: Based on a first event generated by the main control virtual character in the virtual open world, a second pet character in a first out-of-game state is displayed in the virtual open world.

[0236] The first event refers to an event in which the second pet character is placed in a first out-of-game state based on the behavior of the main virtual character in the virtual open world.

[0237] In AI control, the corresponding state machine includes a behavior group, a state, and a state switching condition, wherein the behavior group includes a behavior that generates a first event, the state includes a first out-of-game state, and the state switching condition includes a triggering condition of the first out-of-game state, that is, generating a first event in the virtual open world.

[0238] Optionally, the first event includes at least one of the following events:

[0239] The first one is that the main virtual character releases behavior restriction skills to the second pet character in the virtual open world.

[0240] Correspondingly, the first out-of-game state includes a behavior restriction state, and the behavior restriction state is used to indicate a state in which the second pet character loses the ability to act.

[0241] Among them, the charging time of the main virtual character when releasing the behavior restriction skill is positively correlated with the restriction time. The restriction time refers to the duration that the second pet character is in the behavior restriction state based on the behavior restriction skill.

[0242] In some embodiments, the behavior restriction skill needs to meet effective conditions before the second pet character can be placed in a behavior restriction state.

[0243] Indicatively, the effective conditions include but are not limited to at least one of the following: the charging time reaches the preset charging time; the behavior-restricted skill hits the second pet character; the character attributes of the second pet character and the behavior-restricted skill meet the restriction conditions.

[0244] The restrictions include that the behavior restriction skills restrain the character attributes, that is, the second pet character cannot invalidate the behavior restriction skills based on the character attributes.

[0245] When the character attributes of the second pet character restrain the behavior restriction skill, the second pet character can fully defend or partially defend against the behavior restriction skill. Full defense means that even if the behavior restriction skill hits the second pet character, the second pet character will not enter the behavior restriction state. Partial defense means that when the behavior restriction skill is released with a charging time shorter than the preset time and hits the second pet character, the second pet character will not enter the behavior restriction state. Alternatively, partial defense means that the second pet character can shorten the duration of the behavior restriction state based on the character attributes.

[0246] Indicatively, pet character A corresponds to character attribute m, and cannot defend against behavior restriction skills. When the main virtual character releases a behavior restriction skill to pet character A with a charge of 3 seconds, pet character A will enter a behavior restriction state that lasts 15 seconds; pet character B corresponds to character attribute n, and can partially defend against behavior restriction skills, shortening the duration of the behavior restriction state by 5 seconds. When the main virtual character releases a behavior restriction skill to pet character B with a charge of 3 seconds, pet character B will enter a behavior restriction state that lasts 10 seconds.

[0247] Optionally, the behavior restriction skills include but are not limited to a stun skill (such as a star magic skill) for stunning the second pet character, a freezing skill for freezing the second pet character, a poisoning skill for poisoning the second pet character, a binding skill for tying up the second pet character, and any other skill that can render the second pet character incapable of action, and the embodiments of the present application are not limited to this.

[0248] Correspondingly, the behavior restriction state includes but is not limited to a dizzy state, a frozen state, a poisoned state, a tied-up state, etc.

[0249] Indicatively, taking the touch screen operation as an example, the main virtual character long presses the control corresponding to the stun skill to charge, and moves the touch screen point during the long press charging process, aiming at the second pet character, and reaches the 2-second charging time through the long press operation, and releases the control to release the stun skill to the second pet character with the current charging time and aiming point, hitting the second pet character, and putting the second pet character in a stun state. The stun state will last for 10 seconds based on the 2-second charging time. If the second pet character is in a stun state, and the second pet character enters a virtual game, the second pet character will continue to be in a stun state in the virtual game until the duration of the stun state (including the sum of the duration in the game and the duration outside the game) reaches 10 seconds. Among them, the stun state in the game will cause the second pet character to obtain a negative stun effect (DetrimentalEffect Buff, Debuff) in the virtual game, and will not take game actions during the duration of the stun state.

[0250] In the second method, the main virtual character moves to the area behind the second pet character in the virtual open world.

[0251] Correspondingly, the first out-of-game state includes a back-to-back state, and the back-to-back state is used to indicate a state in which the second pet character faces away from the main control virtual character.

[0252] Optionally, the area behind the second pet character may be a preset area corresponding to the rear of the second pet character, or may be any area outside the viewing angle of the second pet character, etc., which is not limited in this embodiment of the present application.

[0253] When the second pet character is in the back-to-back state, if the main virtual character and the second pet character enter into a virtual game, the second pet character will continue to maintain the back-to-back state in the virtual game, and will not take any game action in the virtual game based on the back-to-back state until it finds the main virtual character.

[0254] The third type is that the main virtual character triggers a stealth state in the virtual open world and enters a preset area around the second pet character in a stealth state.

[0255] Correspondingly, the first out-of-game state includes a relaxed state, which is used to indicate that the second pet character ignores the state of the main control virtual character based on the hidden state of the main control virtual character.

[0256] When the second pet character is in a relaxed state, if the main virtual character and the second pet character enter a virtual game, the second pet character will be in a relaxed state when entering the virtual game, and the main virtual character will attack the second pet character in the first round, and the defense attribute of the second pet character will be reduced based on the relaxed state.

[0257] It is worth noting that the type of the above-mentioned first event is only an illustrative example and is not limited to this in the embodiments of the present application.

[0258] Optionally, when the main control virtual character generates multiple first events in the virtual open world, the second pet character can be simultaneously placed in at least two first out-of-game states based on at least two first events.

[0259] Indicatively, the main control virtual character releases a stun skill to the second pet character from behind, so that the second pet character is in a back-to-back state and a stun state at the same time.

[0260] It is worth noting that the combination of the above-mentioned various first events is only an illustrative example and is not limited to this in the embodiments of the present application.

[0261] In AI control, corresponding first event identifiers can be assigned to the above-mentioned multiple first events in the corresponding state machine, and the first event identifier can be associated with the corresponding first out-of-game state identifier. When AI reads the first event identifier, it determines that the trigger conditions for the first out-of-game state are met, and controls the second pet character to be in the corresponding first out-of-game state based on the first out-of-game state identifier.

[0262] Through the various first events generated by the main virtual character in the virtual open world, the second pet character is placed in a corresponding out-of-game state outside the virtual game, thereby indirectly affecting the first in-game state through the first event, thereby improving the linkage between the out-of-game behavior of the main virtual character and the in-game state of the second pet character, reducing the sense of separation between the in-game and out-of-game, and thus enriching the player's strategy choices outside the virtual game.

[0263] Step 222: Based on a second event generated by the second pet character in the virtual open world, display the second pet character in a second out-of-game state in the virtual open world.

[0264] The second event refers to an event that causes the second pet character to be in a second out-of-game state based on the second pet character's own behavior in the virtual open world.

[0265] In AI control, the corresponding state machine includes a behavior group, a state, and a state switching condition, wherein the behavior group includes a behavior for generating a second event, the state includes a second out-of-game state, and the state switching condition includes a triggering condition for the second out-of-game state, that is, generating a second event in the virtual open world.

[0266] Optionally, the second event includes at least one of the following events:

[0267] In the first, the second pet character falls asleep in the virtual open world.

[0268] Correspondingly, the second out-of-band state includes a sleep state.

[0269] Optionally, the second pet character can automatically fall asleep based on the night scene in the virtual open world, and automatically wake up based on the day scene (or automatically fall asleep or wake up based on other preset scenes, which is not limited to this embodiment of the present application); it can also be based on system control. When the second pet character stays at a fixed location in the virtual open scene for a preset stay time, and no other virtual characters enter the area where the second pet character is located during the stay, the second pet character automatically falls asleep until the sleep time reaches the preset sleep time, or until other virtual characters enter the area where the second pet character is located, and then automatically wakes up; it can also be based on system control to fall asleep at random times in the virtual open world, etc.

[0270] It is worth noting that the above-mentioned scenario of the second pet character falling asleep is only an illustrative example and is not limited to this in the embodiment of the present application.

[0271] The second type is that the second pet character triggers a buff skill in the virtual open world.

[0272] Correspondingly, the second out-of-game state includes a gain state, and the gain state is used to indicate a state in which the second pet character obtains a gain effect.

[0273] Illustratively, the second pet character can automatically release a defense gain skill in the virtual open world to improve the defense attribute when the system controls and recognizes that a virtual character is approaching or chasing the second pet character.

[0274] It is worth noting that the above-mentioned scenario in which the second pet character triggers the gain state is only an illustrative example and is not limited to this in the embodiment of the present application.

[0275] The third type is that the second pet character triggers an offensive skill towards the main virtual character in the virtual open world.

[0276] Correspondingly, the second out-of-game state includes an attack state, and the attack state is used to indicate a state in which the second pet character attacks the main control virtual character in the previous round.

[0277] Illustratively, assuming that the character attributes of the second pet character indicate that the second pet character is an offensive character, when the second pet character discovers the main virtual character in the virtual open world, the second pet character will actively trigger offensive skills toward the main virtual character in the virtual open world, causing the main virtual character and the second pet character to enter a virtual game, and launch an attack on the main virtual character with a prior round in the virtual game.

[0278] The fourth type is that the second pet character enters a virtual trap in the virtual open world.

[0279] Correspondingly, the first out-of-game state includes a trapped state, and the trapped state is used to indicate a state in which the second pet character is trapped in a virtual trap.

[0280] Optionally, the virtual trap can be set by the main virtual character in the virtual open world, or it can be preset or randomly refreshed in the virtual open world, or it can be set by the second pet character itself in the virtual open world, or it can be set by other virtual characters (such as other main virtual characters controlled by other accounts, other pet characters except the second pet character, etc.) in the open world, and the embodiments of the present application are not limited to this.

[0281] Indicatively, when the second pet character is in a trapped state, if a virtual game is entered, the second pet character will continue to be trapped in the virtual game, and replace the game action with a struggling action until the second pet character escapes from the virtual trap.

[0282] It is worth noting that the event content of the above-mentioned second event is only an illustrative example. The second event can be any event generated by the second pet character in the virtual open world that can affect the out-of-game status of the second pet character, and the embodiments of the present application are not limited to this.

[0283] Optionally, when the second pet character generates multiple second events in the virtual open world, the second pet character may be simultaneously placed in at least two second out-of-game states in the virtual open world based on at least two second events.

[0284] Indicatively, after the second pet character releases a gain skill in the virtual open world, an attack skill is triggered toward the main control virtual character, so that the second pet character is in a gain state and an attack state at the same time.

[0285] It is worth noting that the above-mentioned various combinations of the second out-of-game states are only illustrative examples and are not limited to this in the embodiments of the present application.

[0286] In AI control, corresponding second event identifiers can be assigned to the above-mentioned multiple second events in the corresponding state machine, and the second event identifiers can be associated with the corresponding second out-of-game state identifiers. When AI reads the second event identifier, it determines that the trigger conditions for the second out-of-game state are met, and controls the second pet character to be in the corresponding second out-of-game state based on the second out-of-game state identifier.

[0287] Through the various second events generated by the second pet character in the virtual open world, the second pet character is placed in a corresponding out-of-game state outside the virtual game, thereby indirectly affecting the first in-game state through the second event, thereby improving the linkage between the second pet character's out-of-game behavior and the second pet character's in-game state, making the out-of-game state and the first in-game state more in line with the character characteristics of the second pet character, reducing the sense of separation between the in-game and out-of-game, while increasing the fun and making the character characteristics of the second pet character more distinct.

[0288] Step 223, based on the first interactive event generated between the main control virtual character and the second pet character in the virtual open world, display the second pet character in a third out-of-game state in the virtual open world.

[0289] The first interactive event refers to an event that causes the second pet character to be in a third-out-of-game state based on the interactive behavior between the main virtual character and the second pet character in the virtual open world.

[0290] In AI control, the corresponding state machine includes a behavior group, a state, and a state switching condition, wherein the behavior group includes a behavior for generating a first interactive event, the state includes a third out-of-game state, and the state switching condition includes a triggering condition for the third out-of-game state, that is, generating a first interactive event in the virtual open world.

[0291] Optionally, the first interaction event includes at least one of the following events:

[0292] In the first type, the second pet character is disguised as the first virtual element in the virtual open world, and the main control virtual character triggers a first interactive operation to the second pet character disguised as the first virtual element.

[0293] Correspondingly, the third out-of-game state includes a sneak attack state, which is used to indicate that the second pet character resumes disguise and launches an attack on the main control virtual character.

[0294] Illustratively, the second pet character is disguised as a virtual treasure box in the virtual open world, and the main virtual character triggers a start operation to the second pet character disguised as the virtual treasure box, putting the second pet character in a sneak attack state, including restoring the pet image of the second pet character from the virtual treasure box and launching an attack on the main virtual character.

[0295] In the second type, the main control virtual character chases the second pet character in the virtual open world, and the second pet character avoids the pursuit of the main control virtual character for a first preset time period.

[0296] Correspondingly, the third out-of-game state includes a tired state, which is used to indicate that the physical attribute of the second pet character is reduced relative to the historical physical attribute before avoiding the chase.

[0297] When the second pet character is in a tired state, if a virtual game is entered, the second pet character will continue to be in a tired state in the virtual game and will not take any game actions until the physical attributes are restored.

[0298] In a third case, the second pet character chases the main virtual character in the virtual open world, and the main virtual character avoids the pursuit of the second pet character for a second preset time period.

[0299] Correspondingly, the third out-of-game state includes an excitation state, which is used to indicate a state in which the designated combat attribute of the second pet character is increased relative to the historical combat attribute before avoiding the chase.

[0300] When the second pet character is in the motivated state, if a virtual game is entered, the second pet character will continue to be in the motivated state in the virtual game, and release combat skills with designated combat attributes in the virtual game based on the motivated state.

[0301] It is worth noting that the event content of the above-mentioned first interactive event is only an illustrative example. The first interactive event can be any interactive event generated by the main virtual character and the second pet character in the virtual open world that can affect the out-of-game state of the second pet character. The embodiment of the present application does not limit this.

[0302] Optionally, when the main virtual character and the second pet character generate multiple first interactive events, the second pet character can also be simultaneously placed in at least two third out-of-game states based on at least two first interactive events.

[0303] In AI control, corresponding first interactive event identifiers can be assigned to the above-mentioned multiple first interactive events in the corresponding state machine, and the first interactive event identifiers can be associated with the corresponding third out-of-game state identifiers. Then, when AI reads the third event identifier, it is determined that the trigger conditions for the third out-of-game state are met, and the second pet character is controlled to be in the corresponding third out-of-game state based on the third out-of-game state identifier.

[0304] Through the various first interactive events generated by the main virtual character and the second pet character in the virtual open world, the second pet character is placed in a corresponding out-of-game state outside the virtual game, thereby indirectly affecting the first in-game state through the first interactive event, thereby improving the linkage between the out-of-game interactive behavior and the in-game state of the second pet character, which can enhance the immersion and continuity of the interaction and reduce the sense of separation between the in-game and out-of-game states.

[0305] Step 224: Based on at least two of the first event, the second event, and the first interactive event, display the second pet character in a fourth out-of-game state in the virtual open world.

[0306] The fourth out-of-game state is an out-of-game state obtained by combining states generated based on at least two events. Optionally, the fourth out-of-game state includes at least two of the first out-of-game state, the second out-of-game state and the third out-of-game state.

[0307] In AI control, when the AI ​​state machine reads at least two event identifiers, it determines that the trigger condition of the fourth out-of-game state is met, and controls the second pet character to be in the corresponding fourth out-of-game state based on the fourth out-of-game state identifier.

[0308] Indicatively, based on the second pet character entering a virtual trap, and the main virtual character releasing a behavior restriction skill to the second pet character, causing the second pet character to be trapped and dizzy at the same time, when the second pet character is in this state, if it enters a virtual game, the second pet character will be in a dizzy and trapped state at the same time in the virtual game, and will maintain the dizziness debuff for the duration of the dizziness state, and will not take any game action until the dizziness state disappears. The second pet character is still in a trapped state, and will take a struggling action as a game action based on the trapped state, until it breaks free from the virtual trap, returns to normal, and takes normal game actions, including attacking or defending.

[0309] By having multiple events jointly participate in influencing the state within the first game, the relationship between external events and the state within the game is further enriched.

[0310] In some embodiments, before step 220, a summoning operation of the main virtual character for the first pet character may also be received, where the summoning operation is used to summon the first pet character to move in the virtual open world. Optionally, step 220 may also include the following three situations:

[0311] The first one is to display the second pet character in the fifth out-of-game state in the virtual open world based on the third event generated by the first pet character in the virtual open world.

[0312] The third event refers to an event in which the second pet character is placed in the fifth out-of-game state based on the first pet character's own behavior in the virtual open world.

[0313] In AI control, the corresponding state machine includes a behavior group, a state, and a state switching condition, wherein the behavior group includes a behavior for generating a third event, the state includes a fifth out-of-game state, and the state switching condition includes a triggering condition for the fifth out-of-game state, namely, generating a third event in the virtual open world.

[0314] For example, based on the first pet character triggering an offensive skill to the second pet character, the second pet character is put in an injured state.

[0315] It is worth noting that the event content of the third event mentioned above is only an illustrative example. The third event can be any event generated by the first pet character in the virtual open world that can affect the out-of-game status of the second pet character, and the embodiment of the present application is not limited to this.

[0316] Optionally, when the first pet character generates multiple third events, the second pet character can also be simultaneously placed in at least two fifth out-of-game states based on at least two third events.

[0317] In AI control, corresponding third event identifiers can be assigned to the above-mentioned multiple third events in the corresponding state machine, and the third event identifier can be associated with the corresponding fifth out-of-game state identifier. When AI reads the third event identifier, it is determined that the trigger conditions for the fifth out-of-game state are met, and the second pet character is controlled to be in the corresponding fifth out-of-game state based on the fifth out-of-game state identifier.

[0318] The second type is to display the second pet character in the sixth out-of-game state in the virtual open world based on the fourth event generated by the cooperation of the first pet character and the main control virtual character in the virtual open world.

[0319] The fourth event refers to an event in which the second pet character is placed in the sixth out-of-game state based on the cooperation between the first pet character and the main control virtual character in the virtual open world.

[0320] In AI control, the corresponding state machine includes a behavior group, a state, and a state switching condition, wherein the behavior group includes a behavior for generating a fourth event, the state includes a sixth out-of-game state, and the state switching condition includes a triggering condition for the sixth out-of-game state, namely, generating a fourth event in the virtual open world.

[0321] For example, based on the main control virtual character approaching the second pet character from the front, the first pet orange approaches the second pet character from behind, so that the second pet character is in a surrounded state, which means that the retreat route of the second pet character is blocked.

[0322] It is worth noting that the event content of the fourth event mentioned above is only an illustrative example. The fourth event can be any event that can affect the out-of-game status of the second pet character in the virtual open world, which is not limited to this in the embodiments of the present application.

[0323] Optionally, when the first pet character and the main control virtual character cooperate to generate multiple fourth events, the second pet character can also be placed in at least two sixth out-of-game states simultaneously based on at least two fourth events.

[0324] In AI control, corresponding fourth event identifiers can be assigned to the above-mentioned multiple fourth events in the corresponding state machine, and the fourth event identifier can be associated with the corresponding sixth out-of-game state identifier. Then, when AI reads the fourth event identifier, it is determined that the trigger conditions for the sixth out-of-game state are met, and the second pet character is controlled to be in the corresponding sixth out-of-game state based on the sixth out-of-game state identifier.

[0325] The third type is to display the second pet character in the seventh out-of-game state in the virtual open world based on a second interactive event generated between the first pet character and the second pet character in the virtual open world.

[0326] The second interactive event refers to an event that causes the second pet character to be in the seventh out-of-game state based on the interactive behavior between the first pet character and the second pet character in the virtual open world.

[0327] In AI control, the corresponding state machine includes a behavior group, a state, and a state switching condition, wherein the behavior group includes a behavior for generating a second interactive event, the state includes a seventh out-of-game state, and the state switching condition includes a triggering condition for the seventh out-of-game state, that is, generating a second interactive event in the virtual open world.

[0328] For example, based on the first pet character being disguised as the second virtual element in the virtual open world, the second pet character triggers a second interactive operation to the first pet character disguised as the second virtual element, causing the second pet character to be in an attacked state, where the attacked state refers to a state in which the second pet character has been attacked by the first pet character in a previous round.

[0329] It is worth noting that the event content of the above-mentioned second interactive event is only an illustrative example. The second interactive event can be any interactive event generated by the first pet character and the second pet character in the virtual open world that can affect the out-of-game status of the second pet character. The embodiment of the present application is not limited to this.

[0330] Optionally, when the first pet character and the second pet character generate multiple second interactive events, the second pet character can also be placed in multiple seventh out-of-game states simultaneously based on the multiple second interactive events.

[0331] In AI control, corresponding second interactive event identifiers can be assigned to the above-mentioned multiple second interactive events in the corresponding state machine, and the second interactive event identifiers can be associated with the corresponding seventh out-of-game state identifiers. When AI reads the second interactive event identifier, it is determined that the trigger conditions of the seventh out-of-game state are met, and the second pet character is controlled to be in the corresponding seventh out-of-game state based on the seventh out-of-game state identifier.

[0332] It is worth noting that the determination conditions of the various out-of-office states provided in the embodiments of the present application are independent of each other, and the various out-of-office states can be combined based on the superposition of various events, which is not limited in the embodiments of the present application.

[0333] When a first pet character is summoned in the virtual open world, the above-mentioned first event, second event, third event, fourth event, first interactive event, and second interactive event can be arbitrarily combined to jointly affect the out-of-game status of the second pet character.

[0334] Illustratively, based on at least two of the first event, the second event, the third event, the fourth event, the first interactive event, and the second interactive event, a second pet character is displayed in an eighth out-of-game state in the virtual open world.

[0335] By allowing the out-of-game behavior of the first pet character to determine the out-of-game status of the second pet character, thereby indirectly affecting the first in-game status, the relationship between out-of-game behavior and in-game status is further enriched, reducing the sense of separation between the in-game and out-of-game.

[0336] To sum up, the method provided in the embodiment of the present application provides a variety of events that put the second pet character in an out-of-game state. By enriching the out-of-game states caused by out-of-game events, the first in-game state caused by the out-of-game events is indirectly enriched, and the diversity of the linkage relationship between the in-game and out-of-game is enriched.

[0337] The method provided in the embodiment of the present application, through multiple first events generated by the main virtual character in the virtual open world, causes the second pet character to be in a corresponding out-of-game state outside the virtual game, thereby indirectly affecting the first in-game state by the first event, thereby improving the linkage between the out-of-game behavior of the main virtual character and the in-game state of the second pet character, reducing the sense of separation between the in-game and out-of-game, and thus enriching the player's strategy choices outside the virtual game.

[0338] The method provided in the embodiment of the present application, through the multiple second events generated by the second pet character in the virtual open world, causes the second pet character to be in a corresponding out-of-game state outside the virtual game, thereby indirectly affecting the first in-game state by the second event, thereby improving the linkage between the second pet character's out-of-game behavior and the second pet character's in-game state, making the out-of-game state and the first in-game state more in line with the character characteristics of the second pet character, reducing the sense of separation between the in-game and the out-of-game, while improving the fun and making the character characteristics of the second pet character more distinct.

[0339] The method provided in the embodiment of the present application, through multiple first interactive events generated by the main virtual character and the second pet character in the virtual open world, causes the second pet character to be in a corresponding out-of-game state outside the virtual game, thereby indirectly affecting the first in-game state by the first interactive event, thereby improving the linkage between the out-of-game interactive behavior and the in-game state of the second pet character, and can improve the immersion and continuity of the interaction, and reduce the sense of separation between the in-game and out-of-game.

[0340] In some embodiments, determining the first intra-office state based on the extra-office state includes multiple determination methods. Figure 5 , which shows a flowchart of a first intra-office status display method provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 5 As shown, the display scheme for the first in-game status of the second pet character includes the following steps:

[0341] Step 510, displaying the second pet character that maintains an out-of-game state in the virtual game as the first in-game state.

[0342] In some embodiments, when the out-of-game state is a persistent state, the out-of-game state may be maintained as the first in-game state.

[0343] The persistent state means that if no specific event occurs or the state duration does not reach the specified time, the second pet character will continue to be in the out-of-game state in the virtual open world.

[0344] The out-of-office state in the above steps 221 to 224 is taken as an example for explanation.

[0345] Optionally, the persistent out-of-state includes, but is not limited to, a behavior-restricted state, a sleeping state, a back-to-back state, a trapped state, a tired state, an excited state, an injured state, and other out-of-state states.

[0346] In the case where the second pet character is in a behavior restriction state outside the virtual game, the second pet character is displayed to maintain the behavior restriction state as the first in-game state when entering the virtual game.

[0347] The first in-game state is used to indicate that the second pet character obtains a debuff effect in the virtual game, and the second pet character does not take game action within a limited time duration in the virtual game based on the behavior restriction state, and the duration of the debuff effect corresponds to the limited time duration.

[0348] For illustration, take the dizziness state as an example, please refer to Figure 6 , Figure 6is a schematic diagram of in-game and out-game linkage based on a dizziness state provided by an exemplary embodiment of the present application, such as Figure 6 As shown, in the virtual open world 600, the main control virtual character 601 releases a stun skill to the second pet character 602, so that the second pet character 602 is in a stun state, and the stun state will last for 10 seconds based on the 2-second charging time. At this time, in response to at least one of the main control virtual character 601 and the first pet character 603 entering a virtual game 610 with the second pet character 602, the second pet character 602 that remains in a stun state when entering the virtual game 610 is displayed until the duration of the stun state (including the sum of the duration in the game and the duration outside the game) reaches 10 seconds. Among them, the stun state in the game will cause the second pet character 602 to obtain a stun debuff in the virtual game 610, and the stun debuff will cause the second pet character 602 to lose combat energy 611, and no game action will be taken during the duration of the stun state. The combat energy 611 is the energy that the second pet character 602 can use in the virtual game 610. In the virtual game, releasing the game skills requires the consumption of the corresponding combat energy. By clicking the stun mark 612 corresponding to the second pet character 602, the effect impact content 613 of the stun debuff can be viewed. Taking the round-based game as an example, the effect impact content 613 includes the remaining number of rounds that the stun debuff needs to last.

[0349] In the case where the second pet character is in a sleeping state outside the virtual game, the second pet character is displayed as being in the sleeping state as the first in-game state when entering the virtual game.

[0350] The first in-game state is used to indicate that the second pet character does not take any game action based on the sleeping state during the sleep duration of the second pet character in the virtual game.

[0351] For illustration, take the sleep state as an example, please refer to Figure 7 , Figure 7 FIG. 1 is a schematic diagram of internal and external linkage based on sleep state provided by an exemplary embodiment of the present application, such as Figure 7As shown, in the virtual open world 700, the second pet character 702 is in a sleeping state based on the sleeping behavior. At this time, in response to at least one of the main virtual character 701 and the first pet character 703 entering a virtual game 710 with the second pet character 702, the second pet character 702 remains in a sleeping state when the virtual game 710 is actually entered. When the second pet character 702 is in a sleeping state in the game, it will not take game actions. Taking the round-based game as an example, the second pet character 702 will replace the game action with a sleeping action to skip the action round of the second pet character 702 based on the sleeping state until the second pet character 702 wakes up, for example, the second pet character 702 is attacked by the first pet character 703. By clicking the sleeping mark 711 corresponding to the second pet character 702, the sleep effect influence content 712 can be viewed, including the remaining number of rounds that the second pet character 702 will continue in the sleeping state if it is not awakened.

[0352] In the case where the second pet character is in a back-to-back state outside the virtual game, the second pet character maintaining the back-to-back state when entering the virtual game is displayed as the first in-game state.

[0353] The first game state is used to indicate that the second pet character does not take any game action based on the back-to-back state during the duration of the back-to-back state in the virtual game.

[0354] For illustration, take the back-to-back state as an example, please refer to Figure 8 , Figure 8 FIG. 1 is a schematic diagram of internal and external linkage based on a back-to-back state provided by an exemplary embodiment of the present application, such as Figure 8 As shown, in the virtual open world 800, the second pet character 802 has its back to the main virtual character 801. In response to the main virtual character 801 throwing a Poké Ball to the second pet character 802, the first pet character 803 is summoned, so that the first pet character 803 and the second pet character 802 enter the virtual game 810, and the second pet character 802 is shown to remain with its back to the second pet character 802 when entering the virtual game 810. The second pet character 802 will not take any game action until it finds the first pet character 803, for example, the first pet character 803 releases an attack skill to the second pet character 802.

[0355] In the case where the second pet character is in a trapped state outside the virtual game, the second pet character is displayed as being in the trapped state as the first in-game state when entering the virtual game.

[0356] The first in-game state is used to indicate that the second pet character takes a struggling behavior as a game action based on the trapped state within the trapped time duration of the trapped state in the virtual game.

[0357] For turn-based games, the second pet character will struggle for at least one round while being trapped, until the second pet character breaks free from the virtual trap.

[0358] In the case where the second pet character is in a tired state outside the virtual game, the second pet character is displayed as maintaining the tired state as the first in-game state when entering the virtual game.

[0359] The first in-game state is used to instruct the second pet character to take a recovery action as a game action based on the fatigue state within the fatigue duration of the fatigue state in the virtual game.

[0360] For turn-based games, the second pet character will take recovery actions within at least one round of fatigue until the physical attribute is restored to the specified physical attribute value.

[0361] In the case where the second pet character is in an excited state outside the virtual game, the second pet character maintaining the excited state as the first in-game state when entering the virtual game is displayed.

[0362] The first in-game status is used to indicate that the second pet character has a specified combat attribute corresponding to the duration of the incentive state in the virtual game.

[0363] For turn-based games, the second pet character will take combat actions corresponding to the specified combat attributes within at least one round of the incentive state until the specified combat attributes disappear.

[0364] In AI control, the out-of-game state is pre-associated with the first in-game state. When the state machine determines that the second pet character is in the corresponding out-of-game state based on the out-of-game state identifier, when a behavior group entering the virtual game is detected, the state trigger condition that meets the first in-game state is determined, and the second pet character is controlled to be in the first in-game state.

[0365] Step 520, displaying a second pet character in the virtual game that obtains a first in-game state based on an out-game state conversion, and releases a game skill based on the first in-game state.

[0366] In some embodiments, when the out-of-game state is a skill-triggered state, the corresponding game skill can be released in the virtual game based on the out-of-game state.

[0367] The out-of-office state in the above steps 221 to 224 is taken as an example for explanation.

[0368] Optionally, skill-triggered out-of-game states include, but are not limited to, attacking states, sneak attack states, gain states, and other out-of-game states.

[0369] When the second pet character is in an attacking state or a sneak attacking state outside the virtual game, the second pet character is displayed to launch an attack by releasing the game skills in the previous round after entering the virtual game.

[0370] For illustration, take the attack state as an example, please refer to Fig. 9 , Fig. 9 FIG. 1 is a schematic diagram of in-game and out-game linkage based on an attack state provided by an exemplary embodiment of the present application. Fig. 9 As shown, in the virtual open world 900, based on the attacking character attribute of the second pet character 902, when the main virtual character 901 is found, the second pet character 902 actively attacks the main virtual character 901, so that the second pet character 902 is in an offensive state, and enters a virtual game 910 with the main virtual character 901, showing that the second pet character 902 launches an attack by releasing the game skills in the previous round after entering the virtual game 910. For the round-based game, the second pet character 902 will execute the action round first and take the lead in launching an attack in the first action round.

[0371] Take the sneak attack state as an example, please refer to Fig.10 , Fig.10 FIG. 1 is a schematic diagram of internal and external linkage based on a sneak attack state provided by an exemplary embodiment of the present application, such as Fig.10 As shown, in the virtual open world 1000, the second pet character 1002 is disguised as a virtual treasure box. In response to the main control virtual character 1001 touching the virtual treasure box, the second pet character 1002 enters the virtual game 1010 in a sneak attack state, that is, the second pet character 1002 resumes disguise when entering the virtual game 1010, and launches an attack by releasing the game skills in the previous round. For the turn-based game, the second pet character 1002 will take the lead in executing the first action round and launch an attack in the first action round.

[0372] When the second pet character is in a buffed state outside the virtual game, the second pet character is displayed to perform a virtual battle with the buffed attack or defense capability after entering the virtual game.

[0373] For illustration, take the gain state as an example, please refer to Fig.11 , Fig.11 FIG. 1 is a schematic diagram of intra- and extra-office linkage based on gain state provided by an exemplary embodiment of the present application, such as Fig.11As shown, for the second pet character 1102 with a gain skill in the virtual open world 1100, the main virtual character 1101 is found in the virtual open world 1100, and the second pet character 1102 releases the gain skill and is in a gain state. At this time, a virtual game 1110 is entered, and the second pet character 1102 enters the virtual game 1110 and performs a virtual battle with the gain attack ability or defense ability. Among them, by clicking on the gain icon 1111 of the second pet character 1102, the effect of the gain state of the second pet character 1102 in the virtual game 1110 can be viewed. Influence content 1112.

[0374] For illustration, taking the superposition state as an example, please refer to Fig.12 , Fig.12 FIG. 1 is a schematic diagram of internal and external linkage based on superposition state provided by an exemplary embodiment of the present application, such as Fig.12 As shown, in the virtual open world 1200, the second pet character 1202 has its back to the main virtual character 1201, and the main virtual character 1201 uses a behavior restriction skill on the second pet character 1202 from behind the second pet character 1202, so that the second pet character 1202 is in a back-to-back state and a dizzy state at the same time. At this time, the virtual game 1210 is entered, and it is displayed that the second pet character 1210 is in a back-to-back state and a dizzy state when entering the virtual game. By clicking the dizziness mark 1211, the effect influence content 1212 corresponding to the dizziness Debuff can be viewed.

[0375] In AI control, based on the state machine reading the corresponding out-of-game state identifier and the behavior group for entering the virtual game, the trigger conditions that meet the first in-game state are determined, and based on the out-of-game state identifier, the associated first in-game state identifier is read to control the second pet character to be in the first in-game state. The first in-game state is associated with a game behavior group, and based on the game behavior group, the second pet character in the first in-game state is controlled to release game skills.

[0376] Taking the virtual game as a turn-based game as an example, the turn-based game includes multiple rounds. The second duration of the first in-game state is determined based on the first duration of the out-of-game state, and the second pet character in the first in-game state is displayed in at least one round of the turn-based game based on the second duration.

[0377] The first duration refers to the duration during which the second pet character is out of the game based on a designated event in the virtual open world.

[0378] The first duration is positively correlated with the degree of impact of the specified event on the second pet character.

[0379] Taking the behavior restriction state as an example, the duration of the behavior restriction state is positively correlated with the charging time when the main virtual character releases the behavior restriction skill. The longer the charging time, the longer the behavior restriction state lasts.

[0380] Optionally, the time limit is also related to the character attribute of the second pet character.

[0381] For example, when the character attributes of the second pet character restrain the behavior restriction skill, the duration of the behavior restriction state can be reduced, or the behavior restriction skill can be made invalid.

[0382] Optionally, the second duration is related to the starting moment of entering the virtual game.

[0383] The first duration of the out-of-game state is determined based on a designated event, the consumed time of the out-of-game state is determined based on the start time of the virtual game and the start time of the out-of-game state, and the second duration of the first in-game state is determined based on the first duration and the consumed time.

[0384] Illustratively, based on the charging time of 3 seconds when the main virtual character releases a behavior-restricted skill to the second pet character in the virtual open world, it is determined that the behavior-restricted state of the second pet character in the virtual open world needs to last for 15 seconds. In response to entering the virtual game at the 5th second when the second pet character is in the behavior-restricted state, it is determined that the second pet character needs to last for 10 seconds in the behavior-restricted state in the virtual game. Then, starting from the start of the virtual game, the second pet character is displayed in the behavior-restricted state in multiple rounds corresponding to 10 seconds.

[0385] Optionally, in AI control, state switching based on duration can be achieved by setting a timer for the corresponding state in the state machine.

[0386] For example, an out-of-game timer is set for the out-of-game state, and the countdown duration is the first duration. Based on the behavior group for entering the virtual game, the in-game timer for the in-game state is started, and the countdown duration is the second duration. The second duration is the remaining countdown duration of the out-of-game timer when entering the virtual game. When the countdown duration of the in-game timer returns to zero, the second pet character is controlled to be in the second out-of-game state.

[0387] For a turn-based game, when the second pet character maintains a first in-game state for at least one round, in response to the first in-game state meeting an end condition, the second pet character is displayed in a second in-game state in the virtual game.

[0388] The end condition is used to switch the status of the second pet character in the virtual game, the end condition and the duration of the first game status, and the behavior of the game characters (at least one of the main virtual character, the first pet character, and the second pet character).

[0389] Optionally, the end condition includes that the duration of the first in-game state reaches the second duration in the above step 230, or the game character performs a specified game behavior in the virtual game, and the specified game behavior is used to interrupt the first in-game state of the second pet character.

[0390] In AI control, the end condition is a state switching condition in the state machine used to switch the first in-game state to the second in-game state. When the state machine determines that the state switching condition is met based on the first in-game state or the behavior group corresponding to the first in-game state, the second pet character is controlled to be in the second in-game state.

[0391] Through the end condition, the state switching condition in the virtual game is provided for the second pet character, so that the system can flexibly control the in-game state of the second pet character and ensure that the first in-game state can play a transitional role, rather than rigidly determining the entire game state of the second pet character in the virtual game based on the out-of-game state, thereby improving the control flexibility of the in-game state.

[0392] The second in-game state may be a state after the second pet character leaves the first in-game state.

[0393] In some embodiments, the second in-game state is determined based on the game situation in the virtual game.

[0394] In the case where the second pet character remains in the sleeping state for at least one round, in response to the second pet character meeting the first ending condition, the action round of the second pet character in the round-based game shows that the second pet character is out of the sleeping state.

[0395] Among them, the first end condition includes at least one of the following conditions: the main virtual character or the first pet character uses an attack skill to attack the second pet character; the movement speed of the main virtual character or the first pet character to the second pet character reaches a preset speed threshold; the audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold; the second pet character's sleep time in the virtual game reaches a second duration.

[0396] For example, assuming that the main virtual character needs to get close to the second pet character in a virtual game, when the main virtual character triggers a preset virtual switch while getting close to the second pet character, a mechanism sound effect is played. When the volume of the mechanism sound effect reaches a preset volume threshold, the second pet character is awakened, indicating that the second pet character has woken up from a sleeping state.

[0397] Illustratively, assuming that the second pet character automatically falls asleep in a night scene in the virtual open world and automatically wakes up in a day scene, when the main virtual character enters a virtual game with the second pet character when there are 2 minutes left before dawn in the virtual open world, then in response to the second pet character remaining in a sleeping state for 2 minutes in the virtual game, the second pet character automatically wakes up, indicating that the second pet character has emerged from the sleeping state.

[0398] When the second pet character maintains the back-facing state in at least one round, in response to the first game state meeting the second end condition, the second pet character's action round in the turn-based game shows that the second pet character changes from facing away from the main virtual character to facing the main virtual character.

[0399] Among them, the second end condition includes at least one of the following conditions: the main virtual character or the first pet character uses an attack skill on the second pet character; the main virtual character or the first pet character moves to the preset viewing angle range corresponding to the second pet character; the distance between the main virtual character or the first pet character and the second pet character is less than a preset distance threshold; the movement speed of the main virtual character or the first pet character toward the second pet character reaches a preset speed threshold; the audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold.

[0400] Illustratively, assuming that the main virtual character needs to move to a designated position in a virtual game, and the second pet character has its back to the main virtual character, when the main virtual character moves to the designated position from the area behind the second pet character to the field of view of the second pet character, the second pet character discovers the main virtual character, and the second pet character turns from facing away from the main virtual character to facing the main virtual character.

[0401] Optionally, in AI control, multiple state switching conditions (end conditions) can be set for the first in-game state in the state machine, and based on any one or a group of state switching conditions, the second pet character is controlled to switch to the second in-game state.

[0402] In some embodiments, the main virtual character can capture the second pet character in a virtual game.

[0403] Illustratively, in a virtual game, a capture operation of a second pet character by a main control virtual character is received, and the capture operation is used to capture the second pet orange as a servant of the main control virtual character.

[0404] Optionally, the capture success rate is related to the first in-game state.

[0405] For example, when the second pet character is in at least one of the first in-game states of sleeping, back-to-back, behavior-restricted, trapped, tired, and injured in the virtual game based on the out-of-game state, the capture success rate corresponding to the capture operation is higher than the capture success rate when the second pet character is in other states.

[0406] Optionally, the capture operation may include an automatic capture operation after defeating the second pet character in the virtual game, or it may include active operations such as the main virtual character throwing a capture prop (such as a Poké Ball, etc.) to the second pet character, wherein the prop attributes of the capture prop, the aiming degree of the capture operation, the charging time when releasing the capture operation, or the calibration result, etc. can all affect the capture success rate, and the embodiments of the present application are not limited to this.

[0407] In AI control, an interface can be added between a specified intra-office state and an intra-office interaction event, and information about the impact of the intra-office state on the intra-office interaction event can be transmitted based on the interface. For example, the impact information can be transmitted to the capture event through the interfaces of the above-mentioned multiple first intra-office states, and the impact information is used to indicate how to improve the capture success rate.

[0408] Therefore, through events in the virtual open world, the second pet character is placed in a specified out-of-game state, so that the second pet character is placed in the first in-game state based on the out-of-game state from the start of the virtual game. This not only reduces the sense of separation between the in-game and out-of-game, but also increases the capture success rate in the game through out-of-game events, expands the player's game strategy depth, and thus improves the playability of the open world game.

[0409] Optionally, the virtual game may be initiated through various events in the virtual open world.

[0410] For example, in response to an attack event between the main virtual character and the second pet character, a virtual game is entered; or, in response to the main virtual character summoning the first pet character in the direction of the second pet character, a virtual game is entered; or, in response to an attack event between the first pet character and the second pet character, a virtual game is entered; or, in response to at least one of the main virtual character and the first pet character entering the territory of the second pet character, a virtual game is entered, etc.

[0411] It is worth noting that the above-mentioned events that trigger entering a virtual game are merely illustrative examples and are not limited to this in this application.

[0412] Taking the example of responding to the main virtual character summoning the first pet character in the direction of the second pet character to enter a virtual game, the main virtual character can summon the first pet character by aiming at the second pet character and throwing the first Poké Ball containing the first pet character to the second pet character, thereby causing the first pet character and the second pet character to enter a virtual game at the same time as the first pet character is summoned.

[0413] When the main control virtual character can summon multiple first pet characters, the first pet character to be summoned can be selected through a selection operation.

[0414] Illustratively, the program interface includes a plurality of sprite controls corresponding to the first pet characters, and the corresponding first pet character is selected and summoned by triggering the sprite control.

[0415] Optionally, it can be triggered by clicking the sprite control on the touch screen, by clicking the sprite control with the mouse, or by pre-associated buttons in external devices such as keyboards or controllers. For example, sprite control A is associated with number button 1, sprite control B is associated with number button 2, and sprite control C is associated with number button 3. Sprite control A is triggered by triggering number button 1 to select the corresponding first pet character. The starting pet character can also be switched by using designated buttons. For example, in the order of appearance of multiple first pet characters, sprite control A, sprite control B, and sprite control C are displayed from top to bottom. The down key on the keyboard direction buttons is used to switch the first pet character corresponding to sprite control B to the starting pet character, and sprite control B, sprite control C, and sprite control A are displayed from top to bottom.

[0416] It is worth noting that the operation method is only an example and is not limited to this embodiment of the present application.

[0417] Through multiple operation modes, users can choose a more appropriate operation mode, thereby improving interaction efficiency and improving operation convenience.

[0418] The above-mentioned attack events for triggering entry into a virtual game include but are not limited to at least one of the main virtual character and the first pet character attacking the second pet character in the virtual open world, or the second pet character attacking at least one of the main virtual character and the first pet character.

[0419] Entering a virtual game is triggered by various events in the virtual open world, which enriches the ways of entering the virtual game and improves the relevance of external events and the virtual game.

[0420] In some embodiments, the game interaction method based on a virtual open world provided in the embodiments of the present application can also associate the in-game status of the first pet character based on external events.

[0421] Illustratively, when the main virtual character summons the first pet character, the first pet character is displayed in an out-of-game state in the virtual open world, and the out-of-game state is the state of the first pet character based on events in the virtual open world when the pet character is outside the virtual game; in response to the first pet character and the second pet character entering the virtual game, starting from the start moment of the virtual game, the first pet character is displayed in a first in-game state in the virtual game, and the first in-game state is an in-game state determined based on the first pet character and the out-of-game state; when the first in-game state meets the end condition, the first pet character is displayed in a second in-game state in the virtual game.

[0422] Optionally, the event used to determine the out-of-game state of the first pet character includes at least one of the following:

[0423] The first event that the main virtual character generates in the virtual open world;

[0424] A second event in which a second pet character is generated in the virtual open world;

[0425] The third event in which the first pet character is generated in the virtual open world;

[0426] A fourth event generated by the cooperation of the first pet character and the main control virtual character in the virtual open world;

[0427] A first interactive event generated by the main control virtual character and the second pet character in the virtual open world;

[0428] A second interactive event generated by the first pet character and the second pet character in the virtual open world.

[0429] Specifically, the implementation details can refer to the above-mentioned embodiment of associating the state of the second pet character based on the external event, which will not be repeated here.

[0430] By associating the in-game status of the first pet character based on out-of-game events, the linkage between out-of-game events and in-game status is further improved, reducing the sense of separation between the in-game and out-of-game.

[0431] For illustration, please refer to Fig.13 , Fig.13 FIG. 1 is a schematic diagram of a game interaction process based on a virtual open world provided by an exemplary embodiment of the present application. Fig.13As shown, taking the second pet character including an elf as an example, step 1310 is executed in sequence to display the elf in the daily state; step 1321 is executed respectively to determine whether the player performs special interaction, if so, execute the next step 1330, if otherwise, return to step 1310; step 1322, determine whether the elf performs special AI behavior, if so, execute the next step 1330, if otherwise, return to step 1310; step 1330, the elf enters a special state; step 1340, determine whether to enter a battle, if otherwise, execute step 1351, if so, execute step 1352; step 1351, display the off-game effects of the special state; step 1352, start the in-game battle, and execute the in-game mechanism based on the rule mapping table.

[0432] Among them, the elves can enter special states through special interactions between AI behavior groups and players.

[0433] AI can switch between different states and the corresponding sprite behaviors in each state through the combination of state machine and behavior group. AI control can be achieved by setting states, state switching conditions and behavior groups for AI. For special interactions with players, different effects of different interactions on the sprite state can be set through the interfaces corresponding to various types of player interactions in the game.

[0434] For illustration, please refer to Fig.14 , Fig.14 is a schematic diagram of a state machine provided by an exemplary embodiment of the present application, such as Fig.14 As shown, the AI ​​state machine 1400 includes states, behavior groups and state switching conditions, wherein, for the out-of-game state, the behavior group based on the first event triggers the first out-of-game state, the behavior group based on the second event triggers the second out-of-game state, and so on, and the corresponding out-of-game behavior group is executed based on the out-of-game state; for the in-game state, a virtual game is entered based on the out-of-game state, and the game behavior group corresponding to the first in-game state is executed. When the first in-game state meets the end condition (state switching condition), it is switched to the second in-game state, and the game behavior group corresponding to the second in-game state is executed.

[0435] When the elf enters a special state, if it enters a battle at this time, the server will report the elf's special state type at the current moment, and then convert the special state outside the game into the special mechanism inside the game according to the rule mapping table of the mechanism inside and outside the game. For example, the elf's dizzy state outside the game is converted to a dizzy debuff inside the game; the elf's offensive state outside the game is converted to the priority release of attack skills inside the game, etc.

[0436] The AI ​​state machine is used to control the in-game and out-of-game states of pet characters, which improves control efficiency and enables flexible state switching based on a variety of state switching conditions. This provides a basis for determining the first in-game state based on the out-of-game state. The corresponding state can be continued for transition regardless of whether in or out of the game, thereby reducing the sense of disconnection between different aspects of the game.

[0437] In summary, the method provided in the embodiment of the present application provides a variety of ways to display the second pet character in the first in-game state based on the out-of-game state, enriches the expression form of the first in-game state as a transitional state, improves the linkage between the in-game and the out-of-game, and at the same time, provides players with a variety of out-of-game strategies to pave the way for the in-game. For example, for a second pet character with frequent sleeping behavior, you can wait outside the game for the second pet character to fall asleep, and enter a virtual game with the second pet character in the sleeping state to improve the capture success rate; for a second pet character with poor vigilance, you can approach the second pet character from behind, and enter a virtual game with the second pet character in the back-to-back state to improve the capture efficiency; for a second pet character whose character attributes do not restrain behavior restriction skills, you can release behavior restriction skills to make the second pet character enter a virtual game after being in a behavior restriction state, thereby improving the capture success rate, etc. Different out-of-game behaviors can be adopted for second pet characters with different characteristics, and the in-game state can be associated, thereby enriching the out-of-game strategies for the in-game state and improving the user experience.

[0438] In combination with the above embodiments, the application scenarios of the game interaction method based on the virtual open world provided in the embodiments of the present application are explained. Optionally, the method can be applied to any scene that provides a virtual open world, such as virtual games, three-dimensional maps, extended reality (Extended Reality, XR), etc., where XR includes VR, mixed reality (Mixed Reality, MR), AR and other technical fields, which are not limited in this application.

[0439] 1. Take the application of the game interaction method based on a virtual open world in a virtual game as an example.

[0440] A first virtual game is installed in the terminal. The first virtual game provides an open game world. Players can control game characters to move in the open game world and can also trigger game matches in the open game world.

[0441] Illustratively, the terminal receives a control operation on a main control game character in an open game world, the control operation is used to control the action of the main control game character, the main control game character has the ability to summon a first pet character; displays a second pet character in an out-of-game state in the open game world, the second pet character is an object controlled by the system, the out-of-game state is the state of the second pet character based on events in the open game world when the character is outside the game; in response to at least one of the main control game character and the first pet character entering a game with the second pet character, starting from the start moment of the game, displays the second pet character in a first in-game state in the game, the first in-game state being an in-game state determined based on the out-of-game state; and when the first in-game state meets an end condition, displays the second pet character in a second in-game state in the game.

[0442] 2. Take the application of the game interaction method based on a virtual open world in a VR scene as an example to illustrate.

[0443] A VR application is installed in the terminal. The VR application provides a VR open world. Users can control VR characters to move in the VR open world and trigger VR games in the VR open world.

[0444] Illustratively, the terminal receives a control operation on a master VR character in a VR open world, the control operation is used to control the action of the master VR character, the master VR character has the ability to summon a first pet character; displays a second pet character in an out-of-game state in the VR open world, the second pet character is an object controlled by the system, the out-of-game state is the state of the second pet character based on events in the VR open world when it is outside the VR game; in response to at least one of the master VR character and the first pet character entering a VR game with the second pet character, starting from the start moment of the VR game, displays the second pet character in a first in-game state in the VR game, the first in-game state being an in-game state determined based on the out-of-game state; and when the first in-game state meets an end condition, displays the second pet character in a second in-game state in the VR game.

[0445] It is worth noting that the above application scenarios are only illustrative examples and are not limited here.

[0446] Fig.15 is a structural block diagram of a game interaction device based on a virtual open world provided by an exemplary embodiment of the present application. Fig.15 As shown, the device includes the following parts:

[0447] The receiving module 1510 is used to receive a control operation on a master virtual character in the virtual open world, wherein the control operation is used to control the action of the master virtual character, and the master virtual character has the ability to summon the first pet character;

[0448] The display module 1520 is further used to display a second pet character in an out-of-game state in the virtual open world, where the second pet character is an object controlled by the system, and the out-of-game state is a state of the second pet character based on an event in the virtual open world when the second pet character is out of the virtual game;

[0449] The display module 1520 is further configured to, in response to at least one of the main virtual character and the first pet character entering the virtual game with the second pet character, display the second pet character in a first in-game state in the virtual game starting from the start time of the virtual game, wherein the first in-game state is an in-game state determined based on the out-of-game state;

[0450] The display module 1520 is further configured to display a second pet character in a second in-game state in the virtual game when the first in-game state meets an end condition.

[0451] Please refer to Fig.16 , Fig.16 is a structural block diagram of a game interaction device module based on a virtual open world provided by an exemplary embodiment of the present application, such as Fig.16 As shown, in some embodiments, the display module 1520 includes an external display unit 1521, which is used to:

[0452] Based on a first event generated by the main virtual character in the virtual open world, displaying a second pet character in a first out-of-game state in the virtual open world; or,

[0453] Based on a second event generated by the second pet character in the virtual open world, displaying the second pet character in a second out-of-game state in the virtual open world; or,

[0454] Based on a first interactive event generated between the main virtual character and the second pet character in the virtual open world, displaying the second pet character in a third out-of-game state in the virtual open world; or

[0455] Based on at least two of the first event, the second event and the first interactive event, a second pet character in a fourth out-of-game state is displayed in the virtual open world.

[0456] In some embodiments, the first event includes at least one of the following events:

[0457] The main control virtual character releases a behavior restriction skill to the second pet character in the virtual open world; the first out-of-game state includes a behavior restriction state, and the behavior restriction state is used to indicate a state in which the second pet character loses the ability to act, wherein the charging time of the main control virtual character when releasing the behavior restriction skill is positively correlated with the restriction time, and the restriction time refers to the duration of time that the second pet character is in the behavior restriction state based on the behavior restriction skill;

[0458] The main control virtual character moves to the area behind the second pet character in the virtual open world; the first out-of-game state includes a back-to-back state, and the back-to-back state is used to indicate that the second pet character is facing away from the main control virtual character;

[0459] The main virtual character triggers a stealth state in the virtual open world and enters a preset area around the second pet character in the stealth state; the first outside state includes a relaxed state, and the relaxed state is used to indicate that the second pet character ignores the state of the main virtual character based on the stealth state of the main virtual character.

[0460] In some embodiments, the behavior restriction skill meets a valid condition, and the valid condition includes at least one of the following conditions:

[0461] The charging time reaches the preset charging time;

[0462] The behavior restriction skill hits the second pet character;

[0463] The character attributes of the second pet character and the behavior restriction skills meet the restriction conditions.

[0464] In some embodiments, the second event includes at least one of the following events:

[0465] The second pet character falls asleep in the virtual open world; the second out-of-game state includes a sleeping state;

[0466] The second pet character triggers a gain skill in the virtual open world; the second out-of-game state includes a gain state, and the gain state is used to indicate a state in which the second pet character obtains a gain effect;

[0467] The second pet character triggers an attack skill towards the main virtual character in the virtual open world; the second out-of-game state includes an attack state, and the attack state is used to indicate that the second pet character has launched an attack towards the main virtual character in a previous round;

[0468] The second pet character enters a virtual trap in the virtual open world; the first out-of-game state includes a trapped state, and the trapped state is used to indicate that the second pet character is trapped in the virtual trap.

[0469] In some embodiments, the first interaction event includes at least one of the following events:

[0470] The second pet character is disguised as a first virtual element in the virtual open world, and the main virtual character triggers a first interactive operation to the second pet character disguised as the first virtual element; the third out-of-game state includes a sneak attack state, and the sneak attack state is used to indicate that the second pet character resumes disguise and launches an attack on the main virtual character;

[0471] The main virtual character chases the second pet character in the virtual open world, and the second pet character avoids the pursuit of the main virtual character for a first preset time period; the third out-of-game state includes a tired state, and the tired state is used to indicate that the physical attribute of the second pet character is reduced compared to the historical physical attribute before avoiding the pursuit;

[0472] The second pet character chases the main virtual character in the virtual open world, and the main virtual character avoids the pursuit of the second pet character for a second preset time period; the third out-of-game state includes an incentive state, which is used to indicate that the specified combat attribute of the second pet character is increased relative to the historical combat attribute before avoiding the chase.

[0473] In some embodiments, the receiving module 1510 is further used to receive a summoning operation of the main virtual character for the first pet character, wherein the summoning operation is used to summon the first pet character to move in the virtual open world;

[0474] The out-of-game display unit 1521 is further configured to display a second pet character in a fifth out-of-game state in the virtual open world based on a third event generated by the first pet character in the virtual open world; or

[0475] The out-of-game display unit 1521 is further used to display the second pet character in the sixth out-of-game state in the virtual open world based on the fourth event generated by the cooperation between the first pet character and the master virtual character in the virtual open world; or

[0476] The out-of-game display unit 1521 is further used to display the second pet character in the seventh out-of-game state in the virtual open world based on a second interactive event generated by the first pet character and the second pet character in the virtual open world.

[0477] In some embodiments, the display module 1520 further includes a first in-game display unit 1522, which is used to:

[0478] Displaying a second pet character that maintains the out-of-game state as the first in-game state in the virtual game; or

[0479] A second pet character is displayed in the virtual game, which obtains a first in-game state based on the out-game state conversion, and releases a game skill based on the first in-game state.

[0480] In some embodiments, the first in-office display unit 1522 is further used to:

[0481] In the case where the second pet character is in a behavior restriction state outside the virtual game, the second pet character maintaining the behavior restriction state as the first in-game state when entering the virtual game is displayed, the first in-game state is used to indicate that the second pet character obtains a debuff effect in the virtual game and the second pet character does not take a game action within a limited duration in the virtual game based on the behavior restriction state, and the duration of the debuff effect corresponds to the limited duration; or

[0482] In the case where the second pet character is in a sleeping state outside the virtual game, displaying the second pet character that maintains the sleeping state as the first in-game state when entering the virtual game, wherein the first in-game state is used to indicate that the second pet character does not take any game action based on the sleeping state during the sleep duration in the virtual game; or

[0483] In the case where the second pet character is in a back-to-back state outside the virtual game, displaying the second pet character maintaining the back-to-back state as the first game state when entering the virtual game, the first game state is used to indicate that the second pet character does not take any game action based on the back-to-back state during the back-to-back duration in the virtual game; or

[0484] In the case where the second pet character is in a trapped state outside the virtual game, displaying the second pet character maintaining the trapped state as the first in-game state when entering the virtual game, wherein the first in-game state is used to indicate that the second pet character takes a struggling behavior as a game action based on the trapped state within the duration of the trapped state in the virtual game; or

[0485] In the case where the second pet character is in a fatigued state outside the virtual game, the second pet character maintaining the fatigued state as the first in-game state when entering the virtual game is displayed, and the first in-game state is used to indicate that the second pet character takes a recovery behavior as a game action based on the fatigued state within the fatigue duration of the fatigued state in the virtual game; or

[0486] When the second pet character is in an excited state outside the virtual game, the second pet character maintaining the excited state when entering the virtual game is displayed as the first in-game state, and the first in-game state is used to indicate that the second pet character obtains a gain effect in the virtual game, and the duration of the gain effect corresponds to the duration of the excitation state in the virtual game.

[0487] In some embodiments, the first in-office display unit 1522 is further used to:

[0488] When the second pet character is in an attacking state or a sneak attacking state outside the virtual game, the second pet character is displayed to launch an attack by releasing the game skills in the previous round after entering the virtual game; or

[0489] When the second pet character is in a buffed state outside the virtual game, the second pet character is displayed to perform a virtual battle with the buffed attack or defense capability after entering the virtual game.

[0490] In some embodiments, the virtual game includes a turn-based game, and the turn-based game includes multiple rounds; the first in-game display unit 1522 is further used to:

[0491] Determine a second duration of the first in-game state based on the first duration of the out-game state;

[0492] The second pet character in the first in-game state is displayed in at least one round of the round-based game based on the second duration.

[0493] In some embodiments, the display module 1520 further includes a second in-office display unit 1523, which is used to:

[0494] In the case where the second pet character remains in a sleeping state in the at least one round, in response to the second pet character meeting a first end condition, an action round of the second pet character in the round-based game shows that the second pet character is out of the sleeping state;

[0495] The first termination condition includes at least one of the following conditions:

[0496] The main control virtual character or the first pet character uses an attack skill on the second pet character;

[0497] The moving speed of the main virtual character or the first pet character moving toward the second pet character reaches a preset speed threshold;

[0498] The audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold.

[0499] In some embodiments, the second in-game display unit 1523 is further used to:

[0500] In the case where the second pet character maintains a back-facing state in at least one round, in response to the second pet character meeting a second end condition, the action round of the second pet character in the round-based game shows that the second pet character turns from facing away from the master virtual character to facing the master virtual character;

[0501] The second termination condition includes at least one of the following conditions:

[0502] The main control virtual character or the first pet character uses an attack skill on the second pet character;

[0503] The main control virtual character or the first pet character moves to a preset viewing angle range corresponding to the second pet character;

[0504] The distance between the main virtual character or the first pet character and the second pet character is less than a preset distance threshold;

[0505] The moving speed of the main control virtual character or the first pet character moving toward the second pet character reaches a preset speed threshold;

[0506] The audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold.

[0507] In some embodiments, the receiving module 1510 is further used to receive a capture operation of the master virtual character on the second pet character in the virtual game, wherein the capture operation is used to capture the second pet character as a servant of the master virtual character;

[0508] Among them, when the second pet character is in at least one of the first in-game states of sleeping, back-to-back, behavior-restricted, trapped and tired in the virtual game based on the out-of-game state, the capture success rate corresponding to the capture operation is higher than the capture success rate when the second pet character is in other states.

[0509] In some embodiments, the apparatus further comprises a processing module 1530 for:

[0510] In response to an attack event between the main control virtual character and the second pet character, entering the virtual game; or,

[0511] In response to the main virtual character calling the first pet character in the direction of the second pet character, the virtual game is entered; or,

[0512] In response to an attack event occurring between the first pet character and the second pet character, entering the virtual game; or,

[0513] In response to at least one of the main virtual character and the first pet character entering the territory of the second pet character, the virtual game is entered.

[0514] In some embodiments, the out-of-game display unit 1521 is further used to display the first pet character in an out-of-game state in the virtual open world when the master virtual character summons the first pet character, wherein the out-of-game state is the state of the first pet character based on an event in the virtual open world when the first pet character is out of the virtual game;

[0515] The first in-game display unit 1522 is further configured to, in response to the first pet character and the second pet character entering the virtual game, display the first pet character in a first in-game state in the virtual game starting from the start time of the virtual game, wherein the first in-game state is an in-game state determined based on the out-of-game state of the first pet character;

[0516] The second in-game display unit 1523 is further configured to display the first pet character in the second in-game state in the virtual game when the first in-game state meets the end condition.

[0517] To summarize, the device provided in the embodiment of the present application determines the first in-game state of the second pet character in the virtual game by the out-of-game state of the second pet character before entering the virtual game, so that the out-of-game state caused by the events in the virtual open world on the second pet character can have an impact on the first in-game state when entering the virtual game, and the out-of-game state is extended to the inside of the game, so that the in-game state and the out-of-game state are kept related, thereby improving the linkage between events in the virtual open world and the virtual game, and using the first in-game state as the intermediate state between the out-of-game state and the second in-game state to provide a transition between the outside and inside of the game, thereby reducing the sense of separation between the inside and outside of the game, improving the immersion of the player experience, and improving the playability of the open world game.

[0518] It should be noted that the game interaction device based on the virtual open world provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0519] Fig.17 The structure block diagram of a terminal 1700 provided by an exemplary embodiment of the present application is shown. The terminal 1700 may be: a smart phone, a tablet computer, an MP3 player, an MP4 player, a notebook computer or a desktop computer. The terminal 1700 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0520] Typically, the terminal 1700 includes a processor 1701 and a memory 1702 .

[0521] The processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1701 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1701 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1701 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0522] The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. The memory 1702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1702 is used to store at least one instruction, which is used to be executed by the processor 1701 to implement the game interaction method based on the virtual open world provided in the method embodiment of the present application.

[0523] In some embodiments, the terminal 1700 further includes some other components 1703, and the type and quantity of the other components 1703 can be selected based on the functional requirements of the terminal 1700. Those skilled in the art will appreciate that Fig.17 The structure shown in the figure does not constitute a limitation on the terminal 1700, and the terminal 1700 may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0524] The embodiment of the present application also provides a computer device, which can be implemented as follows: Figure 1 The computer device includes a processor and a memory, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the game interaction method based on the virtual open world provided by the above-mentioned method embodiments.

[0525] An embodiment of the present application also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the game interaction method based on a virtual open world provided by the above-mentioned method embodiments.

[0526] The embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the game interaction method based on the virtual open world provided by the above-mentioned method embodiments.

[0527] Optionally, the computer readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD) or optical disks, etc. Among them, the random access memory may include resistance random access memory (ReRAM) and dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0528] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0529] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A game interaction method based on a virtual open world, characterized in that: The method comprises: Receiving a control operation on a master virtual character in the virtual open world, wherein the control operation is used to control an action of the master virtual character, and the master virtual character has the ability to summon a first pet character; Displaying a second pet character in an out-of-game state in the virtual open world, the second pet character is an object controlled by the system, and the out-of-game state is a state of the second pet character based on an event in the virtual open world when the second pet character is out of the virtual game; In response to at least one of the main virtual character and the first pet character and the second pet character entering the virtual game, starting from the start time of the virtual game, displaying the second pet character in a first in-game state in the virtual game, wherein the first in-game state is an in-game state determined based on the out-of-game state; When the first in-game state meets the end condition, a second pet character in a second in-game state in the virtual game is displayed.

2. The method according to claim 1, characterized in that The second pet character displayed in the virtual open world and being in an out-of-game state comprises: Based on a first event generated by the main virtual character in the virtual open world, displaying a second pet character in a first out-of-game state in the virtual open world; or, Based on a second event generated by the second pet character in the virtual open world, displaying the second pet character in a second out-of-game state in the virtual open world; or, Based on a first interactive event generated between the main virtual character and the second pet character in the virtual open world, displaying the second pet character in a third out-of-game state in the virtual open world; or Based on at least two of the first event, the second event and the first interactive event, a second pet character in a fourth out-of-game state is displayed in the virtual open world.

3. The method according to claim 2, characterized in that The first event includes at least one of the following events: The main control virtual character releases a behavior restriction skill to the second pet character in the virtual open world; the first out-of-game state includes a behavior restriction state, and the behavior restriction state is used to indicate a state in which the second pet character loses the ability to act, wherein the charging time of the main control virtual character when releasing the behavior restriction skill is positively correlated with the restriction time, and the restriction time refers to the duration of time that the second pet character is in the behavior restriction state based on the behavior restriction skill; The main control virtual character moves to the area behind the second pet character in the virtual open world; the first out-of-game state includes a back-to-back state, and the back-to-back state is used to indicate that the second pet character is facing away from the main control virtual character; The main virtual character triggers a stealth state in the virtual open world and enters a preset area around the second pet character in the stealth state; the first outside state includes a relaxed state, and the relaxed state is used to indicate that the second pet character ignores the state of the main virtual character based on the stealth state of the main virtual character.

4. The method according to claim 3, characterized in that The behavior restriction skill meets the validity conditions, and the validity conditions include at least one of the following conditions: The charging time reaches the preset charging time; The behavior restriction skill hits the second pet character; The character attributes of the second pet character and the behavior restriction skills meet the restriction conditions.

5. The method according to claim 2, characterized in that: The second event includes at least one of the following events: The second pet character falls asleep in the virtual open world; the second out-of-game state includes a sleeping state; The second pet character triggers a gain skill in the virtual open world; the second out-of-game state includes a gain state, and the gain state is used to indicate a state in which the second pet character obtains a gain effect; The second pet character triggers an attack skill towards the main virtual character in the virtual open world; the second out-of-game state includes an attack state, and the attack state is used to indicate that the second pet character has launched an attack towards the main virtual character in a previous round; The second pet character enters a virtual trap in the virtual open world; the first out-of-game state includes a trapped state, and the trapped state is used to indicate that the second pet character is trapped in the virtual trap.

6. The method according to claim 2, characterized in that The first interactive event includes at least one of the following events: The second pet character is disguised as a first virtual element in the virtual open world, and the main virtual character triggers a first interactive operation to the second pet character disguised as the first virtual element; the third out-of-game state includes a sneak attack state, and the sneak attack state is used to indicate that the second pet character resumes disguise and launches an attack on the main virtual character; The main control virtual character chases the second pet character in the virtual open world, and the second pet character avoids the pursuit of the main control virtual character for a first preset time period; The third out-of-game state includes a tired state, and the tired state is used to indicate that the physical attribute of the second pet character is reduced relative to the historical physical attribute before avoiding the chase; The second pet character chases the main virtual character in the virtual open world, and the main virtual character avoids the pursuit of the second pet character for a second preset time period; The third out-of-game state includes an exciting state, which is used to indicate a state in which the designated combat attribute of the second pet character is increased relative to the historical combat attribute before avoiding pursuit.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: receiving a summoning operation from the main control virtual character to the first pet character, wherein the summoning operation is used to summon the first pet character to move in the virtual open world; The second pet character displayed in the virtual open world and being in an out-of-game state comprises: Based on a third event generated by the first pet character in the virtual open world, displaying a second pet character in a fifth out-of-game state in the virtual open world; or Based on a fourth event generated by the cooperation between the first pet character and the main control virtual character in the virtual open world, displaying a second pet character in a sixth out-of-game state in the virtual open world; or Based on a second interactive event generated by the first pet character and the second pet character in the virtual open world, the second pet character is displayed in a seventh out-of-game state in the virtual open world.

8. The method according to any one of claims 1 to 6, characterized in that: The second pet character displayed in the virtual game in the first game state includes: Displaying a second pet character that maintains the out-of-game state as the first in-game state in the virtual game; or A second pet character is displayed in the virtual game, which obtains a first in-game state based on the out-game state conversion, and releases a game skill based on the first in-game state.

9. The method according to claim 8, characterized in that The displaying of the second pet character maintaining the out-of-game state as the first in-game state in the virtual game includes: In the case where the second pet character is in a behavior restriction state outside the virtual game, the second pet character maintaining the behavior restriction state as the first in-game state when entering the virtual game is displayed, the first in-game state is used to indicate that the second pet character obtains a debuff effect in the virtual game, and the second pet character does not take game action within a limited duration in the virtual game based on the behavior restriction state, and the duration of the debuff effect corresponds to the limited duration; or In the case where the second pet character is in a sleeping state outside the virtual game, displaying the second pet character that maintains the sleeping state as the first in-game state when entering the virtual game, wherein the first in-game state is used to indicate that the second pet character does not take any game action based on the sleeping state during the sleep duration in the virtual game; or In the case where the second pet character is in a back-to-back state outside the virtual game, displaying the second pet character maintaining the back-to-back state as the first game state when entering the virtual game, the first game state is used to indicate that the second pet character does not take any game action based on the back-to-back state during the back-to-back duration in the virtual game; or In the case where the second pet character is in a trapped state outside the virtual game, displaying the second pet character maintaining the trapped state as the first in-game state when entering the virtual game, wherein the first in-game state is used to indicate that the second pet character takes a struggling behavior as a game action based on the trapped state within the duration of the trapped state in the virtual game; or In the case where the second pet character is in a fatigued state outside the virtual game, the second pet character maintaining the fatigued state as the first in-game state when entering the virtual game is displayed, and the first in-game state is used to indicate that the second pet character takes a recovery behavior as a game action based on the fatigued state within the fatigue duration of the fatigued state in the virtual game; or When the second pet character is in an excited state outside the virtual game, the second pet character maintaining the excited state when entering the virtual game is displayed as the first in-game state, and the first in-game state is used to indicate that the second pet character has a specified combat attribute corresponding to the exciting duration of the exciting state in the virtual game.

10. The method according to claim 8, characterized in that The second pet character displayed in the virtual game obtains a first in-game state based on the out-game state conversion, and releases a game skill based on the first in-game state, comprises: When the second pet character is in an attacking state or a sneak attacking state outside the virtual game, the second pet character is displayed to launch an attack by releasing the game skills in the previous round after entering the virtual game; or When the second pet character is in a buffed state outside the virtual game, the second pet character is displayed to perform a virtual battle with the buffed attack or defense capability after entering the virtual game.

11. The method according to any one of claims 1 to 6, characterized in that: The virtual game includes a turn-based game, and the turn-based game includes multiple rounds; The second pet character displayed in the virtual game in the first game state includes: Determine a second duration of the first in-game state based on the first duration of the out-game state; The second pet character in the first in-game state is displayed in at least one round of the round-based game based on the second duration.

12. The method according to claim 11, characterized in that When the first in-game state meets the end condition, displaying the second pet character in the second in-game state in the virtual game includes: In the case where the second pet character remains in a sleeping state in at least one round, in response to the first in-game state meeting a first end condition, an action round of the second pet character in the round-based game shows that the second pet character has escaped from the sleeping state; The first termination condition includes at least one of the following conditions: The main control virtual character or the first pet character uses an attack skill on the second pet character; The moving speed of the main virtual character or the first pet character moving toward the second pet character reaches a preset speed threshold; The audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold.

13. The method according to claim 11, characterized in that When the first in-game state meets the end condition, displaying the second pet character in the second in-game state in the virtual game includes: In the case where the second pet character maintains a back-to-back state in at least one round, in response to the first in-game state meeting a second end condition, the action round of the second pet character in the round-based game shows that the second pet character turns from facing away from the master virtual character to facing the master virtual character; The second termination condition includes at least one of the following conditions: The main control virtual character or the first pet character uses an attack skill on the second pet character; The main control virtual character or the first pet character moves to a preset viewing angle range corresponding to the second pet character; The distance between the main virtual character or the first pet character and the second pet character is less than a preset distance threshold; The moving speed of the main virtual character or the first pet character moving toward the second pet character reaches a preset speed threshold; The audio volume generated by the main virtual character or the first pet character reaches a preset volume threshold.

14. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: receiving a capture operation of the master virtual character on the second pet character in the virtual game, wherein the capture operation is used to capture the second pet character as a servant of the master virtual character; Among them, when the second pet character is in at least one of the first in-game states of sleeping, back-to-back, behavior-restricted, trapped and tired in the virtual game based on the out-of-game state, the capture success rate corresponding to the capture operation is higher than the capture success rate when the second pet character is in other states.

15. The method according to any one of claims 1 to 6, characterized in that: In response to at least one of the main virtual character and the first pet character entering the virtual game with the second pet character, starting from the start time of the virtual game, before displaying the second pet character in the first game state in the virtual game, the method further includes: In response to an attack event between the main control virtual character and the second pet character, entering the virtual game; or, In response to the main virtual character calling the first pet character in the direction of the second pet character, the virtual game is entered; or, In response to an attack event between the first pet character and the second pet character, entering the virtual game; or, In response to at least one of the main virtual character and the first pet character entering the territory of the second pet character, the virtual game is entered.

16. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In the case where the main control virtual character summons the first pet character, displaying the first pet character in an out-of-game state in the virtual open world, wherein the out-of-game state is the state of the first pet character based on an event in the virtual open world when the first pet character is out of the virtual game; In response to the first pet character and the second pet character entering the virtual game, starting from the start time of the virtual game, displaying the first pet character in a first in-game state in the virtual game, where the first in-game state is an in-game state determined based on the out-of-game state of the first pet character; When the first in-game state meets the end condition, the first pet character in the second in-game state in the virtual game is displayed.

17. A game interaction device based on a virtual open world, characterized in that: The device comprises: A receiving module, used for receiving a control operation on a master virtual character in the virtual open world, wherein the control operation is used for controlling the action of the master virtual character, and the master virtual character has the ability to summon the first pet character; The display module is further used to display a second pet character in an out-of-game state in the virtual open world, the second pet character is an object controlled by the system, and the out-of-game state is a state of the second pet character based on an event in the virtual open world when the second pet character is out of the virtual game; The display module is further configured to, in response to at least one of the main virtual character and the first pet character entering the virtual game with the second pet character, display the second pet character in a first in-game state in the virtual game starting from the start time of the virtual game, wherein the first in-game state is an in-game state determined based on the out-of-game state; The display module is further configured to display a second pet character in a second in-game state in the virtual game when the first in-game state meets an end condition.

18. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the game interaction method based on a virtual open world as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: The storage medium stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the game interaction method based on a virtual open world as described in any one of claims 1 to 16.

20. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the game interaction method based on a virtual open world as described in any one of claims 1 to 16.