IP Library Granted Patent US 12,083,433
Granted Patent B2
US 12,083,433 · App. 17/498,281 · Granted Sep 10, 2024

Virtual object control method and apparatus, terminal, and storage medium

Inventors: Si Ming Zhang (Shenzhen, CN); Ren Jie Li (Shenzhen, CN)
Assignee: Tencent Technology (Shenzhen) Company Limited
A63F13/58A63F13/2145A63F13/57A63F13/69
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,083,433
App. No.
17/498,281
Granted
Sep 10, 2024
Kind
B2
Abstract

A virtual object control includes displaying a display picture corresponding to a virtual environment and a particular attack control. In response to a touch operation for the particular attack control, a target behavior is determined from two different behaviors according to resources associated with the first virtual object. The first virtual object is controlled to perform the target behavior. This can improve congestion caused by excessive icons, reduce the misoperation probability of the user, and ensure operation accuracy.

Claims (73)

1. A virtual object control method, performed by a terminal, the method comprising:

displaying a display picture corresponding to a virtual environment and displaying a particular attack control, wherein the particular attack control is configured for controlling a first virtual object in the virtual environment to perform at least two different behaviors;

obtaining a quantity of resources associated with the first virtual object, the resources being consumed items configured for performing a behavior corresponding to the particular attack control;

determining, in response to a touch operation for the particular attack control, a target behavior from the at least two different behaviors according to a value range to which the quantity belongs; and controlling the first virtual object to perform the target behavior.

2. The method according to claim 1 , wherein the at least two different behaviors comprise a first behavior, a second behavior, and a third behavior; and the determining the target behavior in further comprises:

determining the target behavior as the first behavior when the quantity belongs to a first value range;

determining the target behavior as the second behavior when the quantity belongs to a second value range; and

determining the target behavior as the third behavior when the quantity belongs to a third value range, wherein the first value range, the second value range, and the third value range are independent of each other and have no intersection.

3. A virtual object control method, performed by a terminal, the method comprising:

displaying a display picture corresponding to a virtual environment and displaying a particular attack control, wherein the particular attack control is configured for controlling a first virtual object in the virtual environment to perform at least two different behaviors;

obtaining a quantity of resources associated with the first virtual object, the resources being consumed items configured for performing a behavior corresponding to the particular attack control;

determining an operation attribute of a touch operation for the particular attack control;

determining, in response to the touch operation for the particular attack control, a target behavior from the at least two different behaviors according to the resources associated with the first virtual object and based on the quantity and the operation attribute; and

controlling the first virtual object to perform the target behavior.

4. The method according to claim 3 , wherein the at least two different behaviors comprise a first behavior, a second behavior, and a third behavior; and the determining the target behavior further comprises:

determining the target behavior as the first behavior when the quantity belongs to a first value range and the operation attribute is a first operation attribute;

determining the target behavior as the second behavior when the quantity belongs to a second value range and the operation attribute is the first operation attribute;

determining the target behavior as the first behavior when the quantity belongs to the second value range and the operation attribute is a second operation attribute; and

determining the target behavior as the third behavior when the quantity belongs to a third value range and the operation attribute is the first operation attribute;

determining the target behavior as the first behavior when the quantity belongs to the third value range and the operation attribute is the second operation attribute; and

determining the target behavior as the second behavior when the quantity belongs to the third value range and the operation attribute is a third operation attribute.

5. The method according to claim 3 , wherein the at least two different behaviors comprise a first behavior, a second behavior, and a third behavior; and the determining the target behavior further comprises:

determining the target behavior as the first behavior when the operation attribute is a first operation attribute and the quantity is greater than a first threshold;

determining the target behavior as the second behavior when the operation attribute is a second operation attribute and the quantity is greater than a second threshold;

determining the target behavior as the first behavior when the operation attribute is the second operation attribute and the quantity is less than the second threshold and greater than the first threshold;

determining the target behavior as the third behavior when the operation attribute is a third operation attribute and the quantity is greater than a third threshold;

determining the target behavior as the second behavior when the operation attribute is the third operation attribute and the quantity is less than the third threshold and greater than the second threshold; and

determining the target behavior as the first behavior when the operation attribute is the third operation attribute and the quantity is less than the second threshold and greater than the first threshold.

6. The method according to claim 2 , wherein the first behavior is configured for fighting back against an attack behavior of a second virtual object, the second behavior is configured for reducing a movement speed of the second virtual object and increasing health points of the first virtual object when health points of the second virtual object are reduced, and the third behavior is configured for clearing the health points of the second virtual object when the health points of the second virtual object is less than a target value, wherein the second virtual object is a virtual object in a camp different from that of the first virtual object.

7. The method according to claim 3 , wherein the at least two different behaviors further comprise a fourth behavior, and the fourth behavior comprises an ordinary attack behavior; and the determining a target behavior further comprises:

determining the target behavior as the fourth behavior when the quantity is less than a first threshold; or

determining the target behavior as the fourth behavior when the quantity is greater than the first threshold and the operation attribute of the touch operation is a fourth operation attribute.

8. The method according to claim 1 , further comprising:

displaying a function switch control, the function switch control being configured for enabling or disabling a function of collecting the resources;

disabling, when the function of collecting the resources is in an enabled state, the function of collecting the resources for the first virtual object in response to a touch operation for the function switch control; and

enabling, when the function of collecting the resources is in a disabled state, the function of collecting the resources for the first virtual object in response to a touch operation for the function switch control.

9. The method according to claim 1 , further comprising:

determining a resource increase quantity of the first virtual object when a resource increase operation is detected; and

updating the quantity of the resources associated with the first virtual object according to the resource increase quantity.

10. The method according to claim 9 , wherein the resource increase operation comprises at least one of the following:

the first virtual object killing a second virtual object;

the first virtual object causing health points of the second virtual object to lose;

the first virtual object performing a fifth behavior, a touch operation for an operation control corresponding to the fifth behavior; or

the first virtual object obtaining a resource increase prop;

wherein the second virtual object is a virtual object in a camp different from that of the first virtual object.

11. The method according to claim 1 , wherein after the controlling the first virtual object to perform the target behavior, the method further comprises:

determining a resource decrease quantity of the first virtual object; and

updating the quantity of the resources associated with the first virtual object according to the resource decrease quantity.

12. A mobile terminal, comprising a processor and a memory, the memory storing at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the virtual object control method according to claim 1 .

13. A virtual object control apparatus, comprising:

a control display module, configured to display a display picture corresponding to a virtual environment and to display a particular attack control, the particular attack control being configured for controlling a first virtual object in the virtual environment to perform at least two different behaviors;

a behavior determining module configured to determine, in response to a touch operation for the particular attack control, a target behavior from the at least two different behaviors according to resources associated with the first virtual object, and to obtain a quantity of the resources associated with the first virtual object, wherein the resources are consumed items for performing a behavior corresponding to the particular attack control; and

a behavior execution module configured to control the first virtual object to perform the target behavior, and to determine the target behavior in the at least two different behaviors according to a value range to which the quantity belongs.

14. The virtual object control apparatus of claim 13 , wherein the behavior determining module is further configured for determining a resource decrease quantity of the first virtual object and updating the quantity of the resources associated with the first virtual object according to the resource decrease quantity.

15. A non-transitory computer-readable storage medium, storing at least one instruction or program that is configured to be loaded and executed by a processor to implement the method according to claim 1 .

16. The non-transitory computer-readable storage medium according to claim 15 , wherein the determining a target behavior further comprises:

obtaining a quantity of the resources associated with the first virtual object;

determining an operation attribute of the touch operation; and

determining the target behavior in the at least two different behaviors based on the quantity and the operation attribute.

17. The non-transitory computer-readable storage medium according to claim 16 , wherein the at least two different behaviors comprise a first behavior, a second behavior, and a third behavior; and the determining the target behavior further comprises:

determining the target behavior as the first behavior when the quantity belongs to a first value range and the operation attribute is a first operation attribute;

determining the target behavior as the second behavior when the quantity belongs to a second value range and the operation attribute is the first operation attribute;

determining the target behavior as the first behavior when the quantity belongs to the second value range and the operation attribute is a second operation attribute; and

determining the target behavior as the third behavior when the quantity belongs to a third value range and the operation attribute is the first operation attribute;

determining the target behavior as the first behavior when the quantity belongs to the third value range and the operation attribute is the second operation attribute; and

determining the target behavior as the second behavior when the quantity belongs to the third value range and the operation attribute is a third operation attribute.

18. The non-transitory computer-readable storage medium according to claim 16 , wherein the at least two different behaviors comprise a first behavior, a second behavior, and a third behavior; and the determining the target behavior further comprises:

determining the target behavior as the first behavior when the operation attribute is a first operation attribute and the quantity is greater than a first threshold;

determining the target behavior as the second behavior when the operation attribute is a second operation attribute and the quantity is greater than a second threshold;

determining the target behavior as the first behavior when the operation attribute is the second operation attribute and the quantity is less than the second threshold and greater than the first threshold;

determining the target behavior as the third behavior when the operation attribute is a third operation attribute and the quantity is greater than a third threshold;

determining the target behavior as the second behavior when the operation attribute is the third operation attribute and the quantity is less than the third threshold and greater than the second threshold; and

determining the target behavior as the first behavior when the operation attribute is the third operation attribute and the quantity is less than the second threshold and greater than the first threshold.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 11, 2021
From: ZHANG, SI MING; LI, REN JIE
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 057753/0405 →
Priority Claims (1)
CN 202010848014.4 · Aug 21, 2020 · national
Continuity (2)
Continuation PCTCN2021112760 · Aug 16, 2021
Related Publication 20220054944A1 · Feb 24, 2022