Control method and device in game

文档序号:1604845 发布日期:2020-01-10 浏览:17次 中文

阅读说明:本技术 一种游戏中的控制方法及装置 (Control method and device in game ) 是由 李宇杰 于 2019-10-08 设计创作,主要内容包括:本申请提供了一种游戏中的控制方法及装置,通过响应作用于所述图形用户界面上的第一触控操作,在图形用户界面中确定第一显示区域和第二显示区域,并在第一显示区域显示所述第一游戏场景区域;在第二显示区域显示第二游戏场景区域,并在第二显示区域提供与所述第二游戏场景区域对应的第二操作响应区域;响应作用于第二操作响应区域的第二触控操作,控制第二游戏场景区域中的目标虚拟单位执行第二触控操作对应的游戏指令,使用户能够同时对两个不同游戏场景区域中的虚拟单位进行快速控制与部署,实现游戏中的多线控制,并提升游戏的可玩性与用户的操作流畅度,增加游戏的趣味程度及竞技性。(The application provides a control method and a control device in a game, wherein a first display area and a second display area are determined in a graphical user interface by responding to a first touch operation acting on the graphical user interface, and a first game scene area is displayed in the first display area; displaying a second game scene area in a second display area, and providing a second operation response area corresponding to the second game scene area in the second display area; and responding to a second touch operation acting on the second operation response area, and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation, so that a user can simultaneously and quickly control and deploy virtual units in two different game scene areas, multi-line control in the game is realized, the playability of the game and the operation fluency of the user are improved, and the interest degree and the competitive performance of the game are improved.)

1. A method of in-game control, the method comprising:

displaying a first game scene area of the game in a graphical user interface;

responding to a first touch operation acted on the graphical user interface, determining a first display area and a second display area in the graphical user interface, and displaying the first game scene area in the first display area;

displaying a second game scene area in the second display area, and providing a second operation response area corresponding to the second game scene area in the second display area;

and responding to a second touch operation acted on the second operation response area, and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation.

2. The method of claim 1, further comprising:

and updating the second game scene area displayed in the second display area according to the visual field switching operation in response to the visual field switching operation acting on the second operation response area.

3. The method according to claim 2, wherein the second operation response area includes a formation control, and the field-of-view switching operation includes a touch operation acting on the formation control;

updating the second game scene area displayed in the second display area according to the view switching operation in response to the view switching operation applied to the second operation response area, including:

and responding to the touch operation acted on the formation control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the formation control in the game scene.

4. The method of claim 3, wherein before the controlling the target virtual unit in the second game scene area to execute the game instruction corresponding to the second touch operation, the method further comprises:

and responding to the touch operation acted on the formation control, and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

5. The method according to claim 3, wherein the second operation response area comprises a game scene thumbnail, the game scene thumbnail comprises an identification control corresponding to the formation control, and the view switching operation comprises a touch operation acting on the identification control;

the updating the second game scene area displayed in the second display area according to the view switching operation in response to the view switching operation applied to the second operation response area includes:

and responding to the touch operation acted on the identification control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

6. The method according to claim 2, wherein the view switching operation includes a slide operation, and the updating the second game scene region displayed in the second display region in response to the view switching operation applied to the second operation response region includes:

and updating the second game scene area displayed in the second display area according to the sliding track of the sliding operation in response to the sliding operation acting on the second operation response area.

7. The method of claim 1, wherein prior to the controlling the virtual unit in the second game scene area to execute the game instruction corresponding to the second touch operation, the method further comprises:

in response to a unit selection operation applied to the second operation response region, the target virtual unit is selected in the second game scene region in accordance with the unit selection operation.

8. The method according to claim 7, wherein the second operation response region comprises an arm selection control, and the unit selection operation comprises a touch operation acting on the arm selection control;

the responding to the weapon seed selection operation acted on the second operation response area, and selecting a target virtual unit in the second game scene area according to the weapon seed selection operation comprises the following steps:

acquiring a virtual unit in the second game scene area currently displayed in the second display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

9. The method of claim 1, wherein the graphical user interface comprises a split screen control, and wherein the first touch operation comprises a touch operation applied to the split screen control.

10. The method of claim 9, further comprising:

and responding to screen closing operation acted on the second operation response area, deleting the first display area and the second display area, and displaying the first game scene area in the graphical user interface.

11. The method of claim 10, wherein the second operation response area comprises a screen-closing control, and the screen-closing operation comprises a touch operation acting on the screen-closing control.

12. The method of claim 1, further comprising:

providing a first operation response area corresponding to the first game scene area in the first display area;

and responding to a third touch operation acted on the first operation response area, and controlling a target virtual unit in the first game scene area to execute a game instruction corresponding to the third touch operation.

13. The method of claim 1, wherein said displaying the first game scene area in the first display area comprises:

and displaying the first game scene area reduced to the preset size in the first display area.

14. The method of claim 3, further comprising:

and responding to a formation change operation acted on a second response area, and setting the selected target virtual unit as a first virtual unit corresponding to the formation control according to the formation change operation.

15. The method of claim 14, wherein in response to a formation change operation acting on the second response region, setting the selected target virtual unit to the first virtual unit corresponding to the formation control according to the formation change operation comprises:

and responding to the formation change operation acted on the second response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

16. An in-game control apparatus, the apparatus comprising:

the display module is used for displaying a first game scene area of the game in a graphical user interface;

a first response module, configured to determine, in response to a first touch operation applied to the graphical user interface, a first display area and a second display area in the graphical user interface, display the first game scene area in the first display area, display the second game scene area in the second display area, and provide a second operation response area corresponding to the second game scene area in the second display area;

and the second response module is used for responding to a second touch operation acted on the second operation response area and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation.

17. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the in-game control method according to any one of claims 1 to 15.

18. A computer-readable storage medium, having stored thereon a computer program for performing, when executed by a processor, the steps of a control method in a game according to any one of claims 1 to 15.

Technical Field

The present application relates to the field of game technologies, and in particular, to a method and an apparatus for controlling a game.

Background

With the continuous development of the mobile touch terminal technology and the portability of the mobile touch terminal, more and more users play games by using the mobile touch terminal. In order to meet the increasing demands of users, the types of games that can be played on the mobile touch terminal are increasing, but are limited by the limitations of the conventional mobile touch terminal, and many types of games are difficult to be restored on the mobile touch terminal platform, for example, a Real-Time Strategy Game (RTS) originally running on a PC (personal computer) platform is difficult to be executed, because the RTS Game has a huge Game scene, a large number of operating units and a large operating amount demand, when the RTS Game is played on the mobile touch terminal, smooth Game operation is more difficult to be executed, double-thread control cannot be realized, and virtual units at different positions can be controlled and deployed quickly.

Disclosure of Invention

In view of the above, an object of the present application is to provide a method and an apparatus for controlling a game, which enable a user to simultaneously and rapidly control and deploy virtual units in two different game scene areas by displaying two different game scene areas in a graphical user interface, thereby implementing multi-line control in the game, improving playability of the game and smoothness of operation of the user, and increasing interest and competitive performance of the game.

The application provides a control method in a game, which comprises the following steps:

displaying a first game scene area of the game in a graphical user interface;

responding to a first touch operation acted on the graphical user interface, determining a first display area and a second display area in the graphical user interface, and displaying the first game scene area in the first display area;

displaying a second game scene area in the second display area, and providing a second operation response area corresponding to the second game scene area in the second display area;

and responding to a second touch operation acted on the second operation response area, and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation.

In one possible embodiment, the method further comprises:

and updating the second game scene area displayed in the second display area according to the visual field switching operation in response to the visual field switching operation acting on the second operation response area.

In a possible implementation manner, the second operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

updating the second game scene area displayed in the second display area according to the view switching operation in response to the view switching operation applied to the second operation response area, including:

and responding to the touch operation acted on the formation control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the formation control in the game scene.

In one possible implementation, before the controlling the target virtual unit in the second game scene area to execute the game instruction corresponding to the second touch operation, the method further includes:

and responding to the touch operation acted on the formation control, and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

In a possible implementation manner, the second operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the updating the second game scene area displayed in the second display area according to the view switching operation in response to the view switching operation applied to the second operation response area includes:

and responding to the touch operation acted on the identification control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In one possible embodiment, the view switching operation includes a slide operation, and the updating the second game scene region displayed in the second display region in response to the view switching operation applied to the second operation response region includes:

and updating the second game scene area displayed in the second display area according to the sliding track of the sliding operation in response to the sliding operation acting on the second operation response area.

In one possible implementation, before the controlling the virtual unit in the second game scene area to execute the game instruction corresponding to the second touch operation, the method further includes:

in response to a unit selection operation applied to the second operation response region, the target virtual unit is selected in the second game scene region in accordance with the unit selection operation.

In a possible implementation manner, the second response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the responding to the weapon seed selection operation acted on the second operation response area, and selecting a target virtual unit in the second game scene area according to the weapon seed selection operation comprises the following steps:

acquiring a virtual unit in the second game scene area currently displayed in the second display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In a possible implementation manner, the graphical user interface includes a split screen control, and the first touch operation includes a touch operation acting on the split screen control.

In one possible embodiment, the method further comprises:

and responding to screen closing operation acted on the second operation response area, deleting the first display area and the second display area, and displaying the first game scene area in the graphical user interface.

In a possible implementation manner, the second operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In one possible embodiment, the method further comprises:

providing a first operation response area corresponding to the first game scene area in the first display area;

and responding to a third touch operation acted on the first operation response area, and controlling a target virtual unit in the first game scene area to execute a game instruction corresponding to the third touch operation.

In one possible embodiment, the displaying the first game scene area in the first display area includes:

and displaying the first game scene area reduced to the preset size in the first display area.

In one possible embodiment, the method further comprises:

and responding to a formation change operation acted on a second response area, and setting the selected target virtual unit as a first virtual unit corresponding to the formation control according to the formation change operation.

In one possible implementation, in response to a formation change operation performed on the second response area, setting the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation includes:

and responding to the formation change operation acted on the second response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

In one possible embodiment, the method further comprises:

and updating the first game scene area displayed in the first display area according to the visual field switching operation in response to the visual field switching operation acting on the first operation response area.

In a possible implementation manner, the first operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

in response to a view switching operation applied to the first operation response region, updating the first game scene region displayed in the first display region according to the view switching operation, including:

and responding to the touch operation acted on the formation control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the formation control in a game scene.

In one possible implementation, before the controlling the target virtual unit in the first game scene area to execute the game instruction corresponding to the first touch operation, the method further includes:

and responding to the touch operation acted on the formation control, and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

In a possible implementation manner, the first operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the updating the first game scene area displayed in the first display area according to the view switching operation in response to the view switching operation applied to the first operation response area includes:

and responding to the touch operation acted on the identification control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In one possible embodiment, the view switching operation includes a slide operation, and the updating the first game scene region displayed in the first display region in response to the view switching operation applied to the first operation response region includes:

and updating the first game scene area displayed in the first display area according to the sliding track of the sliding operation in response to the sliding operation acting on the first operation response area.

In one possible implementation, before the controlling the virtual unit in the first game scene area to execute the game instruction corresponding to the first touch operation, the method further includes:

in response to a unit selection operation applied to the first operation response region, the target virtual unit is selected in the first game scene region in accordance with the unit selection operation.

In a possible implementation manner, the first response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the responding to the weapon seed selection operation acted on the first operation response area, and selecting a target virtual unit in the first game scene area according to the weapon seed selection operation comprises the following steps:

acquiring a virtual unit in the first game scene area currently displayed in the first display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In one possible embodiment, the method further comprises:

and responding to screen closing operation acted on the first operation response area, deleting the first display area and the second display area, and displaying the second game scene area in the graphical user interface.

In a possible implementation manner, the first operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In one possible embodiment, the method further comprises:

and responding to a formation change operation acted on a first response area, and setting the selected target virtual unit as a first virtual unit corresponding to the formation control according to the formation change operation.

In one possible implementation, in response to a formation change operation performed on the first response area, setting the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation includes:

and responding to the formation change operation acted on the first response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

The present application also provides a control device in a game, the device comprising:

the display module is used for displaying a first game scene area of the game in a graphical user interface;

a first response module, configured to determine, in response to a first touch operation applied to the graphical user interface, a first display area and a second display area in the graphical user interface, display the first game scene area in the first display area, display the second game scene area in the second display area, and provide a second operation response area corresponding to the second game scene area in the second display area;

and the second response module is used for responding to a second touch operation acted on the second operation response area and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation.

In a possible embodiment, the apparatus further comprises:

and the third response module is used for responding to the visual field switching operation acted on the second operation response region and updating the second game scene region displayed in the second display region according to the visual field switching operation.

In a possible implementation manner, the second operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

the third response module, in response to a view switching operation applied to the second operation response region, is specifically configured to, when the second game scene region displayed in the second display region is updated according to the view switching operation:

and responding to the touch operation acted on the formation control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the formation control in the game scene.

In a possible embodiment, the apparatus further comprises:

and the fourth response module is used for responding to the touch operation acted on the formation control and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

In a possible implementation manner, the second operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the third response module, in response to a view switching operation applied to the second operation response region, is specifically configured to, when the second game scene region displayed in the second display region is updated according to the view switching operation:

and responding to the touch operation acted on the identification control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In a possible implementation manner, the view switching operation includes a sliding operation, and the third response module, when updating the second game scene area displayed in the second display area in response to the view switching operation applied to the second operation response area, is specifically configured to:

and updating the second game scene area displayed in the second display area according to the sliding track of the sliding operation in response to the sliding operation acting on the second operation response area.

In a possible embodiment, the apparatus further comprises:

a fifth responding module, configured to respond to a unit selection operation applied to the second operation responding area, and select the target virtual unit in the second game scene area according to the unit selection operation.

In a possible implementation manner, the second response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the fourth response module is specifically configured to, in response to an ordnance selection operation acting on the second operation response region, when selecting a target virtual unit in the second game scene region according to the ordnance selection operation:

acquiring a virtual unit in the second game scene area currently displayed in the second display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In a possible implementation manner, the graphical user interface includes a split screen control, and the first touch operation includes a touch operation acting on the split screen control.

In a possible embodiment, the apparatus further comprises:

and the sixth response module is used for responding to screen closing operation acted on the second operation response area, deleting the first display area and the second display area and displaying the first game scene area in the graphical user interface.

In a possible implementation manner, the second operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In one possible implementation, the first response module is further configured to:

providing a first operation response area corresponding to the first game scene area in the first display area;

the second response module is further to:

and responding to a third touch operation acted on the first operation response area, and controlling a target virtual unit in the first game scene area to execute a game instruction corresponding to the third touch operation.

In a possible implementation manner, when the first response module executes displaying the first game scene area in the first display area, the first response module is specifically configured to:

and displaying the first game scene area reduced to the preset size in the first display area.

In a possible embodiment, the apparatus further comprises:

and the seventh response module is used for responding to the formation change operation acted on the second response area and setting the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation.

In a possible implementation manner, when responding to a formation change operation applied to the second response area and setting the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation, the seventh response module is specifically configured to:

and responding to the formation change operation acted on the second response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

In one possible implementation, the third response module is further configured to:

and updating the first game scene area displayed in the first display area according to the visual field switching operation in response to the visual field switching operation acting on the first operation response area.

In a possible implementation manner, the first operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

the third response module, in response to a view switching operation applied to the first operation response region, is specifically configured to, when the first game scene region displayed in the first display region is updated according to the view switching operation:

and responding to the touch operation acted on the formation control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the formation control in a game scene.

In one possible implementation, the fourth response module is further configured to:

and responding to the touch operation acted on the formation control, and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

In a possible implementation manner, the first operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the third response module, in response to a view switching operation applied to the first operation response region, is specifically configured to, when the first game scene region displayed in the first display region is updated according to the view switching operation:

and responding to the touch operation acted on the identification control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In a possible implementation manner, the view switching operation includes a sliding operation, and the third response module, when updating the first game scene area displayed in the first display area in response to the view switching operation applied to the first operation response area, is specifically configured to:

and updating the first game scene area displayed in the first display area according to the sliding track of the sliding operation in response to the sliding operation acting on the first operation response area.

In one possible implementation, the fifth response module is further configured to:

in response to a unit selection operation applied to the first operation response region, the target virtual unit is selected in the first game scene region in accordance with the unit selection operation.

In a possible implementation manner, the first response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the fourth response module is specifically configured to, in response to an army selection operation acting on the first operation response region, select a target virtual unit in the first game scene region according to the army selection operation:

acquiring a virtual unit in the first game scene area currently displayed in the first display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In one possible implementation, the sixth response module is further configured to:

and responding to screen closing operation acted on the first operation response area, deleting the first display area and the second display area, and displaying the second game scene area in the graphical user interface.

In a possible implementation manner, the first operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In one possible implementation, the seventh response module is further configured to:

and responding to a formation change operation acted on a first response area, and setting the selected target virtual unit as a first virtual unit corresponding to the formation control according to the formation change operation.

In a possible implementation manner, when responding to a formation change operation applied to the first response area and setting the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation, the seventh response module is specifically configured to:

and responding to the formation change operation acted on the first response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

The present application further provides an electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the method of controlling in a game as described above.

Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to execute the steps of the control method in the game as described above.

According to the control method and device in the game, a first game scene area of the game is displayed in a graphical user interface; then, responding to a first touch operation acted on the graphical user interface, determining a first display area and a second display area in the graphical user interface, and displaying the first game scene area in the first display area; displaying a second game scene area in the second display area, and providing a second operation response area corresponding to the second game scene area in the second display area; and finally, responding to a second touch operation acted on the second operation response area, and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation. Compared with the prior art, the method and the device have the advantages that the two different game scene areas can be displayed in the graphical user interface, so that a user can simultaneously and rapidly control and deploy the virtual units in the two different game scene areas, multi-line control in the game is realized, the playability of the game and the operation smoothness of the user are improved, and the interesting degree and the competitive performance of the game are improved.

In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.

FIG. 1 is a flow chart illustrating a method for controlling a game according to an embodiment of the present disclosure;

FIG. 2 is a schematic diagram illustrating a graphical user interface before responding to a first touch operation in the in-game control method according to the embodiment of the present application;

FIG. 3 is a schematic diagram illustrating a graphical user interface after responding to a first touch operation in the in-game control method according to the embodiment of the present application;

FIG. 4 is a schematic diagram of a control device in a game according to an embodiment of the present disclosure;

fig. 5 is a second schematic structural diagram of a control device in a game according to an embodiment of the present application;

fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.

First, an application scenario to which the present application is applicable will be described. The method and the device can be applied to control of games in the touch terminal, such as games running on terminals such as smart phones, tablet computers and folding screen intelligent terminals, and particularly instant strategy games running on the folding screen intelligent terminals.

Research shows that, in the Real-time strategic Game (RTS) originally running on a PC (personal computer) platform, because the RTS Game has a huge Game scene, a large number of operation units and a large operation amount requirement, when the RTS Game is played on a mobile touch terminal, smooth Game operation is more difficult to perform, double-thread control cannot be realized, and virtual units at different positions can be rapidly controlled and deployed.

Based on this, the embodiment of the application provides a control method in a game, and two different game scene areas are displayed in a graphical user interface, so that a user can simultaneously and rapidly control and deploy virtual units in the two different game scene areas, multi-line control in the game is realized, the playability of the game and the operation fluency of the user are improved, and the interest degree and the competitive performance of the game are increased.

Referring to fig. 1, fig. 1 is a flowchart illustrating a control method in a game according to an embodiment of the present disclosure. As shown in fig. 1, a method for controlling in a game provided in an embodiment of the present application includes:

s101, displaying a first game scene area of the game in a graphical user interface.

In this step, a graphical user interface may be provided through a screen of the intelligent terminal, and a first game scene area of the game is displayed in the graphical user interface, specifically, the game scene in the game is relatively large and generally exceeds a display range of the screen, the first game scene area may be a partial area in the game scene, and the size of the first game scene area may be any size. In the present exemplary embodiment, the size of the first game scene area is the same as the display size of the screen (i.e., the entire graphical user interface).

In the present exemplary embodiment, a third operation response area corresponding to the first game scene area may be further provided on the graphical user interface for controlling at least the target virtual unit in the first game scene area to execute a corresponding game instruction. The third operation response area can be respectively provided with independent UI controls, and a user can control the first game scene area and the virtual units in the first game scene area through the UI controls.

S102, responding to a first touch operation acted on the graphical user interface, determining a first display area and a second display area in the graphical user interface, and displaying the first game scene area in the first display area.

In this step, the intelligent terminal may obtain a first touch operation input by a user on the graphical user interface, and partition the graphical user interface into a first display area and a second display area according to the first touch operation, where the sizes of the first display area and the second display area and the positions of the first display area and the second display area in the graphical user interface.

The displaying of the first game scene area on the first display area may be displaying a part of the first game scene area on the first display area, displaying a complete first game scene area, or displaying a game scene area including the first game scene area. Specifically, since the graphical interface is divided into a first display area and a second display area, the display range of the first display area is smaller than that of the original graphical interface, and the aspect ratio is changed, when the first game scene area is displayed in the first display area, a part with the same size as the first display area can be intercepted from the original first game scene area according to the size of the first display area for display; or the original first game scene area can be reduced in equal proportion for display according to the size and the length-width ratio of the first display area; or acquiring a game scene area containing the original first game scene area according to the size and the aspect ratio of the first display area, and displaying the game scene area in an equal-scale reduction mode.

The first touch operation may be a touch operation such as a tap, a heavy press, a double click, a long press, and the like. Specifically, a split screen control may be set on a graphical user interface of the intelligent terminal, specifically, the split screen control may be tapped, that is, the first touch operation is performed once.

S103, displaying a second game scene area in the second display area, and providing a second operation response area corresponding to the second game scene area in the second display area.

In this step, a second game scene area may be displayed on the second display area, where the second game scene area and the first game scene area are both part of the game scene, and the second game scene area may be the same as or different from the first game scene area; and a second operation response area corresponding to the second game scene area can be provided in the second display area, the second operation response area and a first operation response area for controlling the first game scene area are independent from each other and do not affect each other, the two operation response areas can be respectively provided with independent UI controls, and each set of UI controls only controls the game scene area in the corresponding display area. The user can control different game scene areas and virtual units in different game scene areas through the UI controls.

With reference to the above-described embodiments, providing, in the second display area, a second manipulation response area corresponding to the second game scene area, the second manipulation response area being independent of the first manipulation response area controlling the first game scene area, includes: canceling the third operation response area of the graphical user interface; and providing a first operation response area corresponding to the first game scene area in the first display area, and providing a second operation response area corresponding to the second game scene area in the second display area.

Specifically, when a user plays an RTS game, after determining a first display area and a second display area, a second game scene area in the second display area may be freely changed according to a manipulation instruction of the user, at this time, the first game scene area in the first display area is not changed with a change of the second game scene area in the second display area, the user may change the game scene area in the display area for different display areas, observe a base of an enemy or a movement direction of a team in one display area, and simultaneously control an offensive team to attack the base of the enemy in the other display area, thereby implementing two-line control in the game.

And S104, responding to a second touch operation acted on the second operation response area, and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation.

In this step, the target virtual unit in the second game scene area may be controlled to execute the game instruction corresponding to the second touch operation through the second touch operation in the second operation response area. Specifically, operations such as control of target virtual unit movement, attack, and the like are performed.

The target virtual unit can be a game unit selected in the game, and the game unit can be a building, a chariot, an infantry and the like.

In one possible embodiment, the method further comprises:

and updating the second game scene area displayed in the second display area according to the visual field switching operation in response to the visual field switching operation acting on the second operation response area.

In this step, when the field of view switching operation is detected in the second operation response region, the game scene region corresponding to the field of view switching operation may be set as a new second game scene region according to the action position of the field of view switching operation or the carried field of view switching information, and the new second game scene region may be displayed on the second display region.

In a possible implementation manner, the second operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

updating the second game scene area displayed in the second display area according to the view switching operation in response to the view switching operation applied to the second operation response area, including:

and responding to the touch operation acted on the formation control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the formation control in the game scene.

In this step, a formation control may be deployed at a preset position of the second operation response region, where the formation control includes a plurality of formation sub-controls, each formation sub-control corresponds to one formation (i.e., all the first virtual units corresponding to the sub-formation control), and an action position of the operation on the formation control may be switched according to the field of view, so as to determine a formation corresponding to the operation, and a game scene region where the formation is located is used as a second game scene region and displayed on a second display region.

In one possible implementation, before the controlling the target virtual unit in the second game scene area to execute the game instruction corresponding to the second touch operation, the method further includes:

and responding to the touch operation acted on the formation control, and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

In this step, the second game scene area may be updated to the game scene area corresponding to the formation control by a touch operation of the formation control, and the first virtual unit corresponding to the formation control is selected, where the first virtual unit in the selected state is the target virtual unit, so as to control the target virtual unit to execute the game instruction according to the second touch operation of the user.

In a possible implementation manner, the second operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the updating the second game scene area displayed in the second display area according to the view switching operation in response to the view switching operation applied to the second operation response area includes:

and responding to the touch operation acted on the identification control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In this step, a game scene thumbnail, that is, a small map of the game, may be set in the second operation response area, the game scene thumbnail is provided with a plurality of identification controls, each identification control corresponds to a formation sub-control in a formation control, that is, each identification control corresponds to a formation, after a touch operation acting on the identification control is detected, the position of a virtual unit in the formation corresponding to the identification control in the game scene may be determined, and the game scene area where the corresponding virtual unit is located may be set as the second game scene area and displayed in the second display area.

Further, the position of the identification control in the game scene thumbnail may correspond to the position of the virtual unit corresponding to the formation in the game scene, and specifically, if the formation is located at the center of the game scene, the identification control corresponding to the formation is also located at the center of the game scene thumbnail.

In one possible embodiment, the view switching operation includes a slide operation, and the updating the second game scene region displayed in the second display region in response to the view switching operation applied to the second operation response region includes:

and updating the second game scene area displayed in the second display area according to the sliding track of the sliding operation in response to the sliding operation acting on the second operation response area.

In this step, the target game scene area may be determined according to the sliding direction, the sliding distance, and the sliding speed of the sliding trajectory, and may be displayed on the second display area as the second game scene area.

In one possible implementation, before the controlling the virtual unit in the second game scene area to execute the game instruction corresponding to the second touch operation, the method further includes:

in response to a unit selection operation applied to the second operation response region, the target virtual unit is selected in the second game scene region in accordance with the unit selection operation.

In this step, the clicked virtual unit may be selected as the target virtual unit by clicking the virtual unit, or a plurality of virtual units may be selected in batch by a preset selection method (for example, clicking a certain virtual unit and selecting all virtual units in the second game scene area that have the same category as the virtual unit).

In a possible implementation manner, the second response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the responding to the weapon seed selection operation acted on the second operation response area, and selecting a target virtual unit in the second game scene area according to the weapon seed selection operation comprises the following steps:

acquiring a virtual unit in the second game scene area currently displayed in the second display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In this step, the virtual units of the specific weapons can be selected through the weapon selection control arranged in the second operation response area. Specifically, the weapon selection control may include a plurality of weapon selection sub-controls, each weapon selection sub-control corresponds to a weapon of a virtual unit in a game, and may include soldiers, combat vehicles, heros and other weapon types. The weapon selection control can be displayed in the second operation response area in a folding mode.

Furthermore, the field of view can be switched through the weapon selection control, the touch operation acting on the weapon selection control can be responded, and the second game scene area displayed in the second display area is updated according to the position of the second virtual unit, corresponding to the weapon selection control, in the first virtual unit in the game scene.

In a possible implementation manner, the graphical user interface includes a split screen control, and the first touch operation includes a touch operation acting on the split screen control.

In one possible embodiment, the method further comprises:

and responding to screen closing operation acted on the second operation response area, deleting the first display area and the second display area, and displaying the first game scene area in the graphical user interface.

Specifically, when a screen closing operation acting on a second operation response area is responded, the first display area and the second display area are deleted, the user graphical interface is restored to a state before responding to the first touch operation, and the first game scene area is displayed in the user graphical interface; further, if the screen-closing operation is an operation acting on the first operation response area, the second game scene area is displayed in the user graphical interface.

In a possible implementation manner, the second operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In one possible embodiment, the method further comprises:

and responding to a formation change operation acted on a second response area, and setting the selected target virtual unit as a first virtual unit corresponding to the formation control according to the formation change operation.

In this step, the selected target virtual unit may be queued according to an action position of the queuing change operation or a carried instruction, and set as a first virtual unit corresponding to one queuing sub-control in the queuing control.

Specifically, if the formation change operation is acted on a first formation child control in the formation control, the formation change operation is set as a first virtual unit of the first formation.

In one possible implementation, in response to a formation change operation performed on the second response area, setting the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation includes:

and responding to the formation change operation acted on the second response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

In this step, if the first virtual unit already exists in the formation corresponding to the formation change operation, the currently selected target virtual unit is used to replace the existing first virtual unit.

In one possible embodiment, the method further comprises:

providing a first operation response area corresponding to the first game scene area in the first display area;

and responding to a third touch operation acted on the first operation response area, and controlling a target virtual unit in the first game scene area to execute a game instruction corresponding to the third touch operation.

In one possible embodiment, the displaying the first game scene area in the first display area includes:

and displaying the first game scene area reduced to the preset size in the first display area.

In one possible embodiment, the method further comprises:

and updating the first game scene area displayed in the first display area according to the visual field switching operation in response to the visual field switching operation acting on the first operation response area.

In a possible implementation manner, the first operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

in response to a view switching operation applied to the first operation response region, updating the first game scene region displayed in the first display region according to the view switching operation, including:

and responding to the touch operation acted on the formation control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the formation control in a game scene.

In one possible implementation, before the controlling the target virtual unit in the first game scene area to execute the game instruction corresponding to the first touch operation, the method further includes:

and responding to the touch operation acted on the formation control, and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

In a possible implementation manner, the first operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the updating the first game scene area displayed in the first display area according to the view switching operation in response to the view switching operation applied to the first operation response area includes:

and responding to the touch operation acted on the identification control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In one possible embodiment, the view switching operation includes a slide operation, and the updating the first game scene region displayed in the first display region in response to the view switching operation applied to the first operation response region includes:

and updating the first game scene area displayed in the first display area according to the sliding track of the sliding operation in response to the sliding operation acting on the first operation response area.

In one possible implementation, before the controlling the virtual unit in the first game scene area to execute the game instruction corresponding to the first touch operation, the method further includes:

in response to a unit selection operation applied to the first operation response region, the target virtual unit is selected in the first game scene region in accordance with the unit selection operation.

In a possible implementation manner, the first response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the responding to the weapon seed selection operation acted on the first operation response area, and selecting a target virtual unit in the first game scene area according to the weapon seed selection operation comprises the following steps:

acquiring a virtual unit in the first game scene area currently displayed in the first display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In one possible embodiment, the method further comprises:

and responding to screen closing operation acted on the first operation response area, deleting the first display area and the second display area, and displaying the second game scene area in the graphical user interface.

In a possible implementation manner, the first operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In one possible embodiment, the method further comprises:

and responding to a formation change operation acted on a first response area, and setting the selected target virtual unit as a first virtual unit corresponding to the formation control according to the formation change operation.

In one possible implementation, in response to a formation change operation performed on the first response area, setting the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation includes:

and responding to the formation change operation acted on the first response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

For the description of the first response region, reference may be made to the description of the second response region, and the same technical effects may be achieved, which is not described herein again.

Referring to fig. 2 and 3, fig. 2 is a schematic diagram of a graphical user interface before responding to a first touch operation in the control method in the game provided by the embodiment of the present application, and fig. 3 is a schematic diagram of a graphical user interface after responding to a first touch operation in the control method in the game provided by the embodiment of the present application.

As shown in fig. 2 and 3, before responding to the first touch operation, a first game scene area 210 is displayed in the entire graphical user interface, a third operation response area is set in the user graphical interface, the third operation response area may cover the entire graphical user interface or may be a partial touch area on the graphical user interface, the third operation response area includes a split screen control 201, an army selection control 202, a formation change control 203, a formation control 204, and a game scene thumbnail 205 that are acted by the first touch operation, and an identification control of a formation is displayed in the game scene thumbnail 205; after responding to the first touch operation, determining a first display area 3100 and a second display area 3200 in the graphical user interface, and displaying the first game scene area 310 in the first display area 3100 and the second game scene area 320 in the second display area 3200; providing a second operation response area corresponding to the second game scene area in the second display area, and providing a first operation response area corresponding to the first game scene area in the first display area, where it can be understood that the second operation response area may cover the entire second display area, or may be a partial touch area in the second display area; the second operation response area includes a plurality of function controls with visual indications for indicating functions that can be implemented by acting on the controls, and may include, for example, a screen split/close control 301, an arm selection control 302, a formation change control 303, a formation control 304, and a game scene thumbnail 305, and an identification control of a team displayed in the game scene thumbnail 305.

According to the control method in the game, firstly, a first game scene area of the game is displayed in a graphical user interface; then, responding to a first touch operation acted on the graphical user interface, determining a first display area and a second display area in the graphical user interface, and displaying the first game scene area in the first display area; displaying a second game scene area in the second display area, and providing a second operation response area corresponding to the second game scene area in the second display area; and finally, responding to a second touch operation acted on the second operation response area, and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation. Compared with the prior art, the method and the device have the advantages that the two different game scene areas can be displayed in the graphical user interface, so that a user can simultaneously and rapidly control and deploy the virtual units in the two different game scene areas, multi-line control in the game is realized, the playability of the game and the operation smoothness of the user are improved, and the interesting degree and the competitive performance of the game are improved.

Referring to fig. 4 and 5, fig. 4 is a first schematic structural diagram of a control device in a game according to an embodiment of the present application, and fig. 5 is a second schematic structural diagram of a control device in a game according to an embodiment of the present application. As shown in fig. 4, the in-game control apparatus 400 includes:

a display module 410 for displaying a first game scene area of the game in a graphical user interface;

a first response module 420, configured to, in response to a first touch operation applied to the graphical user interface, determine a first display area and a second display area in the graphical user interface, display the first game scene area in the first display area, display the second game scene area in the second display area, and provide a second operation response area corresponding to the second game scene area in the second display area;

a second response module 430, configured to respond to a second touch operation applied to the second operation response area, and control a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation.

As shown in fig. 5, in one possible embodiment, the in-game control device 500 includes a display module 510, a first response module 520, a second response module 530, and a third response module 540:

the third responding module 540 is configured to respond to a view switching operation applied to the second operation responding area, and update the second game scene area displayed in the second display area according to the view switching operation.

In a possible implementation manner, the second operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

the third responding module 540 is specifically configured to, in response to the view switching operation applied to the second operation responding area, update the second game scene area displayed in the second display area according to the view switching operation:

and responding to the touch operation acted on the formation control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the formation control in the game scene.

In one possible embodiment, the in-game control device 500 further comprises:

a fourth response module 550, configured to select, in response to the touch operation applied to the formation control, the first virtual unit corresponding to the formation control as the target virtual unit.

In a possible implementation manner, the second operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the third responding module 540 is specifically configured to, in response to the view switching operation applied to the second operation responding area, update the second game scene area displayed in the second display area according to the view switching operation:

and responding to the touch operation acted on the identification control, and updating the second game scene area displayed in the second display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In a possible implementation manner, the view switching operation includes a sliding operation, and the third responding module 540, when updating the second game scene area displayed in the second display area in response to the view switching operation applied to the second operation responding area, is specifically configured to:

and updating the second game scene area displayed in the second display area according to the sliding track of the sliding operation in response to the sliding operation acting on the second operation response area.

In one possible embodiment, the in-game control device 500 further comprises:

a fifth responding module 560, configured to respond to a unit selecting operation applied to the second operation responding area, and select the target virtual unit in the second game scene area according to the unit selecting operation.

In a possible implementation manner, the second response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the fourth response module 550 is specifically configured to, in response to the weapon seed selection operation applied to the second operation response area, when selecting the target virtual unit in the second game scene area according to the weapon seed selection operation:

acquiring a virtual unit in the second game scene area currently displayed in the second display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In a possible implementation manner, the graphical user interface includes a split screen control, and the first touch operation includes a touch operation acting on the split screen control.

In one possible embodiment, the in-game control device 500 further comprises:

a sixth response module 570, configured to delete the first display area and the second display area in response to a screen-closing operation applied to the second operation response area, and display the first game scene area in the graphical user interface.

In a possible implementation manner, the second operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In a possible implementation, the first response module 520 is further configured to:

providing a first operation response area corresponding to the first game scene area in the first display area;

the second response module 530 is further configured to:

and responding to a third touch operation acted on the first operation response area, and controlling a target virtual unit in the first game scene area to execute a game instruction corresponding to the third touch operation.

In a possible implementation manner, when the first response module 520 displays the first game scene area in the first display area, it is specifically configured to:

and displaying the first game scene area reduced to the preset size in the first display area.

In one possible embodiment, the in-game control device 500 further comprises:

and a seventh response module 580, configured to, in response to the formation change operation applied to the second response area, set the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation.

In a possible implementation manner, when, in response to the formation change operation applied to the second response area, the seventh response module 580 sets the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation, specifically:

and responding to the formation change operation acted on the second response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

In a possible implementation, the third responding module 540 is further configured to:

and updating the first game scene area displayed in the first display area according to the visual field switching operation in response to the visual field switching operation acting on the first operation response area.

In a possible implementation manner, the first operation response area comprises a formation control, and the view switching operation comprises a touch operation acting on the formation control;

the third responding module 540 is specifically configured to, in response to the view switching operation applied to the first operation responding area, update the first game scene area displayed in the first display area according to the view switching operation:

and responding to the touch operation acted on the formation control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the formation control in a game scene.

In a possible implementation, the fourth response module 550 is further configured to:

and responding to the touch operation acted on the formation control, and selecting the first virtual unit corresponding to the formation control as the target virtual unit.

In a possible implementation manner, the first operation response area includes a game scene thumbnail, the game scene thumbnail includes an identification control corresponding to the formation control, and the view switching operation includes a touch operation acting on the identification control;

the third responding module 540 is specifically configured to, in response to the view switching operation applied to the first operation responding area, update the first game scene area displayed in the first display area according to the view switching operation:

and responding to the touch operation acted on the identification control, and updating the first game scene area displayed in the first display area according to the position of the first virtual unit corresponding to the identification control in the game scene.

In a possible implementation manner, the view switching operation includes a sliding operation, and the third responding module 540, when updating the first game scene area displayed in the first display area in response to the view switching operation applied to the first operation responding area, is specifically configured to:

and updating the first game scene area displayed in the first display area according to the sliding track of the sliding operation in response to the sliding operation acting on the first operation response area.

In a possible implementation, the fifth response module 560 is further configured to:

in response to a unit selection operation applied to the first operation response region, the target virtual unit is selected in the first game scene region in accordance with the unit selection operation.

In a possible implementation manner, the first response area comprises an army selection control, and the unit selection operation comprises a touch operation acting on the army selection control;

the fourth response module 550 is specifically configured to, in response to the weapon seed selection operation applied to the first operation response region, select a target virtual unit in the first game scene region according to the weapon seed selection operation:

acquiring a virtual unit in the first game scene area currently displayed in the first display area;

responding to the touch operation acting on the weapon selection control, and selecting the target virtual unit corresponding to the weapon selection control in the virtual units.

In a possible implementation, the sixth response module 570 is further configured to:

and responding to screen closing operation acted on the first operation response area, deleting the first display area and the second display area, and displaying the second game scene area in the graphical user interface.

In a possible implementation manner, the first operation response area includes a screen closing control, and the screen closing operation includes a touch operation acting on the screen closing control.

In one possible implementation, the seventh response module 580 is further configured to:

and responding to a formation change operation acted on a first response area, and setting the selected target virtual unit as a first virtual unit corresponding to the formation control according to the formation change operation.

In a possible implementation manner, when, in response to the formation change operation applied to the first response area, the seventh response module 580 sets the selected target virtual unit as the first virtual unit corresponding to the formation control according to the formation change operation, specifically:

and responding to the formation change operation acted on the first response area, deleting the first virtual unit corresponding to the current formation control, and taking the currently selected target virtual unit as the first virtual unit corresponding to the formation control.

The control device in the game provided by the application firstly displays a first game scene area of the game in a graphical user interface; then, responding to a first touch operation acted on the graphical user interface, determining a first display area and a second display area in the graphical user interface, and displaying the first game scene area in the first display area; displaying a second game scene area in the second display area, and providing a second operation response area corresponding to the second game scene area in the second display area; and finally, responding to a second touch operation acted on the second operation response area, and controlling a target virtual unit in the second game scene area to execute a game instruction corresponding to the second touch operation. Compared with the prior art, the method and the device have the advantages that the two different game scene areas can be displayed in the graphical user interface, so that a user can simultaneously and rapidly control and deploy the virtual units in the two different game scene areas, multi-line control in the game is realized, the playability of the game and the operation smoothness of the user are improved, and the interesting degree and the competitive performance of the game are improved.

Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.

The memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 runs, the processor 610 communicates with the memory 620 through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of the control method in the game in the method embodiment shown in fig. 1 may be executed.

An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the control method in the game in the method embodiment shown in fig. 1 may be executed.

It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.

The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

28页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:游戏中虚拟对象的控制方法、设备和存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类