












背景技术Background technique
在SLG(Simulation Game,策略类游戏)中,尤其是在战争策略类的游戏中,当用户想要查看游戏中资源分布情况时,需要在图形用户界面进行滑动操作来调整视野范围。In SLG (Simulation Game, strategy game), especially in war strategy games, when the user wants to view the distribution of resources in the game, he needs to perform a sliding operation on the GUI to adjust the field of view.
但是,一般战争策略类游戏的地图范围非常大,用户想要找到自己需要的资源,则需要在图形用户界面中进行多次滑动操作,交互形式不够快捷,同时,大量重复的滑动操作会导致用户产生疲惫感,将低了用户的游戏体验。However, the map range of general war strategy games is very large. If users want to find the resources they need, they need to perform multiple sliding operations in the GUI. The interaction form is not fast enough. At the same time, a large number of repeated sliding operations will cause users Produces a feeling of fatigue, which will reduce the user's gaming experience.
因此,需要提供一种新的游戏画面控制方法。Therefore, a new game screen control method needs to be provided.
需要说明的是,在上述背景技术部分发明的信息仅用于加强对本发明的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art.
发明内容Contents of the invention
本公开的目的在于提供一种游戏画面控制方法、游戏画面控制装置、计算机可读存储介质以及电子设备,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的用户在游戏中的操作不够便捷,游戏体验不佳的问题。The purpose of the present disclosure is to provide a game screen control method, a game screen control device, a computer-readable storage medium, and an electronic device, so as to overcome at least to a certain extent the user's operation in the game due to the limitations and defects of related technologies Not convenient enough, poor game experience.
根据本公开的一个方面,提供一种游戏画面控制方法,包括:According to one aspect of the present disclosure, a game screen control method is provided, including:
在所述图形用户界面提供第一视野控件;providing a first view control in the graphical user interface;
响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件;displaying a second view control at the map control in response to a trigger operation acting on the first view control;
响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面;In response to the sliding operation acting on the second field of view control, adjust the game viewing angle corresponding to the game screen according to the sliding operation control, so as to switch and display the game screen under different game viewing angles in the graphical user interface;
响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。In response to the end of the sliding operation, control to display a game screen corresponding to a game perspective in the GUI.
根据本公开的一个方面,提供一种游戏画面控制装置,包括:According to one aspect of the present disclosure, a game screen control device is provided, including:
第一视野控件显示模块,用于在所述图形用户界面提供第一视野控件;A first field of view control display module, configured to provide a first field of view control on the graphical user interface;
第二视野控件显示模块,用于响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件;The second visual field control display module is configured to display a second visual field control at the map control in response to a trigger operation acting on the first visual field control;
视野切换模块,用于响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面;A field of view switching module, configured to respond to the sliding operation acting on the second field of view control, adjust the game viewing angle corresponding to the game screen according to the sliding operation control, so as to switch and display the game viewing angles under different game viewing angles in the graphical user interface game screen;
游戏画面显示模块,用于响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。The game screen display module is configured to, in response to the end of the sliding operation, control the display of the game screen corresponding to the game perspective in the GUI.
根据本公开的一个方面,提供一种计算机存储介质,其上存储有计算机程序,所述计算机程序被处理单元执行时实现上述任一示例性实施例所述的游戏画面控制方法。According to one aspect of the present disclosure, a computer storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processing unit, the game screen control method described in any one of the above exemplary embodiments is implemented.
根据本公开的一个方面,提供一种电子设备,包括:According to one aspect of the present disclosure, an electronic device is provided, comprising:
处理单元;以及processing unit; and
存储单元,用于存储所述处理单元的可执行指令;a storage unit for storing executable instructions of the processing unit;
其中,所述处理单元配置为经由执行所述可执行指令来执行上述任一示例性实施例所述的游戏画面控制方法。Wherein, the processing unit is configured to execute the game screen control method described in any one of the above exemplary embodiments by executing the executable instructions.
本公开实施例提供的一种游戏画面控制方法,在所述图形用户界面提供第一视野控件;响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件;响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面;响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。一方面,在图形用户界面设置有第一视野控件,当用户在游戏中想要对游戏画面进行调整时,首先基于视野控制开关组件执行触发操作,响应用户对第一视野控件的触发操作,控制在图形用户界面显示的地图控件处显示第二视野控件,即,通过第一视野控件开启第二视野控件,提高了视野控制的便捷性;另一方面,当显示第二视野控件之后,响应用户作用于视野控制组件的滑动操作,根据滑动操作控制对游戏画面对应的游戏视角进行调整,响应滑动操作的结束,将调整后的游戏视角下的游戏画面显示在图形用户界面中,解决了相关技术中当用户对游戏画面进行调整时,需要在图形用户界面上进行多次滑动操作的问题,减少了用户的重复操作,提高了游戏视角以及与游戏视角对应的游戏画面控制的效率。In a game screen control method provided by an embodiment of the present disclosure, a first visual field control is provided on the graphical user interface; and a second visual field control is displayed on the map control in response to a trigger operation acting on the first visual field control; In response to the sliding operation acting on the second field of view control, adjust the game viewing angle corresponding to the game screen according to the sliding operation control, so as to switch and display the game screen under different game viewing angles in the graphical user interface; in response to the Upon completion of the sliding operation, control the display of the game screen corresponding to the game perspective in the GUI. On the one hand, a first field of view control is provided on the graphical user interface. When the user wants to adjust the game screen in the game, the trigger operation is first performed based on the field of view control switch component, and in response to the trigger operation of the user on the first field of view control, the control The second field of view control is displayed at the map control displayed in the graphical user interface, that is, the second field of view control is opened through the first field of view control, which improves the convenience of field of view control; Act on the sliding operation of the field of view control component, adjust the game viewing angle corresponding to the game screen according to the sliding operation control, respond to the end of the sliding operation, and display the game screen under the adjusted game viewing angle in the GUI, which solves the problem of related technologies When the user adjusts the game screen, the user needs to perform multiple sliding operations on the GUI, which reduces the user's repeated operations and improves the game viewing angle and the efficiency of the game screen control corresponding to the game viewing angle.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention. Apparently, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.
图1示意性示出根据本公开示例实施例的一种游戏画面控制方法的流程图。Fig. 1 schematically shows a flowchart of a game screen control method according to an exemplary embodiment of the present disclosure.
图2示意性示出根据本公开示例实施例的一种第一视野控件在图形用户界面中的示意图。Fig. 2 schematically shows a schematic diagram of a first field of view control in a graphical user interface according to an exemplary embodiment of the present disclosure.
图3示意性示出根据本公开示例实施例的一种在地图控件上叠加第二视野控件的示意图。Fig. 3 schematically shows a schematic diagram of superimposing a second visual field control on a map control according to an exemplary embodiment of the present disclosure.
图4示意性示出根据本公开示例实施例的一种用第二视野控件替换地图控件后的图形用户界面示意图。Fig. 4 schematically shows a schematic diagram of a graphical user interface after replacing a map control with a second view control according to an exemplary embodiment of the present disclosure.
图5示意性示出根据本公开示例实施例的一种在响应作用于所述第一视野控件的触发操作之后,游戏画面控制方法的流程图。Fig. 5 schematically shows a flow chart of a game screen control method after responding to a trigger operation acting on the first view control according to an exemplary embodiment of the present disclosure.
图6示意性示出根据本公开示例实施例的一种响应作用于第一视野控件的触发操作后,图形用户界面中包括的组件的示意图。Fig. 6 schematically shows a schematic diagram of components included in a graphical user interface after responding to a trigger operation acting on a first field of view control according to an exemplary embodiment of the present disclosure.
图7示意性示出根据本公开示例实施例的一种在地图控件处取消显示第二视野控件之后,游戏画面控制方法的流程图。Fig. 7 schematically shows a flow chart of a game screen control method after canceling the display of the second field of view control at the map control according to an exemplary embodiment of the present disclosure.
图8示意性示出根据本公开示例实施例的一种在地图控件处显示第二视野控件之后,游戏画面控制方法的流程图。Fig. 8 schematically shows a flow chart of a method for controlling a game screen after a second visual field control is displayed on a map control according to an exemplary embodiment of the present disclosure.
图9示意性示出根据本公开示例实施例的一种基于第二视野控件建立坐标系的示意图。Fig. 9 schematically shows a schematic diagram of establishing a coordinate system based on a second field of view control according to an exemplary embodiment of the present disclosure.
图10示意性示出根据本公开示例实施例的一种响应作用于第二视野控件的滑动操作,根据滑动操作控制调整游戏画面对应的游戏视角的方法流程图。FIG. 10 schematically shows a flow chart of a method for controlling and adjusting the game viewing angle corresponding to the game screen according to the sliding operation in response to the sliding operation acting on the second field of view control according to an exemplary embodiment of the present disclosure.
图11示意性示出根据本公开示例实施例的一种根据切换方向以及切换速度,控制调整游戏画面对应的游戏视角的方法流程图。Fig. 11 schematically shows a flow chart of a method for controlling and adjusting the game viewing angle corresponding to the game screen according to the switching direction and switching speed according to an exemplary embodiment of the present disclosure.
图12示意性示出根据本公开示例实施例的一种游戏画面控制装置的框图。Fig. 12 schematically shows a block diagram of a game screen control device according to an exemplary embodiment of the present disclosure.
图13示意性示出根据本公开示例实施例的用于实现上述游戏画面控制方法的电子设备。FIG. 13 schematically shows an electronic device for implementing the above game screen control method according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本发明的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本发明的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solution of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the invention.
此外,附图仅为本发明的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and/or processor means and/or microcontroller means.
相关技术中,在大部分的SLG游戏中,用户需要在屏幕上进行滑动操作或者打开全屏地图,才可以进行视野以及游戏画面调整,对游戏中虚拟角色周围的资源分布情况进行查看。但是,对于用户来说,查看虚拟角色周围的资源分布情况是高频操作,短距离滑动不能满足用户的需求。在通过点击地图进行视野调整时,需要打开全屏地图,但是打开地图后并不能快速查找目标地点的资源分布情况,需要不断调整地点。In related technologies, in most SLG games, the user needs to perform a sliding operation on the screen or open a full-screen map to adjust the field of view and the game screen, and check the distribution of resources around the virtual character in the game. However, for users, viewing the distribution of resources around the virtual character is a high-frequency operation, and short-distance sliding cannot meet the needs of users. When adjusting the field of view by clicking on the map, you need to open the full-screen map, but after opening the map, you cannot quickly find the resource distribution of the target location, and you need to constantly adjust the location.
基于上述一个或者多个问题,本示例实施例首先提供了一种游戏画面控制方法,参考图1所示,可以包括以下步骤:Based on one or more of the above problems, this exemplary embodiment first provides a game screen control method, as shown in FIG. 1, which may include the following steps:
步骤S110.在所述图形用户界面提供第一视野控件;Step S110. Providing a first field of view control on the graphical user interface;
步骤S120.响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件;Step S120. Responding to a trigger operation acting on the first view control, displaying a second view control at the map control;
步骤S130.响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面;Step S130. In response to the sliding operation acting on the second field of view control, adjust the game viewing angle corresponding to the game screen according to the sliding operation control, so as to switch and display the game screen under different game viewing angles in the GUI;
步骤S140.响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。Step S140. In response to the end of the sliding operation, control to display the game screen corresponding to the game perspective in the GUI.
上述游戏画面控制方法,在所述图形用户界面提供第一视野控件;响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件;响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面;响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。一方面,在图形用户界面设置有第一视野控件,当用户在游戏中想要对游戏画面进行调整时,首先基于视野控制开关组件执行触发操作,响应用户对第一视野控件的触发操作,控制在图形用户界面显示的地图控件处显示第二视野控件,即,通过第一视野控件开启第二视野控件,提高了视野控制的便捷性;另一方面,当显示第二视野控件之后,响应用户作用于视野控制组件的滑动操作,根据滑动操作控制对游戏画面对应的游戏视角进行调整,响应滑动操作的结束,将调整后的游戏视角下的游戏画面显示在图形用户界面中,解决了相关技术中当用户对游戏画面进行调整时,需要在图形用户界面上进行多次滑动操作的问题,减少了用户的重复操作,提高了游戏视角以及与游戏视角对应的游戏画面的效率。In the above game screen control method, a first visual field control is provided on the graphical user interface; in response to a trigger operation acting on the first visual field control, a second visual field control is displayed at the map control; in response to a trigger operation acting on the second visual field control, The sliding operation of the field of view control is to control and adjust the game viewing angle corresponding to the game screen according to the sliding operation, so as to switch and display the game screens under different game viewing angles in the graphical user interface; in response to the end of the sliding operation, control A game screen corresponding to a game viewing angle is displayed in the GUI. On the one hand, a first field of view control is provided on the graphical user interface. When the user wants to adjust the game screen in the game, the trigger operation is first performed based on the field of view control switch component, and in response to the trigger operation of the user on the first field of view control, the control The second field of view control is displayed at the map control displayed in the graphical user interface, that is, the second field of view control is opened through the first field of view control, which improves the convenience of field of view control; Act on the sliding operation of the field of view control component, adjust the game viewing angle corresponding to the game screen according to the sliding operation control, respond to the end of the sliding operation, and display the game screen under the adjusted game viewing angle in the GUI, which solves the problem of related technologies When the user adjusts the game screen, the user needs to perform multiple sliding operations on the GUI, which reduces the repeated operations of the user and improves the efficiency of the game perspective and the game screen corresponding to the game perspective.
以下,对本公开示例实施例的游戏画面控制方法中涉及的各步骤进行详细的解释以及说明。In the following, each step involved in the game screen control method of the exemplary embodiment of the present disclosure will be explained and described in detail.
首先,对本公开示例实施例的应用场景以及目的进行解释以及说明。具体的,本公开示例实施例可以用于SLG游戏中,主要用于优化用户在游戏中画面调整的交互方式。First, the application scenarios and purposes of the exemplary embodiments of the present disclosure are explained and illustrated. Specifically, the exemplary embodiments of the present disclosure may be used in SLG games, and are mainly used to optimize the user's interaction mode of screen adjustment in the game.
在本公开中以用户作用于第一视野控件的触发操作为基础,响应用户作用于第一视野控件的触发操作,根据触发操作控制在图形用户界面的地图控件处显示第二视野控件;响应用户作用于第二视野控件的滑动操作,根据用户滑动操作控制调整游戏画面对应的游戏视角,当用户作用于第二视野控件的滑动操作结束时,控制在图形用户界面显示调整后的游戏视角对应的游戏画面。In this disclosure, based on the trigger operation of the user acting on the first field of view control, in response to the trigger operation of the user acting on the first field of view control, the second field of view control is displayed at the map control of the GUI according to the trigger operation; in response to the user The sliding operation applied to the control of the second field of view adjusts the game angle corresponding to the game screen according to the user's sliding operation control. game screen.
其次,对步骤S110-步骤S140进行进一步的解释以及说明。Next, step S110-step S140 are further explained and illustrated.
在步骤S110中,在所述图形用户界面提供第一视野控件。In step S110, a first field of view control is provided on the graphical user interface.
在本示例实施例中,通过终端设备提供图形用户界面,在该图形用户界面中至少显示有地图控件以及游戏画面,该游戏画面由游戏地形场景构成,在游戏地形场景中可以包括多个虚拟地块;该地图控件用于缩略显示局部或者全部的游戏地形场景。同时,为了方便用户对当前游戏画面的调整,图形用户界面中还可以提供一个第一视野控件,该第一视野控件可以位于图形用户界面的左下角,也可以位于图形用户界面的右下角,还可以位于地图控件附件,在本示例实施例中对第一视野控件的位置不做具体限定。第一视野控件的形状可以为圆形,也可以为方形,在本示例实施例中对第一视野控件的形状也不做具体限定。当第一视野控件位于地图控件附近时,参考图2所示,图形用户界面中包括第一视野控件210、地图控件220以及由多个虚拟地块构成的游戏地形场景230。In this exemplary embodiment, a graphical user interface is provided through the terminal device, and at least a map control and a game screen are displayed in the graphical user interface. The game screen is composed of a game terrain scene, and the game terrain scene may include multiple virtual grounds block; the map control is used to thumbnail display part or all of the game terrain scene. At the same time, in order to facilitate the user to adjust the current game screen, a first field of view control can also be provided in the GUI, and the first field of view control can be located at the lower left corner of the GUI or at the lower right corner of the GUI. It may be located near the map control, and the position of the first field of view control is not specifically limited in this example embodiment. The shape of the first field of view control may be circular or square, and the shape of the first field of view control is not specifically limited in this example embodiment. When the first view control is located near the map control, as shown in FIG. 2 , the GUI includes a
在步骤S120中,响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件。In step S120, in response to a trigger operation acting on the first view control, a second view control is displayed on the map control.
在本示例实施例中,当用户需要开启对游戏画面的控制时,可以对第一视野控件执行触发操作,其中,触发操作可以为点击操作,也可以为长按操作,在本示例实施例中对触发操作不作具体限定;当用户执行触发操作之后,响应用户作用于第一视野控件的触发操作,在图形用户界面显示的地图控件处显示第二视野控件,其中,第二视野控件的形状可以为圆形,也可以为方形,在本示例实施例中对第二视野控件的形状不做具体限定。当在地图控件处显示第二视野控件之后,图形用户界面中不再显示第一视野控件。In this example embodiment, when the user needs to open the control of the game screen, a trigger operation can be performed on the first field of view control, wherein the trigger operation can be a click operation or a long press operation. In this example embodiment The trigger operation is not specifically limited; after the user performs the trigger operation, in response to the user's trigger operation on the first view control, a second view control is displayed at the map control displayed in the GUI, wherein the shape of the second view control can be It may be a circle, or may be a square, and the shape of the second field of view control is not specifically limited in this example embodiment. After the second view control is displayed at the map control, the first view control is no longer displayed in the GUI.
在本示例实施例中,当在地图控件处显示第二视野控件时,该第二视野控件可以直接叠加在地图控件上,当地图控件具有放大或者缩小功能时,可以对地图控件的放大或者缩小功能进行屏蔽,地图控件仅用于缩略显示局部或者全部的游戏地形场景。参考图3所示,当在地图控件上叠加第二视野控件后,图形用户界面中可以包括:第二视野控件310、地图控件320以及由多个虚拟地块构成的游戏地形场景330。当用户对第二视野控件执行滑动操作时,地图控件320可以显示与用户的滑动操作对应的游戏视角下的缩略游戏地形场景,也可以只显示当前游戏视角下的缩略游戏地形场景,在本示例实施例中,对此不作具体限定。In this example embodiment, when the second field of view control is displayed at the map control, the second field of view control can be directly superimposed on the map control. The function is blocked, and the map control is only used to thumbnail display part or all of the game terrain scene. Referring to FIG. 3 , when the second view control is superimposed on the map control, the GUI may include: a
在本示例实施例中,当在地图控件处显示第二视野控件时,也可以直接将地图控件切换为第二视野控件,即,直接利用第二视野控件替换地图控件。参考图4所示,当直接利用第二视野控件替换地图控件后,图形用户界面中可以包括:第二视野控件410以及由多个虚拟地块构成的游戏地形场景420。In this exemplary embodiment, when the second view control is displayed on the map control, the map control may also be directly switched to the second view control, that is, the map control is directly replaced by the second view control. Referring to FIG. 4 , when the map control is directly replaced by the second view control, the GUI may include: a
在本示例实施例中,响应作用于第一视野控件的触发操作之后,除了在图形用户界面的地图控件处显示第二视野控件,还可以在图形用户界面中显示取消控件以及目标游戏场景定位控件。参考图5所示,在响应作用于所述第一视野控件的触发操作之后,所述游戏画面控制方法还包括:In this example embodiment, after responding to the trigger operation acting on the first view control, in addition to displaying the second view control at the map control of the GUI, a cancel control and a target game scene positioning control may also be displayed in the GUI . Referring to FIG. 5 , after responding to the trigger operation acting on the first field of view control, the game screen control method further includes:
步骤S510.控制在所述图形用户界面显示取消控件以及目标游戏场景定位控件;Step S510. Controlling the display of the cancel control and the target game scene positioning control on the GUI;
步骤S520.响应作用于所述取消控件的触发操作,在所述地图控件处取消显示所述第二视野控件;Step S520. In response to a trigger operation acting on the cancel control, cancel displaying the second field of view control on the map control;
步骤S530.响应作用于所述目标游戏场景定位控件的触发操作,控制将所述图形用户界面中显示的当前游戏地形场景切换为目标游戏地形场景。Step S530. In response to the trigger operation acting on the target game scene positioning control, control to switch the current game terrain scene displayed in the GUI to the target game terrain scene.
以下,将对步骤S510-步骤S530进行进一步的解释以及说明。具体的,当响应作用于第一视野控件的触发操作之后,还可以在图形用户界面显示取消控件以及目标游戏场景定位控件,即,当响应触发操作之后,图形用户界面中可以包括第二视野控件、取消控件以及目标游戏场景定位控件;其中,取消控件以及目标游戏场景定位控件可以位于图形用户界面的左下方,也可以位于图形用户界面的右下方,在本示例实施例中对此不做具体限定。参考图6所示,图6中包括游戏地形场景610、第二视野控件620、取消控件630以及目标游戏场景定位控件640。Hereinafter, step S510-step S530 will be further explained and described. Specifically, after responding to the trigger operation acting on the first field of view control, the cancel control and the target game scene positioning control can also be displayed on the graphical user interface, that is, after the response to the trigger operation, the second field of view control can be included in the graphical user interface , the cancel control and the target game scene positioning control; wherein, the cancel control and the target game scene positioning control can be located at the bottom left of the GUI, and can also be located at the bottom right of the GUI, which will not be specifically described in this example embodiment limited. Referring to FIG. 6 , FIG. 6 includes a
用户在图形用户界面中可以对取消控件执行触发操作,其中,对取消控件的触发操作可以为对取消控件的点击操作,也可以为对取消控件的长按操作,在本示例实施例中对此不做具体限定;当用户对取消控件执行触发操作之后,响应用户作用于取消控件的触发操作,控制在图形用户界面中取消显示第二视野控件,当在图形用户界面中取消显示第二视野控件之后,图形用户界面仅对第一视野控件进行显示,即,当用户选择关闭第二视野控件之后,游戏中不再提供通过第二视野控件控制游戏视角切换的功能,当用户需要再次开启通过第二视野控件对游戏视角进行控制时,可以对第一视野控件再次执行触发操作。The user can perform a trigger operation on the cancel control in the graphical user interface, wherein the trigger operation on the cancel control can be a click operation on the cancel control, or a long press operation on the cancel control. In this example embodiment, Not specifically limited; after the user performs a trigger operation on the cancel control, in response to the user's trigger operation on the cancel control, the control cancels the display of the second-view control in the GUI, and when the second-view control is canceled in the GUI Afterwards, the graphical user interface only displays the first field of view control, that is, when the user chooses to close the second field of view control, the game no longer provides the function of controlling the switching of the game perspective through the second field of view control. When the second view control controls the game viewing angle, the trigger operation can be performed on the first view control again.
用户在图形用户界面中也可以对目标游戏场景定位控件执行触发操作,其中,对目标游戏场景定位控件的触发操作可以为点击操作,也可以为长按操作,在本示例实施例中对此不作具体限定。当用户对目标游戏场景定位控件执行触发操作之后,响应用户作用于目标游戏场景定位控件的触发操作,根据该触发操作,控制将图形用户界面中显示的当前游戏地形场景切换为预设的目标游戏地形场景,其中,目标游戏场景可以为游戏主页对应的游戏地形场景,在本示例实施例中对目标游戏地形场景不做具体限定。当图形用户界面中显示的游戏地形场景切换为目标游戏地形场景之后,该图形用户界面中仍然存在第二视野控件、取消控件以及目标游戏场景定位控件。The user can also perform a trigger operation on the target game scene positioning control in the graphical user interface, wherein the trigger operation on the target game scene positioning control can be a click operation or a long press operation, which is not described in this example embodiment. Specific limits. After the user performs a trigger operation on the target game scene positioning control, in response to the trigger operation of the user acting on the target game scene positioning control, according to the trigger operation, control switches the current game terrain scene displayed in the graphical user interface to the preset target game The terrain scene, wherein the target game scene may be the game terrain scene corresponding to the game home page, and the target game terrain scene is not specifically limited in this example embodiment. After the game terrain scene displayed in the GUI is switched to the target game terrain scene, the second field of view control, the cancel control and the target game scene positioning control still exist in the GUI.
在本示例实施例中,参考图7所示,在所述地图控件处取消显示所述第二视野控件之后,所述游戏画面控制方法还可以包括:In this example embodiment, as shown in FIG. 7 , after canceling the display of the second field of view control at the map control, the game screen control method may further include:
步骤S710.响应作用于所述图形用户界面显示的当前游戏地图场景上的滑动操作;Step S710. Responding to the sliding operation on the current game map scene displayed on the graphical user interface;
步骤S720.根据所述滑动操作,对游戏视角进行调整。Step S720. Adjust the viewing angle of the game according to the sliding operation.
以下,将对步骤S710、步骤S720进行进一步的解释以及说明。具体的,当在图形用户界面中取消第二视野控件之后,即,当在图形用户界面中显示第一视野控件之后,当用户想要对游戏视角进行切换时,除了再次作用于第一视野控件,还可以在图形用户界面显示的当前游戏地形场景上进行滑动操作。当用户在图形用户界面显示的当前游戏地形场景上进行滑动操作时,响应用户的滑动操作,根据用户的滑动操作,控制对游戏视角进行调整。Hereinafter, step S710 and step S720 will be further explained and illustrated. Specifically, after the second field of view control is canceled in the GUI, that is, after the first field of view control is displayed in the GUI, when the user wants to switch the game perspective, in addition to acting on the first field of view control again , you can also perform a sliding operation on the current game terrain scene displayed on the graphical user interface. When the user performs a sliding operation on the current game terrain scene displayed on the GUI, the user's sliding operation is responded to, and the game viewing angle is controlled to be adjusted according to the user's sliding operation.
在本示例实施例中,参考图8所示,在所述地图控件处显示第二视野控件之后,所述游戏画面控制方法还包括:In this example embodiment, as shown in FIG. 8 , after the second visual field control is displayed at the map control, the game screen control method further includes:
步骤S810.获取所述第二视野控件,基于所述第二视野控件建立坐标系;Step S810. Obtain the second visual field control, and establish a coordinate system based on the second visual field control;
步骤S820.利用所述坐标系,对所述第二视野控件的响应区域进行划分。Step S820. Use the coordinate system to divide the response area of the second visual field control.
以下,将对步骤S810、步骤S820进行进一步的解释以及说明。具体的,当在图形用户界面中显示第二视野控件之后,可以获取第二视野控件,基于获取到的第二视野控件建立坐标系,根据建立的坐标系,对第二视野控件进行划分,得到第二视野控件中的响应区域。参考图9所示,当第二视野控件为圆形时,可以以第二视野控件的中心点为原点建立坐标系,在建立好坐标系之后,可以利用坐标系对第二视野控件进行划分,得到A、B、C、D四个响应区域。Hereinafter, step S810 and step S820 will be further explained and illustrated. Specifically, after the second view control is displayed in the GUI, the second view control can be acquired, a coordinate system is established based on the obtained second view control, and the second view control is divided according to the established coordinate system, to obtain Responsive area in Second Sight controls. Referring to Figure 9, when the second view control is circular, a coordinate system can be established with the center point of the second view control as the origin, and after the coordinate system is established, the second view control can be divided using the coordinate system, Get four response areas A, B, C, and D.
在步骤S130中,响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面。In step S130, in response to the sliding operation acting on the second field of view control, adjust the game viewing angle corresponding to the game screen according to the sliding operation control, so as to switch and display games under different game viewing angles in the graphical user interface screen.
在本示例实施例中,参考图10所示,响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,可以包括:In this example embodiment, referring to FIG. 10 , in response to the sliding operation acting on the second field of view control, adjusting the game viewing angle corresponding to the game screen according to the sliding operation control may include:
步骤S1010.获取所述滑动操作的滑动方向以及滑动距离,并确定所述滑动操作在所述第二视野控件中的目标响应区域;Step S1010. Obtain the sliding direction and sliding distance of the sliding operation, and determine the target response area of the sliding operation in the second visual field control;
步骤S1020.根据所述滑动方向,确定所述滑动操作在所述目标响应区域的视角切换方向;Step S1020. According to the sliding direction, determine the viewing angle switching direction of the sliding operation in the target response area;
步骤S1030.根据所述滑动距离,确定切换游戏视角时的切换速度;Step S1030. According to the sliding distance, determine the switching speed when switching the game viewing angle;
步骤S1040.根据所述切换方向以及所述切换速度,控制调整所述游戏画面对应的游戏视角。Step S1040. Control and adjust the game viewing angle corresponding to the game screen according to the switching direction and the switching speed.
以下,将对步骤S1010-步骤S1040进行进一步的解释以及说明。具体的,当在图形用户界面的地图控件处显示第二视野控件之后,用户可以基于第二视野控件进行滑动操作,当用户执行滑动操作之后,响应用户作用于第二视野控件的滑动操作,根据滑动操作可以确定滑动操作在第二视野控件中的目标响应区域;也可以获取滑动操作的滑动方向以及滑动距离,当获取到滑动方向之后,可以根据滑动方向确定滑动操作在目标响应区域中的视角切换方向;当获取到滑动距离之后,可以根据滑动距离确定切换游戏视角时的切换速度,最后,根据切换方向以及切换速度控制调整游戏画面对应的游戏视角。Hereinafter, step S1010-step S1040 will be further explained and illustrated. Specifically, after the second field of view control is displayed at the map control of the GUI, the user can perform a sliding operation based on the second field of view control. After the user performs the sliding operation, in response to the user's sliding operation on the second field of view control, according to The sliding operation can determine the target response area of the sliding operation in the second view control; the sliding direction and sliding distance of the sliding operation can also be obtained. After obtaining the sliding direction, the viewing angle of the sliding operation in the target response area can be determined according to the sliding direction Switching direction; after the sliding distance is obtained, the switching speed when switching the game viewing angle can be determined according to the sliding distance, and finally, the game viewing angle corresponding to the game screen can be controlled and adjusted according to the switching direction and switching speed.
进一步的,参考图11所示,根据所述切换方向以及所述切换速度,控制调整所述游戏画面对应的游戏视角,可以包括:Further, referring to FIG. 11 , according to the switching direction and the switching speed, controlling and adjusting the game viewing angle corresponding to the game screen may include:
步骤S1110.获取与所述滑动操作对应的操作距离,以及所述第二视野控件的预设视野调整比例;Step S1110. Obtain the operation distance corresponding to the sliding operation, and the preset field of view adjustment ratio of the second field of view control;
步骤S1120.根据所述切换方向、所述切换速度、所述操作距离以及所述预设视野调整比例,控制调整所述游戏画面对应的游戏视角。Step S1120. According to the switching direction, the switching speed, the operating distance and the preset field of view adjustment ratio, control and adjust the game viewing angle corresponding to the game screen.
以下,将对步骤S1110、步骤S1120进行进一步的解释以及说明。具体的,首先,获取第二视野控件的预设视野调整比例,其中,预设视野调整比例为基于第二视野控件的滑动操作的滑动距离与游戏视角调整范围的比例,具体的值可以为1:1,也可以为1:1.5,在本示例实施例中对此不做具体限定。当获取到预设视野调整比例之后,根据预设视野调整比例、滑动操作的滑动距离、切换方向以及切换速度,控制对游戏视角进行调整。Hereinafter, step S1110 and step S1120 will be further explained and described. Specifically, firstly, the preset field of view adjustment ratio of the second field of view control is obtained, wherein the preset field of view adjustment ratio is the ratio of the sliding distance based on the sliding operation of the second field of view control to the game viewing angle adjustment range, and the specific value can be 1 :1, and may also be 1:1.5, which is not specifically limited in this example embodiment. After the preset field of view adjustment ratio is obtained, the game viewing angle is controlled to be adjusted according to the preset field of view adjustment ratio, the sliding distance of the sliding operation, the switching direction, and the switching speed.
在本示例实施例中,通过作用于第二视野控件的滑动操作对游戏视野进行调整,减少了用户在图形用户界面的重复操作,提高了用户调整游戏视角以及与游戏视角对应的游戏画面的效率。In this example embodiment, the game field of view is adjusted through the sliding operation acting on the second field of view control, which reduces the user's repeated operations on the GUI, and improves the user's efficiency in adjusting the game viewing angle and the game screen corresponding to the game viewing angle .
在步骤S140中,响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。In step S140, in response to the end of the sliding operation, control to display a game screen corresponding to the game perspective in the GUI.
在本示例实施例中,滑动操作的结束可以为用户操作第二视野控件的操作介质离开终端设备,其中,操作介质可以为用户的手指,也可以为触控笔,在本示例实施例中对此不做具体限定。当用户的操作介质离开终端设备之后,可以控制将与调整后的游戏视角对应的游戏地形场景显示在图形用户界面中。In this example embodiment, the end of the sliding operation may be that the user operates the operation medium of the second field of view control to leave the terminal device, wherein the operation medium may be the user's finger or a stylus. In this example embodiment, the This is not specifically limited. After the user's operating medium leaves the terminal device, the game terrain scene corresponding to the adjusted game viewing angle can be controlled to be displayed in the graphical user interface.
在本示例实施例中,在控制在所述图形用户界面中显示对应游戏视角下的游戏画面之后,所述游戏视野控制方法还包括:In this example embodiment, after controlling the display of the game screen under the corresponding game perspective in the GUI, the game field of view control method further includes:
响应对游戏中虚拟角色的位置切换操作,控制将所述虚拟角色的位置切换为所述图形用户界面显示的当前游戏画面中。In response to the position switching operation of the virtual character in the game, the control switches the position of the virtual character to the current game screen displayed on the graphical user interface.
具体的,当图形用户界面显示调整游戏视角后的游戏地形场景之后,可以在图形用户界面中显示虚拟角色位置切换控件,用户可以基于虚拟角色位置切换控件进行位置切换操作,其中,位置切换操作可以为对虚拟角色位置切换控件的点击操作,也可以为对虚拟角色位置切换控件的长按操作,在本示例实施例中对此不做具体限定,响应用户的位置切换操作,控制将虚拟角色的在游戏中的位置切换为图形用户界面当前显示的游戏地形场景中。Specifically, after the graphical user interface displays the game terrain scene after adjusting the game viewing angle, the virtual character position switching control can be displayed in the graphical user interface, and the user can perform position switching operations based on the virtual character position switching control, wherein the position switching operation can be It may be a click operation on the virtual character position switch control, or a long press operation on the virtual character position switch control, which is not specifically limited in this example embodiment. The in-game position switches to the currently displayed game terrain scene in the GUI.
除此之外,当在图形用户界面中显示调整游戏视角后的游戏地形场景之后,图形用户界面中还可以显示位置分享组件,通过该位置分享组件,用户可以对与调整游戏视角后的游戏地形场景进行分享。In addition, after displaying the game terrain scene after adjusting the game viewing angle in the GUI, the location sharing component can also be displayed in the GUI, through which the user can compare the game terrain after adjusting the game viewing angle. scene to share.
在本公开中,用户作用于第二视野控件的滑动操作,不仅可以为用户在终端设备上的滑动,还可以是用户通过终端设备的手势控制来进行滑动,在本示例实施例中对此不作具体限定。In this disclosure, the user's sliding operation on the second field of view control may not only be the user's sliding on the terminal device, but also the user's sliding operation through the terminal device's gesture control, which is not discussed in this example embodiment. Specific limits.
本公开示例实施例提供的游戏画面控制方法至少具有以下优点:一方面,在图形用户界面设置有第一视野控件,当用户在游戏中想要对游戏画面进行调整时,首先基于视野控制开关组件执行触发操作,响应用户对第一视野控件的触发操作,控制在图形用户界面显示的地图控件处显示第二视野控件,即,通过第一视野控件开启第二视野控件,提高了视野控制的便捷性;另一方面,当显示第二视野控件之后,响应用户作用于视野控制组件的滑动操作,根据滑动操作控制对游戏画面对应的游戏视角进行调整,响应滑动操作的结束,将调整后的游戏视角下的游戏画面显示在图形用户界面中,解决了相关技术中当用户对游戏画面进行调整时,需要在图形用户界面上进行多次滑动操作的问题,减少了用户的重复操作,提高了对游戏视角以及与游戏视角对应的游戏画面的控制效率。The game screen control method provided by the exemplary embodiments of the present disclosure has at least the following advantages: On the one hand, a first field of view control is set on the graphical user interface, and when the user wants to adjust the game screen in the game, firstly control the switch component based on the field of view Execute the trigger operation, and respond to the user's trigger operation on the first field of view control, control the display of the second field of view control at the map control displayed in the GUI, that is, open the second field of view control through the first field of view control, which improves the convenience of field of view control On the other hand, after the second field of view control is displayed, in response to the sliding operation of the user acting on the field of view control component, the game viewing angle corresponding to the game screen is adjusted according to the sliding operation control, and in response to the end of the sliding operation, the adjusted game The game screen under the viewing angle is displayed in the GUI, which solves the problem in related technologies that when the user adjusts the game screen, it needs to perform multiple sliding operations on the GUI, reduces the repeated operation of the user, and improves the user experience. The game viewing angle and the control efficiency of the game screen corresponding to the game viewing angle.
本公开示例实施例还提供了一种游戏画面控制装置,参考图12所示,可以包括:第一视野控件显示模块1210、第二视野控件显示模块1220、视野切换模块1230以及游戏画面显示模块1240。其中:The exemplary embodiment of the present disclosure also provides a game screen control device, as shown in FIG. . in:
第一视野控件显示模块1210,用于在所述图形用户界面提供第一视野控件;A first field of view
第二视野控件显示模块1220,用于响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件;The second view
视野切换模块1230,用于响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面;The field of
游戏画面显示模块1240,用于响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。The game
上述游戏画面控制装置中各模块的具体细节已经在对应的游戏画面控制方法中进行了详细的描述,因此此处不再赘述。The specific details of each module in the above-mentioned game screen control device have been described in detail in the corresponding game screen control method, so details will not be repeated here.
在本公开的一种示例性实施例中,在响应作用于所述第一视野控件的触发操作之后,所述游戏画面控制方法还包括:In an exemplary embodiment of the present disclosure, after responding to the trigger operation acting on the first view control, the game screen control method further includes:
控制在所述图形用户界面显示取消控件以及目标游戏场景定位控件;Controlling the display of the cancel control and the target game scene positioning control in the graphical user interface;
响应作用于所述取消控件的触发操作,在所述地图控件处取消显示所述第二视野控件;canceling display of the second view control at the map control in response to a trigger operation acting on the cancel control;
响应作用于所述目标游戏场景定位控件的触发操作,控制将所述图形用户界面中显示的当前游戏地形场景切换为目标游戏地形场景。In response to a trigger operation acting on the target game scene positioning control, the control switches the current game terrain scene displayed in the graphical user interface to the target game terrain scene.
在本公开的一种示例性实施例中,在所述地图控件处取消显示所述第二视野控件之后,所述游戏画面控制方法还包括:In an exemplary embodiment of the present disclosure, after canceling the display of the second field of view control at the map control, the game screen control method further includes:
响应作用于所述图形用户界面显示的当前游戏地图场景上的滑动操作;Responding to a sliding operation on the current game map scene displayed on the graphical user interface;
根据所述滑动操作,对游戏视角进行调整。According to the sliding operation, the viewing angle of the game is adjusted.
在本公开的一种示例性实施例中,在所述地图控件处显示第二视野控件之后,所述游戏画面控制方法还包括:In an exemplary embodiment of the present disclosure, after the second visual field control is displayed at the map control, the game screen control method further includes:
获取所述第二视野控件,基于所述第二视野控件建立坐标系;Acquire the second field of view control, and establish a coordinate system based on the second field of view control;
利用所述坐标系,对所述第二视野控件的响应区域进行划分。Using the coordinate system, the response area of the second field of view control is divided.
在本公开的一种示例性实施例中,响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,包括:In an exemplary embodiment of the present disclosure, in response to a sliding operation acting on the second field of view control, adjusting the game viewing angle corresponding to the game screen according to the sliding operation control includes:
获取所述滑动操作的滑动方向以及滑动距离,并确定所述滑动操作在所述第二视野控件中的目标响应区域;Acquiring the sliding direction and sliding distance of the sliding operation, and determining the target response area of the sliding operation in the second visual field control;
根据所述滑动方向,确定所述滑动操作在所述目标响应区域的视角切换方向;According to the sliding direction, determine the viewing angle switching direction of the sliding operation in the target response area;
根据所述滑动距离,确定切换游戏视角时的切换速度;According to the sliding distance, determine the switching speed when switching the viewing angle of the game;
根据所述切换方向以及所述切换速度,控制调整所述游戏画面对应的游戏视角。According to the switching direction and the switching speed, control and adjust the game viewing angle corresponding to the game screen.
在本公开的一种示例性实施例中,根据所述切换方向以及所述切换速度,控制调整所述游戏画面对应的游戏视角,包括:In an exemplary embodiment of the present disclosure, controlling and adjusting the game viewing angle corresponding to the game screen according to the switching direction and the switching speed includes:
获取所述第二视野控件的预设视野调整比例;Obtain a preset field of view adjustment ratio of the second field of view control;
根据所述切换方向、所述切换速度、所述滑动距离以及所述预设视野调整比例,控制调整所述游戏画面对应的游戏视角。According to the switching direction, the switching speed, the sliding distance and the preset field of view adjustment ratio, control and adjust the game viewing angle corresponding to the game screen.
在本公开的一种示例性实施例中,在控制在所述图形用户界面中显示对应游戏视角下的游戏画面之后,所述游戏画面控制方法还包括:In an exemplary embodiment of the present disclosure, after controlling the display of the game screen corresponding to the game perspective in the graphical user interface, the game screen control method further includes:
响应对游戏中虚拟角色的位置切换操作,控制将所述虚拟角色的位置切换为所述图形用户界面显示的当前游戏画面中。In response to the position switching operation of the virtual character in the game, the control switches the position of the virtual character to the current game screen displayed on the graphical user interface.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本发明的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. Actually, according to the embodiment of the present invention, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by a plurality of modules or units.
此外,尽管在附图中以特定顺序描述了本发明中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。In addition, although the steps of the methods of the present invention are described in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, etc.
在本发明的示例性实施例中,还提供了一种能够实现上述方法的电子设备。In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art can understand that various aspects of the present invention can be implemented as systems, methods or program products. Therefore, various aspects of the present invention can be embodied in the following forms, that is: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which can be collectively referred to herein as "circuit", "module" or "system".
下面参照图13来描述根据本发明的这种实施方式的电子设备1300。图13显示的电子设备1300仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。An
如图13所示,电子设备1300以通用计算设备的形式表现。电子设备1300的组件可以包括但不限于:上述至少一个处理单元1310、上述至少一个存储单元1320、连接不同系统组件(包括存储单元1320和处理单元1310)的总线1330以及显示单元1340。As shown in FIG. 13,
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元1310执行,使得所述处理单元1310执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。例如,所述处理单元1310可以执行如图1中所示的步骤S110:在所述图形用户界面提供第一视野控件;S120:响应作用于所述第一视野控件的触发操作,在所述地图控件处显示第二视野控件;S130:响应作用于所述第二视野控件的滑动操作,根据所述滑动操作控制调整所述游戏画面对应的游戏视角,以在所述图形用户界面中切换显示不同游戏视角下的游戏画面;S140:响应于所述滑动操作的结束,控制在所述图形用户界面中显示对应游戏视角下的游戏画面。Wherein, the storage unit stores program codes, and the program codes can be executed by the
存储单元1320可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)13201和/或高速缓存存储单元13202,还可以进一步包括只读存储单元(ROM)13203。The
存储单元1320还可以包括具有一组(至少一个)程序模块13205的程序/实用工具13204,这样的程序模块12205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
总线1330可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
电子设备1300也可以与一个或多个外部设备1400(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备1300交互的设备通信,和/或与使得该电子设备1300能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口1350进行。并且,电子设备1300还可以通过网络适配器1360与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器1360通过总线1330与电子设备1300的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备1300使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本发明实施方式的方法。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on a network , including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present invention.
在本发明的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。In an exemplary embodiment of the present invention, a computer-readable storage medium is also provided, on which a program product capable of implementing the above-mentioned method in this specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes program code, and when the program product is run on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section above in this specification.
根据本发明的实施方式的用于实现上述方法的程序产品,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。According to the program product for implementing the above method according to the embodiment of the present invention, it may adopt a portable compact disc read-only memory (CD-ROM) and include program codes, and may run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus or device.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may reside on any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for carrying out the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming languages. Programming language - such as "C" or a similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider). business to connect via the Internet).
此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not imply or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.
本领域技术人员在考虑说明书及实践这里发明的发明后,将容易想到本发明的其他实施例。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未发明的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention invented herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not invented by the present invention . The specification and examples are to be considered exemplary only, with the true scope and spirit of the invention indicated by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310121036.4ACN116020110A (en) | 2023-02-09 | 2023-02-09 | Game screen control method and device, computer storage medium, electronic equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310121036.4ACN116020110A (en) | 2023-02-09 | 2023-02-09 | Game screen control method and device, computer storage medium, electronic equipment |
| Publication Number | Publication Date |
|---|---|
| CN116020110Atrue CN116020110A (en) | 2023-04-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310121036.4APendingCN116020110A (en) | 2023-02-09 | 2023-02-09 | Game screen control method and device, computer storage medium, electronic equipment |
| Country | Link |
|---|---|
| CN (1) | CN116020110A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024229979A1 (en)* | 2023-05-09 | 2024-11-14 | 网易(杭州)网络有限公司 | Editing view adjustment method and apparatus, electronic device, and readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105143828A (en)* | 2013-03-15 | 2015-12-09 | 苹果公司 | Mapping application search function |
| CN108888955A (en)* | 2018-06-29 | 2018-11-27 | 网易(杭州)网络有限公司 | Method of controlling viewing angle and device in a kind of game |
| CN110448906A (en)* | 2018-11-13 | 2019-11-15 | 网易(杭州)网络有限公司 | The control method and device at visual angle, touch control terminal in game |
| CN111603770A (en)* | 2020-05-21 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Virtual environment picture display method, device, equipment and medium |
| CN113082718A (en)* | 2021-04-19 | 2021-07-09 | 网易(杭州)网络有限公司 | Game operation method, device, terminal and storage medium |
| CN113082702A (en)* | 2021-04-15 | 2021-07-09 | 网易(杭州)网络有限公司 | Game display control method and electronic equipment |
| CN113101634A (en)* | 2021-04-19 | 2021-07-13 | 网易(杭州)网络有限公司 | Virtual map display method and device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105143828A (en)* | 2013-03-15 | 2015-12-09 | 苹果公司 | Mapping application search function |
| CN105191387A (en)* | 2013-03-15 | 2015-12-23 | 苹果公司 | Mapping application with turn-by-turn navigation mode for output to vehicle display |
| CN108888955A (en)* | 2018-06-29 | 2018-11-27 | 网易(杭州)网络有限公司 | Method of controlling viewing angle and device in a kind of game |
| CN110448906A (en)* | 2018-11-13 | 2019-11-15 | 网易(杭州)网络有限公司 | The control method and device at visual angle, touch control terminal in game |
| CN111603770A (en)* | 2020-05-21 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Virtual environment picture display method, device, equipment and medium |
| CN113082702A (en)* | 2021-04-15 | 2021-07-09 | 网易(杭州)网络有限公司 | Game display control method and electronic equipment |
| CN113082718A (en)* | 2021-04-19 | 2021-07-09 | 网易(杭州)网络有限公司 | Game operation method, device, terminal and storage medium |
| CN113101634A (en)* | 2021-04-19 | 2021-07-13 | 网易(杭州)网络有限公司 | Virtual map display method and device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024229979A1 (en)* | 2023-05-09 | 2024-11-14 | 网易(杭州)网络有限公司 | Editing view adjustment method and apparatus, electronic device, and readable storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN115357178B (en) | Control method applied to screen-throwing scene and related equipment | |
| CN105148517B (en) | A kind of information processing method, terminal and computer-readable storage medium | |
| US20160004425A1 (en) | Method of displaying graphic user interface and electronic device implementing same | |
| CN112306325B (en) | Interactive control method and device | |
| AU2015202698B2 (en) | Method and apparatus for processing input using display | |
| US20230370686A1 (en) | Information display method and apparatus, and device and medium | |
| CN107066199A (en) | The exchange method and device sent for message | |
| WO2023240889A1 (en) | Virtual object switching method and apparatus, storage medium and electronic device | |
| CN117223301A (en) | Ultra wideband control of intelligent streaming devices | |
| CN109954276A (en) | Information processing method, device, medium and electronic equipment in game | |
| CN116020110A (en) | Game screen control method and device, computer storage medium, electronic equipment | |
| CN109885243B (en) | Information processing method and device in electronic system, storage medium and electronic equipment | |
| CN114733196A (en) | Game scene control method, game scene control device, medium and electronic device | |
| WO2022205784A1 (en) | Interface information control method and apparatus | |
| CN112291758B (en) | File sharing method, file sharing device and electronic equipment | |
| CN114979730A (en) | Screen sharing interaction method, device, computer equipment and storage medium | |
| CN111773712A (en) | Interactive control method and apparatus, electronic device and computer-readable storage medium | |
| CN113769403B (en) | Virtual object moving method and device, readable storage medium and electronic equipment | |
| WO2021012128A1 (en) | Mobile terminal-based image display apparatus and method, medium, and electronic device | |
| CN113873480A (en) | Interaction control method, device, terminal and storage medium | |
| Sicard et al. | Tide: Lightweight device composition for enhancing tabletop environments with smartphone applications | |
| CN110221746A (en) | Information interacting method, device, medium and calculating equipment | |
| CN109857310B (en) | Information processing method and device in electronic system, storage medium and electronic equipment | |
| US20250190163A1 (en) | Input device screen-share facilitation | |
| CN111142820B (en) | Remote control method, device and system based on multiple screens |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |