Method and apparatus for controlling shooting in game, storage medium, and electronic device
AssigneeNetease (Hangzhou) Network Co., Ltd.
InventorsXin XU, Yinchen LIU
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method for controlling shooting in a game, including: determining that a shooting mode of a target virtual item in the game is a single-fire mode; in response to the first pressing operation, controlling the target virtual item to fire a sub-virtual item; in response to a duration of the first pressing operation meeting a first preset duration, controlling, in the single-fire mode, the target virtual item to fire the sub-virtual item at a first preset time interval; and in response to the duration of the first pressing operation meeting a second preset duration, controlling the target virtual item to fire the sub-virtual item at a second preset time interval.
Claims21
A method for controlling shooting in a game, comprising:
- determining that a shooting mode of a target virtual item in the game is a single-fire mode, wherein a game interface is provided through a terminal device, and the game interface comprises an attack control element;
- receiving a first control operation for the attack control element, the first control operation comprising a first pressing operation and a first lifting operation;
- in response to the first pressing operation, controlling the target virtual item to fire a sub-virtual item;
- in response to a duration of the first pressing operation meeting a first preset duration, controlling, in the single-fire mode of the target virtual item, the target virtual item to fire the sub-virtual item at a first preset time interval;
- and
- in response to the duration of the first pressing operation meeting a second preset duration, controlling the target virtual item to fire the sub-virtual item at a second preset time interval, wherein the second preset duration is longer than the first preset duration, and the second preset time interval corresponds to a time interval for the target virtual item to fire the sub-virtual item in a burst-fire mode.
(canceled)
One or more non-transitory computer-readable storage media containing, in any combination, computer program code that, when executable by a computer system, perform an operation comprising:
- determining that a shooting mode of a target virtual item in a game is a single-fire mode, wherein a game interface is provided through a terminal device, and the game interface comprises an attack control element;
- receiving a first control operation for the attack control element, the first control operation comprising a first pressing operation and a first lifting operation;
- in response to the first pressing operation, controlling the target virtual item to fire a sub-virtual item;
- in response to a duration of the first pressing operation meeting a first preset duration, controlling, in the single-fire mode of the target virtual item, the target virtual item to fire the sub-virtual item at a first preset time interval;
- and
- in response to the duration of the first pressing operation meeting a second preset duration, controlling the target virtual item to fire the sub-virtual item at a second preset time interval, wherein the second preset duration is longer than the first preset duration, and the second preset time interval corresponds to a time interval for the target virtual item to fire the sub-virtual item in a burst-fire mode.
A system, comprising:
- one or more memories collectively containing one or more programs;
- and
- one or more processors, wherein the one or more processors are configured to, individually or collectively, perform an operation comprising:
- determining that a shooting mode of a target virtual item in a game is a single-fire mode, wherein a game interface is provided through a terminal device, and the game interface comprises an attack control element;
- receiving a first control operation for the attack control element, the first control operation comprising a first pressing operation and a first lifting operation;
- in response to the first pressing operation, controlling the target virtual item to fire a sub-virtual item;
- in response to a duration of the first pressing operation meeting a first preset duration, controlling, in the single-fire mode of the target virtual item, the target virtual item to fire the sub-virtual item at a first preset time interval;
- and
- in response to the duration of the first pressing operation meeting a second preset duration, controlling the target virtual item to fire the sub-virtual item at a second preset time interval, wherein the second preset duration is longer than the first preset duration, and the second preset time interval corresponds to a time interval for the target virtual item to fire the sub-virtual item in a burst-fire mode.
Dependencies are inferred from the claim text.