Virtual prop control method and apparatus, computer-readable storage medium, and electronic device
AssigneeTencent Technology (Shenzhen) Company Limited
InventorZhihong LIU
Life of this patent
Estimating the term…
Abstract
A virtual prop control method includes: displaying a crosshair of a virtual shooting prop in a game scene of a virtual shooting game; detecting whether an aiming ray of the virtual shooting prop is in contact with adhesion boxes of other virtual operation objects in response to an input operation of the target virtual operation object, the aiming ray representing a direction aimed by the crosshair, the input operation including a target touch operation on a display screen that displays the game scene; and determining, from the non-target virtual operation objects corresponding to the contacted adhesion boxes, an adhesion target of the virtual shooting prop during shooting of the virtual shooting prop.
Claims20
A virtual prop control method, performed by an electronic device, the method comprising:
- displaying a crosshair of a virtual shooting prop in a game scene of a virtual shooting game, the virtual shooting prop being controlled by a target virtual operation object in the virtual shooting game;
- detecting whether an aiming ray of the virtual shooting prop is in contact with an adhesion box of at least one non-target virtual operation object in response to an input operation of the target virtual operation object, the aiming ray representing a direction aimed by the crosshair, the input operation comprising a target touch operation on a display screen that displays the game scene;
- and
- determining, from the at least one non-target virtual operation object corresponding to the contacted adhesion box, an adhesion target of the virtual shooting prop during shooting of the virtual shooting prop.
A virtual prop control apparatus, comprising:
- a memory and one or more processors, the memory storing computer-readable instructions, the one or more processors being configured, when executing the computer-readable instructions, to:
- display a crosshair of a virtual shooting prop in a game scene of a virtual shooting game, the virtual shooting prop being controlled by a target virtual operation object in the virtual shooting game;
- detect whether an aiming ray of the virtual shooting prop is in contact with an adhesion box of at least one non-target virtual operation object in response to an input operation of the target virtual operation object, the aiming ray representing a direction aimed by the crosshair, the input operation comprising a target touch operation on a display screen that displays the game scene;
- and
- determine, from the at least one non-target virtual operation object corresponding to the contacted adhesion box, an adhesion target of the virtual shooting prop during shooting of the virtual shooting prop.
One or more non-transitory computer-readable storage media, the computer-readable storage medium comprising stored computer-readable instructions, the computer-readable instructions, when run by a processor, causing the processor to perform:
- displaying a crosshair of a virtual shooting prop in a game scene of a virtual shooting game, the virtual shooting prop being controlled by a target virtual operation object in the virtual shooting game;
- detecting whether an aiming ray of the virtual shooting prop is in contact with an adhesion box of at least one non-target virtual operation object in response to an input operation of the target virtual operation object, the aiming ray representing a direction aimed by the crosshair, the input operation comprising a target touch operation on a display screen that displays the game scene;
- and
- determining, from the at least one non-target virtual operation object corresponding to the contacted adhesion box, an adhesion target of the virtual shooting prop during shooting of the virtual shooting prop.
Dependencies are inferred from the claim text.