Method and apparatus for controlling perspective switching, electronic device and readable storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsYajun Guan, Guangze Zhong
Life of this patent
Estimating the term…
Abstract
This application discloses a method and apparatus for switching perspectives in a computer game, an electronic device and a computer-readable storage medium. The method includes displaying a virtual scene picture in a game from a target perspective in a client; triggering a key stage in the game and determining a key perspective corresponding to the key stage; and automatically switching the target perspective to the key perspective to display a key scene picture from the key perspective in the client.
Claims11
A method for switching perspectives in a computer game, executed by an electronic device, the method comprising:
- displaying a virtual scene picture in a game from a target perspective in a client;
- triggering a key stage in the game and determining a key perspective corresponding to the key stage;
- and
- automatically switching the target perspective to the key perspective to display a key scene picture from the key perspective in the client, comprising:
- determining whether a first virtual object reaches a target position of a region in the game, wherein the target position is not an end point of the region;
- in response to determining that the first virtual object reaches the target position, determining whether to activate a perspective switching mode selected from an individual locking mode and a group locking mode;
- in response to the individual locking mode being activated, automatically switching the target perspective to an observation perspective of a first user account corresponding to the first virtual object;
- and
- in response to the group locking mode being activated, determining a group where the first virtual object is currently located, to obtain an observation perspective of a target user account corresponding to a target virtual object in the group, the target virtual object being at a key position in the group, and the target perspective being automatically switched to an observation perspective of the target user account corresponding to the target virtual object.
An apparatus for controlling perspective switching, comprising a memory and a processor, the memory storing a computer program, and the processor being configured to run the computer program to:
- display a virtual scene picture in a game from a target perspective in a client;
- trigger a key stage in the game and determine a key perspective correspond to the key stage;
- and
- automatically switch the target perspective to the key perspective to display a key scene picture in the key perspective in the client, comprising:
- determining whether a first virtual object reaches a target position of a region in the game, wherein the target position is not an end point of the region;
- in response to determining that the first virtual object reaches the target position, determining whether to activate a perspective switching mode selected from an individual locking mode and a group locking mode;
- in response to the individual locking mode being activated, automatically switching the target perspective to an observation perspective of a first user account corresponding to the first virtual object;
- and
- in response to the group locking mode being activated, determining a group where the first virtual object is currently located, to obtain an observation perspective of a target user account corresponding to a target virtual object in the group, the target virtual object being at a key position in the group, and the target perspective being automatically switched to an observation perspective of the target user account corresponding to the target virtual object.
A non-transitory computer-readable storage medium, comprising a program stored therein, the program, when executed by one or more processors, causing the one or more processors to perform:
- displaying a virtual scene picture in a game from a target perspective in a client;
- triggering a key stage in the game and determining a key perspective corresponding to the key stage;
- and
- automatically switching the target perspective to the key perspective to display a key scene picture from the key perspective in the client, comprising:
- determining whether a first virtual object reaches a target position of a region in the game, wherein the target position is not an end point of the region;
- in response to determining that the first virtual object reaches the target position, determining whether to activate a perspective switching mode selected from an individual locking mode and a group locking mode;
- in response to the individual locking mode being activated, automatically switching the target perspective to an observation perspective of a first user account corresponding to the first virtual object;
- and
- in response to the group locking mode being activated, determining a group where the first virtual object is currently located, to obtain an observation perspective of a target user account corresponding to a target virtual object in the group, the target virtual object being at a key position in the group, and the target perspective being automatically switched to an observation perspective of the target user account corresponding to the target virtual object.
Dependencies are inferred from the claim text.