Game visual angle control method and device, storage medium and electronic device

文档序号:1063488 发布日期:2020-10-16 浏览:13次 中文

阅读说明:本技术 游戏视角的控制方法、装置、存储介质和电子装置 (Game visual angle control method and device, storage medium and electronic device ) 是由 贺长江 于 2020-07-27 设计创作,主要内容包括:本发明公开了一种游戏视角的控制方法、装置、存储介质和电子装置。该方法包括:在第一虚拟游戏角色的第一游戏视角下显示第一游戏场景画面;响应作用在第一目标虚拟控件上的第一触控操作,确定第一目标虚拟控件对应的第二虚拟游戏角色,其中,第二虚拟游戏角色与第一虚拟游戏角色归属于同一阵营,至少一个第一虚拟控件包括第一目标虚拟控件;获取第二虚拟游戏角色的第二游戏视角;将游戏场景由第一游戏视角切换至第二游戏视角,并在第二游戏视角下显示第二游戏场景画面。通过本发明,达到了提高游戏视角的切换效率的效果。(The invention discloses a game visual angle control method and device, a storage medium and an electronic device. The method comprises the following steps: displaying a first game scene picture under a first game visual angle of a first virtual game role; responding to a first touch operation acted on a first target virtual control, and determining a second virtual game role corresponding to the first target virtual control, wherein the second virtual game role and the first virtual game role belong to the same battle, and at least one first virtual control comprises the first target virtual control; acquiring a second game view angle of a second virtual game role; and switching the game scene from the first game visual angle to a second game visual angle, and displaying a second game scene picture under the second game visual angle. By the method and the device, the effect of improving the switching efficiency of the game visual angle is achieved.)

1. A method for controlling a game view angle is characterized in that a graphical user interface is provided through a first touch display screen of a terminal device, the graphical user interface at least partially comprises a game scene and a first virtual game role, at least one first virtual control is arranged in a second touch display screen of the terminal device, the second touch display screen is arranged on the side of the terminal device, and the method comprises the following steps:

displaying a first game scene picture under a first game view of the first virtual game character;

responding to a first touch operation acted on a first target virtual control, and determining a second virtual game role corresponding to the first target virtual control, wherein the second virtual game role and the first virtual game role belong to the same battle, and the at least one first virtual control comprises the first target virtual control;

acquiring a second game view angle of the second virtual game role;

and switching the game scene from the first game visual angle to the second game visual angle, and displaying a second game scene picture under the second game visual angle.

2. The method of claim 1, wherein when displaying a second game scene view under the second game perspective, the method further comprises:

when the first touch operation acting on the first target virtual control is detected to be finished, the game scene is switched back to the first game visual angle from the second game visual angle, and the first game scene picture is displayed under the first game visual angle.

3. The method of claim 1, wherein when displaying a second game scene view under the second game perspective, the method further comprises:

responding to the first touch operation and sliding onto a second target virtual control, and determining a third virtual game role corresponding to the second target virtual control, wherein the third virtual game role and the first virtual game role belong to the same formation, and the second target virtual control is a first virtual control except the first target virtual control in at least two first virtual controls;

acquiring a third game view of the third virtual game role;

and switching the game scene from the second game visual angle to the third game visual angle, and displaying a third game scene picture under the third game visual angle.

4. The method of claim 1, wherein prior to determining a second virtual game character corresponding to a first target virtual control in response to a first touch operation on the first target virtual control, the method further comprises:

and responding to a second touch operation acted on a second virtual control, and determining to start a game visual angle switching function, wherein the second virtual control is arranged on the first touch display screen.

5. The method of claim 4, wherein after determining to turn on the game perspective switching function, the method further comprises:

acquiring at least one virtual game role belonging to the same battle as the first virtual game role;

assigning each of the first virtual controls to a virtual game character based on positioning information of the virtual game character in the game scene;

and determining the virtual game role allocated to each first virtual control as the virtual game role corresponding to each first virtual control.

6. The method of claim 4, wherein after determining to turn on the game perspective switching function, the method further comprises:

acquiring at least one virtual game role belonging to the same battle as the first virtual game role;

responding to an allocation operation for each first virtual control;

and assigning each virtual game character selected by the assigning operation to the corresponding first virtual control.

7. The method of claim 1, wherein each of the first virtual controls is associated with identification information of a corresponding virtual game character.

8. The method of any of claims 1 to 7, wherein when displaying a second game scene view at the second game perspective, the method further comprises:

and in the second game scene picture, forbidding displaying a virtual control.

9. The method according to any one of claims 1 to 7, wherein the first touch operation is a touch operation continuously acting on the first target virtual control.

10. A control device for a game view angle is characterized in that a graphical user interface is provided through a first touch display screen of a terminal device, the graphical user interface at least partially comprises a game scene and a first virtual game role, at least one first virtual control is arranged in a second touch display screen of the terminal device, the second touch display screen is arranged at the side of the terminal device, and the device comprises:

a display unit configured to display a first game scene screen at a first game perspective of the first virtual game character;

the determining unit is used for responding to a first touch operation acting on a first target virtual control and determining a second virtual game role corresponding to the first target virtual control, wherein the second virtual game role and the first virtual game role belong to the same camp, and the at least one first virtual control comprises the first target virtual control;

an acquisition unit configured to acquire a second game view of the second virtual game character;

and the switching unit is used for switching the game scene from the first game visual angle to the second game visual angle and displaying a second game scene picture under the second game visual angle.

11. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, controls an apparatus in which the storage medium is located to perform the method of any of claims 1 to 9.

12. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 9.

Technical Field

The invention relates to the field of visual angle control, in particular to a game visual angle control method, a game visual angle control device, a game visual angle control storage medium and an electronic device.

Background

At present, for battle games on a PC terminal, due to numerous key positions, game visual angles of different virtual game roles can be switched in a mode of setting shortcut key positions, but for terminal equipment with a smaller screen, due to limited number of key positions which can be arranged, the switching of the game visual angles of the different virtual game roles is difficult to carry out, so that the technical problem of low switching efficiency of the game visual angles exists.

Aiming at the problem of low switching efficiency of game visual angles in the prior art, no effective solution is provided at present.

Disclosure of Invention

The invention mainly aims to provide a method and a device for controlling a game visual angle, a storage medium and an electronic device, which at least solve the technical problem of low switching efficiency of the game visual angle.

In order to achieve the above object, according to one aspect of the present invention, there is provided a method of controlling a viewing angle of a game. Providing a graphical user interface through a first touch display screen of a terminal device, wherein the graphical user interface at least partially comprises a game scene and a first virtual game role, setting at least one first virtual control in a second touch display screen of the terminal device, and the second touch display screen is arranged at the side of the terminal device, and the method comprises the following steps: displaying a first game scene picture under a first game visual angle of a first virtual game role; responding to a first touch operation acted on a first target virtual control, and determining a second virtual game role corresponding to the first target virtual control, wherein the second virtual game role and the first virtual game role belong to the same battle, and at least one first virtual control comprises the first target virtual control; acquiring a second game view angle of a second virtual game role; and switching the game scene from the first game visual angle to a second game visual angle, and displaying a second game scene picture under the second game visual angle.

Optionally, when the second game scene screen is displayed under the second game visual angle, the method further comprises: and when the first touch operation acting on the first target virtual control is detected to be finished, switching the game scene from the second game visual angle back to the first game visual angle, and displaying a first game scene picture under the first game visual angle.

Optionally, when the second game scene screen is displayed under the second game visual angle, the method further comprises: responding to the first touch operation and sliding onto a second target virtual control, and determining a third virtual game role corresponding to the second target virtual control, wherein the third virtual game role and the first virtual game role belong to the same battle, and the second target virtual control is a first virtual control except the first target virtual control in at least two first virtual controls; acquiring a third game view angle of a third virtual game role; and switching the game scene from the second game visual angle to a third game visual angle, and displaying a third game scene picture under the third game visual angle.

Optionally, before determining, in response to a first touch operation acting on a first target virtual control, a second virtual game character corresponding to the first target virtual control, the method further includes: and responding to a second touch operation acted on a second virtual control, and determining to start the game visual angle switching function, wherein the second virtual control is arranged on the first touch display screen.

Optionally, after determining to turn on the game view switching function, the method further includes: acquiring at least one virtual game role belonging to the same battle as the first virtual game role; allocating virtual game characters to each first virtual control based on the positioning information of each virtual game character in the game scene; and determining the virtual game role assigned to each first virtual control as the virtual game role corresponding to each first virtual control.

Optionally, after determining to turn on the game view switching function, the method further includes: acquiring at least one virtual game role belonging to the same battle as the first virtual game role; responding to the allocation operation aiming at each first virtual control; and assigning each virtual game character selected by the assigning operation to the corresponding first virtual control.

Optionally, each first virtual control is associated with identification information of a corresponding virtual game character.

Optionally, when the second game scene screen is displayed under the second game visual angle, the method further comprises: in the second game scene screen, the virtual control is prohibited from being displayed.

Optionally, the first touch operation is a touch operation continuously acting on the first target virtual control.

In order to achieve the above object, according to another aspect of the present invention, there is provided a control apparatus of a game perspective. Provide graphical user interface through terminal equipment's first touch-control display screen, graphical user interface contains a game scene and a first virtual game role at least partially, sets up at least one first virtual control in terminal equipment's second touch-control display screen, and second touch-control display screen sets up in terminal equipment's side, and the device includes: a display unit for displaying a first game scene screen at a first game perspective of a first virtual game character; the determining unit is used for responding to a first touch operation acted on a first target virtual control and determining a second virtual game role corresponding to the first target virtual control, wherein the second virtual game role and the first virtual game role belong to the same formation, and at least one first virtual control comprises the first target virtual control; an acquisition unit configured to acquire a second game view of a second virtual game character; and the switching unit is used for switching the game scene from the first game visual angle to the second game visual angle and displaying a second game scene picture under the second game visual angle.

In order to achieve the above object, according to another aspect of the present invention, there is provided a storage medium. The storage medium stores a computer program, wherein when the computer program is executed by the processor, the apparatus where the storage medium is located is controlled to execute the method for controlling a game perspective according to the embodiment of the present invention.

In order to achieve the above object, according to another aspect of the present invention, an electronic device is provided. The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the control method of the game perspective of the embodiment of the invention.

In the method for controlling a game view angle according to the embodiment, a graphical user interface is provided through a first touch display screen of a terminal device, the graphical user interface at least partially includes a game scene and a first virtual game character, at least one first virtual control is set in a second touch display screen of the terminal device, the second touch display screen is arranged at a side of the terminal device, and a first game scene picture is displayed at a first game view angle of the first virtual game character; responding to a first touch operation acted on a first target virtual control, and determining a second virtual game role corresponding to the first target virtual control, wherein the second virtual game role and the first virtual game role belong to the same battle, and at least one first virtual control comprises the first target virtual control; acquiring a second game view angle of a second virtual game role; and switching the game scene from the first game visual angle to a second game visual angle, and displaying a second game scene picture under the second game visual angle. That is to say, by operating the virtual control on the second touch display screen on the side of the terminal device, the game view angle of the virtual game role can be switched quickly, and then the game scene picture of the switched game view angle is displayed, thereby effectively avoiding the conflict of important interaction modes such as two thumbs and the like, not occupying the display area in the first touch display screen, saving the interface space of the first touch display screen, solving the technical problem of low switching efficiency of the game view angle, and achieving the technical effect of improving the switching efficiency of the game view angle.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:

fig. 1 is a block diagram of a hardware configuration of a mobile terminal that executes a control method of a game view according to an embodiment of the present invention;

FIG. 2 is a flow chart of a method of controlling a game perspective according to an embodiment of the present invention;

fig. 3 is a schematic view for switching a view angle of a game according to one of the related art;

fig. 4 is a schematic view of switching a game view according to another related art;

FIG. 5 is a diagram of a side-screen mobile terminal, illustrating a virtual control that can interact with a development screen according to an embodiment of the present invention;

FIG. 6 is a diagram illustrating a method for determining whether to turn on a game view switching function according to an embodiment of the present invention;

FIG. 7 is a schematic diagram of assigning virtual game characters to respective virtual controls according to an embodiment of the present invention;

fig. 8 is a schematic view of a game view that causes a screen to display virtual game characters corresponding to other teammates according to a virtual control clicked by a user's finger during a battle according to an embodiment of the present invention;

FIG. 9 is a diagram illustrating a game scene screen automatically switched to an original game view by default when a finger is released according to an embodiment of the present invention;

FIG. 10 is a flowchart of a method of operation of a side screen switching game view according to an embodiment of the present invention; and

fig. 11 is a schematic diagram of a control device for a game perspective according to an embodiment of the invention.

Detailed Description

It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.

In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the operation on the mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of the control method for operating a game perspective according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.

The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a data processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.

In this embodiment, a control method for a game view angle running on the mobile terminal is provided, where a graphical user interface is provided through a first touch display screen of a terminal device, the graphical user interface at least partially includes a game scene and a first virtual game character, at least one first virtual control is set in a second touch display screen of the terminal device, and the second touch display screen is set at a side of the terminal device.

In this embodiment, the terminal device may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, etc., and is not limited herein; the first touch display screen may be a main screen of the terminal device, and is configured to provide a graphical user interface, where the graphical user interface at least partially includes a game scene and a first virtual game character, and the game scene may be a scene of a battle game application. The terminal device of this embodiment further includes a second touch display screen, where the second touch display screen is a flexible screen that is disposed on a side of the terminal device and is used for displaying and touch-controlling, and may also be referred to as a side screen, and at least one first virtual control is disposed on the second touch display screen, and each first virtual control corresponds to one virtual game character. The first virtual control is a button/icon arranged on the second touch display screen to replace a physical key function.

Fig. 2 is a flowchart of a method for controlling a game perspective according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:

in step S202, a first game scene screen is displayed at a first game perspective of a first virtual game character.

In the technical solution provided in step S202 of the present invention, the first virtual game character may be a virtual game character corresponding to a target account, where the target account is used for logging in a game application on a terminal device and corresponds to a user (player). The first game perspective of this embodiment is an in-game perspective when the first virtual game character is located at the center of the first touch display screen of the terminal device, that is, the game perspective of the user himself, where, for any virtual game character, the in-game perspective when the virtual game character is located at the center of the touch display screen in this embodiment may be referred to as the first perspective.

The first touch display screen of the embodiment displays a first game scene picture under the first game visual angle, and the first game scene picture is also a current game scene picture. Optionally, the first game scene picture of this embodiment is a scene picture in battle in which the first virtual game character participates.

Step S204, responding to the first touch operation acted on the first target virtual control, and determining a second virtual game role corresponding to the first target virtual control.

In the technical solution provided in step S204 of the present invention, after the first game scene picture is displayed at the first game perspective of the first virtual game character, the second virtual game character corresponding to the first target virtual control is determined in response to the first touch operation acting on the first target virtual control. The second virtual game role and the first virtual game role belong to the same camp, and the at least one first virtual control comprises a first target virtual control, wherein the at least one first virtual control is located in a sensing area of the second touch display screen, and each first virtual control is located in a different area in the sensing area. Optionally, the sensing area is located in an area of the second touch display screen convenient for the user to operate, for example, an area close to the index finger of the user.

In this embodiment, the second touch display screen on the side of the terminal device has an interactive function, on which a first target virtual control is arranged, the embodiment can detect a first touch operation in the sensing area, determine whether the first touch operation is a touch operation continuously acting on the first target virtual control, for example, a touch operation when the user's finger is in a continuous clicking state, if the first touch operation is determined to be the touch operation when the user's finger is in the continuous clicking state, it may be detected to which of the at least one first virtual control is located in the area acted by the first touch operation, if the area acted by the first touch operation is detected to belong to a first target virtual control in at least one first virtual control, a second virtual game role corresponding to the first target virtual control can be determined.

In this embodiment, since the first target virtual control is disposed on the second touch display screen located at the side of the terminal device, the display area in the first touch display screen (main screen) is not occupied, and the interface space of the first touch display screen is saved; in addition, the first touch operation can be triggered by the index finger of the user, so that the conflict of important interaction modes through the thumb can be effectively avoided, and the game visual angle switching operation can be carried out under the condition that the main game operation of the index finger is not influenced.

In this embodiment, a corresponding relationship is preset between the second virtual game character and the first target virtual game control, which may be a virtual game character whose distance from the first virtual game character exceeds a target threshold, that is, a virtual game character farther away from the first virtual game character. The second virtual game character is in the same battle with the first virtual game character, for example, if the game application is a battle game application and the battle of the virtual game character is 5V5, the second virtual game character is a virtual game character in other 4 virtual game characters except the first virtual game character in the same battle; for another example, if the play of the virtual game character is 3V3, the second virtual game character is a virtual game character among 2 virtual game characters other than the first virtual game character in the same play.

Step S206, a second game view of the second virtual game character is obtained.

In the technical solution provided in step S206 of the present invention, after determining the second virtual game character corresponding to the first target virtual control, a second game perspective of the second virtual game character is obtained, where the second game perspective is an in-game scene perspective when the second virtual game character is located at the center of the first touch display screen.

Step S208, the game scene is switched from the first game perspective to the second game perspective, and a second game scene picture is displayed at the second game perspective.

In the technical solution provided in step S208 of the present invention, after the second virtual game character corresponding to the first target virtual control is determined, the game scene is switched from the first game perspective to the second game perspective, and the second game scene picture is displayed at the second game perspective.

In this embodiment, the first touch display currently displays a first game scene screen at a first game viewing angle, after determining the second virtual game character corresponding to the first target virtual control, it may be determined that the user's intent is a desire to view the second virtual game character, the game scene may be switched from a first game perspective to a second game perspective, scene information at the second game perspective may be acquired, and then replacing the first game scene picture displayed by the first touch control display screen with a second game scene picture at a second game visual angle based on the scene information, therefore, the user can check the fighting condition of the second virtual game role, the purpose of accurately and quickly checking the condition of the second virtual game role is achieved, the problem that the display area of the game visual angle is inaccurate, and the user needs to repeatedly slide fingers to find the visual angle required by the user is avoided.

Through the above steps S202 to S208, a first game scene picture is displayed at a first game perspective of a first virtual game character; responding to a first touch operation acted on a first target virtual control, and determining a second virtual game role corresponding to the first target virtual control, wherein the second virtual game role and the first virtual game role belong to the same battle, and at least one first virtual control comprises the first target virtual control; acquiring a second game view angle of a second virtual game role; and switching the game scene from the first game visual angle to a second game visual angle, and displaying a second game scene picture under the second game visual angle. That is to say, in this embodiment, by operating the virtual control on the second touch display screen on the side of the terminal device, the game view angle of the virtual game character can be switched quickly, and then the game scene picture of the switched game view angle is displayed, and the virtual control on the second touch display screen can be controlled by the index finger (for example, the left index finger), thereby effectively avoiding the conflict of important interaction modes such as the two thumbs, not occupying the display area in the first touch display screen, saving the interface space of the first touch display screen, solving the technical problem of low switching efficiency of the game view angle, and achieving the technical effect of improving the switching efficiency of the game view angle.

The above method of this example is further illustrated below.

As an alternative embodiment, when the second game scene screen is displayed under the second game visual angle in step S208, the method further comprises: and when the first touch operation acting on the first target virtual control is detected to be finished, switching the game scene from the second game visual angle back to the first game visual angle, and displaying a first game scene picture under the first game visual angle.

In this embodiment, when the first touch display screen displays the second game scene screen at the second game viewing angle, if it is detected that the first touch operation acting on the first target virtual control is ended, that is, the first touch operation disappears, for example, when the user releases the touch on the first target virtual control, the first touch operation cannot be triggered, and at this time, the game scene is switched from the second game viewing angle to the first game viewing angle by default, and the first game scene screen is displayed again at the first game viewing angle.

As an alternative embodiment, when the second game scene screen is displayed under the second game visual angle in step S208, the method further comprises: responding to the first touch operation and sliding onto a second target virtual control, and determining a third virtual game role corresponding to the second target virtual control, wherein the third virtual game role and the first virtual game role belong to the same battle, and the second target virtual control is a first virtual control except the first target virtual control in at least two first virtual controls; acquiring a third game view angle of a third virtual game role; and switching the game scene from the second game visual angle to a third game visual angle, and displaying a third game scene picture under the third game visual angle.

In this embodiment, during the process of a game scene, for example, during a battle, the game view angle of the virtual game character corresponding to each first virtual control may be switched by operating a plurality of first virtual controls arranged on the second touch display screen. Optionally, a second target virtual control may be further disposed on a second touch display screen located at a side of the terminal device in this embodiment, and when a second game scene screen is displayed at a second game view angle, a second touch operation is detected, whether the second touch operation is a touch operation when the user finger is in a continuous click state may be determined, if the second touch operation is determined to be a touch operation when the user finger is in the continuous click state, which first virtual control of the at least one first virtual control the area affected by the second touch operation belongs to may be detected, and if the area affected by the second touch operation is detected to belong to a second target virtual control of the at least one first virtual control, a third virtual game character corresponding to the second target virtual control may be determined.

In this embodiment, a corresponding relationship is preset between the third virtual game character and the second target virtual game control, which may be a virtual game character whose distance from the first virtual game character exceeds a target threshold, that is, a virtual game character farther away from the first virtual game character. The third virtual game character is in the same battle as the first virtual game character, that is, the teammates of the first virtual game character and the second virtual game character, for example, if the game application is a battle game application and the battle of the virtual game character is 5V5, the third virtual game character is a virtual game character in 3 virtual game characters except the first virtual game character and the second virtual game character in the same battle; for another example, if the play of the virtual game character is 3V3, the second virtual game character is the remaining virtual game character in the same play, except for the first virtual game character and the second virtual game character.

After a third virtual game role corresponding to the second target virtual control is determined, a third game visual angle of the third virtual game role is obtained, wherein the third game visual angle is an in-game scene visual angle when the third virtual game role is located at the center of the first touch display screen.

After the third virtual game role corresponding to the second target virtual control is determined, the intention of the user can be determined to be the situation that the user wants to view the third virtual game role, the game scene can be switched from the second game visual angle to the third game visual angle, the scene information under the third game visual angle can be acquired, and then the second game scene picture displayed by the first touch display screen is replaced by the third game scene picture under the third game visual angle based on the scene information under the third game visual angle, so that the fighting situation of the third virtual game role can be viewed, the purpose of accurately and quickly viewing the situation of the third virtual game role is achieved, the problem that the display area of the game visual angle is inaccurate is avoided, and the user needs to find the visual angle required by the user through repeated sliding of fingers is avoided.

Optionally, the first touch operation and the second touch operation of this embodiment may be transitioned through a sliding touch operation, so that, through the above method, a user triggers a touch operation on at least one first virtual control set on the second touch display screen through finger sliding, so as to switch a game view angle of a virtual game character corresponding to the at least one first virtual control, and further display a game scene picture at the switched game view angle on the first touch display screen.

Optionally, in this embodiment, in the process that the finger of the user moves from the area of one first virtual control a to the area of another first virtual control b, the game scene picture of the game perspective corresponding to the first virtual control a is still displayed on the first touch display screen, that is, the game scene picture of the game perspective corresponding to the previous first virtual control is always displayed on the first touch display screen, and only when the finger of the user completely leaves the second touch display screen, the first game perspective of the user is switched back to, and the game scene picture of the first game perspective of the user is displayed, so that the game perspective can be prevented from being switched too much, and the observation error of the game perspective is reduced.

As an optional implementation manner, in step S204, before determining, in response to the first touch operation acting on the first target virtual control, the second virtual game character corresponding to the first target virtual control, the method further includes: and responding to a second touch operation acted on a second virtual control, and determining to start the game visual angle switching function, wherein the second virtual control is arranged on the first touch display screen.

In this embodiment, before responding to the first touch operation acting on the first target virtual control, it may be detected that the first touch operation is generated, for example, a user finger touches a second touch display screen of the terminal device, the first touch operation is generated, and then it is determined whether to turn on the game view switching function, that is, it is detected whether the terminal device turns on the game view switching function on the second touch display screen. If the game visual angle switching function is determined to be started, a second virtual game role corresponding to the first target virtual control can be determined in response to the first touch operation acting on the first target virtual control; and if the game visual angle switching function is determined not to be started, namely the terminal equipment closes the visual angle switching function, directly ending the game visual angle switching process. The visual angle switching function is an operation function for switching the game visual angle.

The embodiment can set in advance on the terminal device to determine whether to start the game view switching function. Optionally, a second virtual control is arranged on the first touch display screen in this embodiment, and if a second touch operation is detected on the second virtual control, a game view switching function on the second touch display screen may be started in response to the second touch operation; optionally, if the second touch operation is not detected on the second virtual control, it may be determined to close the game view switching function on the second touch display screen; optionally, in this embodiment, a virtual control dedicated to closing the game view switching function on the second touch display screen may be further provided, and after the corresponding touch operation is detected thereon, it may be determined to close the game view switching function on the second touch display screen.

It should be noted that the view switching function of this embodiment has a good fault tolerance, and a user can determine whether to use the view switching function according to his own habits.

As an optional implementation manner, after determining to turn on the game view switching function, the method further includes: acquiring at least one virtual game role belonging to the same battle as the first virtual game role; allocating virtual game characters to each first virtual control based on the positioning information of each virtual game character in the game scene; and determining the virtual game role assigned to each first virtual control as the virtual game role corresponding to each first virtual control.

In this embodiment, after determining that switching of the first game view is allowed, at least one virtual game character belonging to the same play as the first virtual game character may be acquired, and in a case where there are a plurality of virtual game characters, the plurality of virtual game characters include the second virtual game character and the third virtual game character, that is, virtual game characters corresponding to other teammates of the user. Optionally, in this embodiment, the positioning information of each virtual game character in the game scene may be acquired, and then the virtual game character is assigned to each first virtual control according to the positioning information of each virtual game character, for example, the distance between each virtual game character and the first virtual game character is determined according to the positioning information of each virtual game character in the game scene, the virtual game characters may be sorted according to the size of the distance, and then the correspondence between the virtual game characters and the first virtual controls is established.

Optionally, in this embodiment, the system may default the first virtual control corresponding to the number of the at least one virtual game character according to the number of the plurality of virtual game characters in the local game, for example, the system may automatically set the first virtual control that is the same as the number of the at least one virtual game character. Optionally, if the number of the first virtual controls displayed on the second display screen is less than the number of the plurality of virtual game characters, the first virtual controls may be added so that the number of the first virtual controls is the same as the number of the plurality of virtual game characters, so that the plurality of virtual game characters are in one-to-one correspondence with the plurality of first virtual controls; if the number of the first virtual controls displayed on the second display screen is larger than the number of the plurality of virtual game characters, the number of the first virtual controls can be reduced, so that the number of the first virtual controls is the same as the number of the plurality of virtual game characters, the plurality of virtual game characters are in one-to-one correspondence with the plurality of first virtual controls, or the plurality of virtual game characters are respectively allocated on the first virtual controls, and the first virtual controls which are not allocated to the virtual game characters are in a use prohibition state.

After each first virtual control is assigned with a virtual game role, the virtual game role assigned to each first virtual control is determined as the virtual game role corresponding to each first virtual control, for example, the virtual game role assigned to the first target virtual control is determined as the second virtual game role corresponding to the first target virtual control, the virtual game role assigned to the second target virtual control is determined as the third virtual game role corresponding to the second target virtual control.

As an optional implementation manner, after determining to turn on the game view switching function, the method further includes: acquiring at least one virtual game role belonging to the same battle as the first virtual game role; responding to the allocation operation aiming at each first virtual control; and assigning each virtual game character selected by the assigning operation to the corresponding first virtual control.

In this embodiment, the user can set which virtual game character corresponds to each first virtual control by himself. Optionally, in response to the allocation operation for each first virtual control, the virtual game character selected by each allocation operation is allocated to the corresponding first virtual control, where the allocation operation is an operation triggered by a user to allocate the corresponding virtual game character to each first virtual control. Optionally, in this embodiment, the system may first default the first virtual controls corresponding to the number of the plurality of virtual game characters according to the number of the plurality of virtual game characters in the local game, and then respond to the allocation operation for each first virtual control. After each first virtual control is assigned to a virtual game role, the virtual game role assigned to each first virtual control is determined as the virtual game role corresponding to each first virtual control.

As an alternative embodiment, each first virtual control is associated with identification information of a corresponding virtual game character.

In this embodiment, when determining the virtual game character corresponding to each first virtual control, the identification information of at least one virtual game character may be displayed on the first touch display screen, where the identification information may include, but is not limited to, a head portrait, an account number, a nickname, and the like, and at least one first virtual control may also be displayed, and the identification information of each first virtual control and the corresponding virtual game character may be displayed at a corresponding position to indicate that they have an association relationship, for example, at least one virtual game character is displayed in a first row of the first touch display screen, at least one first virtual control is displayed in a second row of the first touch display screen, and each column includes identification information and a virtual control that have an association relationship, that is, an association relationship is between the virtual game character and the virtual control corresponding to the identification information.

For example, the at least one virtual game character that is assigned to the same battle as the first virtual game character includes a road virtual game character, a single virtual game character, a down road virtual game character, and a wild virtual game character. Wherein, the head portrait of the virtual game role of the upper route is displayed above the virtual control 1, and the virtual game role of the upper route and the virtual control 1 have an incidence relation; the head portrait of the single virtual game role is displayed above the virtual control 2; the single virtual game role has an association relation with the virtual control 2; the head portrait of the virtual game role of the down route is displayed above the virtual control 3; the virtual game role of the down route and the virtual control 3 have an association relationship, the head portrait of the wild virtual game role is displayed above the virtual control 4, and the wild virtual game role and the virtual control 4 have an association relationship.

As an alternative embodiment, when displaying the second game scene under the second game perspective, the method further comprises: in the second game scene screen, the virtual control is prohibited from being displayed.

In this embodiment, when the second game scene screen is displayed at the second game viewing angle, only main information, such as only information of a map, battle data, and the like, may be displayed in the second game scene screen, and no virtual control is displayed, and the virtual control includes an interactive virtual control, so as to save an interface space and avoid interference of excessive information on the user's understanding of the main information in the second game scene screen.

It should be noted that, the game scene picture displayed after the embodiment is switched to any game view angle may only display the main information, and does not display any virtual control.

It should be noted that, switching the game view usually interrupts the fighting state of the game scene, but the embodiment can quickly switch the game scene picture of the virtual game character displayed on the first touch display screen by operating the virtual control on the second touch display screen at the side of the terminal device, so as to display the game scene picture of the switched game view, and can effectively avoid the conflict of important interaction modes such as thumb, etc. by operating the virtual control on the second touch display screen with the index finger, the display area in the first touch display screen is not occupied, the interface space of the first touch display screen is saved, so as to more conveniently and quickly switch the game view and the fighting in the game scene for linking, and solve the technical problem of low switching efficiency of the game view, the technical effect of improving the switching efficiency of the game visual angle is achieved.

The following further exemplifies the above technical solution of the embodiment of the present invention in a specific application scenario with reference to a preferred embodiment.

In a battle game at a Personal Computer (PC), due to numerous keys, a user can set shortcut keys by himself to switch the game visual angles of the user and teammates, wherein the game visual angle is the scene visual angle in the game when a virtual game role used by the user is positioned in the center of a screen. However, for a terminal device with a small screen, the number of keys that can be arranged is limited, and the function of switching the game view angle between the user and the teammate is not generally performed. The battle game application generally only clicks on the approximate area of the map, or slides the clear area in the center of the screen to move the game perspective.

Fig. 3 is a schematic view of switching a game view according to one of the related art. As shown in fig. 3, the user clicks or slides the small map area a at the upper left corner in the arrow direction with a finger to display the fighting situation in the approximate range of the area a. However, in this method, the occupation ratio between the area of the small map in the hand trip and the area of the entire screen is small, so that the finger operation difficulty of the user is large; the operation can obviously interrupt the current game state, and the game visual angle can not be conveniently and quickly switched to be connected with the battle in the game scene; after the finger clicks/slides the small map area a at the upper left corner, the display area is inaccurate, and the user needs to repeatedly slide the finger to find the information of the game scene at the game view angle required by the user.

Fig. 4 is a schematic view of switching a game view according to another related art. As shown in fig. 4, the user can view the fighting information from other game view angles, for example, view the fighting information outside the screen, through the hollow area B in the finger sliding interface. However, sliding is performed in a blank area in the center of the interface, and the touch difficulty of fingers is relatively large; the operation can obviously interrupt the current game state, and the game visual angle can not be conveniently and quickly switched to be connected with the battle in the game scene; the user cannot view the long-distance combat situation.

In the embodiment, the function of quickly switching the game view angles between individuals and teammates can be realized in competitive hand games; the battle situation of the teammates at a longer distance can be accurately and quickly checked; the game visual angle is switched and the battle in the game scene is linked more conveniently and quickly, and the conflict with the operations of character movement and battle is avoided; the operation has better fault tolerance, and the user can determine whether to use the device according to own habits.

The above-described method of this example is further illustrated below.

In the embodiment, a user can quickly switch teammates and own game visual angles in the screen by operating the virtual control of the side screen; the device can be controlled by the forefinger, so that the conflict of important interaction modes such as the thumb and the like is effectively avoided; the user can open/close the function according to the preference of the user, and can also freely set the role view angle corresponding to each key position.

Fig. 5 is a schematic diagram of a mobile terminal on a side screen, which is used for developing a virtual control that can interact with the mobile terminal on the side screen according to an embodiment of the present invention. As shown in fig. 5, for a mobile terminal with a local side screen, a virtual control 1, a virtual control 2, a virtual control 3, and a virtual control 4 that can interact with each other in the screen may be developed in a region C of the side screen.

It should be noted that the number of virtual controls is only an example, and the number of virtual controls is not limited in this embodiment.

Fig. 6 is a schematic diagram of determining whether to turn on a game view switching function according to an embodiment of the present invention. As shown in fig. 6, the user can turn on/off the "side screen switching view angle" function at the setting interface in the battle, for example, a prompt message "do you determine whether the game view angle switching function of the side screen needs to be turned on? ", and displays the virtual controls" do not turn "and" turn on ". When a user performs touch operation on the virtual control without opening, determining that the game visual angle switching function of the side screen does not need to be opened, and when the user performs touch operation on the virtual control with opening, determining that the game visual angle switching function of the side screen needs to be opened.

Fig. 7 is a schematic diagram of assigning virtual game characters to virtual controls according to an embodiment of the present invention. As shown in fig. 7, after the switching function of the side screen is turned on, the system may assign a game view angle of another virtual game character to each virtual control by default according to the positioning information of the virtual game character in the effective scene. Optionally, the user may also set a game view angle of which virtual game character each virtual control corresponds to by himself. For example, the virtual control 1 corresponds to the "up" character image of the online virtual game character, the virtual control 2 corresponds to the "middle" character image of the single virtual game character, the virtual control 3 corresponds to the "down" character image of the offline virtual game character, and the virtual control 4 corresponds to the "wild" character image of the wild virtual game character.

Optionally, in this embodiment, the system may default a number of virtual controls corresponding to the number of virtual game characters of teammates according to the number of virtual game characters in the local game, and the user may also delete a virtual control from the virtual controls, or may flexibly select a game view of a virtual game character corresponding to each virtual control.

Fig. 8 is a schematic diagram of a game view angle of a screen displaying virtual game characters corresponding to other teammates according to a virtual control clicked by a user finger in a battle according to an embodiment of the present invention. As shown in fig. 8, the virtual control 1 in the sensing region C corresponds to an online virtual game role, the virtual control 2 corresponds to a single virtual game role, the virtual control 3 corresponds to a offline virtual game role, and the virtual control 4 corresponds to a wild virtual game role. According to the virtual control 1 clicked by the finger of the user, the system enables the screen to display a game scene picture D under the game view angle of the virtual game role on the road corresponding to the virtual control 1. And the user slides the 4 virtual controls in the side screen area C with the finger to switch the game scene pictures at the game view angle of the virtual game characters corresponding to other teammates.

In the embodiment, the game visual angle switching can interrupt the battle state, the embodiment does not interrupt the current battle at all, but the visual angle switching and the battle are connected more conveniently and more quickly, and the operation of the side screen can be performed by the index finger of the left hand of the user, so that the operation in the screen can not be performed by the thumbs of the two hands.

Fig. 9 is a schematic diagram of a game scene picture automatically switched to an original game view by default when a finger is released according to an embodiment of the present invention. As shown in fig. 9, the virtual control 1 in the sensing region C corresponds to an online virtual game role, the virtual control 2 corresponds to a single virtual game role, the virtual control 3 corresponds to a offline virtual game role, and the virtual control 4 corresponds to a wild virtual game role. When the fingers of the user release the virtual control 1, the screen is automatically switched back to the game view angle of the user's own role/hero by default, and then a game scene picture E under the game view angle of the user's own role/hero is displayed.

The trigger mechanism for realizing the operation of switching the fighting viewing angles of the side screens in the embodiment is further described below.

Fig. 10 is a flowchart of an operation method of switching a game viewing angle by a side screen according to an embodiment of the present invention. As shown in fig. 10, the method may include the steps of:

in step S1001, the side screen of the terminal device receives a finger touch operation of a user.

Step S1002, detecting whether the terminal device starts the side screen switching function.

If the terminal device is detected to start the side screen switching function, executing step S1003; otherwise, ending the flow.

In step S1003, it is determined whether the user' S finger is in a continuous click state.

If the user finger is judged to be in the continuous clicking state, executing step S1004; otherwise, step S1005 is performed.

Step S1004, displaying a game scene picture of the virtual game role corresponding to the virtual control at the game view angle on the screen.

After detecting which virtual control the area clicked by the finger of the user belongs to, displaying a game scene picture of the virtual game role corresponding to the virtual control on the screen, and further continuing to execute step S1003 to determine whether the finger of the user is in a continuous click state.

In step S1005, the game scene screen at the game view angle of the virtual game character corresponding to the user is switched to or ended.

And if the finger of the user is not in the continuous clicking state, switching to the game scene picture under the game view angle of the virtual game role corresponding to the user.

In this embodiment, the sensing area is a range of a side screen of the terminal device, when a user finger touches the side screen, the user finger can detect which virtual control the operation touched area is located in under the condition that the user finger is in a continuous clicking state, and according to a detection result of the virtual control, a game scene picture of a virtual game character corresponding to the virtual control at a game view angle is displayed on the screen. The user can slide to the area of other virtual controls, so that the visual angles of a plurality of virtual game roles can be quickly switched, and when the finger of the user leaves the sensing area of the screen, the screen is automatically switched back to the game scene picture of the user under the game visual angle.

In this embodiment, when the finger of the user moves from the area of one virtual control to the area of another virtual control, the displayed game scene picture at the game view angle is still the game scene picture at the game view angle of the virtual game character corresponding to the previous virtual control, and only when the finger of the user completely leaves the side screen, the screen is automatically switched back to the game scene picture at the game view angle of the user, so that the game scene pictures at the game view angles can be prevented from being switched too much, and the observation error can be reduced.

This embodiment is through the virtual control on the side screen of operation terminal equipment, can the virtual game role's that the main screen shows game scene picture under the game visual angle of fast switch over, and can control the virtual control on the side screen through the forefinger, the conflict of important interactive mode such as thumb has been avoided effectively, also do not occupy the display area in the main screen, the interface space of main screen has been saved, thereby it is more convenient, the battle in switching game visual angle and the game scene links up more fast, the technical problem that the switching efficiency of game visual angle is low is solved, the technical effect of the switching efficiency who improves the game visual angle has been reached.

It should be noted that the method shown in fig. 5 to fig. 10 is only an example of the embodiment of the present invention, and does not represent that the method for controlling the game perspective of the embodiment of the present invention is only the above, and any scene that needs to quickly switch the game perspective of the virtual game character can adopt the method of the embodiment of the present invention, and no one example is described here.

The embodiment of the invention also provides a control device of the game visual angle. The method comprises the steps that a graphical user interface is provided through a first touch display screen of the terminal device, the graphical user interface at least partially comprises a game scene and a first virtual game role, at least one first virtual control is arranged in a second touch display screen of the terminal device, and the second touch display screen is arranged on the side of the terminal device. It should be noted that the control device of the game perspective of the embodiment can be used for executing the control method of the game perspective of the embodiment of the present invention.

Fig. 11 is a schematic diagram of a control device for a game perspective according to an embodiment of the invention. As shown in fig. 11, the control device 110 for the game view may include: a display unit 111, a determination unit 112, an acquisition unit 113, and a switching unit 114.

A display unit 111 for displaying a first game scene screen at a first game perspective of a first virtual game character.

The determining unit 112 is configured to determine, in response to a first touch operation acting on a first target virtual control, a second virtual game character corresponding to the first target virtual control, where the second virtual game character and the first virtual game character belong to the same play, and at least one first virtual control includes the first target virtual control.

An acquisition unit 113 for acquiring a second game perspective of the second virtual game character.

The switching unit 114 is configured to switch the game scene from the first game perspective to the second game perspective, and display a second game scene picture at the second game perspective.

The control device for the game visual angle of the embodiment can rapidly switch the game visual angle of the virtual game role by operating the virtual control on the second touch display screen at the side of the terminal device, so as to display the game scene picture of the switched game visual angle, and can control the virtual control on the second touch display screen through the index finger (for example, the index finger of the left hand), thereby effectively avoiding the conflict of important interaction modes such as two thumbs and the like, not occupying the display area in the first touch display screen, saving the interface space of the first touch display screen, solving the technical problem of low switching efficiency of the game visual angle, and achieving the technical effect of improving the switching efficiency of the game visual angle.

The embodiment of the invention also provides a storage medium, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute the control method of the game visual angle of the embodiment of the invention.

Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.

An embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to execute the method for controlling a game perspective according to the embodiment of the present invention.

Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.

It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.

The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:交互控制方法及装置、电子设备和计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类