Method and apparatus for controlling virtual object, and terminal and storage medium
AssigneeTencent Technology (Shenzhe) Company Limited
InventorsSi Ming ZHANG, Ren Jie LI
Life of this patent
Estimating the term…
Abstract
A virtual object control includes displaying a virtual environment having an attack control. In response to a touch operation on the attack control, a target behavior is determined from at least two different behaviors according to the operation attribute of the touch operation. A 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.
Claims20
A virtual object control method performed by a terminal, the method comprising:
- displaying a virtual environment having an attack control, wherein the attack control is configured for controlling a first virtual object in the virtual environment to perform at least two different behaviors;
- detecting an operation attribute of a touch operation on the attack control;
- determining, in response to the touch operation, a target behavior from the at least two different behaviors according to the operation attribute of the touch operation;
- determining a second virtual object towards which the target behavior is directed;
- and
- controlling the first virtual object to perform the target behavior onto the second virtual object.
A virtual object control apparatus comprising a memory for storing instructions and at least one processor for executing the instructions to:
- display a virtual environment having an attack control, wherein the attack control is configured for controlling a first virtual object in the virtual environment to perform at least two different behaviors;
- detect an operation attribute of a touch operation on the attack control;
- determine, in response to the touch operation, a target behavior from the at least two different behaviors according to the operation attribute of the touch operation;
- determine a second virtual object towards which the target behavior is directed;
- and
- control the first virtual object to perform the target behavior onto the second virtual object.
A non-transitory computer-readable storage medium storing at least one instruction or program that is configured to be loaded and executed by at least one processor to cause an electronic device to:
- display a virtual environment having an attack control, wherein the attack control is configured for controlling a first virtual object in the virtual environment to perform at least two different behaviors;
- detect an operation attribute of a touch operation on the attack control;
- determine, in response to the touch operation, a target behavior from the at least two different behaviors according to the operation attribute of the touch operation;
- determine a second virtual object towards which the target behavior is directed;
- and
- control the first virtual object to perform the target behavior onto the second virtual object.
Dependencies are inferred from the claim text.