Method and Apparatus for Controlling Virtual Camera in Game
AssigneeNetease (Hangzhou) Network Co., Ltd.
InventorsWenchao ZHOU, Kun SHAO
Life of this patent
Estimating the term…
Abstract
A method and apparatus for controlling a virtual camera in a game are disclosed. In the embodiments of the present disclosure, a virtual camera is controlled to shift in response to a first touch operation for a visual field control area, the virtual camera is controlled, in response to the ending of the first touch operation, to return from a second position to a first position, a game operation instruction is received during the returning process, and a corresponding action is performed in response to the game operation instruction.
Claims20
A method for controlling a virtual camera in a game, applied to a touch terminal rendered with a graphical user interface (GUI), contents rendered on the GUI comprising a game scene captured by the virtual camera, the game scene at least comprising a virtual character, the method comprising:
- associating the virtual camera with a position of a game scene where the virtual character is located to control a movement of the virtual camera according to a change of the position of the virtual character;
- providing a visual field control area on the GUI, in response to a first touch operation on the visual field control area, controlling the virtual camera to shift from a first position to a second position according to the first touch operation and
- in response to the ending of the first touch operation, controlling the virtual camera to restore from the second position to the first position, receiving a game operation instruction during a process of restoring the virtual camera from the second position to the first position, and performing an action corresponding to the game operation instruction.
A non-transitory storage medium, in which a program is stored, wherein the program is run to control a device where the non-transitory storage medium is located to perform the following method:
- associating the virtual camera with a position of a game scene where the virtual character is located to control a movement of the virtual camera according to a change of the position of the virtual character;
- providing a visual field control area on the GUI, in response to a first touch operation on the visual field control area, controlling the virtual camera to shift from a first position to a second position according to the first touch operation and
- in response to the ending of the first touch operation, controlling the virtual camera to restore from the second position to the first position, receiving a game operation instruction during a process of restoring the virtual camera from the second position to the first position, and performing an action corresponding to the game operation instruction.
An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the at least one executable instruction, and the at least one executable instruction comprises:
- associating the virtual lens with a position of a game scene where the virtual character is located to control a movement of the virtual lens according to a change of the position of the virtual character;
- providing a visual field control area on the GUI, and in response to a first touch operation on the visual field control area, controlling the virtual lens to shift from a first position to a second position according to the first touch operation and
- in response to the ending of the first touch operation, controlling the virtual lens to restore from the second position to the first position, receiving a game operation instruction during a process of restoring the virtual lens from the second position to the first position, and performing an action corresponding to the game operation instruction.
Dependencies are inferred from the claim text.