Method and apparatus for capturing virtual pet, device, medium, and product
By using continuous triggering during the virtual pet capture process, virtual capture items are automatically consumed, solving the problems of cumbersome operation and high resource consumption in existing technologies, and achieving efficient virtual pet capture and human-computer interaction.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2026-01-07
- Publication Date
- 2026-07-30
AI Technical Summary
The current technology for capturing virtual pets relies on cumbersome manual operation, resulting in low efficiency of human-computer interaction and high consumption of terminal resources.
A method for capturing virtual pets is provided, which automatically and continuously consumes virtual capture items to capture virtual pet characters by receiving continuous trigger state usage operations, and supports flexible switching between continuous trigger state and single trigger state.
It reduces the complexity of virtual pet capture operations, improves capture efficiency and human-computer interaction efficiency, reduces the frequency of terminal input/output events, and reduces processing resource consumption.
Smart Images

Figure CN2026071189_30072026_PF_FP_ABST
Abstract
Description
Methods, devices, equipment, media, and products for capturing virtual pets
[0001] This application claims priority to Chinese Patent Application No. 202510099281.9, filed on January 21, 2025, entitled “Method, Apparatus, Device and Program Product for Capturing Virtual Pets”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of virtual environment technology, and in particular to a method, apparatus, device, medium and product for capturing virtual pets. Background Technology
[0003] In the numerous pet-raising games available today, players often immerse themselves in interacting with various unique pets. Capturing their favorite pets is a core gameplay element that not only tests players' skills but is also full of challenges and fun, attracting countless players to invest a lot of time and energy in it.
[0004] In this technology, after approaching their desired pet, players must wait for the right moment, then aim at the pet and click the capture ball to attempt a single capture. If the capture fails, the player must click the capture ball again, repeating the process until a successful capture is achieved or the player chooses to give up.
[0005] However, due to its heavy reliance on manual player operation, successful capture often requires multiple operations, making the process cumbersome and resulting in low human-computer interaction efficiency. Summary of the Invention
[0006] This application provides a method, apparatus, device, medium, and product for capturing virtual pets. The technical solution is as follows.
[0007] On the one hand, a method for capturing virtual pets is provided, the method being executed by a terminal, the method comprising:
[0008] Displays a master virtual character in a virtual environment, the master virtual character being equipped with a virtual capture tool, the virtual capture tool being used to capture pet virtual characters in the virtual environment;
[0009] Receive the first use operation for the virtual capture prop;
[0010] In response to the first use operation, the virtual capture item is consumed in a continuous trigger state to capture the virtual pet character. The continuous trigger state refers to the state in which the consumption of the (i+1)th virtual capture item is automatically triggered after the i-th virtual capture item is consumed to capture the virtual pet character, where i is a positive integer.
[0011] On the other hand, a device for capturing virtual pets is provided, the device comprising:
[0012] The display module is used to display the main virtual character in the virtual environment. The main virtual character is equipped with a virtual capture tool, which is used to capture the pet virtual character in the virtual environment.
[0013] The receiving module is used to receive a first use operation for the virtual capture prop. The first use operation is used to consume the virtual capture prop to capture the virtual pet character in a continuous capture state. The continuous trigger state refers to the state that automatically triggers the consumption of the (i+1)th virtual capture prop to capture the virtual pet character after the i-th virtual capture prop is consumed, where i is a positive integer.
[0014] A control module is configured to respond to the first usage operation by consuming the virtual capture item in a continuously triggered state to capture the pet virtual character.
[0015] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the virtual pet capture method as described in any of the embodiments of this application above.
[0016] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored therein, wherein 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 the virtual pet capture method as described in any of the embodiments of this application above.
[0017] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual pet capture method described in any of the above embodiments.
[0018] The beneficial effects of the technical solutions provided in this application include at least the following:
[0019] By receiving the first use operation in a continuously triggered state, the main virtual character can consume virtual capture items to capture pet virtual characters in a continuously triggered state. After consuming the virtual capture items, it automatically triggers to continue consuming virtual capture items to capture pet virtual characters. It can achieve continuous capture based on a single first use operation, reducing the cumbersome operation of capturing virtual pets, improving the capture efficiency of virtual pets, and improving the efficiency of human-computer interaction. Furthermore, since the number of operations that need to be triggered in the virtual pet capture process is reduced, the frequency of input / output (I / O) events of the terminal can be reduced, thus reducing the processing resource consumption of the terminal's processor. Attached Figure Description
[0020] Figure 1 is a schematic diagram of a computer system provided in an exemplary embodiment of this application;
[0021] Figure 2 is a flowchart of a virtual pet capture method provided in an exemplary embodiment of this application;
[0022] Figure 3 is a schematic diagram of a virtual pet capture method provided in an exemplary embodiment of this application;
[0023] Figure 4 is a schematic diagram of the termination of continuous triggering state provided in an exemplary embodiment of this application;
[0024] Figure 5 is a flowchart of a configuration method for a continuously triggered state provided in an exemplary embodiment of this application;
[0025] Figure 6 is a schematic diagram of continuous triggering state configuration based on a configuration wheel provided in an exemplary embodiment of this application;
[0026] Figure 7 is a schematic diagram of a rapid continuous capture process provided in an exemplary embodiment of this application;
[0027] Figure 8 is a schematic diagram of a custom continuous capture process provided in an exemplary embodiment of this application;
[0028] Figure 9 is a flowchart of a capture probability display method provided in an exemplary embodiment of this application;
[0029] Figure 10 is a flowchart of an automatic capture method based on waiting state provided in an exemplary embodiment of this application;
[0030] Figure 11 is a structural block diagram of a virtual pet capturing device provided in an exemplary embodiment of this application;
[0031] Figure 12 is a structural block diagram of a computer device provided in an exemplary embodiment of this application. Detailed Implementation
[0032] First, let me introduce the relevant terms used in this application:
[0033] Virtual environment: This refers to the virtual environment displayed (or provided) by an application when it runs on a terminal. The virtual world is implemented based on this virtual environment. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional three-dimensional environment, or a purely fictional three-dimensional environment. The virtual environment can be any of a two-dimensional, 2.5-dimensional, or three-dimensional virtual environment; this application does not limit it to any particular type. The following embodiments illustrate this using a three-dimensional virtual environment as an example.
[0034] For example, a virtual environment includes the sky, land, and ocean. The land includes environmental elements such as plants and houses, and users can control their virtual characters to move within this environment. This virtual environment also includes virtual objects, which can be interactive, such as virtual beds, chairs, lamps, and bathtubs, allowing users to control their virtual characters to lie on the virtual bed or sit in the virtual chair. These virtual objects can also be non-interactive, such as virtual trees, virtual rocks, and virtual house structures (which may include roofs, floors, pillars, doors, and windows). This virtual environment can also simulate real-world conditions under different weather conditions, such as sunny days, rainy days, foggy days, or nighttime. The diverse scene elements enhance the diversity and realism of the virtual environment.
[0035] The main virtual character refers to the movable object that the player plays in the virtual environment. The main virtual character can be a virtual person, virtual animal, anime character, etc., such as a person or animal displayed in a 3D virtual environment. Optionally, the main virtual character is a 3D model created based on animation skeletal technology. Each main virtual character has its own shape and volume in the 3D virtual environment and occupies a portion of the space within the 3D virtual environment.
[0036] A virtual pet character refers to a controllable, movable object in a virtual environment. Optionally, the virtual pet character may be controlled by artificial intelligence (AI), or by a state machine, or by other players. This application does not limit this. A virtual pet character can be a virtual creature, virtual animal, virtual monster, virtual sprite, virtual pet, etc., such as a movable object displayed in a three-dimensional virtual environment in the form of an animal or other form. The virtual pet character can be subjected to at least one of the interactive operations of capturing, raising, and leveling up by the controlling virtual character. The virtual pet character can assist the controlling virtual character in at least one of the interactive operations of gathering, fighting, and changing terrain.
[0037] Please refer to Figure 1, which shows a schematic diagram of a computer system provided in an exemplary embodiment of this application. The computer system 100 includes: a first terminal 120, a server 140, a second terminal 160, and a third terminal 180.
[0038] The first terminal 120 is a client application that installs and runs applications supporting a virtual environment. This application can be any one of the following: a 3D map application, a Virtual Reality (VR) application, an Augmented Reality (AR) application, a Role-Playing Game (RPG) application, a turn-based game application, or a turn-based RPG application. The first terminal 120 is the terminal used by the first user, who uses the first terminal 120 to control a first virtual character located in the virtual environment. The first virtual character acts as the main virtual character, and these activities include, but are not limited to: adjusting body posture, walking, running, jumping, riding, driving, aiming, picking up, capturing pet virtual characters, controlling pet virtual characters, raising pet virtual characters, using pet virtual characters for picking, using pet virtual characters for combat, using throwable items, and attacking other virtual characters. For example, the first virtual character is a first virtual persona, such as a realistic character object or an anime character object. For example, the first user controls the first virtual character to perform activities through UI controls on the virtual environment screen, and the first user controls the first virtual character to throw pet virtual characters through UI controls on the virtual environment screen.
[0039] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0040] Server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. For example, server 140 includes a processor 144 and a memory 142. Memory 142 further includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 receives requests sent by clients, such as a request to view the location of an enemy virtual character. The control module 1422 controls the rendering of the virtual environment. The sending module 1423 sends responses to clients, such as sending the location of a pet virtual character. Server 140 provides background services for applications supporting a 3D virtual environment. Optionally, server 140 undertakes the primary computing work, while the first terminal 120, the second terminal 160, and the third terminal 180 undertake secondary computing work; or, server 140 undertakes secondary computing work, while the first terminal 120, the second terminal 160, and the third terminal 180 undertake the primary computing work; or, server 140, the first terminal 120, the second terminal 160, and the third terminal 180 collaborate using a distributed computing architecture.
[0041] The second terminal 160 has a client application that supports the virtual environment installed and running. The second terminal 160 is used by the second user, who uses it to control a second virtual character located in the virtual environment; this second virtual character also acts as the master virtual character. The third terminal 180 has an application that supports the virtual environment installed and running. The third terminal 180 is used by the third user, who uses it to control a third virtual character located in the virtual environment.
[0042] Optionally, the first, second, and third virtual characters reside in the same virtual environment. The first and second virtual characters belong to different or the same faction, while the second and third virtual characters belong to the same or different factions. This application does not impose any limitations in this regard.
[0043] Taking the first terminal 120 shown in Figure 1 as an example of executing the virtual pet capture method provided in this application embodiment, the first terminal 120 displays a virtual environment 150 when displaying a virtual environment screen. The virtual environment 150 includes a main virtual character and a pet virtual character. By receiving a trigger operation for the configuration control 151 in the first display state, and receiving a first configuration operation for the use operation, the configuration control 152 in the second display state is displayed. The configuration control 152 in the second display state is used to indicate that the use operation is in a continuous trigger state. The continuous trigger state refers to the state where the consumption of the (i+1)th virtual capture item is automatically triggered after the i-th virtual capture item is consumed to capture the virtual pet character, where i is a positive integer.
[0044] Optionally, the applications installed on the first terminal 120, the second terminal 160, and the third terminal 180 are the same, or the applications installed on the three terminals are the same type of application on different operating system platforms (Android or iOS). The first terminal 120, the second terminal 160, and the third terminal 180 can all refer to one of multiple terminals. This embodiment only uses the first terminal 120, the second terminal 160, and the third terminal 180 as examples. The device types of the first terminal 120, the second terminal 160, and the third terminal 180 may be the same or different. These device types include at least one of the following: desktop computer, laptop computer, mobile phone, tablet computer, e-book reader, Moving Picture Experts Group Audio Layer III (MP3) player, Moving Picture Experts Group Audio Layer IV (MP4) player, smart TV, and smart vehicle. This embodiment does not limit the specific type of device.
[0045] The aforementioned terminal is optional. The terminal can be a desktop computer, laptop computer, mobile phone, tablet computer, e-book reader, MP3 player, MP4 player, smart TV, smart vehicle, and other types of terminal devices. This application embodiment does not limit this type of terminal device.
[0046] It is worth noting that the aforementioned servers can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or 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 communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0047] Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to achieve data computing, storage, processing, and sharing.
[0048] In some embodiments, the server described above can also be implemented as a node in a blockchain system.
[0049] It should be noted that all 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 have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant regions. For example, the operational data and account information involved in this application were obtained with full authorization.
[0050] To further clarify, this application may display a prompt interface, pop-up window, or output voice prompts before and during the collection of user-related data (e.g., account information, historical operation data, and real-time operation data involved in this application). These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their relevant data is being collected. This ensures that the application only begins the steps for collecting user-related data after receiving confirmation from the user regarding the prompt interface or pop-up window; otherwise (i.e., without receiving confirmation from the user), the steps for collecting user-related data end, meaning no user-related data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of the relevant regions.
[0051] This application provides a method for capturing virtual pets. Please refer to Figure 2, which shows a flowchart of a virtual pet capturing method provided in an exemplary embodiment of this application. This method can be executed by a terminal, a server, or both simultaneously. This embodiment illustrates the method as being executed by the terminal shown in Figure 1 or a client on the terminal. As shown in Figure 2, the method includes the following steps:
[0052] Step 210: Display the master virtual character in the virtual environment.
[0053] The main virtual character is equipped with virtual capture tools, which are used to capture virtual pet characters in the virtual environment.
[0054] In some embodiments, a client supporting virtual environments runs within the terminal device. The client displays a virtual environment screen showing the main virtual character in the virtual environment, which also includes at least one pet virtual character in a wild state.
[0055] The master virtual character is a virtual character that plays the role of the attacker in a game. Optionally, the master virtual character can be a virtual character controlled by a player, or a virtual character controlled by AI, or a virtual character controlled by a computer program (on a terminal and / or a server). This application embodiment uses a virtual character controlled by a player as an example for illustration. Optionally, players participate in the game or interact with the virtual environment by controlling the master virtual character.
[0056] A wild-state pet virtual character refers to a movable object in a virtual environment. "Wild" means existing in the virtual environment and freely moving about according to a preset behavior pattern before being captured and tamed by a player. Optionally, a wild-state pet virtual character can be at least one of a non-player character (NPC), an AI-controlled character, or a pet virtual character to be captured. Optionally, a pet virtual character can be displayed in any possible form. For example, the form of a pet virtual character is related to its level, environment (weather, time, terrain), and items used.
[0057] Optionally, the pet virtual character can be subjected to at least one of the interactive operations such as capturing, raising, and upgrading by the main virtual character; the pet virtual character can also assist the main virtual character in performing at least one of the interactive operations such as gathering, fighting, and changing land plots, and this application embodiment does not limit this.
[0058] For the virtual pet character to be captured, the pet character can be located anywhere possible in the virtual environment. The location of the virtual pet character can be associated with its type, attributes, etc. For example, a grass-type virtual pet character is often found near grasslands, jungles, etc., in the virtual environment. A water-type virtual pet character is often found near lakes, oceans, etc., in the virtual environment. The location of the virtual pet character can also be set randomly.
[0059] The terminal device displays a virtual environment through a virtual environment screen. Optionally, the virtual environment screen is a view of the virtual environment observed from the perspective of the main virtual character. The perspective refers to the angle of observation when observing the virtual environment from a first-person or third-person perspective. Optionally, in the embodiments of this application, the perspective is the angle from which the main virtual character is observed in the virtual environment through a camera model. When using a first-person perspective, the camera model is located near or at the head of the main virtual character; when using a third-person perspective, the camera model can be located behind the main virtual character and bound to it, or it can be located at any position at a preset distance from the main virtual character. The main virtual character in the virtual environment can be observed from different angles through this camera model. Optionally, in addition to first-person and third-person perspectives, perspectives also include other perspectives, such as a top-down perspective; when using a top-down perspective, the camera model can be located above the head of the main virtual character. The top-down perspective is a perspective of observing the virtual environment from an aerial viewpoint. Optionally, the camera model will not be actually displayed in the game screen; that is, the camera model will not be displayed in the virtual environment displayed in the game interface.
[0060] It is worth noting that the above perspective is merely an example and is not intended to limit the scope of this application.
[0061] In some embodiments, the main virtual character holds a virtual capture tool, which is used to capture pet virtual characters. Optionally, the virtual capture tools are divided into different levels, and the capture ability of virtual capture tools of different levels varies. There is a positive correlation between the level of the virtual capture tool and the capture ability; that is, the higher the level of the virtual capture tool, the stronger its ability to capture pet virtual characters.
[0062] In some embodiments, the methods of obtaining virtual capture items include, but are not limited to, at least one of the following: obtaining them by completing designated tasks based on the main virtual character; obtaining them by collecting fragments based on the main virtual character; obtaining them by unlocking them based on the main virtual character reaching a preset level; obtaining them by picking them up in the virtual environment based on the main virtual character; obtaining them as gifts from teammates; obtaining them by purchasing them in the shop based on the main virtual character; obtaining them by interacting with pet virtual characters based on the main virtual character; obtaining them as drops from pet virtual characters defeated by the main virtual character; obtaining them by crafting them using materials obtained by the main virtual character; and obtaining them by crafting them using captured pet virtual characters.
[0063] The above is merely an illustrative description of how to obtain virtual capture items and does not constitute a limitation on how to obtain virtual capture items.
[0064] Optionally, virtual capture props include, but are not limited to, capture balls, virtual traps, virtual ropes, virtual nets, virtual containers, attack props, virtual magic elements, and any other virtual props that can capture virtual pet characters in a virtual environment. This application embodiment does not limit this.
[0065] Step 220: Receive the first use operation for the virtual capture prop.
[0066] The first operation is used to capture pet virtual characters by consuming virtual capture items in a continuously triggered state.
[0067] The continuous trigger state refers to the state where the (i+1)th virtual capture item is automatically triggered to capture a virtual pet character after the i-th virtual capture item is consumed, where i is a positive integer.
[0068] In some embodiments, the use of virtual capture items can correspond to different triggering methods, including continuous triggering state and single triggering state. The first use operation corresponds to the continuous triggering state, and the second use operation corresponds to the single triggering state. The single triggering state refers to the state in which the consumption of virtual capture items stops after the first use operation consumes a single virtual capture item to capture virtual pet characters.
[0069] Indicatively, receive a second use operation for the virtual capture item; in response to the second use operation, consume the virtual capture item in a single-trigger state to capture a pet virtual character.
[0070] The second operation is used to capture pet virtual characters by consuming virtual capture items in a single trigger state.
[0071] By triggering different usage actions for virtual capture items, users can dynamically choose to use virtual capture items in a continuous or single-trigger state, which increases the diversity of the pet virtual character capture process, thereby increasing the frequency of user use of the game application and avoiding waste of game application resources.
[0072] Optionally, the trigger state of a usage operation can be configured by receiving a configuration operation for the usage operation, or the trigger state of a usage operation can be switched automatically. This application embodiment does not limit this.
[0073] Taking user-initiated configuration as an example, it can receive a first configuration operation, which is used to configure the use operation for virtual capture props as the first use operation, that is, the configuration use operation is in a continuous triggering state.
[0074] In some embodiments, a second configuration operation may also be received, which is used to configure the use operation for the virtual capture prop as a second use operation, that is, to configure the use operation to be in a single-trigger state.
[0075] Optionally, the first configuration operation can be used to switch the usage operation from a single-trigger state to a continuous-trigger state, and the second configuration operation can be used to switch the usage operation from a continuous-trigger state back to a single-trigger state.
[0076] The first configuration operation and the second configuration operation can be triggered actively by the user or automatically based on AI. This application embodiment does not limit this.
[0077] To illustrate, taking the user's active triggering of the first configuration operation as an example, the first configuration operation includes, but is not limited to, at least one of the following: long press operation of the user on the control, trigger operation of the configuration control, shaking operation of the terminal, swiping operation of the virtual environment screen, quick gesture operation, voice command operation, etc.
[0078] The control is used to trigger usage operations. Optionally, when the control receives a click operation, a second usage operation is triggered; when the control receives a long press operation, the usage operation is switched to a continuous triggering state, triggering the first usage operation. Optionally, the usage operation can be configured to automatically trigger continuously a preset number of times when the long press reaches a preset duration. For example, a 3-second long press puts the control in a continuous triggering state, and when the user clicks the control again, the usage operation is automatically triggered 5 times consecutively. Alternatively, the number of triggers corresponding to the continuous triggering state can be configured according to the duration of the long press operation, with the duration and the number of triggers being positively correlated. For example, if the control receives a 5-second long press operation, and the number of triggers corresponding to the continuous triggering state is configured to be 5 seconds, then when the user clicks the control again, the usage operation is automatically triggered 5 times consecutively. This configured operation can also include usage operations; for example, in response to receiving a long press operation on the control, at least two usage operations are automatically triggered consecutively.
[0079] The configuration control is used to receive configuration operations for the usage operation. For example, clicking the configuration control can switch the display state of the configuration control, which is used to indicate the status of the usage operation. When the configuration control is displayed in the first display state, the usage operation is in a single-trigger state. At this time, the usage control is used to trigger the second usage operation. By clicking the configuration control, the configuration control is displayed in the second display state, and the usage operation is in a continuous-trigger state. At this time, the usage control is used to trigger the first usage operation.
[0080] Correspondingly, the user's active triggering of the second configuration operation is similar to the active triggering of the first configuration operation, and will not be described in detail here.
[0081] Taking the AI-automated first configuration operation as an example, if the continuous triggering requirement is met, the system automatically receives the first configuration operation, so that the operation is in a continuous triggering state. The continuous triggering requirement is used to indicate that the automatic configuration operation is in a continuous triggering state.
[0082] Optionally, the continuous triggering requirements include, but are not limited to, at least one of the following: the number of virtual capture items equipped by the main virtual character reaches a first item quantity threshold; the character level of the pet virtual character reaches a first level threshold; the number of times the main virtual character fails to capture the pet virtual character reaches a first number threshold; the character category of the pet virtual character belongs to a first preset character; the virtual environment where the pet virtual character is located belongs to a first preset location; the number of the pet virtual characters owned by the main virtual character is less than a first pet quantity threshold; the capture probability corresponding to the pet virtual character is less than a first probability threshold; and the first attribute value of the main virtual character meets the preset attribute requirements.
[0083] The capture probability indicates the likelihood that a virtual capture item will successfully capture a virtual pet character.
[0084] Taking the continuous triggering requirement that the first attribute value of the main virtual character meets the preset attribute requirements as an example, when the stamina value of the main virtual character is not less than the preset stamina threshold, the first configuration operation is automatically triggered.
[0085] It is worth noting that the above-mentioned continuous triggering requirements are merely illustrative examples, and the embodiments of this application do not limit them.
[0086] Taking AI-automatically triggered second configuration operation as an example, if the single-trigger requirement is met, the second configuration operation is automatically received, making the operation in a single-trigger state. The single-trigger requirement is used to indicate that the automatic configuration operation is in a single-trigger state. At this time, the control is used to trigger the second operation.
[0087] Optionally, the single triggering requirements include, but are not limited to, at least one of the following: the number of virtual capture items equipped by the main virtual character is less than the second item quantity threshold; the character level of the pet virtual character is less than the second level threshold; the number of times the main virtual character successfully captures the pet virtual character reaches the second number threshold; the character category of the pet virtual character belongs to the second preset character; the virtual environment where the pet virtual character is located belongs to the second preset location; the number of the pet virtual characters owned by the main virtual character reaches the second pet quantity threshold; or the capture probability corresponding to the pet virtual character reaches the second probability threshold.
[0088] Based on continuous triggering requirements and single triggering requirements, the triggering state of the operation can be automatically switched. For example, when the main virtual character's stamina is greater than 10, the continuous capture state is automatically activated. In response to receiving an operation to use a virtual capture item, the virtual capture item is consumed in the continuous trigger state to capture the pet virtual character. When the main virtual character's stamina drops to 10, the continuous capture state is automatically deactivated. In response to receiving an operation to use a virtual capture item, the virtual capture item is consumed in the single trigger state to capture the pet virtual character.
[0089] It is worth noting that the above-mentioned controls, corresponding control triggering operations, continuous triggering requirements, single triggering requirements, and triggering methods for configuration operations are merely illustrative examples, and the embodiments of this application do not limit them.
[0090] Through the first and second configuration operations, the trigger state of the operation can be flexibly switched, allowing users to choose between continuous triggering or single triggering according to actual needs, thus improving the operational flexibility of capturing virtual pet characters.
[0091] Step 230: In response to the first use operation, consume virtual capture items to capture a pet virtual character in a continuously triggered state.
[0092] In some embodiments, capturing a pet virtual character by consuming virtual capture items in a continuously triggered state means that the main virtual character continuously throws at least two virtual capture items to capture the pet virtual character.
[0093] Indicatively, in response to receiving the first use operation, the main virtual character is shown throwing virtual capture items in a continuously triggered state; the capture results of the pet virtual character through the virtual capture items are displayed.
[0094] Specifically, when the main virtual character throws out a virtual capture item, the consumption of the virtual capture item can be displayed. For example, in response to the first use operation, it can be displayed that the main virtual character throws out the virtual capture item in a continuous trigger state by consuming the virtual capture item. Alternatively, the consumption of the virtual capture item can be displayed when the capture result is displayed. For example, in response to the pet virtual character being captured, a capture success prompt and the virtual capture item being consumed can be displayed, or in response to the pet virtual character not being captured, a capture failure prompt and the virtual item being consumed can be displayed.
[0095] Based on the continuous triggering state, when the main virtual character throws at least two virtual capture items in a row, it can throw at least two virtual capture items at one time, or it can throw at least two virtual capture items at preset time intervals. It can also automatically throw the (i+1)th virtual capture item after the i-th virtual capture item fails to capture. This application embodiment does not limit this.
[0096] For illustrative purposes, please refer to Figure 3. Figure 3 is a schematic diagram of a virtual pet capture method provided in an exemplary embodiment of this application. As shown in Figure 3, the virtual environment 300 includes a main virtual character 301 and a pet virtual character 302. By receiving a trigger operation for the configuration control 310 in the first display state, a first configuration operation is received, and the configuration control 320 in the second display state is displayed. In response to receiving a first use operation for the pet virtual character 302, after capturing the pet virtual character 302 by throwing the i-th virtual capture item 303, the (i+1)-th virtual capture item 304 is automatically thrown to continue capturing the pet virtual character 302. The capture control 330 has a corresponding item quantity indicator to display the consumption status of the virtual capture items. Specifically, the item quantity indicator 331 is displayed after throwing the i-th virtual capture item 303, and the item quantity indicator 332 is displayed after throwing the (i+1)-th virtual capture item 304. In response to successful capture, a successful capture prompt 340 is displayed.
[0097] By displaying the main virtual character throwing virtual capture items in a continuously triggered state, users can intuitively feel the capture effect of being in a continuously triggered state, improving the efficiency of information transmission in the interface. This avoids the situation where users cannot perceive the continuously triggered state due to the low visual prominence of display elements such as controls, resulting in a large amount of ineffective consumption of virtual capture items. It also reduces the computing resource consumption of the terminal when processing virtual capture items to capture pet virtual characters.
[0098] Optionally, the i-th capture result can be displayed for the i-th virtual capture item consumed, or the virtual capture result can be displayed uniformly for at least two virtual capture items consumed consecutively.
[0099] To illustrate, taking the display of capture results for each consumed virtual capture item as an example, in response to the successful capture of the pet virtual character by the i-th virtual capture item, a capture success message is displayed; or, in response to the failure to capture the pet virtual character by the i-th virtual capture item, a capture failure message is displayed.
[0100] Taking the unified display of virtual capture results as an example, in response to the fact that the i-th virtual throwing item among at least two virtual throwing items thrown based on the continuous trigger state successfully captures the pet virtual character, a capture success prompt is displayed; or, in response to the fact that both virtual throwing items thrown based on the continuous trigger state fail to capture the pet virtual character, a capture failure prompt is displayed; or, in response to the fact that the termination requirement is met when no pet virtual character is captured, a capture failure prompt is displayed.
[0101] Optionally, the above-mentioned successful capture prompt can be displayed in at least one of the following formats: text, image, voice, video, character motion animation, etc.; Optionally, the above-mentioned failed capture prompt can be displayed in at least one of the following formats: text, image, voice, video, character motion animation, etc.
[0102] It is worth noting that the above display method of the capture results is merely an exemplary example, and the embodiments of this application do not limit it.
[0103] In some embodiments, the continuous triggering state of the use operation can be automatically terminated based on a termination requirement.
[0104] Indicatively, if the termination requirements are met, the main virtual character is shown to stop throwing virtual capture items.
[0105] By automatically terminating the continuous triggering state of the operation when the termination requirements are met, the throwing of virtual capture items can be stopped in time. This avoids the waste of virtual capture items when it is difficult to capture the virtual pet character, thus ensuring the effective consumption of virtual capture items and improving capture efficiency. In addition, the terminal automatically determines the termination of the continuous triggering state according to the termination requirements, which reduces the frequency of terminal I / O events and the processing resource consumption of the terminal processor.
[0106] Optionally, the termination requirements include at least one of the following: the pet virtual character is captured; no attack operation is received against the pet virtual character within a preset time range; the master virtual character dies; the pet virtual character dies; the distance between the master virtual character and the pet virtual character exceeds a preset distance threshold; the remaining number of virtual capture items is less than a first item quantity threshold; the number of virtual capture items thrown by the master virtual character in a continuous trigger state reaches a second item quantity threshold.
[0107] For illustrative purposes, please refer to Figure 4. Figure 4 is a schematic diagram of the termination of a continuous triggering state provided by an exemplary embodiment of this application. As shown in Figure 4, the virtual environment 400 includes a master virtual character 401 and a pet virtual character 402. The master virtual character 401 consumes virtual capture items to capture the pet virtual character 402 in a continuous triggering state. The configuration control 410 is used to indicate that the operation is in a continuous triggering state. In response to the pet virtual character 402 being defeated, a continuous termination prompt 420 is displayed to indicate that the pet virtual character 402 has been defeated and the continuous triggering state has been terminated.
[0108] It is worth noting that the above termination requirements are merely illustrative examples, and the embodiments of this application do not limit them.
[0109] With multiple termination requirements, the system can flexibly and automatically terminate continuous triggering states based on various factors such as the pet character capture status, the battle status between the main virtual character and the pet virtual character, and the consumption of virtual capture items. This improves the automation and flexibility of continuous triggering states, effectively reduces the waste of virtual capture items during continuous triggering states, and enhances the effectiveness of virtual capture item usage.
[0110] In summary, the method provided in this application embodiment, by receiving a first usage operation in a continuously triggered state, enables the main virtual character to consume virtual capture items to capture pet virtual characters in a continuously triggered state. After consuming the virtual capture items, it automatically triggers to continue consuming virtual capture items to capture pet virtual characters. It can achieve continuous capture based on a single first usage operation, reducing the cumbersome operation of capturing virtual pets, improving the capture efficiency of virtual pets, and improving the efficiency of human-computer interaction. Furthermore, since the number of operations that need to be triggered in the virtual pet capture process is reduced, the frequency of input / output (I / O) events of the terminal can be reduced, thereby reducing the processing resource consumption of the terminal's processor.
[0111] In some embodiments, the triggering state of the operation can be configured through configuration operations. Please refer to Figure 5, which is a flowchart of a configuration method for a continuous triggering state provided in an exemplary embodiment of this application. This method can be executed by a terminal, a server, or both simultaneously. This embodiment of the application illustrates the method as being executed by the terminal shown in Figure 1 or a client on the terminal. As shown in Figure 5, the following steps precede step 220:
[0112] Step 510: Receive the first configuration operation.
[0113] The first configuration operation is used to configure the virtual capture item to be in a continuously triggered state. For example, the operation of using the virtual capture item is configured as the first use operation, that is, the use operation is configured to be in a continuously triggered state.
[0114] By configuring the use of virtual capture items to be continuously triggered, the effect of at least two second uses can be achieved based on a single first use. On the one hand, the pre-triggered first configuration operation ensures that subsequent first uses will trigger the continuous triggering state of virtual capture item use, realizing dynamic configuration of the usage method of virtual capture items and improving the diversity of virtual capture item usage; on the other hand, it reduces the frequency of human-computer interaction during the pet virtual character capture process, thereby reducing the frequency of terminal I / O events and reducing the processing resource consumption of the terminal processor.
[0115] Optionally, a quick continuous capture process can be triggered based on the first configuration operation, or a custom continuous capture process can be triggered based on the first configuration operation.
[0116] The fast continuous capture process includes the following steps:
[0117] Step A displays the configuration controls corresponding to the operation.
[0118] As an illustration, the configuration control corresponds to the virtual capture item. That is, the configuration control is used to configure the triggering method of the virtual capture item, and the configuration control determines the operation result of using the virtual capture item.
[0119] Configuration controls can be used to receive configuration operations.
[0120] Optionally, the configuration operation includes, but is not limited to, at least one of the following: click operation, long press operation, swipe operation, etc., for the configuration control. This application embodiment does not limit this.
[0121] In some embodiments, receiving different types of configuration operations can trigger different types of continuous trigger states based on configuration controls.
[0122] For example, a first continuous trigger state and a second continuous trigger state are preset. In response to receiving a click operation on the configuration control, the first usage operation is configured to be in the first continuous trigger state; in response to receiving a long press operation on the configuration control, the first usage operation is configured to be in the second continuous trigger state. Alternatively, in response to receiving a left swipe operation on the configuration control, the first usage operation is configured to be in the first continuous trigger state; in response to receiving a right swipe operation on the configuration control, the first usage operation is configured to be in the second continuous trigger state.
[0123] It is worth noting that the above-described operation method is merely an example and is not limited in this application embodiment.
[0124] In some embodiments, the configuration control represents different types of trigger states with different display states.
[0125] As illustrated in Figure 3, by receiving a trigger operation for the configuration control 310 in the first display state, and receiving a first configuration operation, the configuration control 320 in the second display state is displayed. The configuration control 310 in the first display state is used to indicate that the operation is in a single trigger state, and the configuration control 320 in the second display state is used to indicate that the operation is in a continuous trigger state.
[0126] Step B: Receive the first trigger operation for the configuration control as the first configuration operation.
[0127] The first trigger operation is used to configure the triggering mode of the virtual capture item to be continuous triggering.
[0128] In some embodiments, the configuration control corresponds to a preset type of continuous triggering state. The first triggering operation is used to quickly configure the first usage operation to be in the preset type of continuous triggering operation, that is, the first triggering operation is used to trigger the quick continuous capture process.
[0129] For example, the default trigger configuration control configures the first used operation to be in the first continuous trigger state, and the first trigger operation is used to configure the first used operation to be in the first continuous trigger state.
[0130] Optionally, the first continuous triggering state refers to the state where, after the i-th virtual capture item is consumed, the (i+1)-th virtual capture item is automatically consumed to capture the virtual pet character until the number of items consumed reaches the first quantity threshold.
[0131] The first quantity threshold is used to indicate the quantity threshold of virtual capture items continuously consumed based on a single first use operation.
[0132] Indicatively, the first continuous trigger state is used to instruct the main virtual character to continuously throw 5 or 10 virtual capture items based on a single first use operation after continuous capture is activated.
[0133] The first use operation is completed when 5 or 10 virtual capture props are thrown.
[0134] By triggering the quick continuous capture process through the first trigger operation of the configuration control, users can quickly configure the first use operation to be a continuous trigger operation of a preset type based on the preset continuous trigger state. This reduces the complexity of the user's configuration operation, improves the configuration efficiency of the quick continuous capture process, and reduces the frequency of terminal I / O events, thereby reducing the processing resource consumption of the terminal's processor.
[0135] For a custom continuous capture workflow, the following steps are included:
[0136] Step C displays the configuration controls corresponding to the operation.
[0137] The configuration control is used to configure how virtual capture items are triggered.
[0138] For details, please refer to step A above; it will not be repeated here.
[0139] Step D: Receive the second trigger operation for the configuration control.
[0140] The second trigger operation is used to trigger the configuration wheel corresponding to the display configuration control. The configuration wheel includes at least two consecutive trigger states.
[0141] In some embodiments, the configuration control corresponds to at least two continuous trigger states, and the second trigger operation is used to trigger the selection of one of the continuous trigger states, that is, the second trigger operation is used to customize the continuous trigger state.
[0142] Optionally, after displaying the configuration wheel, the first usage operation can be configured to be in a continuous triggering state of that type by receiving a first configuration operation for a specified continuous triggering state.
[0143] The process includes receiving a first configuration operation for a first consecutive trigger state in the configuration wheel; or receiving a first configuration operation for a second consecutive trigger state in the configuration wheel.
[0144] The first continuous triggering state refers to the state where, after the i-th virtual capture item is consumed, the (i+1)-th virtual capture item is automatically consumed to capture the virtual pet character until the number of items consumed reaches the first quantity threshold. The second continuous triggering state refers to the state where, after the first virtual capture item is automatically consumed and the second quantity threshold is automatically triggered, the second virtual capture item is automatically consumed, and the item level of the second virtual capture item is higher than that of the first virtual capture item.
[0145] That is, the first continuous trigger state is used to continuously throw at least two virtual capture items of the same level based on a single first use operation; the second continuous trigger state is used to continuously throw at least one first virtual capture item based on a single first use operation, then switch to a second virtual capture item of a higher level, and continue to throw at least one second virtual capture item.
[0146] For illustrative purposes, please refer to Figure 6. Figure 6 is a schematic diagram of continuous triggering state configuration based on a configuration wheel provided in an exemplary embodiment of this application. As shown in Figure 6, the virtual environment 600 includes a main virtual character 601 and a pet virtual character 602. It receives a second trigger operation for the configuration control 610 and displays a configuration wheel 620. The configuration wheel 620 includes status identifiers 621 to 623. Status identifier 621 is used to configure the first usage operation to automatically trigger the consumption of the (i+1)th virtual capture item to capture the virtual pet character after the i-th virtual capture item is consumed until the number of items consumed reaches 5. Status identifier 622 is used to configure the first usage operation to automatically trigger the consumption of the (i+1)th virtual capture item to capture the virtual pet character after the i-th virtual capture item is consumed until the number of items consumed reaches 10. Status identifier 623 is used to configure the first usage operation to automatically consume the next level of virtual capture item to capture the virtual pet character after every 5 consecutive virtual capture items are consumed.
[0147] The configuration wheel provides at least two continuous trigger states, enriching the types of continuous trigger states available to users. By selecting a specific type of continuous trigger state in the configuration wheel, users can customize the continuous capture process, thus improving the configuration flexibility of continuous trigger states.
[0148] Taking the receipt of a first configuration operation for the second consecutive trigger state in the configuration wheel as an example, the continuous triggering process of the second consecutive trigger state is further explained. During the process of the main virtual character consuming virtual capture items to capture a pet virtual character in the second consecutive trigger state, at least one of the following situations applies:
[0149] The first scenario is that when the number of virtual capture items consumed by the main virtual character in the second continuous trigger state has not reached the second quantity threshold, and the remaining quantity of the first virtual capture items equipped by the main virtual character is greater than zero, the main virtual character will continue to automatically trigger the throwing of the first virtual capture items.
[0150] The second quantity threshold is used to indicate the quantity threshold of the first virtual capture item that is continuously consumed based on a single first use operation in the second continuous trigger state.
[0151] The third quantity threshold is a pre-set threshold for the remaining quantity of the first virtual capture item. Optionally, the third quantity threshold can be a fixed value set by the system, or it can be a custom value set by the player. In one example, the third quantity threshold is zero.
[0152] Optionally, the second quantity threshold corresponding to virtual capture props of different prop levels can be the same or different, and this application embodiment does not limit this.
[0153] Indicatively, the second consecutive trigger state indicates that based on a single first use, after automatically consuming 5 Level 1 virtual throwing items, it will continue to automatically consume 5 more Level 2 virtual throwing items, and so on, until the termination requirement is met. When the main virtual character automatically triggers the consumption of 3 Level 1 virtual capture items in the second consecutive trigger state, but does not reach 5, while the main virtual character still holds Level 1 virtual capture items, it will display that the main virtual character will continue to automatically trigger the throwing of Level 1 virtual capture items to capture the pet virtual character.
[0154] The item level of the virtual throwing item consumed in the second consecutive trigger state is configurable. For example, the user can configure the minimum and maximum item levels of the virtual throwing item in the second consecutive trigger state, or configure the item level upgrade interval, etc. The upgrade interval is used to indicate the item level difference between the first and second virtual items.
[0155] The second scenario involves the main virtual character automatically triggering the consumption of the first virtual capture item in the second continuous trigger state, but the consumption quantity has not reached the second quantity threshold. If the remaining quantity of the first virtual capture item equipped by the main virtual character is zero, the main virtual character will continue to automatically trigger the throwing of the second virtual capture item.
[0156] Indicatively, the second consecutive trigger state indicates that based on a single first use, after automatically consuming 5 Level 1 virtual throwing items, it will continue to automatically consume 5 Level 2 virtual throwing items, and so on, until the termination requirement is met. When the main virtual character automatically triggers the consumption of 3 Level 1 virtual capture items in the second consecutive trigger state, but does not reach 5, and the main virtual character has zero Level 1 virtual capture items, it will display that the main virtual character will continue to automatically trigger the throwing of Level 2 virtual capture items to capture the pet virtual character.
[0157] The third scenario is that when the number of virtual capture items consumed by the main virtual character in the second continuous trigger state reaches the second quantity threshold, the main virtual character is shown to continue to automatically trigger the throwing of the second virtual capture item.
[0158] Indicatively, the second consecutive trigger state indicates that based on a single first use, after automatically consuming 5 Level 1 virtual throwing items, it will continue to automatically consume 5 Level 2 virtual throwing items, and so on, until the termination requirement is met. When the main virtual character automatically triggers the consumption of 5 Level 1 virtual capture items in the second consecutive trigger state, it indicates that the main virtual character will continue to automatically trigger the throwing of Level 2 virtual capture items to capture the pet virtual character. If the main virtual character has zero Level 2 virtual capture items, it can continue to automatically trigger the throwing of Level 3 virtual capture items to capture the pet virtual character.
[0159] By determining the item level of the virtual capture item to be consumed during continuous capture based on the quantity of virtual capture items consumed in the second continuous trigger state, the item level of the virtual capture item during continuous capture can be flexibly switched, improving the intelligence of the continuous capture process. By increasing the item level, the capture probability can be increased, thereby improving capture efficiency. Furthermore, the continuous dynamic consumption of virtual capture items of various item levels can be achieved simply by triggering the first use operation on the virtual capture item, reducing the frequency of human-computer interaction during the use of virtual capture items, thereby reducing the frequency of terminal I / O events and reducing the processing resource consumption of the terminal's processor.
[0160] Next, we will further explain the quick continuous capture process and the custom continuous capture process.
[0161] Please refer to Figure 7, which is a schematic diagram of a quick and continuous capture process provided in an exemplary embodiment of this application. As shown in Figure 7, the quick and continuous capture process includes the following steps:
[0162] Step 701: Click the continuous capture button.
[0163] The continuous capture button can be the configuration control corresponding to the first operation.
[0164] The click action is considered the first trigger action for the configuration control, used to configure the first continuous trigger state.
[0165] Step 702: Activate the quick continuous capture mode.
[0166] Enabling quick continuous capture mode means configuring the first operation to be in a preset type of continuous triggering state, such as the first continuous triggering state.
[0167] Step 711: Aim at the pet and click the capture ball to display the capture probability.
[0168] This illustration shows that when the client detects a virtual pet character within its effective range, it throws a virtual capture item to lock onto the virtual pet character and displays the capture probability. The capture probability indicates the likelihood of successfully capturing the virtual pet character after the virtual capture item is released.
[0169] Optionally, the capture probability can be displayed as a probability value or a probability range. When the capture probability is displayed as a probability value, it indicates the specific probability of successfully capturing a virtual pet character after the virtual capture item is released along the capture trajectory. For example, a capture probability of 60% indicates that the specific probability of successfully capturing a virtual pet character after the virtual capture item is released along the capture trajectory is 60%. When the capture probability is displayed as a probability range, it indicates the range of probabilities of successfully capturing a virtual pet character after the virtual capture item is released along the capture trajectory. For example, a capture probability of "[60%, 80%]" indicates that the minimum probability of successfully capturing a virtual pet character after the virtual capture item is released along the capture trajectory is 60%, and the maximum probability is 80%.
[0170] Step 712: Execute the continuous capture command.
[0171] Executing a continuous capture command means consuming virtual capture items to capture virtual pet characters in a continuously triggered state.
[0172] Step 713: The capture ball flies out to perform the capture, and the capture ball item is consumed by +1.
[0173] Among them, the capture ball (item) is a virtual capture item used to capture virtual pet characters.
[0174] The consumption of the capture ball item increases by 1, meaning 1 virtual capture item is consumed. The number of items consumed is recorded.
[0175] Step 714: Determine if the capture was successful.
[0176] If the capture is successful, proceed to step 731; otherwise, proceed to step 721.
[0177] Step 721: Determine if the player still has any catch balls.
[0178] This involves determining whether the remaining quantity of virtual capture items equipped by the main virtual character is greater than zero.
[0179] If so, proceed to step 741; otherwise, proceed to step 751.
[0180] Step 741: The player automatically throws the next capture ball, and the capture ball item consumption increases by 1.
[0181] If the remaining quantity of virtual capture items equipped by the main virtual character is greater than zero, the next virtual capture item will be automatically consumed based on the continuous triggering state.
[0182] Step 751: Continuous capture command terminated, capture failed.
[0183] If the i-th virtual capture tool fails to capture the pet virtual character, and the remaining quantity of virtual capture tools equipped by the main virtual character is zero, the termination requirements are met. The continuous triggering state of this first use operation is terminated, and the client is prompted that the capture failed.
[0184] When a location is selected, if the capture result is a capture failure, the client will display a failure message, such as "Capture failed," and the number of virtual capture items will be consumed.
[0185] Step 731, capture successful.
[0186] Optionally, if the capture result is a successful capture, the client will display a success message, such as "Capture successful", while consuming the number of virtual capture items.
[0187] Step 732: Store the pet in the pet warehouse.
[0188] Optionally, if the capture result is successful, the pet virtual character is stored in the pet warehouse, which is used to hold pet virtual characters belonging to the main virtual character.
[0189] Step 761: Click the continuous capture button.
[0190] With the quick continuous capture mode enabled, clicking the continuous capture button again will trigger a second configuration operation for the configuration control, while the first configuration operation is in a single-trigger state.
[0191] Step 762: Turn off continuous capture mode.
[0192] That is, the first use of the configuration is in a single-trigger state.
[0193] Please refer to Figure 8, which is a schematic diagram of a custom continuous capture process provided in an exemplary embodiment of this application. As shown in Figure 8, the custom continuous capture process includes the following steps: Step 1, press and hold the continuous capture button for 0.3 seconds; Step 2, expand the custom wheel.
[0194] Step 3a, select to grab 5 times; Step 3b, select to grab 10 times; Step 3c, select to upgrade the grab.
[0195] For steps 3a and 3b, continue with steps 11 to 21; for step 3c, continue with steps 31 to 50.
[0196] Step 11: Aim the capture ball at the pet to display the capture probability; Step 12: Execute the continuous capture command; Step 13: The capture ball flies out to capture, capturing ball item consumption +1; Step 14: Determine if capture was successful. If yes, proceed to Step 15; otherwise, proceed to Step 16; Step 16: Determine if the player has more capture balls. If yes, proceed to Step 17; otherwise, proceed to Step 18; Step 17: The player automatically throws the next capture ball, capturing ball item consumption +1; Step 18: Continuous capture command terminates, capture fails. Step 15: Capture successful; Step 19: The pet is stored in the pet warehouse; Step 20: Click the continuous capture button; Step 21: Turn off continuous capture mode.
[0197] Step 31: Aim the capture ball at the pet to display the capture probability; Step 32: Execute the continuous capture command; Step 33: The capture ball flies out to capture, capturing ball item consumption +1; Step 34: Check if the capture was successful. If yes, proceed to Step 35; otherwise, proceed to Step 36. Step 35: Capture successful; Step 37: Store the pet in the pet warehouse. Step 36: Check if the specified capture attempts have been exhausted. If yes, proceed to Step 38; otherwise, proceed to Step 39; Step 38: Check if there is a capture ball of a higher level. If yes, proceed to Step 40; otherwise, proceed to Step 41. Step 40: Switch to a higher level capture ball to continue capturing; Step 41: The continuous capture command terminates, capture fails. Step 39: Check if the player has a capture ball of the same level. If yes, proceed to Step 42; otherwise, proceed to Step 38; Step 42: The player automatically throws the next capture ball, capturing ball item consumption +1; Step 49: Click the continuous capture button; Step 50: Turn off continuous capture mode.
[0198] In some embodiments, a continuous triggering state can also be automatically triggered. For example, in response to a first use operation, if the continuous triggering requirement is met, the virtual capture item can be automatically consumed to capture a virtual pet character in a continuous triggering state.
[0199] The continuous triggering requirement is used to indicate that the automatic configuration operation is in a continuous triggering state.
[0200] Optionally, the continuous triggering requirements include, but are not limited to, at least one of the following: the number of virtual capture items equipped by the main virtual character reaches a first item quantity threshold; the character level of the pet virtual character reaches a first level threshold; the number of times the main virtual character fails to capture the pet virtual character reaches a first number threshold; the character category of the pet virtual character belongs to a first preset character; the virtual environment where the pet virtual character is located belongs to a first preset location; the number of the pet virtual characters owned by the main virtual character is less than a first pet quantity threshold; the capture probability corresponding to the pet virtual character is less than a first probability threshold; and the first attribute value of the main virtual character meets the preset attribute requirements.
[0201] The capture probability indicates the likelihood that a virtual capture item will successfully capture a virtual pet character.
[0202] Taking the continuous triggering requirement as an example, which includes the number of virtual capture items of the main virtual character reaching the first item quantity threshold, assuming that the continuous triggering state is used to capture the pet virtual character by continuously using 5 virtual capture items based on a single first use operation, then the continuous triggering state will be automatically activated when the number of virtual capture items equipped by the main virtual character reaches 5.
[0203] Taking the requirement that the pet's virtual character's level reaches the first level threshold as an example, the higher the level of the pet's virtual character, the more virtual capture items may be required to successfully capture the pet's virtual character. When the level of the pet's virtual character to be captured exceeds level 5, the continuous trigger state will be automatically activated to increase the probability of successful capture.
[0204] Taking the continuous triggering requirement, which includes the number of times the main virtual character fails to capture a pet virtual character reaching the first threshold, as an example, when the number of times the main virtual character fails to capture the same (type) pet virtual character reaches the first threshold, and the main virtual character still triggers the use of virtual capture items for that pet virtual character, it means that the user has a high willingness to capture pet virtual characters. At this time, automatically enabling the continuous triggering state can help the user increase the probability of successful capture.
[0205] Taking the continuous triggering requirement that the number of pet virtual characters owned by the main virtual character is less than the first pet quantity threshold as an example, when the main virtual character does not own the pet virtual character to be captured, it can be inferred that the user has a high willingness to capture the pet virtual character. At this time, automatically starting the continuous capture state can help the user increase the probability of successful capture and improve the intelligence of automatic configuration.
[0206] Taking the continuous triggering requirement that the first attribute value of the main virtual character meets the preset attribute requirements as an example, when the stamina value of the main virtual character is not less than the preset stamina threshold, the first configuration operation is automatically triggered.
[0207] The above-mentioned continuous triggering requirements can be combined arbitrarily. For example, if the continuous triggering requirements include the main virtual character having a number of virtual capture items that reach the first item quantity threshold and the main virtual character failing to capture pet virtual characters a number that reaches the first number threshold, then when the main virtual character fails to capture pet virtual character A three times in a row and the main virtual character has five remaining virtual capture items, the continuous triggering state will be automatically activated.
[0208] It is worth noting that the above-mentioned continuous triggering requirements and combination methods are merely exemplary examples, and the embodiments of this application do not limit them.
[0209] By employing various continuous triggering requirements, the continuous triggering state can be automatically activated under multiple conditions, improving the automation and flexibility of activating the continuous triggering state. At the same time, it reduces the frequency of human-computer interaction, thereby reducing the frequency of terminal I / O events and reducing the processing resource consumption of the terminal's processor.
[0210] Taking AI-automatically triggered second configuration operation as an example, if the single-trigger requirement is met, the second configuration operation is automatically received, making the operation in a single-trigger state. The single-trigger requirement is used to indicate that the automatic configuration operation is in a single-trigger state. At this time, the control is used to trigger the second operation.
[0211] Optionally, the single triggering requirements include, but are not limited to, at least one of the following: the number of virtual capture items equipped by the main virtual character is less than the second item quantity threshold; the character level of the pet virtual character is less than the second level threshold; the number of times the main virtual character successfully captures the pet virtual character reaches the second number threshold; the character category of the pet virtual character belongs to the second preset character; the virtual environment where the pet virtual character is located belongs to the second preset location; the number of the pet virtual characters owned by the main virtual character reaches the second pet quantity threshold; or the capture probability corresponding to the pet virtual character reaches the second probability threshold.
[0212] Based on continuous triggering requirements and single triggering requirements, the triggering state of the operation can be automatically switched. For example, when the main virtual character's stamina is greater than 10, the continuous capture state is automatically activated. In response to receiving an operation to use a virtual capture item, the virtual capture item is consumed in the continuous trigger state to capture the pet virtual character. When the main virtual character's stamina drops to 10, the continuous capture state is automatically deactivated. In response to receiving an operation to use a virtual capture item, the virtual capture item is consumed in the single trigger state to capture the pet virtual character.
[0213] In summary, the method provided in this application embodiment enables users to actively configure and enable continuous triggering state by receiving a first configuration operation, avoiding unnecessary activation of continuous triggering state and thus avoiding waste of virtual capture items; by automatically triggering the first configuration operation when the continuous triggering requirements are met, it can automatically enable continuous triggering state based on AI assistance, improving the flexibility of enabling continuous triggering state and preventing players from being distracted by configuring continuous triggering state during game battles.
[0214] The method provided in this application embodiment can trigger different continuous capture processes by displaying a configuration control and receiving different trigger operations for the configuration control. The quick capture process triggered by the first trigger operation can help users quickly start the preset continuous trigger state and improve the configuration efficiency of the continuous trigger state. The custom capture process triggered by the second trigger operation can customize the selection of different continuous trigger states based on the configuration wheel and improve the configuration flexibility of the continuous trigger state.
[0215] In some embodiments, the capture probability can also be displayed during the capture process to help improve the capture efficiency of virtual pets. Please refer to Figure 9, which is a flowchart of a capture probability display method provided in an exemplary embodiment of this application. This method can be executed by a terminal, a server, or both. This embodiment of the application illustrates the method as being executed by the terminal shown in Figure 1 or a client on the terminal. As shown in Figure 9, the above method includes the following steps:
[0216] Step 910: In response to the first usage operation, display the capture probability corresponding to the pet virtual character.
[0217] The capture probability indicates the likelihood that a virtual capture item will successfully capture a virtual pet character.
[0218] Optionally, the capture probability is related to at least one of the following factors: the trajectory of the capture path; the landing point of the capture path; the level of the pet virtual character; the type of the pet virtual character; the status of the pet virtual character; the level of the virtual capture item; the type of the virtual capture item; and the number of times the pet virtual character has been captured consecutively.
[0219] In some embodiments, the capture probability is related to the trajectory of the capture path. The trajectory refers to the movement path of the virtual capture item, that is, the route the virtual capture item takes from the release point (starting point) to the target point (landing point). Optionally, different trajectories of the capture path correspond to different capture probabilities. For example, if the trajectory of the capture path matches the movement direction of the virtual pet character, the capture probability is higher; if the trajectory of the capture path deviates from the virtual pet character, the capture probability will decrease.
[0220] In some embodiments, the capture probability is related to the landing point of the capture trajectory. The landing point of the capture trajectory refers to the specific location where the virtual capture item is expected to land on the pet character. The landing point of the capture trajectory can also be used to indicate the landing point of the virtual capture item, that is, to indicate the attack area targeting the pet character. Optionally, the landing point of the capture trajectory is related to the pet character's current movement state, current position, and the flight speed of the virtual capture item. For example, the capture probability is higher if the landing point of the capture trajectory is in the area behind the pet character.
[0221] In some embodiments, the capture probability is related to the level of the pet virtual character. The level of the pet virtual character indicates the difficulty of capturing it. Optionally, the capture probability is negatively correlated with the level of the pet virtual character; the higher the level, the more difficult it is to capture, and the lower the capture probability.
[0222] In some embodiments, the capture probability is related to the type of pet virtual character. The type of pet virtual character indicates the kind or category of the pet virtual character. For example, pet virtual characters are divided into common pets, rare pets, and legendary pets. Different types of pet virtual characters have different capture probabilities. For example, the capture probability is higher for common pets and lower for legendary pets.
[0223] In some embodiments, the capture probability is related to the pet virtual character's state. The pet virtual character's state indicates its current emotional state, physical state, or physiological state. Different states of the pet virtual character correspond to different capture probabilities. For example, if the pet virtual character is in an injured state, the capture probability is higher. Similarly, if the pet virtual character is in a volatile emotional state, the capture probability is lower. And if the pet virtual character is in a high-energy physical state, the capture probability is also lower.
[0224] In some embodiments, the capture probability is related to the level of the virtual capture item. The level of the virtual capture item indicates its capture capability. Optionally, the level of the virtual capture item is positively correlated with the capture probability; the higher the level of the virtual capture item, the higher the capture probability for the pet virtual character.
[0225] In some embodiments, the capture probability is related to the type of virtual capture item. The type of virtual capture item indicates how the virtual capture item captures the pet character. Different types of virtual capture items have different capture probabilities for different pet characters. For example, when the virtual capture item is a capture ball, the capture probability for ground-based pet characters is higher. As another example, when the virtual capture item is a capture net, the capture probability for flying pet characters is higher.
[0226] By linking the capture probability to multiple factors (such as capture trajectory, pet characteristics, virtual items, etc.), this design greatly enriches the strategic aspects of capturing. This multi-dimensional design enhances the game's playability and increases its challenge and fun.
[0227] It should be noted that the above are merely illustrative examples of factors related to the capture probability, and this application does not limit the specific factors related to the capture probability.
[0228] Step 920: After the first virtual capture item is consumed as the i-th virtual capture item, if the capture probability meets the preset probability requirements, the consumption of the second virtual capture item as the (i+1)-th virtual capture item is automatically triggered to capture the virtual pet character.
[0229] The second virtual capture item has a higher item level than the first virtual capture item.
[0230] Optionally, the preset probability requirements include, but are not limited to, at least one of the following: the capture probability is less than a first probability threshold; the probability increase of the capture probability is less than a preset increase, the probability increase being used to indicate the difference between the capture probability and the first capture probability corresponding to the virtual pet character before consuming i virtual capture items; the difference between the capture probability and a second probability threshold exceeds a preset difference range.
[0231] In some embodiments, repeatedly capturing a virtual pet character can increase the capture probability of that virtual pet character; that is, the capture probability of a virtual pet character is positively correlated with the number of times it is repeatedly captured. For example, before capturing a virtual pet character, the virtual pet character corresponds to an initial capture probability. In response to the cumulative number of repeated capture attempts failing to capture the virtual pet character reaching a preset threshold, a preset capture probability is added to the initial capture probability to obtain an updated capture probability. The cumulative count is then reset, and the accumulation and capture probability updates continue until the virtual pet character is defeated or captured.
[0232] Taking the preset probability requirement, including a capture probability less than the first probability threshold, as an example, assuming that the second continuous trigger state is used to indicate that after automatically consuming 5 virtual capture items, higher-level virtual capture items will continue to be consumed. If the capture probability is still less than 60% after the main virtual character consumes 3 level 1 virtual capture items to capture the pet virtual character, then switch to level 2 virtual capture items and continue to automatically trigger the consumption of level 2 virtual capture items to capture the pet virtual character.
[0233] Taking the example that the increase in the capture probability is less than the preset increase, assuming that the first capture probability of the pet virtual character is 70% before the main virtual character consumes virtual capture items, and the current capture probability is 75% after the main virtual character automatically consumes two level 2 virtual capture items in the second continuous trigger state, the difference between the current capture probability and the first capture probability does not reach 10%, the system automatically switches to level 3 virtual capture items and continues to automatically trigger the consumption of level 3 virtual capture items to capture the pet virtual character.
[0234] Taking the preset probability requirement, which includes the difference between the capture probability and the second probability threshold exceeding the preset difference range, as an example, assuming that the second continuous trigger state is used to indicate that after automatically and continuously consuming 5 virtual capture items, it continues to consume higher-level virtual capture items, and after the main virtual character continuously consumes 3 level 1 virtual capture items to capture the pet virtual character, if the capture probability is still lower than 70% and still lower than the target capture probability of 80%, then it switches to level 2 virtual capture items and continues to automatically trigger the consumption of level 2 virtual capture items to capture the pet virtual character.
[0235] It is worth noting that the above-mentioned preset probability requirements are merely illustrative examples, and the embodiments of this application do not limit them.
[0236] By using multiple preset probability requirements, the system can more flexibly switch the item level of continuously thrown virtual items based on various capture probability conditions, thereby improving the efficiency of switching the consumed virtual items based on capture probability.
[0237] In summary, the method provided in this application automatically triggers the consumption of a second virtual capture item as the (i+1)th virtual capture item to capture a virtual pet character when the capture probability meets the preset probability requirements. This achieves automatic switching of the item level of the virtual capture item to be consumed based on the capture probability during continuous capture. It can get rid of the limitation of the second quantity threshold in the second continuous triggering state, and timely switch to a more effective virtual capture item to capture the pet virtual character according to the capture probability, thereby improving capture efficiency, improving the efficiency of the game process, and reducing the power consumption of the terminal during the game process.
[0238] In some embodiments, an automatic capture function can also be provided, allowing the main virtual character to pre-throw virtual capture items and automatically consume the virtual capture items to capture the virtual pet character when the optimal capture opportunity arises. Please refer to Figure 10, which is a flowchart of an automatic capture method based on a waiting state provided in an exemplary embodiment of this application. This method can be executed by a terminal, a server, or both simultaneously. This embodiment of the application illustrates the method as being executed by the terminal shown in Figure 1 or a client on the terminal. As shown in Figure 10, the above method includes the following steps:
[0239] Step 1010, in response to the first use operation, displays the main virtual character throwing out at least two virtual capture items.
[0240] Among them, at least two virtual capture props are in a waiting state in the virtual environment. The waiting state refers to the state in which the virtual capture props float in the virtual environment waiting to capture the virtual pet character.
[0241] Optionally, at least two virtual capture items may include the i-th virtual capture item and the (i+1)-th virtual capture item, wherein the i-th virtual capture item may be the i-th virtual capture item that has been thrown and is in a waiting state, or it may be the i-th virtual capture item that is in a waiting state and is yet to be consumed.
[0242] Optionally, the virtual capture props can be thrown sequentially to at least two virtual capture props, or at least two virtual capture props can be thrown simultaneously. This application embodiment does not limit this.
[0243] When the first use operation is in a continuous triggering state, at least two virtual capture items can be pre-thrown in response to the first use operation based on the automatic capture mechanism, so that at least two virtual capture items are in a waiting state. The at least two virtual capture items in the waiting state can automatically capture the pet virtual character when the capture conditions are met.
[0244] When a virtual capture item that is in a waiting state is thrown, the virtual capture item equipped by the main virtual character is not consumed. The virtual capture item is consumed when it automatically captures the pet virtual character. If the virtual capture item does not automatically capture the pet virtual character, the virtual capture item in a waiting state can be retrieved.
[0245] Step 1020: If there are pet virtual characters in the virtual environment that meet the capture conditions, display at least two virtual capture props to automatically capture the pet virtual characters in a continuous trigger state.
[0246] Automatically capturing a pet virtual character with at least two virtual capture items in a consecutive trigger state means that, for at least two virtual capture items in a waiting state, after automatically capturing a pet virtual character by consuming the kth virtual capture item, the (k+1)th virtual capture item is automatically consumed to automatically capture a pet virtual character, where k is a positive integer.
[0247] In some embodiments, a virtual pet character located in a virtual environment is displayed, as well as the capture probability corresponding to the virtual pet character. The capture probability is used to indicate the probability that a virtual capture item will successfully capture the virtual pet character. When the capture probability reaches a first threshold, at least two virtual capture items are displayed to automatically capture the virtual pet character in a continuous trigger state.
[0248] Indicatively, in response to receiving the first use operation in a continuously triggered state, the main virtual character continuously throws out 5 virtual capture items, including item A to item E. The 5 virtual capture items float in the virtual environment in a waiting state. When a pet virtual character exists in the virtual environment and the capture probability of the pet virtual character reaches 70%, items A to E are automatically consumed in sequence to capture the pet virtual character until they are all consumed, or the termination requirements are met.
[0249] In some embodiments, before consuming virtual capture items that are in a waiting state to capture a virtual pet character, at least two virtual capture items may be displayed at the corresponding positions according to the virtual pet character.
[0250] Indicatively, when a pet virtual character meets the capture conditions, the kth virtual capture item among at least two virtual capture items is displayed in the first position associated with the pet virtual character. The capture conditions are used to indicate the conditions under which the virtual capture item locks the pet virtual character as the capture target while waiting. After the kth virtual capture item is consumed, the (k+1)th virtual capture item is displayed in the first position.
[0251] The first position is used to display the virtual capture items for capturing virtual pet characters that need to be consumed.
[0252] Optionally, the first position can be determined based on the capture probability, wherein the capture probability is negatively correlated with the distance between the first position and the pet virtual character.
[0253] In some embodiments, a display adjustment operation for a virtual capture item can also be received. The display adjustment operation is used to adjust the virtual capture item displayed in the first position, that is, to adjust the virtual capture item that is about to be consumed.
[0254] To illustrate, suppose the main virtual character throws 5 virtual capture items in a waiting state based on a continuous trigger state. Virtual capture item A that is about to be consumed is displayed above the pet virtual character's head. In response to receiving a display adjustment operation for virtual capture item B, the virtual capture item A displayed above the pet virtual character's head is changed to virtual capture item B. Then, when the pet virtual character meets the capture conditions, virtual capture item B is consumed first.
[0255] By displaying the virtual capture item to be consumed in the first position associated with the pet virtual character when the capture conditions are met, users can intuitively see which virtual capture item will be consumed when multiple virtual capture items have been pre-thrown and are waiting to be automatically captured. This allows users to participate in the capture decision based on the virtual capture item displayed in the first position, improving capture efficiency.
[0256] In some embodiments, the automatic consumption order of at least two virtual capture items is related to at least one of the following: throwing order, item level, capture probability, and item attributes.
[0257] To illustrate, taking the second consecutive trigger state as an example, the main virtual character can, based on the first use operation of the second consecutive trigger state, sequentially throw two level 1 capture items, three level 2 capture items, and two level 4 capture items, causing these seven capture items to float in the virtual environment in a waiting state. When a pet virtual character that meets the capture conditions exists in the virtual environment, the two level 1 capture items, three level 2 capture items, and two level 4 capture items can be automatically consumed in the order of throwing; alternatively, based on the pet virtual character's level, for example, for a level 2 pet virtual character, three level 2 capture items can be consumed automatically first; based on the capture probability, when the capture probability is high, two lower-level level 1 capture items can be consumed automatically first, and when the capture probability is low, two higher-level level 4 capture items can be consumed automatically first; furthermore, based on the pet virtual character's attribute, for example, for a fire-attribute pet virtual character, water-attribute capture items with a counter-relationship among the seven capture items can be consumed automatically first.
[0258] Optionally, at least two virtual capture items are displayed in the first position in an order that corresponds to the order in which they are consumed.
[0259] Optionally, at least two virtual capture items are displayed in the first position in the order of consumption; or, at least two virtual capture items are displayed overlappingly in the first position in the order of consumption, wherein the display level of the at least two virtual capture items is positively correlated with the consumption order, that is, the virtual capture item consumed earlier corresponds to a higher display level.
[0260] It is worth noting that the above-mentioned automatic consumption order is merely an exemplary example, and the embodiments of this application do not limit it.
[0261] In some embodiments, unused virtual capture items in a waiting state can also be recycled. The recycling process includes, in response to the kth virtual capture item successfully capturing a pet virtual character, displaying the recycling of virtual capture items k+1 to n, where n indicates the number of at least two virtual capture items.
[0262] The kth virtual capture item refers to the kth virtual capture item that is automatically consumed among at least two virtual capture items.
[0263] To illustrate, taking the example of throwing the above 7 capture items and being in a waiting state, in response to the 5th capture item successfully capturing the pet virtual character, the display shows the retrieval of the 6th and 7th capture items.
[0264] By recycling unused virtual capture items, a closed-loop process for automatic capture is achieved. When at least two virtual capture items are thrown in a continuous trigger state while waiting to capture a virtual pet character, unused virtual capture items can be automatically recycled. This reduces the manual recycling operation required when too many virtual capture items are thrown in a continuous trigger state, improves the recycling efficiency of automatic capture, and reduces the frequency of human-computer interaction, thereby reducing the frequency of terminal I / O events and reducing the processing resource consumption of the terminal's processor.
[0265] In summary, the method provided in this application, by pre-throwing at least two virtual capture props into a waiting state based on a first use operation in a continuously triggered state, enables the automatic and continuous capture of pet virtual characters based on capture conditions, thereby improving the automaticity of pet virtual character capture. Furthermore, by pre-throwing at least two virtual capture props into a waiting state based on a continuously triggered state, the success rate of automatic capture can be increased, thus improving the efficiency of automatic capture. Moreover, by pre-throwing at least two virtual capture props into a waiting state to convey to the user that the capture of pet virtual characters can be achieved by automatically and continuously using virtual capture props, the efficiency of transmitting interface information is improved.
[0266] Figure 11 is a structural block diagram of a virtual pet capturing device provided in an exemplary embodiment of this application. As shown in Figure 11, the device includes the following parts:
[0267] Display module 1110 is used to display the main virtual character in the virtual environment. The main virtual character is equipped with a virtual capture tool, which is used to capture the pet virtual character in the virtual environment.
[0268] Receiver module 1120 is used to receive a first use operation for the virtual capture prop;
[0269] Control module 1130 is used to respond to the first usage operation by consuming the virtual capture item in a continuous trigger state to capture the virtual pet character. The continuous trigger state refers to the state in which the consumption of the (i+1)th virtual capture item to capture the virtual pet character is automatically triggered after the i-th virtual capture item is consumed, where i is a positive integer.
[0270] In some embodiments, the display module 1110 is further configured to:
[0271] In response to receiving the first use operation for the pet virtual character, the main virtual character is shown throwing the virtual capture item in the continuous trigger state;
[0272] The display shows the capture results of the virtual pet character using the virtual capture tool.
[0273] In some embodiments, the display module 1110 is further configured to display that the main virtual character stops throwing the virtual capture item when the termination requirement is met.
[0274] In some embodiments, the termination requirement includes at least one of the following:
[0275] The virtual pet character was captured;
[0276] No attack operations targeting the virtual pet character were received within the preset time period;
[0277] The main virtual character was killed;
[0278] The virtual pet character died;
[0279] The distance between the main virtual character and the pet virtual character exceeds a preset distance threshold;
[0280] The remaining number of virtual capture props is less than the first prop quantity threshold;
[0281] The number of virtual capture items thrown by the main virtual character in the continuous trigger state reaches the second item quantity threshold.
[0282] In some embodiments, the receiving module 1120 is further configured to receive a first configuration operation, the first configuration operation being configured to configure the virtual capture prop to the continuous trigger state.
[0283] In some embodiments, the display module 1110 is further configured to display a configuration control, which is used to configure the triggering method of the virtual capture prop;
[0284] The receiving module 1120 is further configured to receive a first trigger operation for the configuration control as the first configuration operation, wherein the first trigger operation is configured to configure the triggering mode of the virtual capture prop as the continuous triggering state.
[0285] In some embodiments, the display module 1110 is further configured to display a configuration control, which is used to configure the triggering method of the virtual capture prop;
[0286] The receiving module 1120 is further configured to receive a second trigger operation for the configuration control;
[0287] The display module 1110 is also used to respond to the second trigger operation by displaying the configuration wheel corresponding to the configuration control, wherein the configuration wheel includes at least two continuous trigger states.
[0288] In some embodiments, the receiving module 1120 is further configured to:
[0289] Receive the first configuration operation for the first continuously triggered state in the configuration wheel, where the first continuously triggered state refers to the state where, after the i-th virtual capture item is consumed, the (i+1)-th virtual capture item is automatically consumed to capture the virtual pet character until the number of items consumed reaches a first quantity threshold; or...
[0290] The system receives the first configuration operation for the second continuous trigger state in the configuration wheel, where the second continuous trigger state refers to automatically triggering the consumption of a second virtual capture item after automatically triggering the consumption of a first virtual capture item with a second quantity threshold, and the item level of the second virtual capture item is higher than that of the first virtual capture item.
[0291] In some embodiments, the display module 1110 is further configured to:
[0292] When the number of first virtual capture items consumed by the main virtual character in the second continuous trigger state has not reached the second quantity threshold, and the remaining quantity of the first virtual capture items equipped by the main virtual character is greater than zero, the main virtual character is shown to continue to automatically trigger the throwing of the first virtual capture items.
[0293] When the number of the first virtual capture items consumed by the main virtual character in the second continuous trigger state does not reach the second quantity threshold, and the remaining quantity of the first virtual capture items equipped by the main virtual character is equal to zero, the main virtual character is shown to continue to automatically trigger the throwing of the second virtual capture items.
[0294] When the number of the first virtual capture items consumed by the main virtual character in the second continuous trigger state reaches the second quantity threshold, the main virtual character is shown to continue to automatically trigger the throwing of the second virtual capture item.
[0295] In some embodiments, the control module 1130 is further configured to, in response to the first usage operation, automatically consume the virtual capture item to capture the virtual pet character in the continuous trigger state if the continuous triggering requirement is met.
[0296] In some embodiments, the continuous triggering requirement includes at least one of the following:
[0297] The number of virtual capture items equipped by the main virtual character reaches the first item quantity threshold.
[0298] The pet virtual character's level has reached the first level threshold;
[0299] The number of times the main virtual character failed to capture the pet virtual character reached the first-time threshold.
[0300] The pet virtual character belongs to the first preset character category;
[0301] The virtual environment where the pet virtual character is located belongs to the first preset location;
[0302] The number of pet virtual characters owned by the main virtual character is less than the first pet number threshold;
[0303] The capture probability of the virtual pet character is less than the first probability threshold.
[0304] The first attribute value of the main virtual character meets the preset attribute requirements.
[0305] In some embodiments, the display module 1110 is further configured to, in response to the first usage operation, display the capture probability corresponding to the pet virtual character, wherein the capture probability is used to indicate the probability that the virtual capture prop will successfully capture the pet virtual character;
[0306] The control module 1130 is further configured to automatically trigger the consumption of a second virtual capture item as the (i+1)th virtual capture item to capture the virtual pet character after the first virtual capture item is consumed as the i-th virtual capture item, provided that the capture probability meets the preset probability requirements. The item level of the second virtual capture item is higher than that of the first virtual capture item.
[0307] In some embodiments, the preset probability requirement includes at least one of the following:
[0308] The capture probability is less than a first probability threshold;
[0309] The probability increase of the capture probability is less than the preset increase, and the probability increase is used to indicate the difference between the capture probability and the first capture probability corresponding to the virtual pet character before consuming i virtual capture items;
[0310] The difference between the capture probability and the second probability threshold exceeds a preset difference range.
[0311] In some embodiments, the display module 1110 is further configured to:
[0312] In response to the first usage operation, the main virtual character is shown to throw at least two virtual capture items, wherein the at least two virtual capture items are in a waiting state in the virtual environment, and the waiting state refers to the state in which the virtual capture items float in the virtual environment waiting to capture the pet virtual character;
[0313] If a virtual pet character that meets the capture conditions exists in the virtual environment, the at least two virtual capture items are displayed to capture the virtual pet character in the continuous trigger state.
[0314] In some embodiments, the display module 1110 is further configured to:
[0315] Display the virtual pet character located in the virtual environment;
[0316] When the pet virtual character meets the capture conditions, the k-th virtual capture item is displayed in the first position associated with the pet virtual character, where i is a positive integer. The capture conditions are used to indicate the conditions under which the virtual capture item locks the pet virtual character as the capture target in the waiting state.
[0317] After the kth virtual capture item is consumed, the (k+1)th virtual capture item is displayed at the first position.
[0318] In some embodiments, the display module 1110 is further configured to display the retrieval of the (k+1)th virtual capture item to the nth virtual capture item in response to the kth virtual capture item successfully capturing the pet virtual character, where n indicates the number of the at least two virtual capture items.
[0319] In some embodiments, the receiving module 1120 is further configured to receive a second usage operation for the virtual capture item, the second usage operation being configured to consume the virtual capture item in a single-trigger state to capture the virtual pet character, the single-trigger state referring to the state where, based on the second usage operation, consuming the virtual capture item to capture the virtual pet character stops after a single virtual capture item is consumed.
[0320] In summary, the device provided in this application embodiment, by receiving a first usage operation in a continuously triggered state, enables the main virtual character to consume virtual capture items to capture pet virtual characters in a continuously triggered state. After consuming the virtual capture items, it automatically triggers to continue consuming virtual capture items to capture pet virtual characters. It can achieve continuous capture based on a single first usage operation, reducing the cumbersome operation of capturing virtual pets, improving the capture efficiency of virtual pets, and improving the efficiency of human-computer interaction. Furthermore, since the number of operations that need to be triggered in the virtual pet capture process is reduced, the frequency of input / output (I / O) events of the terminal can be reduced, thereby reducing the processing resource consumption of the terminal's processor.
[0321] It should be noted that the virtual pet capturing device provided in the above embodiments is only an example of 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.
[0322] This application also provides a computer device, which includes a processor and a memory. The memory stores at least one computer program, which is loaded and executed by the processor to implement the virtual world-based capture method provided in the above-described method embodiments.
[0323] Figure 12 shows a structural block diagram of a computer device 1800 provided in an exemplary embodiment of this application. The computer device 1800 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player, or MP4 player. The computer device 1800 may also be referred to as a user device, portable terminal, or other names. Typically, the computer device 1800 includes a processor 1801 and a memory 1802.
[0324] Processor 1801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0325] The memory 1802 may include one or more computer-readable storage media, which may be tangible and non-transitory. In some embodiments, the non-transitory computer-readable storage media in the memory 1802 are used to store at least one instruction, which is executed by the processor 1801 to implement the virtual world-based capture method provided in the embodiments of this application.
[0326] In some embodiments, the computer device 1800 may also optionally include a peripheral device interface 1803 and at least one peripheral device. The processor 1801, memory 1802, and peripheral device interface 1803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1804, a touch display screen 1805, a camera assembly 1806, an audio circuit 1807, and a power supply 1808.
[0327] Peripheral interface 1803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1801 and memory 1802. Radio frequency circuitry 1804 is used to receive and transmit RF (Radio Frequency) signals. Touchscreen display 1805 is used to display the user interface (UI). Camera assembly 1806 is used to capture images or video. Audio circuitry 1807 provides an audio interface between the user and computer device 1800. Power supply 1808 provides power to the various components in computer device 1800.
[0328] In some embodiments, the computer device 1800 further includes one or more sensors 1809. The one or more sensors 1809 include, but are not limited to, an accelerometer 1810, a gyroscope 1811, a pressure sensor 1812, an optical sensor 1813, and a proximity sensor 1814.
[0329] Those skilled in the art will understand that the above structure does not constitute a limitation on the computer device 1800, and may include more or fewer components than shown, or combine certain components, or employ different component arrangements.
[0330] Embodiments of this application also provide a computer device, which can be implemented as a terminal or server as shown in FIG1. The computer device includes a processor and a memory, the memory storing at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or instruction set being loaded and executed by the processor to implement the virtual pet capture method provided in the above-described method embodiments.
[0331] Embodiments of this application also provide a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the virtual pet capture method provided in the above-described method embodiments.
[0332] Embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual pet capture method provided in the above-described method embodiments.
[0333] Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM). The sequence numbers of the embodiments described above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
Claims
1. A method for capturing a virtual pet, the method being executed by a terminal, the method comprising: Displays a master virtual character in a virtual environment, the master virtual character being equipped with a virtual capture tool, the virtual capture tool being used to capture pet virtual characters in the virtual environment; Receive the first use operation for the virtual capture prop; In response to the first use operation, the virtual capture item is consumed in a continuously triggered state to capture the virtual pet character. The continuously triggered state refers to the state in which the consumption of the (i+1)th virtual capture item to capture the virtual pet character is automatically triggered after the i-th virtual capture item is consumed, where i is a positive integer.
2. The method according to claim 1, wherein, The step of consuming the virtual capture item to capture the pet virtual character in response to the first usage operation in the continuously triggered state includes: In response to the first usage operation, the main virtual character is shown throwing the virtual capture item in the continuous trigger state; The display shows the capture results of the virtual pet character using the virtual capture tool.
3. The method according to claim 1 or 2, wherein, The method further includes: If the termination requirements are met, the main virtual character will be displayed to stop throwing the virtual capture item.
4. The method according to any one of claims 1 to 3, wherein, The termination requirement includes at least one of the following: The virtual pet character was captured; No attack operations targeting the virtual pet character were received within the preset time period; The main virtual character was killed; The virtual pet character died; The distance between the main virtual character and the pet virtual character exceeds a preset distance threshold; The remaining number of virtual capture props is less than the first prop quantity threshold; The number of virtual capture items thrown by the main virtual character in the continuous trigger state reaches the second item quantity threshold.
5. The method according to any one of claims 1 to 4, wherein, Before receiving the first use operation for the virtual capture prop, the method further includes: Receive a first configuration operation, the first configuration operation being used to configure the virtual capture prop to the continuous trigger state.
6. The method according to any one of claims 1 to 5, wherein, The receiving of the first configuration operation includes: Display configuration controls, which are used to configure the triggering method of the virtual capture item; The system receives a first trigger operation for the configuration control as the first configuration operation, wherein the first trigger operation is used to configure the triggering mode of the virtual capture prop to the continuous triggering state.
7. The method according to any one of claims 1 to 6, wherein, The method further includes: Display configuration controls, which are used to configure the triggering method of the virtual capture prop; Receive a second trigger operation for the configuration control; In response to the second triggering operation, the configuration wheel corresponding to the configuration control is displayed, and the configuration wheel includes at least two consecutive triggering states.
8. The method according to any one of claims 1 to 7, wherein, After displaying the configuration wheel corresponding to the configuration control, the method further includes: Receive the first configuration operation for the first continuously triggered state in the configuration wheel, where the first continuously triggered state refers to the state where, after the i-th virtual capture item is consumed, the (i+1)-th virtual capture item is automatically consumed to capture the virtual pet character until the number of items consumed reaches a first quantity threshold; or... The system receives the first configuration operation for the second continuous trigger state in the configuration wheel, where the second continuous trigger state refers to automatically triggering the consumption of a second virtual capture item after automatically triggering the consumption of a first virtual capture item with a second quantity threshold, and the item level of the second virtual capture item is higher than that of the first virtual capture item.
9. The method according to any one of claims 1 to 8, wherein, The process of consuming the virtual capture item to capture the pet virtual character in the continuously triggered state includes: When the number of first virtual capture items consumed by the main virtual character in the second continuous trigger state has not reached the second quantity threshold, and the remaining quantity of the first virtual capture items equipped by the main virtual character is greater than zero, the main virtual character is shown to continue to automatically trigger the throwing of the first virtual capture items. When the number of the first virtual capture items consumed by the main virtual character in the second continuous trigger state does not reach the second quantity threshold, and the remaining quantity of the first virtual capture items equipped by the main virtual character is equal to zero, the main virtual character is shown to continue to automatically trigger the throwing of the second virtual capture items. When the number of the first virtual capture items consumed by the main virtual character in the second continuous trigger state reaches the second quantity threshold, the main virtual character is shown to continue to automatically trigger the throwing of the second virtual capture item.
10. The method according to any one of claims 1 to 9, wherein, The step of responding to the first usage operation by consuming the virtual capture item in a continuously triggered state to capture the pet virtual character includes: In response to the first usage operation, if the continuous triggering requirement is met, the virtual capture item is automatically consumed in the continuous triggering state to capture the virtual pet character.
11. The method according to any one of claims 1 to 10, wherein, The continuous triggering requirement includes at least one of the following: The number of virtual capture items equipped by the main virtual character reaches the first item quantity threshold. The pet virtual character's level has reached the first level threshold; The number of times the main virtual character failed to capture the pet virtual character reached the first-time threshold. The pet virtual character belongs to the first preset character category; The virtual environment where the pet virtual character is located belongs to the first preset location; The number of pet virtual characters owned by the main virtual character is less than the first pet number threshold; The capture probability of the virtual pet character is less than the first probability threshold. The first attribute value of the main virtual character meets the preset attribute requirements.
12. The method according to any one of claims 1 to 11, wherein, The method further includes: In response to the first usage operation, the capture probability corresponding to the pet virtual character is displayed, and the capture probability is used to indicate the probability that the virtual capture prop will successfully capture the pet virtual character; The process of consuming the virtual capture item to capture the pet virtual character in the continuously triggered state includes: After the first virtual capture item is consumed as the i-th virtual capture item, if the capture probability meets the preset probability requirement, the consumption of the second virtual capture item as the (i+1)-th virtual capture item will be automatically triggered to capture the virtual pet character. The item level of the second virtual capture item is higher than that of the first virtual capture item.
13. The method according to any one of claims 1 to 12, wherein, The preset probability requirement includes at least one of the following: The capture probability is less than a first probability threshold; The probability increase of the capture probability is less than the preset increase, and the probability increase is used to indicate the difference between the capture probability and the first capture probability corresponding to the virtual pet character before consuming i virtual capture items; The difference between the capture probability and the second probability threshold exceeds a preset difference range.
14. The method according to any one of claims 1 to 13, wherein, The method further includes: In response to the first usage operation, the main virtual character is shown to throw at least two virtual capture items, wherein the at least two virtual capture items are in a waiting state in the virtual environment, and the waiting state refers to the state in which the virtual capture items float in the virtual environment waiting to capture the pet virtual character; If a virtual pet character that meets the capture conditions exists in the virtual environment, the at least two virtual capture items are displayed to automatically capture the virtual pet character in the continuous trigger state.
15. The method according to any one of claims 1 to 14, wherein, The response to the first usage operation, after displaying that the main virtual character throws at least two virtual capture items, further includes: Display the virtual pet character located in the virtual environment; When the pet virtual character meets the capture conditions, the kth virtual capture item among the at least two virtual capture items is displayed at the first position associated with the pet virtual character, where k is a positive integer. The capture conditions are used to indicate the conditions under which the virtual capture item locks the pet virtual character as a capture target in the waiting state. After the kth virtual capture item is consumed, the (k+1)th virtual capture item is displayed at the first position.
16. The method according to any one of claims 1 to 15, wherein, The method further includes: In response to the kth virtual capture item successfully capturing the pet virtual character, the display shows the retrieval of the (k+1)th virtual capture item to the nth virtual capture item, where n indicates the number of the at least two virtual capture items.
17. The method according to any one of claims 1 to 16, wherein, The method further includes: Receive a second use operation for the virtual capture prop; The second usage operation is used to consume the virtual capture item to capture the virtual pet character in a single-trigger state. The single-trigger state refers to the state in which the consumption of the virtual capture item to capture the virtual pet character stops after a single virtual capture item is consumed, based on the second usage operation.
18. A device for capturing virtual pets, the device comprising: The display module is used to display the main virtual character in the virtual environment. The main virtual character is equipped with a virtual capture tool, which is used to capture the pet virtual character in the virtual environment. The receiving module is used to receive a first use operation for the virtual capture prop. The first use operation is used to consume the virtual capture prop to capture the virtual pet character in a continuous capture state. The continuous trigger state refers to the state that automatically triggers the consumption of the (i+1)th virtual capture prop to capture the virtual pet character after the i-th virtual capture prop is consumed, where i is a positive integer. A control module is configured to respond to the first usage operation by consuming the virtual capture item in a continuously triggered state to capture the pet virtual character.
19. A computer device comprising a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the method for capturing a virtual pet as described in any one of claims 1 to 17.
20. A computer-readable storage medium storing at least one computer program, said at least one computer program being loaded and executed by a processor to implement the method for capturing a virtual pet as described in any one of claims 1 to 17.
21. A computer program product comprising a computer program that, when executed by a processor, implements the method for capturing a virtual pet as described in any one of claims 1 to 17.