Search

WO-2026092149-A1 - METHOD AND APPARATUS FOR CONTROLLING VIRTUAL OBJECT, DEVICE, AND STORAGE MEDIUM

WO2026092149A1WO 2026092149 A1WO2026092149 A1WO 2026092149A1WO-2026092149-A1

Abstract

The present application relates to the technical field of computers, and discloses a method and apparatus for controlling a virtual object, a device, and a storage medium. The method comprises: displaying a virtual environment, the virtual environment comprising a master virtual object and a virtual pet; receiving a first trigger operation for a capture control for the virtual pet, the first trigger operation being used for triggering multiple consecutive capture operations for the virtual pet, and the probability of successfully capturing the virtual pet in each capture operation being less than 1; and in response to the first trigger operation, controlling the master virtual object to perform at least one capture operation on the virtual pet, until the virtual pet is successfully captured or the number of capture operations triggered by the first trigger operation is exhausted.

Inventors

  • SONG, Xiusheng

Assignees

  • 腾讯科技(深圳)有限公司

Dates

Publication Date
20260507
Application Date
20251015
Priority Date
20241031

Claims (19)

  1. A method for controlling a virtual object, wherein the method is executed by a terminal device, the method comprising: Display a virtual environment, which includes a main virtual object and a virtual pet; A first trigger operation is received for the capture control of the virtual pet. The first trigger operation is used to generate multiple consecutive capture operations for the virtual pet, and the probability of successfully capturing the virtual pet in each capture operation is less than 1. In response to the first triggering operation, the master virtual object is controlled to perform at least one capture operation on the virtual pet until the virtual pet is successfully captured or the number of capture operations generated by the first triggering operation is exhausted.
  2. According to the method of claim 1, wherein the first triggering operation is a continuous pressing operation, the method further includes: The display shows the number of capture operations generated by the first trigger operation, the number of capture operations being determined based on the duration of the continuous press operation.
  3. The method according to any one of claims 1 to 2, wherein the method further comprises at least one of the following: During the execution of the first triggering operation, the number of capture operations is continuously increased; Each capture operation consumes one capture operation count.
  4. The method according to any one of claims 1 to 3, wherein, The number of capture items consumed in each capture operation in the at least one capture operation is the same; or, The number of capture items consumed in the i-th capture operation in the at least one capture operation is positively correlated with the value of i, where i is a positive integer; The number of capture items consumed in each capture operation in the at least one capture operation is positively correlated with the rarity of the virtual pet; The capturing tool is used to capture the virtual pet.
  5. The method according to any one of claims 1 to 4, wherein the method further comprises: During the execution of the first triggering operation, if the number of capture operations increases, the main virtual object is controlled to throw the capture item at the virtual pet once; or, Before each capture operation in the at least one capture operation, the master virtual object is controlled to throw the capture item at the virtual pet once.
  6. The method according to any one of claims 1 to 5, wherein the master virtual object throws the capture prop in a different posture each time.
  7. The method according to claim 5 or 6, wherein the method further comprises: If the virtual pet is successfully captured and the number of capture attempts generated by the first triggering operation has not been exhausted, the capture items corresponding to the unused capture attempts are returned to the inventory of the main virtual object. The capture items thrown by the main virtual object are obtained from the inventory of the main virtual object.
  8. The method according to any one of claims 4 to 7, wherein the method further comprises: In response to the first triggering operation, at least one virtual item is displayed, each virtual item using a different capture method to capture the virtual pet; In response to a selection operation for a first virtual item among the at least one virtual items, the first virtual item is identified as the capture item consumed by the capture operation, wherein the selection operation is a sliding operation that starts from the trigger position of the first trigger operation and ends at the position of the first virtual item.
  9. The method according to any one of claims 1 to 8, wherein controlling the master virtual object to perform at least one capture operation on the virtual pet includes: For the i-th capture operation in the at least one capture operation, control the main virtual object to perform the i-th capture operation on the virtual pet, where i is a positive integer; If the virtual pet is not successfully captured in the i-th capture operation, the (i+1)-th capture operation in the at least one capture operation is executed until the number of capture operations generated by the first triggering operation is exhausted; If the virtual pet is successfully captured in the i-th capture operation, no further capture operations will be performed, and the virtual pet will become the pet owned by the controlling virtual object.
  10. The method according to any one of claims 1 to 9, wherein the method further comprises: Receive a second trigger operation for the capture control, the second trigger operation being used to generate a capture operation for the virtual pet; In response to the second triggering operation, the main virtual object is controlled to perform a capture operation on the virtual pet; After initiating a capture operation, the first trigger operation of the received capture control for the virtual pet is executed.
  11. The method according to any one of claims 1 to 10, wherein the method further comprises: Display duration indication information, the duration indication information being used to indicate the remaining duration for receiving the first trigger operation; The first trigger operation for receiving the capture control for the virtual pet includes: If the duration indication information indicates that the remaining duration is greater than a first value, the first trigger operation is received.
  12. The method according to any one of claims 1 to 11, wherein the method further comprises: In response to the first triggering operation, if the number of capture operations increases, the duration indication information is updated for a preset duration, where the preset duration is the maximum value of the remaining duration. Specifically, if the remaining duration indicated by the updated duration indication information is greater than the first value, a third trigger operation is allowed to be received. The third trigger operation is a different trigger operation from the first trigger operation, which is used to generate multiple consecutive capture operations for the virtual pet.
  13. The method according to claim 11 or 12, wherein the method further comprises: In response to the end of the first triggering operation, if the duration indication information indicates that the remaining duration is less than or equal to the first value, the step of controlling the master virtual object to perform at least one capture operation on the virtual pet is executed.
  14. The method according to any one of claims 10 to 13, wherein controlling the master virtual object to perform a capture operation on the virtual pet in response to the second triggering operation includes: In response to a press operation on the capture control, the crosshair of the capture item consumed in the capture operation is displayed; In response to a drag operation on the capture control, the position of the crosshair is changed. The drag operation is an operation that starts from the pressing position of the pressing operation, and the position of the crosshair is related to the real-time position of the drag operation. When the crosshair hits the virtual pet, the first capture probability for the virtual pet is displayed, where the first capture probability is the probability that the virtual pet is successfully captured in a single capture operation; In response to the end of the drag operation, the main virtual object is controlled to throw the capture item consumed in the capture operation at the virtual pet, so as to capture the virtual pet with the first capture probability.
  15. The method according to any one of claims 1 to 14, wherein the method further comprises: In response to the end of the first triggering operation, an acquisition request is sent. The acquisition request includes the operation information of the first triggering operation and is used to request the acquisition of the number of capture operations generated by the first triggering operation.
  16. A control device for a virtual object, the device comprising: The display module is configured to display a virtual environment, which includes a main virtual object and a virtual pet. The receiving module is configured to receive a first trigger operation of the capture control for the virtual pet, wherein the first trigger operation is used to generate multiple consecutive capture operations for the virtual pet, and the probability of successfully capturing the virtual pet in each capture operation is less than 1. The control module is configured to respond to the first trigger operation by controlling the main virtual object to perform at least one capture operation on the virtual pet until the virtual pet is successfully captured or the number of capture operations generated by the first trigger operation is exhausted.
  17. A terminal device includes a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the control method for a virtual object as described in any one of claims 1 to 15.
  18. A computer-readable storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the method for controlling a virtual object as described in any one of claims 1 to 15.
  19. A computer program product comprising a computer program loaded and executed by a processor to implement the method for controlling a virtual object as described in any one of claims 1 to 15.

Description

Methods, devices, equipment, and storage media for controlling virtual objects Cross-reference of related applications This application is based on Chinese Patent Application No. 202411548436.4, filed on October 31, 2024, and claims priority to that Chinese Patent Application, the entire contents of which are incorporated herein by reference. Technical Field This application relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for controlling virtual objects. Background Technology In most games, if a user wants to have their own pet, they need to capture the virtual pet by controlling the main virtual object. Once the virtual pet is successfully captured, it becomes the pet of the main virtual object. In related technologies, when controlling a master virtual object to capture a virtual pet, it is necessary to execute operations on the capture control. For example, each time an operation is executed on the capture control, the virtual pet is captured once. If the virtual pet is not captured successfully, the operation on the capture control is executed again, and the virtual pet is captured again, until the virtual pet is captured. However, in the aforementioned technologies, each capture of a virtual pet corresponds to an operation on the capture control. That is, each capture of a virtual pet requires triggering the capture control separately, and the user needs to repeat the operation multiple times. The repetitiveness of the operation steps directly leads to increased time costs, and the interval between multiple operations may reduce the continuity of capture, resulting in low capture efficiency for virtual pets. Summary of the Invention This application provides a method, apparatus, device, and storage medium for controlling virtual objects, which can improve the efficiency of capturing virtual pets. The technical solution provided by this application is as follows: This application provides a method for controlling a virtual object, the method comprising: Display a virtual environment, which includes a main virtual object and a virtual pet; The system receives a first trigger operation from a capture control for the virtual pet, wherein the first trigger operation is used to generate multiple consecutive capture operations for the virtual pet, and the probability of successfully capturing the virtual pet in each capture operation is less than 1. In response to the first triggering operation, the master virtual object is controlled to perform at least one capture operation on the virtual pet until the virtual pet is successfully captured or the number of capture operations generated by the first triggering operation is exhausted. This application provides a control device for a virtual object, the device comprising: The display module is configured to display a virtual environment, which includes a main virtual object and a virtual pet. The receiving module is configured to receive a first trigger operation of the capture control for the virtual pet, wherein the first trigger operation is used to generate multiple consecutive capture operations for the virtual pet, and the probability of successfully capturing the virtual pet in each capture operation is less than 1. The control module is configured to respond to the first trigger operation by controlling the main virtual object to perform at least one capture operation on the virtual pet until the virtual pet is successfully captured or the number of capture operations generated by the first trigger operation is exhausted. This application provides a terminal device, which includes a processor and a memory. The memory stores a computer program, which is loaded and executed by the processor to implement the above-described virtual object control method. This application provides a computer-readable storage medium storing a computer program, which is loaded and executed by a processor to implement the above-described virtual object control method. This application provides a computer program product, which includes a computer program that is loaded and executed by a processor to implement the above-described virtual object control method. The embodiments of this application can bring the following beneficial effects: Considering the low capture efficiency caused by the need to perform an operation on the capture control for each capture in related technologies, the technical solution provided in this application can generate multiple consecutive capture operations for virtual pets through one step or one operation on the capture control (i.e., the first trigger operation). The success probability of each capture is independent (all less than 1). This relaxation reduces the number of user interactions from the source of operation. Users do not need to perform a separate trigger action for each capture; instead, they can start the continuous capture process with a single operation. Thus, the op