Movatterモバイル変換


[0]ホーム

URL:


CN115193046A - A game display control method, device, computer equipment and storage medium - Google Patents

A game display control method, device, computer equipment and storage medium
Download PDF

Info

Publication number
CN115193046A
CN115193046ACN202210749413.4ACN202210749413ACN115193046ACN 115193046 ACN115193046 ACN 115193046ACN 202210749413 ACN202210749413 ACN 202210749413ACN 115193046 ACN115193046 ACN 115193046A
Authority
CN
China
Prior art keywords
travel route
game
user interface
graphical user
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210749413.4A
Other languages
Chinese (zh)
Inventor
钱子玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN202210749413.4ApriorityCriticalpatent/CN115193046A/en
Publication of CN115193046ApublicationCriticalpatent/CN115193046A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请实施例公开了一种游戏显示控制方法、装置、计算机设备及存储介质。本方案根据当前游戏玩家对游戏地形场景中第一虚拟单位的触控操作触发显示该第一虚拟单位在游戏地形场景中的第一行进路线,然后根据游戏玩家在第一行进路线上的滑动操作的滑动方向确定虚拟摄像机的移动方向,在图形用户界面切换虚拟摄像机移动过程中采集的游戏地形场景形成的视角画面,实现沿第一行进路线的方向切换显示视角画面,方便游戏玩家的操作,从而提高游戏玩家的游戏体验。

Figure 202210749413

The embodiments of the present application disclose a game display control method, device, computer equipment and storage medium. This scheme triggers and displays the first travel route of the first virtual unit in the game terrain scene according to the current game player's touch operation on the first virtual unit in the game terrain scene, and then according to the game player's sliding operation on the first travel route The sliding direction of the virtual camera determines the moving direction of the virtual camera, and switches the viewing angle screen formed by the game terrain scene collected during the virtual camera moving process on the GUI, so as to switch the display viewing angle screen along the direction of the first travel route, which is convenient for game players to operate, thereby Improve gamer's gaming experience.

Figure 202210749413

Description

Translated fromChinese
一种游戏显示控制方法、装置、计算机设备及存储介质A game display control method, device, computer equipment and storage medium

技术领域technical field

本申请涉及计算机技术领域,具体涉及一种游戏显示控制方法、装置、计算机设备及存储介质。The present application relates to the field of computer technology, and in particular, to a game display control method, device, computer device, and storage medium.

背景技术Background technique

随着互联网的发展,涌现出大量不同类型的游戏,以满足用户的日常娱乐需求。With the development of the Internet, a large number of different types of games have emerged to meet the daily entertainment needs of users.

在一些策略类游戏中,游戏中的虚拟角色可以在虚拟游戏场景中移动,游戏玩家若需要查看虚拟角色在虚拟游戏场景中的移动路径,可以滑动显示屏幕以查看移动路径对应的虚拟游戏场景。但是,在虚拟游戏场景的区域范围较广,移动路径较长的情况下,玩家想要查看移动路径中的某个游戏场景时,需要反复滑动显示屏幕才能找到该游戏场景,操作繁琐,影响玩家游戏体验。In some strategy games, the virtual characters in the game can move in the virtual game scene. If the game player needs to check the movement path of the virtual character in the virtual game scene, he can slide the display screen to view the virtual game scene corresponding to the movement path. However, when the virtual game scene has a wide area and a long moving path, when the player wants to view a certain game scene in the moving path, he needs to repeatedly slide the display screen to find the game scene, which is cumbersome and affects the player. gaming experience.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种游戏显示控制方法、装置、计算机设备及存储介质,可以提高游戏玩家的游戏体验。Embodiments of the present application provide a game display control method, device, computer device, and storage medium, which can improve the game experience of game players.

本申请实施例提供了一种游戏显示控制方法,包括:The embodiment of the present application provides a game display control method, including:

在所述图形用户界面显示包括所述第一虚拟单位的第一视角画面,所述第一视角画面为通过虚拟摄像机在第一位置采集所述游戏地形场景所形成的画面;displaying, on the graphical user interface, a first perspective picture including the first virtual unit, where the first perspective picture is a picture formed by capturing the game terrain scene at a first position by a virtual camera;

响应针对所述第一虚拟单位的第一操作,确定所述第一虚拟单位的第一行进路线,所述第一行进路线为所述第一虚拟单位从初始位置向所述游戏地形场景中的目标位置进行行进的路线;In response to the first operation on the first virtual unit, a first travel route of the first virtual unit is determined, and the first travel route is from an initial position of the first virtual unit to a location in the game terrain scene. the route to travel to the target location;

响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,并基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,以将所述图形用户界面显示的第一视角画面切换为与所述第二位置对应的第二视角画面,其中,所述第二视角画面包括至少部分所述第一行进路线的标识。In response to a second operation acting on the graphical user interface, a target direction is determined according to the first travel route, and based on the target direction, the virtual camera is controlled to move from a first position to a second position to move the The picture from the first perspective displayed on the graphical user interface is switched to the picture from the second perspective corresponding to the second position, wherein the picture from the second perspective includes at least part of the identification of the first travel route.

相应的,本申请实施例还提供了一种游戏显示控制装置,包括:Correspondingly, an embodiment of the present application also provides a game display control device, including:

显示单元,用于在所述图形用户界面显示包括所述第一虚拟单位的第一视角画面,所述第一视角画面为通过虚拟摄像机在第一位置采集所述游戏地形场景所形成的画面;a display unit, configured to display, on the graphical user interface, a first-view picture including the first virtual unit, where the first-view picture is a picture formed by capturing the game terrain scene at a first position by a virtual camera;

第一确定单元,用于响应针对所述第一虚拟单位的第一操作,确定所述第一虚拟单位的第一行进路线,所述第一行进路线为所述第一虚拟单位从初始位置向所述游戏地形场景中的目标位置进行行进的路线;A first determining unit, configured to, in response to a first operation on the first virtual unit, determine a first travel route of the first virtual unit, where the first travel route is the movement of the first virtual unit from the initial position to the The route of the target position in the game terrain scene;

第一切换单元,用于响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,并基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,以将所述图形用户界面显示的第一视角画面切换为与所述第二位置对应的第二视角画面,其中,所述第二视角画面包括至少部分所述第一行进路线的标识。A first switching unit, configured to determine a target direction according to the first travel route in response to a second operation acting on the graphical user interface, and control the virtual camera to move from a first position to a second position based on the target direction two positions, so as to switch the picture from the first perspective displayed on the GUI to the picture from the second perspective corresponding to the second position, wherein the picture from the second perspective includes at least part of the identification of the first travel route .

在一些实施例中,第一切换单元包括:In some embodiments, the first switching unit includes:

第一获取子单元,用于响应作用于所述图形用户界面的滑动操作,获取所述滑动操作的滑动方向;a first acquiring subunit, configured to acquire the sliding direction of the sliding operation in response to the sliding operation acting on the graphical user interface;

第一确定子单元,用于从所述虚拟摄像机沿所述第一行进路线的多个预设移动方向中,确定与所述滑动方向关联的预设移动方向,得到所述目标方向。A first determining subunit, configured to determine a preset moving direction associated with the sliding direction from a plurality of preset moving directions of the virtual camera along the first travel route to obtain the target direction.

在一些实施例中,第一切换单元包括:In some embodiments, the first switching unit includes:

第二获取子单元,用于响应作用于所述第一行进路线的滑动操作,获取所述滑动操作在所述第一行进路线上的方向,得到所述目标方向。A second acquiring subunit, configured to acquire the direction of the sliding operation on the first traveling route in response to the sliding operation acting on the first traveling route to obtain the target direction.

在一些实施例中,第一切换单元包括:In some embodiments, the first switching unit includes:

第三获取子单元,用于在所述滑动操作期间,获取所述滑动操作的滑动参数,根据所述滑动参数确定所述目标方向以及在所述第一行进路线上的第二位置;a third obtaining subunit, configured to obtain the sliding parameters of the sliding operation during the sliding operation, and determine the target direction and the second position on the first travel route according to the sliding parameters;

第一控制子单元,用于持续控制所述虚拟摄像机从所述第一位置移动至所述第二位置。a first control subunit, configured to continuously control the virtual camera to move from the first position to the second position.

在一些实施例中,第一切换单元包括:In some embodiments, the first switching unit includes:

第四获取子单元,用于在所述滑动操作期间,获取所述滑动操作的滑动参数,根据所述滑动参数确定所述目标方向以及所述虚拟摄像机的移动速度;a fourth obtaining subunit, configured to obtain the sliding parameters of the sliding operation during the sliding operation, and determine the target direction and the moving speed of the virtual camera according to the sliding parameters;

第二控制子单元,用于持续控制所述虚拟摄像机在所述第一行进路线上基于所述目标方向和所述移动速度进行移动。A second control subunit, configured to continuously control the virtual camera to move on the first travel route based on the target direction and the moving speed.

在一些实施例中,第一切换单元包括:In some embodiments, the first switching unit includes:

显示子单元,用于响应作用于所述第一行进路线的触控操作,在所述图形用户界面上显示多个候选方向标识,其中,所述多个候选方向标识分别指示所述第一行进路线上的不同方向;a display subunit, configured to display a plurality of candidate direction signs on the graphical user interface in response to a touch operation acting on the first travel route, wherein the plurality of candidate direction signs respectively indicate the first travel route different directions on the route;

第二确定子单元,用于响应作用于所述多个候选方向标识中目标方向标识的滑动操作,根据所述目标方向标识指示的方向确定所述目标方向。The second determination subunit is configured to determine the target direction according to the direction indicated by the target direction indicator in response to the sliding operation acting on the target direction indicator in the plurality of candidate direction indicators.

在一些实施例中,该装置还包括:In some embodiments, the apparatus further includes:

第二确定单元,用于响应作用于所述第一行进路线的位置选择操作,从所述第一行进路线中确定第三位置;a second determination unit, configured to determine a third position from the first travel route in response to a position selection operation acting on the first travel route;

第二切换单元,用于将所述图形用户界面显示的第一视角画面切换为与所述第三位置对应的视角画面。The second switching unit is configured to switch the first viewing angle picture displayed by the graphical user interface to the viewing angle picture corresponding to the third position.

在一些实施例中,该装置还包括:In some embodiments, the apparatus further includes:

第三确定单元,用于响应于所述第二操作结束,确定所述第一虚拟单位在所述第一行进路线上的第四位置;a third determination unit, configured to determine a fourth position of the first virtual unit on the first travel route in response to the end of the second operation;

第三切换单元,用于将所述图形用户界面显示的第二视角画面切换为与所述第四位置对应的视角画面。A third switching unit, configured to switch the second viewing angle picture displayed by the graphical user interface to the viewing angle picture corresponding to the fourth position.

在一些实施例中,第一确定单元包括:In some embodiments, the first determining unit includes:

第五获取子单元,用于响应作用于所述第一虚拟单位的触控操作,获取所述第一虚拟单位在所述游戏地形场景中行进的初始位置与结束位置;a fifth acquisition subunit, configured to acquire the initial position and the end position of the first virtual unit traveling in the game terrain scene in response to the touch operation acting on the first virtual unit;

第三确定子单元,用于基于所述初始位置与所述结束位置确定所述第一行进路线,并在所述图形用户界面显示所述第一行进路线。A third determination subunit, configured to determine the first travel route based on the initial position and the end position, and display the first travel route on the graphical user interface.

本申请实施例通过当前游戏玩家对游戏地形场景中第一虚拟单位的触控操作触发显示该第一虚拟单位在游戏地形场景中的第一行进路线,然后根据游戏玩家在第一行进路线上的滑动操作的滑动方向确定虚拟摄像机的移动方向,在图形用户界面切换虚拟摄像机移动过程中采集的游戏地形场景形成的视角画面,实现沿第一行进路线的方向切换显示视角画面,方便游戏玩家的操作,从而提高游戏玩家的游戏体验。In this embodiment of the present application, the current game player's touch operation on the first virtual unit in the game terrain scene triggers the display of the first travel route of the first virtual unit in the game terrain scene, and then displays the first travel route of the first virtual unit in the game terrain scene according to the game player's touch operation on the first travel route. The sliding direction of the sliding operation determines the moving direction of the virtual camera, and switches the viewing angle image formed by the game terrain scene collected during the virtual camera movement process in the GUI, so as to realize the switching of the viewing angle image along the direction of the first travel route, which is convenient for game players to operate. , so as to improve the game player's gaming experience.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1为本申请实施例提供的一种游戏显示控制系统的场景示意图。FIG. 1 is a schematic scene diagram of a game display control system provided by an embodiment of the present application.

图2为本申请实施例提供的一种游戏显示控制方法的流程示意图。FIG. 2 is a schematic flowchart of a game display control method according to an embodiment of the present application.

图3为本申请实施例提供的一种游戏显示控制方法的应用场景示意图。FIG. 3 is a schematic diagram of an application scenario of a game display control method provided by an embodiment of the present application.

图4为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 4 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图5为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 5 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图6为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 6 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图7为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 7 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图8为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 8 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图9为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 9 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图10为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 10 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图11为本申请实施例提供的另一种游戏显示控制方法的流程示意图。FIG. 11 is a schematic flowchart of another game display control method provided by an embodiment of the present application.

图12为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 12 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图13为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。FIG. 13 is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application.

图14为本申请实施例提供的一种游戏显示控制装置的结构框图。FIG. 14 is a structural block diagram of a game display control apparatus provided by an embodiment of the present application.

图15为本申请实施例提供的计算机设备的结构示意图。FIG. 15 is a schematic structural diagram of a computer device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。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. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.

本申请实施例提供一种游戏显示控制方法、装置、存储介质及计算机设备。具体地,本申请实施例的游戏显示控制方法可以由计算机设备执行,其中,该计算机设备可以为终端或者服务器等设备。该终端可以为智能手机、平板电脑、笔记本电脑、触控屏幕、游戏机、个人计算机(PC,Personal Computer)、个人数字助理(Personal Digital Assistant,PDA)等终端设备,终端还可以包括客户端,该客户端可以是游戏应用客户端、携带有游戏程序的浏览器客户端或即时通信客户端等。服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。Embodiments of the present application provide a game display control method, device, storage medium, and computer device. Specifically, the game display control method of the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server or other device. The terminal may be a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices, and the terminal may also include a client, The client may be a game application client, a browser client carrying a game program, or an instant messaging client. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, intermediate Cloud servers for basic cloud computing services such as software services, domain name services, security services, CDNs, and big data and artificial intelligence platforms.

例如,当该游戏显示控制方法运行于终端时,终端设备存储有游戏应用程序并用于呈现游戏画面中的虚拟场景。终端设备用于通过图形用户界面与用户进行交互,例如通过终端设备下载安装游戏应用程序并运行。该终端设备将图形用户界面提供给用户的方式可以包括多种,例如,可以渲染显示在终端设备的显示屏上,或者,通过全息投影呈现图形用户界面。例如,终端设备可以包括触控显示屏和处理器,该触控显示屏用于呈现图形用户界面以及接收用户作用于图形用户界面产生的操作指令,该图形用户界面包括游戏画面,该处理器用于运行该游戏、生成图形用户界面、响应操作指令以及控制图形用户界面在触控显示屏上的显示。For example, when the game display control method runs on a terminal, the terminal device stores a game application and is used to present a virtual scene in a game screen. The terminal device is used for interacting with the user through a graphical user interface, for example, downloading, installing and running a game application program through the terminal device. The terminal device may provide the graphical user interface to the user in various ways, for example, it may be rendered and displayed on the display screen of the terminal device, or the graphical user interface may be presented through holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used for presenting a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface, the graphical user interface includes a game screen, and the processor is used for Running the game, generating a graphical user interface, responding to operating instructions, and controlling the display of the graphical user interface on the touch screen.

例如,当该游戏显示控制方法运行于服务器时,可以为云游戏。云游戏是指以云计算为基础的游戏方式。在云游戏的运行模式下,游戏应用程序的运行主体和游戏画面呈现主体是分离的,游戏显示控制方法的储存与运行是在云游戏服务器上完成的。而游戏画面呈现是在云游戏的客户端完成的,云游戏客户端主要用于游戏数据的接收、发送以及游戏画面的呈现,例如,云游戏客户端可以是靠近用户侧的具有数据传输功能的显示设备,如,移动终端、电视机、计算机、掌上电脑、个人数字助理等,但是进行游戏数据处理的终端设备为云端的云游戏服务器。在进行游戏时,用户操作云游戏客户端向云游戏服务器发送操作指令,云游戏服务器根据操作指令运行游戏,将游戏画面等数据进行编码压缩,通过网络返回云游戏客户端,最后,通过云游戏客户端进行解码并输出游戏画面。For example, when the game display control method runs on a server, it can be a cloud game. Cloud games refer to games based on cloud computing. In the running mode of the cloud game, the running subject of the game application and the game screen presentation subject are separated, and the storage and running of the game display control method are completed on the cloud game server. The game screen presentation is completed on the client side of the cloud game. The cloud game client is mainly used for the reception and transmission of game data and the presentation of the game screen. For example, the cloud game client can be close to the user side with data transmission function. Display devices, such as mobile terminals, televisions, computers, handheld computers, personal digital assistants, etc., but the terminal devices that process game data are cloud game servers in the cloud. When playing a game, the user operates the cloud game client to send operation instructions to the cloud game server, and the cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the cloud game client through the network. Finally, through the cloud game The client decodes and outputs the game screen.

请参阅图1,图1为本申请实施例提供的一种游戏显示控制系统的场景示意图。该系统可以包括至少一个终端,至少一个服务器,至少一个数据库,以及网络。用户持有的终端可以通过网络连接到不同游戏的服务器。终端是具有计算硬件的任何设备,该计算硬件能够支持和执行与游戏对应的软件产品。另外,终端具有用于感测和获得用户通过在一个或者多个触控显示屏的多个点执行的触摸或者滑动操作的输入的一个或者多个多触敏屏幕。另外,当系统包括多个终端、多个服务器、多个网络时,不同的终端可以通过不同的网络、通过不同的服务器相互连接。网络可以是无线网络或者有线网络,比如无线网络为无线局域网(WLAN)、局域网(LAN)、蜂窝网络、2G网络、3G网络、4G网络、5G网络等。另外,不同的终端1000之间也可以使用自身的蓝牙网络或者热点网络连接到其他终端或者连接到服务器等。例如,多个用户可以通过不同的终端在线从而通过适当网络连接并且相互同步,以支持多玩家游戏。另外,该系统可以包括多个数据库,多个数据库耦合到不同的服务器,并且可以将与游戏环境有关的信息在不同用户在线进行多玩家游戏时连续地存储于数据库中。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a scene of a game display control system provided by an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the servers of different games through the network. A terminal is any device with computing hardware capable of supporting and executing software products corresponding to games. In addition, the terminal has one or more multi-touch-sensitive screens for sensing and obtaining user input through touch or swipe operations performed at multiple points of the one or more touch-sensitive display screens. In addition, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and through different servers. The network may be a wireless network or a wired network, for example, the wireless network is a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, and the like. In addition, different terminals 1000 may also use their own Bluetooth network or hotspot network to connect to other terminals or to a server or the like. For example, multiple users can be online through different terminals so as to be connected and synchronized with each other through the appropriate network to support multi-player games. Additionally, the system may include a plurality of databases coupled to different servers, and information related to the gaming environment may be stored in the databases continuously as different users play online multi-player games.

本申请实施例提供了一种游戏显示控制方法,该方法可以由终端或服务器执行。本申请实施例以游戏显示控制方法由终端执行为例来进行说明。其中,该终端包括触控显示屏和处理器,该触控显示屏用于呈现图形用户界面以及接收用户作用于图形用户界面产生的操作指令。用户通过触控显示屏对图形用户界面进行操作时,该图形用户界面可以通过响应于接收到的操作指令控制终端本地的内容,也可以通过响应于接收到的操作指令控制对端服务器的内容。例如,用户作用于图形用户界面产生的操作指令包括用于启动游戏应用程序的指令,处理器被配置为在接收到用户提供的启动游戏应用程序的指令之后启动游戏应用程序。此外,处理器被配置为在触控显示屏上渲染和绘制与游戏相关联的图形用户界面。触控显示屏是能够感测屏幕上的多个点同时执行的触摸或者滑动操作的多触敏屏幕。用户在使用手指在图形用户界面上执行触控操作,图形用户界面在检测到触控操作时,控制游戏中的不同虚拟对象执行与触控操作对应的动作。例如,该游戏可以为休闲游戏、动作游戏、角色扮演游戏、策略游戏、体育游戏、益智游戏等游戏中的任一种。其中,游戏可以包括游戏的虚拟场景。此外,游戏的虚拟场景中可以包括由用户(或玩家)控制的一个或多个虚拟对象,诸如虚拟角色。另外,游戏的虚拟场景中还可以包括一个或多个障碍物,诸如栏杆、沟壑、墙壁等,以限制虚拟对象的移动,例如将一个或多个对象的移动限制到虚拟场景内的特定区域。可选地,游戏的虚拟场景还包括一个或多个元素,诸如技能、分值、角色健康状态、能量等,以向玩家提供帮助、提供虚拟服务、增加与玩家表现相关的分值等。此外,图形用户界面还可以呈现一个或多个指示器,以向玩家提供指示信息。例如,游戏可以包括玩家控制的虚拟对象和一个或多个其他虚拟对象(诸如敌方角色)。在一个实施例中,一个或多个其他虚拟对象由游戏的其他玩家控制。例如,一个或多个其他虚拟对象可以由计算机控制,诸如使用人工智能(AI)算法的机器人,实现人机对战模式。例如,虚拟对象拥有游戏玩家用来实现目标的各种技能或能力。例如虚拟对象拥有可用于从游戏中消除其他对象的一种或多种武器、道具、工具等。这样的技能或能力可由游戏的玩家使用与终端的触控显示屏的多个预设触控操作之一来激活。处理器可以被配置为响应于用户的触控操作产生的操作指令来呈现对应的游戏画面。The embodiment of the present application provides a game display control method, and the method can be executed by a terminal or a server. The embodiments of the present application are described by taking an example that the game display control method is executed by a terminal. Wherein, the terminal includes a touch display screen and a processor, and the touch display screen is used for presenting a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. When the user operates the graphical user interface through the touch screen, the graphical user interface can control the local content of the terminal in response to the received operation command, and can also control the content of the peer server in response to the received operational command. For example, the operating instructions generated by the user acting on the graphical user interface include instructions for launching the game application, and the processor is configured to launch the game application after receiving the user-provided instruction to launch the game application. Additionally, the processor is configured to render and draw a graphical user interface associated with the game on the touch display. A touch display is a multi-touch sensitive screen capable of sensing simultaneous touch or swipe operations performed at multiple points on the screen. The user uses a finger to perform a touch operation on the GUI, and when the GUI detects the touch operation, the GUI controls different virtual objects in the game to perform actions corresponding to the touch operation. For example, the game may be any of casual games, action games, role-playing games, strategy games, sports games, puzzle games, and the like. The game may include a virtual scene of the game. Additionally, the virtual scene of the game may include one or more virtual objects, such as virtual characters, that are controlled by the user (or player). In addition, the virtual scene of the game may also include one or more obstacles, such as railings, ravines, walls, etc., to limit the movement of virtual objects, for example, to limit the movement of one or more objects to a specific area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, points, character health, energy, etc., to provide assistance to the player, provide virtual services, increase points related to player performance, and the like. Additionally, the graphical user interface may also present one or more indicators to provide instructional information to the player. For example, a game may include player-controlled virtual objects and one or more other virtual objects (such as enemy characters). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects can be controlled by a computer, such as a robot using artificial intelligence (AI) algorithms, to implement a man-machine combat mode. For example, virtual objects possess various skills or abilities that gamers use to achieve their goals. For example, a virtual object possesses one or more weapons, props, tools, etc. that can be used to eliminate other objects from the game. Such skills or abilities may be activated by a player of the game using one of a number of preset touch operations with the terminal's touch display. The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a user's touch operation.

需要说明的是,图1所示的游戏显示控制系统的场景示意图仅仅是一个示例,本申请实施例描述的图像处理系统以及场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着游戏显示控制系统的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the schematic diagram of the scene of the game display control system shown in FIG. 1 is only an example. The image processing system and the scene described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a Regarding the limitations of the technical solutions provided in the embodiments of the present application, those of ordinary skill in the art know that with the evolution of the game display control system and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems. .

基于上述问题,本申请实施例提供第一种游戏显示控制方法、装置、计算机设备及存储介质,可以提高游戏玩家的游戏体验。以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。Based on the above problems, the embodiments of the present application provide a first game display control method, device, computer equipment, and storage medium, which can improve the game player's game experience. Each of them will be described in detail below. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

本申请实施例提供一种游戏显示控制方法,该方法可以由终端或服务器执行,本申请实施例以游戏显示控制方法由终端执行为例来进行说明。The embodiments of the present application provide a method for controlling game display, and the method may be executed by a terminal or a server. The embodiments of the present application take the method for controlling game display being executed by a terminal as an example for description.

请参阅图2,图2为本申请实施例提供的一种游戏显示控制方法的流程示意图。该游戏显示控制方法的具体流程可以如下:Please refer to FIG. 2 , which is a schematic flowchart of a game display control method according to an embodiment of the present application. The specific flow of the game display control method may be as follows:

101、在图形用户界面显示包括第一虚拟单位的第一视角画面。101. Display a first-view picture including a first virtual unit on a graphical user interface.

在本申请实施例中,通过终端设备提供图形用户界面,图形用户界面显示的内容至少包括目标游戏的部分游戏地形场景,游戏地形场景中包括与终端设备对应的第一虚拟单位。In this embodiment of the present application, a terminal device is used to provide a graphical user interface, the content displayed on the graphical user interface includes at least part of the game terrain scene of the target game, and the game terrain scene includes a first virtual unit corresponding to the terminal device.

其中,虚拟单位指的是可以在游戏地形场景中进行移动的对象,比如,虚拟单位可以为虚拟角色,或者队伍等。第一虚拟单位可以为当前游戏玩家控制的虚拟单位。The virtual unit refers to an object that can move in the game terrain scene. For example, the virtual unit may be a virtual character or a team. The first virtual unit may be a virtual unit controlled by the current game player.

其中,第一视角画面为通过虚拟摄像机在第一位置采集游戏地形场景所形成的画面。第一位置可以为当前虚拟单位在游戏地形场景中的位置。虚拟摄像机可以用于采集游戏地形场景生成游戏场景画面。虚拟摄像机可以跟随第一虚拟单位的移动进行移动,或者可以通过游戏玩家控制移动等。Wherein, the first viewing angle picture is a picture formed by collecting the game terrain scene at the first position by the virtual camera. The first position may be the position of the current virtual unit in the game terrain scene. The virtual camera can be used to capture the game terrain scene to generate the game scene picture. The virtual camera may move following the movement of the first virtual unit, or the movement may be controlled by the game player, and the like.

例如,请参阅图3,图3为本申请实施例提供的一种游戏显示控制方法的应用场景示意图。在图3所示的图形用户界面中,显示有目标游戏的部分游戏地形场景,位于游戏地形场景中的虚拟单位,以及设置在游戏地形场景中不同位置的多个场景元素等。For example, please refer to FIG. 3 , which is a schematic diagram of an application scenario of a game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 3 , part of the game terrain scene of the target game, virtual units located in the game terrain scene, and multiple scene elements arranged in different positions in the game terrain scene are displayed.

102、响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线。102. In response to the first operation on the first virtual unit, determine a first travel route of the first virtual unit.

其中,第一操作可以为在图形用户界面对第一虚拟单位的触控操作。The first operation may be a touch operation on the first virtual unit on the graphical user interface.

其中,第一行进路线为第一虚拟单位从游戏地形场景中的初始位置向游戏地形场景中的目标位置进行行进的路线。初始位置也即行进起点,目标位置也即行进终点,当前第一虚拟单位执行从游戏地形场景中的行进起点向行进终点移动的任务。The first travel route is a route for the first virtual unit to travel from an initial position in the game terrain scene to a target position in the game terrain scene. The initial position is also the travel start point, and the target position is also the travel end point. Currently, the first virtual unit performs the task of moving from the travel start point to the travel end point in the game terrain scene.

在一些实施例中,为了方便游戏玩家切换查看第一行进路线中不同位置的游戏地形场景画面,步骤“响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线”,可以包括以下操作:In some embodiments, in order to facilitate the game player to switch and view the game terrain scene images of different positions in the first travel route, the step "in response to the first operation on the first virtual unit, determine the first travel route of the first virtual unit", Can include the following actions:

响应作用于第一虚拟单位的触控操作,获取第一虚拟单位在游戏地形场景中行进的初始位置与结束位置;In response to the touch operation acting on the first virtual unit, obtain the initial position and the end position of the first virtual unit traveling in the game terrain scene;

基于初始位置与结束位置确定第一行进路线,并在图形用户界面显示第一行进路线。The first travel route is determined based on the initial position and the end position, and the first travel route is displayed on the graphical user interface.

其中,触控操作包括但不限于点击操作、滑动操作,按压操作等。游戏玩家可以通过对图形用户界面中的第一虚拟单位的触控操作,以此可以触发在图形用户界面显示第一虚拟单位对应的第一行进路线。The touch operation includes, but is not limited to, a click operation, a slide operation, a pressing operation, and the like. The game player can trigger the display of the first travel route corresponding to the first virtual unit on the graphical user interface through a touch operation on the first virtual unit in the graphical user interface.

在本申请实施例中,第一虚拟单位可以为执行行进任务的虚拟单位,当检测到游戏玩家对第一虚拟单位的触控操作,获取行进任务对应的行进起点,作为初始位置,以及获取行进任务对应的行进终点,作为结束位置,进而根据初始位置与结束位置在游戏地形场景中生成第一虚拟路径。然后可以在图形用户界面显示该第一虚拟路径方便玩家查看。In the embodiment of the present application, the first virtual unit may be a virtual unit that performs a traveling task. When a touch operation by a game player on the first virtual unit is detected, the traveling starting point corresponding to the traveling task is obtained as the initial position, and the traveling starting point corresponding to the traveling task is obtained. The travel end point corresponding to the task is used as the end position, and then the first virtual path is generated in the game terrain scene according to the initial position and the end position. The first virtual path can then be displayed on the graphical user interface for the player to view.

例如,请参阅图4,图4为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图4所示的图形用户界面中,在游戏地形场景中行进的虚拟单位可以包括:虚拟单位A和虚拟单位B,若游戏玩家想要查看虚拟单位的第一行进路线,可以对虚拟单位进行触控操作,比如长按操作。当检测到对虚拟单位B的长按操作,确定第一虚拟单位为:虚拟单位B,则可以确定虚拟单位B的第一行进路线,然后在图形用户界面显示虚拟单位B的第一行进路线,可以为显示完整的第一行进路线或者部分第一行进路线。For example, please refer to FIG. 4 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 4 , the virtual units traveling in the game terrain scene may include: virtual unit A and virtual unit B. If the game player wants to view the first travel route of the virtual unit, he Touch operation, such as long press operation. When the long-press operation on the virtual unit B is detected, it is determined that the first virtual unit is: virtual unit B, then the first travel route of the virtual unit B can be determined, and then the first travel route of the virtual unit B is displayed on the GUI, The complete first travel route or a part of the first travel route may be displayed.

在一些实施例中,在图形用户界面显示第一行进路线可以为显示第一行进路线的部分,比如,完整的第一行进路线在游戏地形场景中为:场景位置A(行进起点)至场景位置B(行进终点)的路线,当前第一虚拟单位在第一行进路线中的位置可以为场景位置A至场景位置B之间的场景位置C,则可以在图形用户界面显示场景位置C至场景位置B对应的第一行进路线的部分,也即无需显示第一行进路线中第一虚拟单位已经路过的部分。In some embodiments, displaying the first travel route on the GUI may be a part of displaying the first travel route, for example, the complete first travel route in the game terrain scene is: scene position A (travel starting point) to scene position The route of B (travel end point), the current position of the first virtual unit in the first travel route can be the scene position C between the scene position A and the scene position B, then the scene position C to the scene position can be displayed on the graphical user interface. The part of the first travel route corresponding to B, that is, the part of the first travel route that the first virtual unit has passed by does not need to be displayed.

103、响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,并基于目标方向控制虚拟摄像机从第一位置移动至第二位置,以将图形用户界面显示的第一视角画面切换为与第二位置对应的第二视角画面。103. In response to the second operation acting on the graphical user interface, determine a target direction according to the first travel route, and control the virtual camera to move from the first position to the second position based on the target direction, so as to display the first viewing angle of the graphical user interface The picture is switched to the second viewing angle picture corresponding to the second position.

其中,目标方向指的是虚拟摄像机采集第一行进路线中游戏地形场景的移动方向。移动方向至少可以包括第一移动方向与第二移动方向,其中,第一移动方向可以为指向第一行进路线的行进终点的方向,第二移动方向可以为指向第一行进路线的行进起点的方向。The target direction refers to the moving direction of the game terrain scene in the first travel route captured by the virtual camera. The moving direction may include at least a first moving direction and a second moving direction, wherein the first moving direction may be a direction pointing to the travel end point of the first travel route, and the second moving direction may be a direction pointing to the travel start point of the first travel route .

在一些实施例中,为了方便游戏玩家的不同操作需求,步骤“响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向”,可以包括以下操作:In some embodiments, in order to facilitate the different operation requirements of game players, the step "in response to the second operation acting on the graphical user interface, determine a target direction according to the first travel route" may include the following operations:

响应作用于图形用户界面的滑动操作,获取滑动操作的滑动方向;Obtain the sliding direction of the sliding operation in response to the sliding operation acting on the graphical user interface;

从虚拟摄像机沿第一行进路线的多个预设移动方向中,确定与滑动方向关联的预设移动方向,得到目标方向。From a plurality of preset moving directions of the virtual camera along the first travel route, a preset moving direction associated with the sliding direction is determined to obtain the target direction.

其中,多个预设方向可以包括指向第一行进路线的行进终点的第一移动方向,指向第一行进路线的行进起点的第二移动方向。The plurality of preset directions may include a first movement direction pointing to the travel end point of the first travel route, and a second movement direction pointing to the travel start point of the first travel route.

在本申请实施例中,根据预设移动方向的数量设计多个预设滑动操作,不同预设滑动操作的滑动方向不同,然后将预设滑动操作与移动方向进行关联。In the embodiment of the present application, a plurality of preset sliding operations are designed according to the number of preset moving directions, the sliding directions of different preset sliding operations are different, and then the preset sliding operations are associated with the moving directions.

在一些实施例中,多个预设滑动操作可以包括:上滑操作和下滑操作,移动方向包括第一移动方向与第二移动方向,将上滑操作与第一移动方向关联,以及将下滑操作与第二移动方向关联。In some embodiments, the plurality of preset sliding operations may include: an upward sliding operation and a downward sliding operation, the moving directions include a first moving direction and a second moving direction, associating the upward sliding operation with the first moving direction, and associating the downward sliding operation associated with the second movement direction.

例如,请参阅图5,图5为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图5所示的图形用户界面中,显示有第一虚拟单位以及第一虚拟单位的第一行进路线。其中,第一移动方向可以为指向第一行进路线终点的方向,第二移动方向可以为指向第一行进路线起点的方向。当检测到游戏玩家在图形用户界面的上滑操作时,确定与上滑操作关联的第一移动方向为目标方向,也即指向第一行进路线的行进终点的方向。For example, please refer to FIG. 5 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 5 , the first virtual unit and the first travel route of the first virtual unit are displayed. Wherein, the first moving direction may be a direction pointing to the end point of the first travel route, and the second moving direction may be a direction pointing to the starting point of the first travel route. When the upward sliding operation of the game player on the graphical user interface is detected, the first moving direction associated with the upward sliding operation is determined as the target direction, that is, the direction pointing to the travel end point of the first travel route.

或者,当检测到游戏玩家在图形用户界面的下滑操作时,可以确定第二移动方向为目标方向,也即指向第一行进路线的行进起点的方向。Alternatively, when the sliding operation of the game player on the graphical user interface is detected, the second moving direction may be determined as the target direction, that is, the direction pointing to the travel starting point of the first travel route.

在一些实施例中,多个预设滑动操作可以包括:左滑操作和右滑操作,移动方向包括第一移动方向与第二移动方向,将左滑操作与第一移动方向关联,以及将右滑操作与第二移动方向关联。In some embodiments, the plurality of preset sliding operations may include: a left sliding operation and a right sliding operation, the moving directions include a first moving direction and a second moving direction, associating the left sliding operation with the first moving direction, and the right sliding operation The sliding operation is associated with the second movement direction.

例如,请参阅图6,图6为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图6所示的图形用户界面中,显示有第一虚拟单位以及第一虚拟单位的第一行进路线,其中,第一移动方向可以为指向第一行进路线终点的方向,第二移动方向可以为指向第一行进路线起点的方向,当检测到游戏玩家在图形用户界面的左滑操作时,确定与上滑操作关联的第一移动方向为目标方向,也即指向第一行进路线的行进终点的方向。For example, please refer to FIG. 6 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 6 , a first virtual unit and a first travel route of the first virtual unit are displayed, wherein the first movement direction may be a direction pointing to the end point of the first travel route, and the second movement direction may be In order to point to the direction of the starting point of the first travel route, when the left swipe operation of the game player on the GUI is detected, the first moving direction associated with the upward swipe operation is determined as the target direction, that is, to the travel end point of the first travel route. direction.

或者,当检测到游戏玩家在图形用户界面的右滑操作时,可以确定第二移动方向为目标方向,也即指向第一行进路线的行进起点的方向。Alternatively, when a right swipe operation by the game player on the graphical user interface is detected, the second movement direction may be determined as the target direction, that is, the direction pointing to the travel starting point of the first travel route.

在一些实施例中,为了方便玩家操作,步骤“响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向”,可以包括以下操作:In some embodiments, in order to facilitate the player's operation, the step "determining a target direction according to the first travel route in response to the second operation acting on the graphical user interface" may include the following operations:

响应作用于第一行进路线的滑动操作,获取滑动操作在第一行进路线上的方向,得到目标方向。In response to the sliding operation acting on the first travel route, the direction of the sliding operation on the first travel route is obtained to obtain the target direction.

具体的,滑动操作可以为在第一行进路线上的滑动操作。Specifically, the sliding operation may be a sliding operation on the first travel route.

例如,请参阅图7,图7为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图7所示的图形用户界面中,显示有第一虚拟单位以及第一虚拟单位的第一行进路线,第一行进路线上可以显示有方向指示图标,方向指示图标指示的方向包括:第一移动方向和第二移动方向。其中,第一移动方向可以为指向第一行进路线终点的方向,第二移动方向可以为指向第一行进路线起点的方向。For example, please refer to FIG. 7 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 7 , a first virtual unit and a first travel route of the first virtual unit are displayed, a direction indication icon may be displayed on the first travel route, and the directions indicated by the direction indication icon include: first Movement direction and second movement direction. Wherein, the first moving direction may be a direction pointing to the end point of the first travel route, and the second moving direction may be a direction pointing to the starting point of the first travel route.

进一步的,游戏玩家可以根据方向图标指示的方向在第一行进路线上进行滑动操作,根据滑动操作可以触发查看滑动操作在第一行进路线上对应的部分第一行进路线的游戏地形场景,方便游戏玩家查看第一行进路线的操作。Further, the game player can perform a sliding operation on the first travel route according to the direction indicated by the direction icon, and according to the sliding operation can trigger to view the game terrain scene of part of the first travel route corresponding to the sliding operation on the first travel route, which is convenient for the game. The player checks the operation of the first route of travel.

在一些实施例中,第二操作可以为滑动操作,为了根据滑动操作控制虚拟摄像机的移动,步骤“基于目标方向控制虚拟摄像机从第一位置移动至第二位置”,可以包括以下操作:In some embodiments, the second operation may be a sliding operation. In order to control the movement of the virtual camera according to the sliding operation, the step of "controlling the virtual camera to move from the first position to the second position based on the target direction" may include the following operations:

在滑动操作期间,获取滑动操作的滑动参数,根据滑动参数确定目标方向以及在第一行进路线上的第二位置;During the sliding operation, the sliding parameters of the sliding operation are obtained, and the target direction and the second position on the first travel route are determined according to the sliding parameters;

持续控制虚拟摄像机从第一位置移动至第二位置。Continuously control the virtual camera to move from the first position to the second position.

其中,滑动参数可以包括:滑动方向,滑动距离等。The sliding parameters may include: sliding direction, sliding distance, and the like.

具体的,根据滑动方向确定虚拟摄像机在第一行进路线上的移动方向,得到目标方向,以及根据滑动距离确定滑动操作过程中虚拟摄像机在第一行进路线上的位置,得到第二位置,然后在滑动操作持续期间,持续控制虚拟摄像机沿第一行进路线的目标方向移动。Specifically, the moving direction of the virtual camera on the first travel route is determined according to the sliding direction to obtain the target direction, and the position of the virtual camera on the first travel route during the sliding operation is determined according to the sliding distance to obtain the second position, and then During the duration of the sliding operation, the virtual camera is continuously controlled to move along the target direction of the first travel route.

在一些实施例中,第二操作可以为滑动操作,为了根据滑动操作控制虚拟摄像机的移动,步骤“基于目标方向控制虚拟摄像机从第一位置移动至第二位置”,可以包括以下操作:In some embodiments, the second operation may be a sliding operation. In order to control the movement of the virtual camera according to the sliding operation, the step of "controlling the virtual camera to move from the first position to the second position based on the target direction" may include the following operations:

在滑动操作期间,获取滑动操作的滑动参数,根据滑动参数确定目标方向以及虚拟摄像机的移动速度;During the sliding operation, the sliding parameters of the sliding operation are obtained, and the target direction and the moving speed of the virtual camera are determined according to the sliding parameters;

持续控制虚拟摄像机在第一行进路线上基于目标方向和移动速度进行移动,以采集移动过程中对应位置的游戏地形场景生成视野画面。The virtual camera is continuously controlled to move on the first travel route based on the target direction and movement speed, so as to collect the game terrain scene at the corresponding position during the movement process to generate a field of view picture.

其中,滑动参数可以包括:滑动方向、滑动速度等。The sliding parameters may include: sliding direction, sliding speed, and the like.

具体的,根据滑动方向确定虚拟摄像机在第一行进路线上的移动方向,得到目标方向,以及根据滑动速度确定虚拟摄像机在第一行进路线上的移动速度。然后在滑动操作持续期间,持续控制虚拟摄像机沿第一行进路线移动的目标方向按照移动速度移动,以采集移动过程中对应位置的游戏地形场景生成视野画面。Specifically, the moving direction of the virtual camera on the first travel route is determined according to the sliding direction to obtain the target direction, and the moving speed of the virtual camera on the first travel route is determined according to the sliding speed. Then, during the duration of the sliding operation, the target direction of moving the virtual camera along the first travel route is continuously controlled to move at the moving speed, so as to collect the game terrain scene at the corresponding position during the moving process to generate the field of view picture.

在一些实施例中,为了方便游戏玩家操作,图形用户界面显示有第一行进路线,步骤“响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向”,可以包括以下操作:In some embodiments, in order to facilitate the operation of the game player, the graphical user interface displays a first travel route, and the step "in response to a second operation acting on the graphical user interface, determine a target direction according to the first travel route" may include the following operations :

响应作用于第一行进路线的触控操作,在图形用户界面上显示多个候选方向标识;Displaying a plurality of candidate direction signs on the graphical user interface in response to the touch operation acting on the first travel route;

响应作用于多个候选方向标识中目标方向标识的滑动操作,根据目标方向标识指示的方向确定目标方向。The target direction is determined according to the direction indicated by the target direction identification in response to the sliding operation acting on the target direction identification among the plurality of candidate direction identifications.

其中,多个候选方向标识分别指示第一行进路线上的不同方向,比如,第一行进路线上的不同方向包括指向行进起点的方向和指向行进终点的方向。Wherein, the multiple candidate direction identifiers respectively indicate different directions on the first travel route, for example, the different directions on the first travel route include a direction to the travel start point and a direction to the travel end point.

例如,请参阅图8,图8为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图8所示的图形用户界面中,图形用户界面显示虚拟单位B的第一行进路线,可以为显示完整的第一行进路线或者部分第一行进路线。当检测到对第一行进路线的按压操作,可以在第一行进路线上显示方向指示图标,方向指示图标可以包括两个方向箭头,其中一个方向箭头指向虚拟对象B的行进起点方向,另一个方向箭头指向虚拟对象B的行进终点方向。For example, please refer to FIG. 8 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 8 , the graphical user interface displays the first travel route of the virtual unit B, which may display the complete first travel route or a part of the first travel route. When a pressing operation on the first travel route is detected, a direction indication icon may be displayed on the first travel route, and the direction indication icon may include two direction arrows, one of which points to the direction of the travel starting point of the virtual object B, and the other direction The arrow points to the direction of the travel end point of the virtual object B.

在本申请实施例中,通过在第一行进路线上显示方向指示图标,指示第一行进路线的不同方向,可以方便游戏玩家根据方向指示图标的指向方向选择需要查看的部分第一行进路线。In the embodiment of the present application, by displaying a direction indication icon on the first travel route to indicate different directions of the first travel route, it is convenient for game players to select part of the first travel route to be viewed according to the pointing direction of the direction indication icon.

进一步的,玩家可以通过滑动方向指示标识触发虚拟摄像机在第一行进路线上的移动,控制虚拟摄像机根据当前滑动操作对应方向指示标识对应的方向进行移动。Further, the player can trigger the movement of the virtual camera on the first travel route by sliding the direction indicator, and control the virtual camera to move in the direction corresponding to the direction indicator corresponding to the current sliding operation.

在一些实施例中,为了方便玩家选中第一行进路线上指定位置的虚拟地形场景查看视角画面,该方法还可以包括以下步骤:In some embodiments, in order to facilitate the player to select the virtual terrain scene at the specified position on the first travel route to view the viewing angle picture, the method may further include the following steps:

响应作用于第一行进路线的位置选择操作,从第一行进路线中确定第三位置;determining a third location from the first route of travel in response to the location selection operation acting on the first route of travel;

将图形用户界面显示的第一视角画面切换为与第三位置对应的视角画面。The first viewing angle picture displayed on the graphical user interface is switched to the viewing angle picture corresponding to the third position.

具体的,位置选择操作可以为在第一行进路线上的点击操作,确定该点击操作在第一行进路线上的位置,得到第三位置,该第三位置也即游戏玩家想要查看的第一行进路线中的指定位置的游戏地形场景。Specifically, the position selection operation may be a click operation on the first travel route, determining the position of the click operation on the first travel route, and obtaining a third position, which is the first position that the game player wants to view. The game terrain scene for the specified location in the route of travel.

进一步的,通过虚拟摄像机采集该第三位置对应的游戏地形场景,得到第三位置对应的视角画面,在图形用户界面突出显示该第三位置对应的视角画面。其中,突出显示可以包括多种方式,比如,放大目标位置对应的游戏地形场景进行显示,使得游戏玩家可以查看清楚游戏地形场景中的场景元素,等多种突出显示方式,在此不做限定。Further, the game terrain scene corresponding to the third position is collected by the virtual camera to obtain the perspective picture corresponding to the third position, and the perspective picture corresponding to the third position is highlighted on the graphical user interface. The highlighting may include various methods, such as zooming in on the game terrain scene corresponding to the target position for display, so that the game player can clearly view the scene elements in the game terrain scene, and other highlighting methods, which are not limited here.

在本申请实施例中,基于目标方向控制虚拟摄像机从第一位置移动至第二位置可以包括多种方式。比如,通过沿目标方向移动虚拟摄像头,或者通过移动游戏地形场景地图相对移动虚拟摄像机。In this embodiment of the present application, controlling the virtual camera to move from the first position to the second position based on the target direction may include various manners. For example, by moving the virtual camera in the target direction, or by moving the virtual camera relative to the game terrain scene map.

在一些实施例中,当第一行进路线上显示有方向指示图标时,多个预设滑动操作包括:第一滑动操作和第二滑动操作,其中,第一滑动操作对应指向第一行进路线的行进终点方向,第二滑动操作对应指向第一行进路线的行进起点方向。则可以将第一滑动操作与第一移动方向关联,以及将第二滑动操作与第二移动方向关联。In some embodiments, when a direction indication icon is displayed on the first travel route, the plurality of preset sliding operations include: a first sliding operation and a second sliding operation, wherein the first sliding operation corresponds to the direction indicating the first travel route. The direction of the travel end point, and the second sliding operation corresponds to the direction of the travel start point of the first travel route. Then the first sliding operation can be associated with the first movement direction, and the second sliding operation can be associated with the second movement direction.

例如,请参阅图9,图9为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图9所示的图形用户界面中,显示有第一虚拟单位以及第一虚拟单位的第一行进路线,其中,第一移动方向可以为指向第一行进路线终点的方向,第二移动方向可以为指向第一行进路线起点的方向,当检测到游戏玩家在图形用户界面的第一滑动操作时,确定与第一滑动操作关联的第一移动方向为目标方向也即指向第一行进路线的行进终点的方向。For example, please refer to FIG. 9 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 9, a first virtual unit and a first travel route of the first virtual unit are displayed, wherein the first movement direction may be a direction pointing to the end point of the first travel route, and the second movement direction may be In order to point to the direction of the starting point of the first travel route, when the first sliding operation of the game player on the graphical user interface is detected, the first moving direction associated with the first sliding operation is determined as the target direction, that is, the travel that points to the first travel route. The direction of the end point.

或者,当检测到游戏玩家在图形用户界面的第二滑动操作时,可以确定第二移动方向为目标方向,也即指向第一行进路线的行进起点的方向。Alternatively, when a second sliding operation by the game player on the graphical user interface is detected, the second moving direction may be determined as the target direction, that is, the direction pointing to the travel starting point of the first travel route.

具体的,将图形用户界面显示的第一视角画面切换为与第二位置对应的第二视角画面,也即在第二操作期间,持续更新图形用户界面显示的视角画面。其中,第二视角画面可以包括至少部分第一行进路线的标识。Specifically, the first viewing angle picture displayed on the graphical user interface is switched to the second viewing angle picture corresponding to the second position, that is, during the second operation, the viewing angle picture displayed on the graphical user interface is continuously updated. Wherein, the second viewing angle picture may include at least part of the identification of the first travel route.

例如,请参阅图10,图10为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图10所示的图形用户界面中,显示了处于游戏地形场景中的第一虚拟单位以及第一虚拟单位的第一行进路线,还显示有第一行进路线对应的方向,包括:起点方向和终点方向。其中,起点方向可以为指向第一行进路线的行进起点的方向,终点方向可以为指向第一行进路线的行进终点的方向。当检测到游戏玩家在第一行进路线上的滑动操作,获取滑动操作的方向可以为终点方向,则可以确定虚拟摄像机的移动方向为第一行进路线的终点方向,则可以控制虚拟摄像机沿终点方向实时采集第一行进路线不同位置的游戏地形场景,以实现更新图形用户界面显示的视角画面。For example, please refer to FIG. 10 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the graphical user interface shown in FIG. 10, the first virtual unit in the game terrain scene and the first travel route of the first virtual unit are displayed, and the direction corresponding to the first travel route is also displayed, including: the starting point direction and the end direction. Wherein, the starting point direction may be a direction pointing to the travel start point of the first travel route, and the end point direction may be a direction pointing to the travel end point of the first travel route. When the sliding operation of the game player on the first travel route is detected, and the direction of obtaining the sliding operation can be the end direction, it can be determined that the moving direction of the virtual camera is the end direction of the first travel route, and the virtual camera can be controlled along the end direction. Real-time collection of game terrain scenes at different positions of the first travel route, so as to update the viewing angle screen displayed on the graphical user interface.

在一些实施例中,在滑动查看第一行进路线时,为了方便同时观察第一虚拟单位的行进位置,第一行进路线完整显示在图形用户界面上,第一行进路线上显示有第一虚拟单位的位置图标,该方法还可以包括以下步骤:In some embodiments, when sliding to view the first travel route, in order to observe the travel position of the first virtual unit at the same time, the first travel route is completely displayed on the graphical user interface, and the first virtual unit is displayed on the first travel route the location icon, the method may further include the following steps:

在滑动操作的持续期间,更新位置图标在第一行进路线上的位置。During the duration of the swipe operation, the position of the location icon on the first travel route is updated.

其中,位置图标可以用于指示第一虚拟单位在第一行进路线中的位置,位置图标在第一行进路线的显示位置根据第一虚拟单位在游戏地形场景中的位置确定。The position icon may be used to indicate the position of the first virtual unit in the first travel route, and the display position of the position icon on the first travel route is determined according to the position of the first virtual unit in the game terrain scene.

具体的,在通过滑动操作查看第一行进路线过程中,第一虚拟单位在游戏地形场景中移动,位置会变化,此时,可以根据第一虚拟单位在游戏地形场景中移动的位置变化,更新位置图标在第一行进路线上的位置。以此,方便查看第一虚拟单位的第一行进路线的同时,了解到第一虚拟单位在游戏地形场景中的位置。Specifically, in the process of viewing the first travel route through the sliding operation, the first virtual unit moves in the game terrain scene, and the position will change. At this time, the position icon can be updated according to the position change of the first virtual unit in the game terrain scene. position on the first route of travel. In this way, it is convenient to know the position of the first virtual unit in the game terrain scene while viewing the first travel route of the first virtual unit.

在一些实施例中,为了提高游戏玩家的体验,该方法还可以包括以下步骤:In some embodiments, in order to improve the game player's experience, the method may further include the following steps:

响应于第二操作结束,确定第一虚拟单位在第一行进路线上的第四位置;in response to the end of the second operation, determining a fourth position of the first virtual unit on the first route of travel;

将图形用户界面显示的第二视角画面切换为与第四位置对应的视角画面。The second viewing angle picture displayed on the graphical user interface is switched to the viewing angle picture corresponding to the fourth position.

其中,第四位置指的是第二操作结束时,第一虚拟单位在游戏地形场景中的位置,通过虚拟摄像机采集第四位置的视角画面,然后将图形用户界面显示的第二视角画面切换为与第四位置对应的视角画面,以便第二操作结束后,在图形用户界面显示实时第一虚拟单位行进位置的视角画面。Among them, the fourth position refers to the position of the first virtual unit in the game terrain scene when the second operation ends. The virtual camera captures the perspective picture of the fourth position, and then switches the second perspective picture displayed on the GUI to The viewing angle picture corresponding to the fourth position, so that after the second operation is completed, the viewing angle picture of the real-time travel position of the first virtual unit is displayed on the graphical user interface.

本申请实施例公开了一种游戏显示控制方法,该方法包括:在图形用户界面显示包括第一虚拟单位的第一视角画面,第一视角画面为通过虚拟摄像机在第一位置采集游戏地形场景所形成的画面;响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线,第一行进路线为第一虚拟单位从初始位置向游戏地形场景中的目标位置进行行进的路线;响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,并基于目标方向控制虚拟摄像机从第一位置移动至第二位置,以将图形用户界面显示的第一视角画面切换为与第二位置对应的第二视角画面,其中,第二视角画面包括至少部分第一行进路线的标识。以此,可以提高游戏玩家在目标游戏中的游戏体验。The embodiment of the present application discloses a game display control method. The method includes: displaying a first perspective picture including a first virtual unit on a graphical user interface, where the first perspective picture is obtained by collecting a game terrain scene at a first position by a virtual camera. The screen formed; in response to the first operation for the first virtual unit, determine the first travel route of the first virtual unit, and the first travel route is the route for the first virtual unit to travel from the initial position to the target position in the game terrain scene ; In response to the second operation acting on the graphical user interface, determine a target direction according to the first travel route, and control the virtual camera to move from the first position to the second position based on the target direction, so as to display the first viewing angle picture displayed by the graphical user interface. Switching to a second viewing angle picture corresponding to the second position, wherein the second viewing angle picture includes at least part of the identification of the first travel route. In this way, the game player's game experience in the target game can be improved.

根据上述介绍的内容,下面将举例来进一步说明本申请的游戏显示控制方法。请参阅图11,图11为本申请实施例提供的另一种游戏显示控制方法的流程示意图,以该游戏显示控制方法具体应用于终端为例,具体流程可以如下:Based on the above-mentioned content, the following example will be used to further describe the game display control method of the present application. Please refer to FIG. 11. FIG. 11 is a schematic flowchart of another game display control method provided by an embodiment of the present application. Taking the game display control method being applied to a terminal as an example, the specific process may be as follows:

201、终端显示目标游戏的游戏界面。201. The terminal displays a game interface of the target game.

在本申请实施例中,游戏界面显示有目标游戏的部分虚拟场景地图,处于虚拟场景地图中的目标虚拟对象,该目标虚拟对象可以在虚拟场景地图中进行移动。In the embodiment of the present application, the game interface displays a part of the virtual scene map of the target game, and the target virtual object in the virtual scene map, and the target virtual object can move in the virtual scene map.

202、终端检测到游戏玩家对目标虚拟对象的触控操作时,在游戏界面显示目标虚拟对象在虚拟场景地图中的行进路径。202. When the terminal detects the touch operation of the target virtual object by the game player, the terminal displays the travel path of the target virtual object in the virtual scene map on the game interface.

例如,请参阅图12,图12为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图12所示的游戏界面中,显示有目标游戏的部分虚拟场景地图,处于虚拟场景地图中的目标虚拟对象以及场景元素。当检测到游戏玩家对目标虚拟对象的长按操作时,在游戏界面显示目标虚拟对象在虚拟场景中的行进路径,可以为显示完整的行进路径,行进路径表示目标虚拟对象在虚拟场景地图中从起始位置C向终点位置D行进的路线,当前目标虚拟对象在虚拟场景地图中的位置可以为:位置E。For example, please refer to FIG. 12 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the game interface shown in FIG. 12 , part of the virtual scene map of the target game, the target virtual object and scene elements in the virtual scene map are displayed. When the game player's long-press operation on the target virtual object is detected, the travel path of the target virtual object in the virtual scene is displayed on the game interface, which can be to display the complete travel path. The travel path indicates that the target virtual object moves from the virtual scene map from For the route from the starting position C to the ending position D, the position of the current target virtual object in the virtual scene map may be: position E.

203、终端检测到游戏玩家对行进路径的滑动操作时,在游戏界面根据滑动操作的滑动方向移动显示行进路径对应的虚拟场景地图。203. When the terminal detects a sliding operation on the travel path by the game player, the terminal moves and displays a virtual scene map corresponding to the travel path on the game interface according to the sliding direction of the sliding operation.

例如,请参阅图13,图13为本申请实施例提供的另一种游戏显示控制方法的应用场景示意图。在图13所示的游戏界面中,行进路径上还显示有方向指示图标,方向指示图标包括指向终点位置D的第一方向,以及指向起点位置C的第二方向。当前目标虚拟对象所处的位置可以为:位置E。当检测到在行进路径上的滑动操作时,获取滑动操作的滑动方向可以为:第一方向,也即朝向终点位置D的方向,则可以在滑动操作期间,在游戏界面按照滑动操作起点:位置E至滑动操作终点:位置F,切换虚拟场景地图显示,以实现对滑动操作选择的部分行进路径的查看。For example, please refer to FIG. 13 , which is a schematic diagram of an application scenario of another game display control method provided by an embodiment of the present application. In the game interface shown in FIG. 13 , a direction indication icon is also displayed on the travel path, and the direction indication icon includes a first direction pointing to the end position D and a second direction pointing to the start position C. The position where the current target virtual object is located may be: position E. When a sliding operation on the travel path is detected, the sliding direction for obtaining the sliding operation can be: the first direction, that is, the direction toward the end position D, then during the sliding operation, the game interface can follow the sliding operation starting point: position E to the sliding operation end point: position F, switch the virtual scene map display, so as to realize the viewing of part of the travel path selected by the sliding operation.

本申请实施例公开了一种游戏显示控制方法,该方法包括:终端显示目标游戏的游戏界面,检测到游戏玩家对目标虚拟对象的触控操作时,在游戏界面显示目标虚拟对象在虚拟场景地图中的行进路径,检测到游戏玩家对行进路径的滑动操作时,在游戏界面根据滑动操作的滑动方向移动显示行进路径对应的虚拟场景地图,提高游戏玩家的游戏体验。The embodiment of the present application discloses a game display control method. The method includes: a terminal displays a game interface of a target game, and when a touch operation by a game player on a target virtual object is detected, displaying the target virtual object in a virtual scene map on the game interface When detecting the sliding operation of the game player on the travel path, the virtual scene map corresponding to the travel path is displayed on the game interface according to the sliding direction of the sliding operation, so as to improve the game player's game experience.

为便于更好的实施本申请实施例提供的游戏显示控制方法,本申请实施例还提供一种基于上述游戏显示控制方法的游戏显示控制装置。其中名词的含义与上述游戏显示控制方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate better implementation of the game display control method provided by the embodiment of the present application, the embodiment of the present application further provides a game display control device based on the above-mentioned game display control method. The meanings of the nouns are the same as those in the above-mentioned game display control method, and the specific implementation details can refer to the description in the method embodiment.

请参阅图14,图14为本申请实施例提供的一种游戏显示控制装置的结构框图,该装置包括:Please refer to FIG. 14. FIG. 14 is a structural block diagram of a game display control device provided by an embodiment of the application, and the device includes:

显示单元301,用于在所述图形用户界面显示包括所述第一虚拟单位的第一视角画面,所述第一视角画面为通过虚拟摄像机在第一位置采集所述游戏地形场景所形成的画面;Adisplay unit 301, configured to display a first-view picture including the first virtual unit on the graphical user interface, where the first-view picture is a picture formed by capturing the game terrain scene at a first position by a virtual camera ;

第一确定单元302,用于响应针对所述第一虚拟单位的第一操作,确定所述第一虚拟单位的第一行进路线,所述第一行进路线为所述第一虚拟单位从初始位置向所述游戏地形场景中的目标位置进行行进的路线;A first determiningunit 302, configured to determine a first travel route of the first virtual unit in response to a first operation on the first virtual unit, where the first travel route is for the first virtual unit from an initial position a route to travel to the target location in the game terrain scene;

第一切换单元303,用于响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,并基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,以将所述图形用户界面显示的第一视角画面切换为与所述第二位置对应的第二视角画面,其中,所述第二视角画面包括至少部分所述第一行进路线的标识。Thefirst switching unit 303 is configured to, in response to a second operation acting on the graphical user interface, determine a target direction according to the first travel route, and control the virtual camera to move from the first position to the target direction based on the target direction. the second position, so as to switch the picture from the first perspective displayed on the GUI to the picture from the second perspective corresponding to the second position, wherein the picture from the second perspective includes at least part of the first travel route. logo.

在一些实施例中,第一切换单元303可以包括:In some embodiments, thefirst switching unit 303 may include:

第一获取子单元,用于响应作用于所述图形用户界面的滑动操作,获取所述滑动操作的滑动方向;a first acquiring subunit, configured to acquire the sliding direction of the sliding operation in response to the sliding operation acting on the graphical user interface;

第一确定子单元,用于从所述虚拟摄像机沿所述第一行进路线的多个预设移动方向中,确定与所述滑动方向关联的预设移动方向,得到所述目标方向。A first determining subunit, configured to determine a preset moving direction associated with the sliding direction from a plurality of preset moving directions of the virtual camera along the first travel route to obtain the target direction.

在一些实施例中,第一切换单元303可以包括:In some embodiments, thefirst switching unit 303 may include:

第二获取子单元,用于响应作用于所述第一行进路线的滑动操作,获取所述滑动操作在所述第一行进路线上的方向,得到所述目标方向。A second acquiring subunit, configured to acquire the direction of the sliding operation on the first traveling route in response to the sliding operation acting on the first traveling route to obtain the target direction.

在一些实施例中,第一切换单元303可以包括:In some embodiments, thefirst switching unit 303 may include:

第三获取子单元,用于在所述滑动操作期间,获取所述滑动操作的滑动参数,根据所述滑动参数确定所述目标方向以及在所述第一行进路线上的第二位置;a third obtaining subunit, configured to obtain the sliding parameters of the sliding operation during the sliding operation, and determine the target direction and the second position on the first travel route according to the sliding parameters;

第一控制子单元,用于持续控制所述虚拟摄像机从所述第一位置移动至所述第二位置。a first control subunit, configured to continuously control the virtual camera to move from the first position to the second position.

在一些实施例中,第一切换单元303可以包括:In some embodiments, thefirst switching unit 303 may include:

第四获取子单元,用于在所述滑动操作期间,获取所述滑动操作的滑动参数,根据所述滑动参数确定所述目标方向以及所述虚拟摄像机的移动速度;a fourth obtaining subunit, configured to obtain the sliding parameters of the sliding operation during the sliding operation, and determine the target direction and the moving speed of the virtual camera according to the sliding parameters;

第二控制子单元,用于持续控制所述虚拟摄像机在所述第一行进路线上基于所述目标方向和所述移动速度进行移动。A second control subunit, configured to continuously control the virtual camera to move on the first travel route based on the target direction and the moving speed.

在一些实施例中,第一切换单元303可以包括:In some embodiments, thefirst switching unit 303 may include:

显示子单元,用于响应作用于所述第一行进路线的触控操作,在所述图形用户界面上显示多个候选方向标识,其中,所述多个候选方向标识分别指示所述第一行进路线上的不同方向;a display subunit, configured to display a plurality of candidate direction signs on the graphical user interface in response to a touch operation acting on the first travel route, wherein the plurality of candidate direction signs respectively indicate the first travel route different directions on the route;

第二确定子单元,用于响应作用于所述多个候选方向标识中目标方向标识的滑动操作,根据所述目标方向标识指示的方向确定所述目标方向。The second determination subunit is configured to determine the target direction according to the direction indicated by the target direction indicator in response to the sliding operation acting on the target direction indicator in the plurality of candidate direction indicators.

在一些实施例中,该装置还可以包括:In some embodiments, the apparatus may also include:

第二确定单元,用于响应作用于所述第一行进路线的位置选择操作,从所述第一行进路线中确定第三位置;a second determination unit, configured to determine a third position from the first travel route in response to a position selection operation acting on the first travel route;

第二切换单元,用于将所述图形用户界面显示的第一视角画面切换为与所述第三位置对应的视角画面。The second switching unit is configured to switch the first viewing angle picture displayed by the graphical user interface to the viewing angle picture corresponding to the third position.

在一些实施例中,该装置还可以包括:In some embodiments, the apparatus may also include:

第三确定单元,用于响应于所述第二操作结束,确定所述第一虚拟单位在所述第一行进路线上的第四位置;a third determination unit, configured to determine a fourth position of the first virtual unit on the first travel route in response to the end of the second operation;

第三切换单元,用于将所述图形用户界面显示的第二视角画面切换为与所述第四位置对应的视角画面。A third switching unit, configured to switch the second viewing angle picture displayed by the graphical user interface to the viewing angle picture corresponding to the fourth position.

在一些实施例中,第一确定单元302可以包括:In some embodiments, the first determiningunit 302 may include:

第五获取子单元,用于响应作用于所述第一虚拟单位的触控操作,获取所述第一虚拟单位在所述游戏地形场景中行进的初始位置与结束位置;a fifth acquisition subunit, configured to acquire the initial position and the end position of the first virtual unit traveling in the game terrain scene in response to the touch operation acting on the first virtual unit;

第三确定子单元,用于基于所述初始位置与所述结束位置确定所述第一行进路线,并在所述图形用户界面显示所述第一行进路线。A third determination subunit, configured to determine the first travel route based on the initial position and the end position, and display the first travel route on the graphical user interface.

本申请实施例公开了一种游戏显示控制装置,通过显示单元301在所述图形用户界面显示包括所述第一虚拟单位的第一视角画面,所述第一视角画面为通过虚拟摄像机在第一位置采集所述游戏地形场景所形成的画面,第一确定单元302响应针对所述第一虚拟单位的第一操作,确定所述第一虚拟单位的第一行进路线,所述第一行进路线为所述第一虚拟单位从初始位置向所述游戏地形场景中的目标位置进行行进的路线,第一切换单元303响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,并基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,以将所述图形用户界面显示的第一视角画面切换为与所述第二位置对应的第二视角画面,其中,所述第二视角画面包括至少部分所述第一行进路线的标识。以此,可以提高游戏玩家的游戏体验。The embodiment of the present application discloses a game display control device, which displays a first perspective picture including the first virtual unit on the graphical user interface through thedisplay unit 301, and the first perspective picture is a first perspective picture through a virtual camera in a first The picture formed by the location collection of the game terrain scene, thefirst determination unit 302 responds to the first operation on the first virtual unit, and determines the first travel route of the first virtual unit, and the first travel route is The route that the first virtual unit travels from the initial position to the target position in the game terrain scene, thefirst switching unit 303 determines according to the first travel route in response to the second operation acting on the graphical user interface a target direction, and control the virtual camera to move from a first position to a second position based on the target direction, so as to switch the first view angle screen displayed on the GUI to a second position corresponding to the second position A perspective picture, wherein the second perspective picture includes at least part of the identification of the first travel route. In this way, the gaming experience of the game player can be improved.

相应的,本申请实施例还提供一种计算机设备,该计算机设备可以为终端。如图15所示,图15为本申请实施例提供的计算机设备的结构示意图。该计算机设备600包括有一个或者一个以上处理核心的处理器601、有一个或一个以上计算机可读存储介质的存储器602及存储在存储器602上并可在处理器上运行的计算机程序。其中,处理器601与存储器602电性连接。本领域技术人员可以理解,图中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Correspondingly, an embodiment of the present application further provides a computer device, where the computer device may be a terminal. As shown in FIG. 15 , FIG. 15 is a schematic structural diagram of a computer device provided by an embodiment of the present application. Thecomputer device 600 includes aprocessor 601 having one or more processing cores, amemory 602 having one or more computer-readable storage media, and a computer program stored on thememory 602 and executable on the processor. Theprocessor 601 is electrically connected to thememory 602 . Those skilled in the art can understand that the computer device structure shown in the figures does not constitute a limitation on the computer device, and may include more or less components than the one shown, or combine some components, or arrange different components.

处理器601是计算机设备600的控制中心,利用各种接口和线路连接整个计算机设备600的各个部分,通过运行或加载存储在存储器602内的软件程序和/或模块,以及调用存储在存储器602内的数据,执行计算机设备600的各种功能和处理数据,从而对计算机设备600进行整体监控。Theprocessor 601 is the control center of thecomputer device 600, and uses various interfaces and lines to connect various parts of theentire computer device 600, by running or loading the software programs and/or modules stored in thememory 602, and calling the software programs and/or modules stored in thememory 602. to perform various functions of thecomputer device 600 and process data, so as to monitor thecomputer device 600 as a whole.

在本申请实施例中,计算机设备600中的处理器601会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器602中,并由处理器601来运行存储在存储器602中的应用程序,从而实现各种功能:In this embodiment of the present application, theprocessor 601 in thecomputer device 600 loads the instructions corresponding to the processes of one or more application programs into thememory 602 according to the following steps, and theprocessor 601 executes the instructions stored in the memory. 602 applications to achieve various functions:

在图形用户界面显示包括第一虚拟单位的第一视角画面,第一视角画面为通过虚拟摄像机在第一位置采集游戏地形场景所形成的画面;Displaying a first-view picture including a first virtual unit on the graphical user interface, where the first-view picture is a picture formed by capturing a game terrain scene at a first position by a virtual camera;

响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线,第一行进路线为第一虚拟单位从初始位置向游戏地形场景中的目标位置进行行进的路线;In response to the first operation on the first virtual unit, determine a first travel route of the first virtual unit, where the first travel route is a route for the first virtual unit to travel from an initial position to a target position in the game terrain scene;

响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,并基于目标方向控制虚拟摄像机从第一位置移动至第二位置,以将图形用户界面显示的第一视角画面切换为与第二位置对应的第二视角画面,其中,第二视角画面包括至少部分第一行进路线的标识。In response to the second operation acting on the graphical user interface, a target direction is determined according to the first travel route, and based on the target direction, the virtual camera is controlled to move from the first position to the second position, so as to switch the first perspective screen displayed on the graphical user interface is a second perspective picture corresponding to the second position, wherein the second perspective picture includes at least part of the identification of the first travel route.

在一些实施例中,响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,包括:In some embodiments, in response to the second operation acting on the graphical user interface, determining a target direction according to the first travel route includes:

响应作用于图形用户界面的滑动操作,获取滑动操作的滑动方向;Obtain the sliding direction of the sliding operation in response to the sliding operation acting on the graphical user interface;

从虚拟摄像机沿第一行进路线的多个预设移动方向中,确定与滑动方向关联的预设移动方向,得到目标方向。From a plurality of preset moving directions of the virtual camera along the first travel route, a preset moving direction associated with the sliding direction is determined to obtain the target direction.

在一些实施例中,响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,包括:In some embodiments, in response to the second operation acting on the graphical user interface, determining a target direction according to the first travel route includes:

响应作用于第一行进路线的滑动操作,获取滑动操作在第一行进路线上的方向,得到目标方向。In response to the sliding operation acting on the first travel route, the direction of the sliding operation on the first travel route is obtained to obtain the target direction.

在一些实施例中,第二操作为滑动操作;In some embodiments, the second operation is a sliding operation;

基于目标方向控制虚拟摄像机从第一位置移动至第二位置,包括:Controlling the virtual camera to move from the first position to the second position based on the target direction includes:

在滑动操作期间,获取滑动操作的滑动参数,根据滑动参数确定目标方向以及在第一行进路线上的第二位置;During the sliding operation, the sliding parameters of the sliding operation are obtained, and the target direction and the second position on the first travel route are determined according to the sliding parameters;

持续控制虚拟摄像机从第一位置移动至第二位置。Continuously control the virtual camera to move from the first position to the second position.

在一些实施例中,第二操作为滑动操作;In some embodiments, the second operation is a sliding operation;

基于目标方向控制虚拟摄像机从第一位置移动至第二位置,包括:Controlling the virtual camera to move from the first position to the second position based on the target direction includes:

在滑动操作期间,获取滑动操作的滑动参数,根据滑动参数确定目标方向以及虚拟摄像机的移动速度;During the sliding operation, the sliding parameters of the sliding operation are obtained, and the target direction and the moving speed of the virtual camera are determined according to the sliding parameters;

持续控制虚拟摄像机在第一行进路线上基于目标方向和移动速度进行移动。The virtual camera is continuously controlled to move on the first travel route based on the target direction and movement speed.

在一些实施例中,图形用户界面显示有第一行进路线;In some embodiments, the graphical user interface displays the first route of travel;

响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,包括:In response to the second operation acting on the graphical user interface, determining a target direction according to the first travel route, comprising:

响应作用于第一行进路线的触控操作,在图形用户界面上显示多个候选方向标识,其中,多个候选方向标识分别指示第一行进路线上的不同方向;In response to the touch operation acting on the first travel route, displaying a plurality of candidate direction markers on the graphical user interface, wherein the plurality of candidate direction markers respectively indicate different directions on the first travel route;

响应作用于多个候选方向标识中目标方向标识的滑动操作,根据目标方向标识指示的方向确定目标方向。The target direction is determined according to the direction indicated by the target direction identification in response to the sliding operation acting on the target direction identification among the plurality of candidate direction identifications.

在一些实施例中,该方法还包括:In some embodiments, the method further includes:

响应作用于第一行进路线的位置选择操作,从第一行进路线中确定第三位置;determining a third location from the first route of travel in response to the location selection operation acting on the first route of travel;

将图形用户界面显示的第一视角画面切换为与第三位置对应的视角画面。The first viewing angle picture displayed on the graphical user interface is switched to the viewing angle picture corresponding to the third position.

在一些实施例中,该方法还包括:In some embodiments, the method further includes:

响应于第二操作结束,确定第一虚拟单位在第一行进路线上的第四位置;in response to the end of the second operation, determining a fourth position of the first virtual unit on the first route of travel;

将图形用户界面显示的第二视角画面切换为与第四位置对应的视角画面。The second viewing angle picture displayed on the graphical user interface is switched to the viewing angle picture corresponding to the fourth position.

在一些实施例中,响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线,包括:In some embodiments, determining a first route of travel for the first virtual unit in response to the first operation on the first virtual unit includes:

响应作用于第一虚拟单位的触控操作,获取第一虚拟单位在游戏地形场景中行进的初始位置与结束位置;In response to the touch operation acting on the first virtual unit, obtain the initial position and the end position of the first virtual unit traveling in the game terrain scene;

基于初始位置与结束位置确定第一行进路线,并在图形用户界面显示第一行进路线。The first travel route is determined based on the initial position and the end position, and the first travel route is displayed on the graphical user interface.

本申请实施例通过当前游戏玩家对游戏地形场景中第一虚拟单位的触控操作触发显示该第一虚拟单位在游戏地形场景中的第一行进路线,然后根据游戏玩家在第一行进路线上的滑动操作的滑动方向确定虚拟摄像机的移动方向,在图形用户界面切换虚拟摄像机移动过程中采集的游戏地形场景形成的视角画面,实现沿第一行进路线的方向切换显示视角画面,方便游戏玩家的操作,从而提高游戏玩家的游戏体验。In this embodiment of the present application, the current game player's touch operation on the first virtual unit in the game terrain scene triggers the display of the first travel route of the first virtual unit in the game terrain scene, and then displays the first travel route of the first virtual unit in the game terrain scene according to the game player's touch operation on the first travel route. The sliding direction of the sliding operation determines the moving direction of the virtual camera, and switches the viewing angle image formed by the game terrain scene collected during the virtual camera movement process in the GUI, so as to realize the switching of the viewing angle image along the direction of the first travel route, which is convenient for game players to operate. , so as to improve the game player's gaming experience.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not described herein again.

可选的,如图15所示,计算机设备600还包括:触控显示屏603、射频电路604、音频电路605、输入单元606以及电源607。其中,处理器601分别与触控显示屏603、射频电路604、音频电路605、输入单元606以及电源607电性连接。本领域技术人员可以理解,图15中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Optionally, as shown in FIG. 15 , thecomputer device 600 further includes: atouch display screen 603 , aradio frequency circuit 604 , anaudio circuit 605 , aninput unit 606 and apower supply 607 . Theprocessor 601 is electrically connected to thetouch display screen 603 , theradio frequency circuit 604 , theaudio circuit 605 , theinput unit 606 and thepower supply 607 respectively. Those skilled in the art can understand that the computer device structure shown in FIG. 15 does not constitute a limitation to the computer device, and may include more or less components than the one shown, or combine some components, or arrange different components.

触控显示屏603可用于显示图形用户界面以及接收用户作用于图形用户界面产生的操作指令。触控显示屏603可以包括显示面板和触控面板。其中,显示面板可用于显示由用户输入的信息或提供给用户的信息以及计算机设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-EmittingDiode)等形式来配置显示面板。触控面板可用于收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并生成相应的操作指令,且操作指令执行对应程序。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器601,并能接收处理器601发来的命令并加以执行。触控面板可覆盖显示面板,当触控面板检测到在其上或附近的触摸操作后,传送给处理器601以确定触摸事件的类型,随后处理器601根据触摸事件的类型在显示面板上提供相应的视觉输出。在本申请实施例中,可以将触控面板与显示面板集成到触控显示屏603而实现输入和输出功能。但是在某些实施例中,触控面板与触控面板可以作为两个独立的部件来实现输入和输出功能。即触控显示屏603也可以作为输入单元606的一部分实现输入功能。Thetouch screen 603 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. Thetouch display 603 may include a display panel and a touch panel. Among them, the display panel can be used to display the information input by the user or the information provided to the user and various graphical user interfaces of the computer equipment, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), and the like. The touch panel can be used to collect the user's touch operations on or near it (such as the user's operations on or near the touch panel using a finger, stylus, etc., any suitable object or accessory), and generate corresponding operations instruction, and the operation instruction executes the corresponding program. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 601, and can receive the command sent by theprocessor 601 and execute it. The touch panel can cover the display panel, and when the touch panel detects a touch operation on or near it, it is transmitted to theprocessor 601 to determine the type of the touch event, and then theprocessor 601 provides the display panel according to the type of the touch event. Corresponding visual output. In this embodiment of the present application, the touch panel and the display panel may be integrated into thetouch display screen 603 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel may be used as two independent components to implement input and output functions. That is, thetouch display screen 603 can also be used as a part of theinput unit 606 to realize the input function.

射频电路604可用于收发射频信号,以通过无线通信与网络设备或其他计算机设备建立无线通讯,与网络设备或其他计算机设备之间收发信号。Theradio frequency circuit 604 can be used for transmitting and receiving radio frequency signals, so as to establish wireless communication with network equipment or other computer equipment through wireless communication, and send and receive signals with network equipment or other computer equipment.

音频电路605可以用于通过扬声器、传声器提供用户与计算机设备之间的音频接口。音频电路605可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路605接收后转换为音频数据,再将音频数据输出处理器601处理后,经射频电路604以发送给比如另一计算机设备,或者将音频数据输出至存储器602以便进一步处理。音频电路605还可能包括耳塞插孔,以提供外设耳机与计算机设备的通信。Audio circuitry 605 may be used to provide an audio interface between the user and the computer equipment through speakers, microphones. Theaudio circuit 605 can convert the received audio data into an electrical signal and transmit it to the speaker, which is then converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted after being received by theaudio circuit 605 In the form of audio data, the audio data is output to theprocessor 601 for processing, and then sent to, for example, another computer device via theradio frequency circuit 604, or the audio data is output to thememory 602 for further processing.Audio circuitry 605 may also include an ear jack to provide for communication of peripheral headphones with computer equipment.

输入单元606可用于接收输入的数字、字符信息或用户特征信息(例如指纹、虹膜、面部信息等),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。Theinput unit 606 can be used to receive input numbers, character information or user characteristic information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control .

电源607用于给计算机设备600的各个部件供电。可选的,电源607可以通过电源管理系统与处理器601逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源607还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。Power supply 607 is used to power various components ofcomputer device 600 . Optionally, thepower supply 607 may be logically connected to theprocessor 601 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption through the power management system. Thepower source 607 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.

尽管图15中未示出,计算机设备600还可以包括摄像头、传感器、无线保真模块、蓝牙模块等,在此不再赘述。Although not shown in FIG. 15 , thecomputer device 600 may further include a camera, a sensor, a Wi-Fi module, a Bluetooth module, and the like, which will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

由上可知,本实施例提供的计算机设备,可以在图形用户界面显示包括第一虚拟单位的第一视角画面,第一视角画面为通过虚拟摄像机在第一位置采集游戏地形场景所形成的画面;响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线,第一行进路线为第一虚拟单位从初始位置向游戏地形场景中的目标位置进行行进的路线;响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,并基于目标方向控制虚拟摄像机从第一位置移动至第二位置,以将图形用户界面显示的第一视角画面切换为与第二位置对应的第二视角画面,其中,第二视角画面包括至少部分第一行进路线的标识。As can be seen from the above, the computer device provided in this embodiment can display a first-view picture including a first virtual unit on a graphical user interface, and the first-view picture is a picture formed by collecting a game terrain scene at a first position by a virtual camera; In response to the first operation on the first virtual unit, a first travel route of the first virtual unit is determined, and the first travel route is a route for the first virtual unit to travel from the initial position to the target position in the game terrain scene; the response acts on In the second operation of the graphical user interface, a target direction is determined according to the first travel route, and based on the target direction, the virtual camera is controlled to move from the first position to the second position, so as to switch the first viewing angle screen displayed on the graphical user interface to be the same as the first position. A second perspective picture corresponding to the two positions, wherein the second perspective picture includes at least part of the identification of the first travel route.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructions, or by instructions that control relevant hardware, and the instructions can be stored in a computer-readable storage medium, and loaded and executed by the processor.

为此,本申请实施例提供一种计算机可读存储介质,其中存储有多条计算机程序,该计算机程序能够被处理器进行加载,以执行本申请实施例所提供的任一种游戏显示控制方法中的步骤。例如,该计算机程序可以执行如下步骤:To this end, the embodiments of the present application provide a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute any of the game display control methods provided by the embodiments of the present application. steps in . For example, the computer program may perform the following steps:

在图形用户界面显示包括第一虚拟单位的第一视角画面,第一视角画面为通过虚拟摄像机在第一位置采集游戏地形场景所形成的画面;Displaying a first-view picture including a first virtual unit on the graphical user interface, where the first-view picture is a picture formed by capturing a game terrain scene at a first position by a virtual camera;

响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线,第一行进路线为第一虚拟单位从初始位置向游戏地形场景中的目标位置进行行进的路线;In response to the first operation on the first virtual unit, determine a first travel route of the first virtual unit, where the first travel route is a route for the first virtual unit to travel from an initial position to a target position in the game terrain scene;

响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,并基于目标方向控制虚拟摄像机从第一位置移动至第二位置,以将图形用户界面显示的第一视角画面切换为与第二位置对应的第二视角画面,其中,第二视角画面包括至少部分第一行进路线的标识。In response to the second operation acting on the graphical user interface, a target direction is determined according to the first travel route, and based on the target direction, the virtual camera is controlled to move from the first position to the second position, so as to switch the first perspective screen displayed on the graphical user interface is a second perspective picture corresponding to the second position, wherein the second perspective picture includes at least part of the identification of the first travel route.

在一些实施例中,响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,包括:In some embodiments, in response to the second operation acting on the graphical user interface, determining a target direction according to the first travel route includes:

响应作用于图形用户界面的滑动操作,获取滑动操作的滑动方向;Obtain the sliding direction of the sliding operation in response to the sliding operation acting on the graphical user interface;

从虚拟摄像机沿第一行进路线的多个预设移动方向中,确定与滑动方向关联的预设移动方向,得到目标方向。From a plurality of preset moving directions of the virtual camera along the first travel route, a preset moving direction associated with the sliding direction is determined to obtain the target direction.

在一些实施例中,响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,包括:In some embodiments, in response to the second operation acting on the graphical user interface, determining a target direction according to the first travel route includes:

响应作用于第一行进路线的滑动操作,获取滑动操作在第一行进路线上的方向,得到目标方向。In response to the sliding operation acting on the first travel route, the direction of the sliding operation on the first travel route is obtained to obtain the target direction.

在一些实施例中,第二操作为滑动操作;In some embodiments, the second operation is a sliding operation;

基于目标方向控制虚拟摄像机从第一位置移动至第二位置,包括:Controlling the virtual camera to move from the first position to the second position based on the target direction includes:

在滑动操作期间,获取滑动操作的滑动参数,根据滑动参数确定目标方向以及在第一行进路线上的第二位置;During the sliding operation, the sliding parameters of the sliding operation are obtained, and the target direction and the second position on the first travel route are determined according to the sliding parameters;

持续控制虚拟摄像机从第一位置移动至第二位置。Continuously control the virtual camera to move from the first position to the second position.

在一些实施例中,第二操作为滑动操作;In some embodiments, the second operation is a sliding operation;

基于目标方向控制虚拟摄像机从第一位置移动至第二位置,包括:Controlling the virtual camera to move from the first position to the second position based on the target direction includes:

在滑动操作期间,获取滑动操作的滑动参数,根据滑动参数确定目标方向以及虚拟摄像机的移动速度;During the sliding operation, the sliding parameters of the sliding operation are obtained, and the target direction and the moving speed of the virtual camera are determined according to the sliding parameters;

持续控制虚拟摄像机在第一行进路线上基于目标方向和移动速度进行移动。The virtual camera is continuously controlled to move on the first travel route based on the target direction and movement speed.

在一些实施例中,图形用户界面显示有第一行进路线;In some embodiments, the graphical user interface displays the first route of travel;

响应作用于图形用户界面的第二操作,根据第一行进路线确定一目标方向,包括:In response to the second operation acting on the graphical user interface, determining a target direction according to the first travel route, comprising:

响应作用于第一行进路线的触控操作,在图形用户界面上显示多个候选方向标识,其中,多个候选方向标识分别指示第一行进路线上的不同方向;In response to the touch operation acting on the first travel route, displaying a plurality of candidate direction markers on the graphical user interface, wherein the plurality of candidate direction markers respectively indicate different directions on the first travel route;

响应作用于多个候选方向标识中目标方向标识的滑动操作,根据目标方向标识指示的方向确定目标方向。The target direction is determined according to the direction indicated by the target direction identification in response to the sliding operation acting on the target direction identification among the plurality of candidate direction identifications.

在一些实施例中,该方法还包括:In some embodiments, the method further includes:

响应作用于第一行进路线的位置选择操作,从第一行进路线中确定第三位置;determining a third location from the first route of travel in response to the location selection operation acting on the first route of travel;

将图形用户界面显示的第一视角画面切换为与第三位置对应的视角画面。The first viewing angle picture displayed on the graphical user interface is switched to the viewing angle picture corresponding to the third position.

在一些实施例中,该方法还包括:In some embodiments, the method further includes:

响应于第二操作结束,确定第一虚拟单位在第一行进路线上的第四位置;in response to the end of the second operation, determining a fourth position of the first virtual unit on the first route of travel;

将图形用户界面显示的第二视角画面切换为与第四位置对应的视角画面。The second viewing angle picture displayed on the graphical user interface is switched to the viewing angle picture corresponding to the fourth position.

在一些实施例中,响应针对第一虚拟单位的第一操作,确定第一虚拟单位的第一行进路线,包括:In some embodiments, determining a first route of travel for the first virtual unit in response to the first operation on the first virtual unit includes:

响应作用于第一虚拟单位的触控操作,获取第一虚拟单位在游戏地形场景中行进的初始位置与结束位置;In response to the touch operation acting on the first virtual unit, obtain the initial position and the end position of the first virtual unit traveling in the game terrain scene;

基于初始位置与结束位置确定第一行进路线,并在图形用户界面显示第一行进路线。The first travel route is determined based on the initial position and the end position, and the first travel route is displayed on the graphical user interface.

本申请实施例通过当前游戏玩家对游戏地形场景中第一虚拟单位的触控操作触发显示该第一虚拟单位在游戏地形场景中的第一行进路线,然后根据游戏玩家在第一行进路线上的滑动操作的滑动方向确定虚拟摄像机的移动方向,在图形用户界面切换虚拟摄像机移动过程中采集的游戏地形场景形成的视角画面,实现沿第一行进路线的方向切换显示视角画面,方便游戏玩家的操作,从而提高游戏玩家的游戏体验。In this embodiment of the present application, the current game player's touch operation on the first virtual unit in the game terrain scene triggers the display of the first travel route of the first virtual unit in the game terrain scene, and then displays the first travel route of the first virtual unit in the game terrain scene according to the game player's touch operation on the first travel route. The sliding direction of the sliding operation determines the moving direction of the virtual camera, and switches the viewing angle image formed by the game terrain scene collected during the virtual camera movement process in the GUI, so as to realize the switching of the viewing angle image along the direction of the first travel route, which is convenient for game players to operate. , so as to improve the game player's gaming experience.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not described herein again.

其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.

由于该存储介质中所存储的计算机程序,可以执行本申请实施例所提供的任一种游戏显示控制方法中的步骤,因此,可以实现本申请实施例所提供的任一种游戏显示控制方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Because the computer program stored in the storage medium can execute the steps in any of the game display control methods provided by the embodiments of the present application, it is possible to implement the steps in any of the game display control methods provided by the embodiments of the present application. For the beneficial effects that can be achieved, see the foregoing embodiments for details, which will not be repeated here.

以上对本申请实施例所提供的一种游戏显示控制方法、装置、存储介质及计算机设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A game display control method, device, storage medium, and computer equipment provided by the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described with specific examples in this article. It is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope. The contents of the description should not be construed as limiting the application.

Claims (12)

Translated fromChinese
1.一种游戏显示控制方法,其特征在于,通过终端设备提供图形用户界面,所述图形用户界面显示的内容至少包括部分游戏地形场景,所述游戏地形场景中包括与所述终端设备对应的第一虚拟单位,所述方法包括:1. A game display control method, characterized in that a graphical user interface is provided by a terminal device, and the content displayed by the graphical user interface at least includes part of a game terrain scene, and the game terrain scene includes a corresponding to the terminal device. The first virtual unit, the method includes:在所述图形用户界面显示包括所述第一虚拟单位的第一视角画面,所述第一视角画面为通过虚拟摄像机在第一位置采集所述游戏地形场景所形成的画面;displaying, on the graphical user interface, a first perspective picture including the first virtual unit, where the first perspective picture is a picture formed by capturing the game terrain scene at a first position by a virtual camera;响应针对所述第一虚拟单位的第一操作,确定所述第一虚拟单位的第一行进路线,所述第一行进路线为所述第一虚拟单位从初始位置向所述游戏地形场景中的目标位置进行行进的路线;In response to the first operation on the first virtual unit, a first travel route of the first virtual unit is determined, and the first travel route is from an initial position of the first virtual unit to a location in the game terrain scene. the route to travel to the target location;响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,并基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,以将所述图形用户界面显示的第一视角画面切换为与所述第二位置对应的第二视角画面,其中,所述第二视角画面包括至少部分所述第一行进路线的标识。In response to a second operation acting on the graphical user interface, a target direction is determined according to the first travel route, and based on the target direction, the virtual camera is controlled to move from a first position to a second position to move the The picture from the first perspective displayed on the graphical user interface is switched to the picture from the second perspective corresponding to the second position, wherein the picture from the second perspective includes at least part of the identification of the first travel route.2.根据权利要求1所述的方法,其特征在于,所述响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,包括:2. The method according to claim 1, wherein determining a target direction according to the first travel route in response to a second operation acting on the graphical user interface, comprising:响应作用于所述图形用户界面的滑动操作,获取所述滑动操作的滑动方向;obtaining the sliding direction of the sliding operation in response to the sliding operation acting on the graphical user interface;从所述虚拟摄像机沿所述第一行进路线的多个预设移动方向中,确定与所述滑动方向关联的预设移动方向,得到所述目标方向。From a plurality of preset moving directions of the virtual camera along the first travel route, a preset moving direction associated with the sliding direction is determined to obtain the target direction.3.根据权利要求1所述的方法,其特征在于,所述响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,包括:3. The method according to claim 1, wherein determining a target direction according to the first travel route in response to a second operation acting on the graphical user interface, comprising:响应作用于所述第一行进路线的滑动操作,获取所述滑动操作在所述第一行进路线上的方向,得到所述目标方向。In response to the sliding operation acting on the first travel route, the direction of the sliding operation on the first travel route is acquired to obtain the target direction.4.根据权利要求1所述的方法,其特征在于,所述第二操作为滑动操作;4. The method according to claim 1, wherein the second operation is a sliding operation;所述基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,包括:The controlling the virtual camera to move from the first position to the second position based on the target direction includes:在所述滑动操作期间,获取所述滑动操作的滑动参数,根据所述滑动参数确定所述目标方向以及在所述第一行进路线上的第二位置;During the sliding operation, the sliding parameters of the sliding operation are acquired, and the target direction and the second position on the first travel route are determined according to the sliding parameters;持续控制所述虚拟摄像机从所述第一位置移动至所述第二位置。The virtual camera is continuously controlled to move from the first position to the second position.5.根据权利要求1所述的方法,其特征在于,所述第二操作为滑动操作;5. The method according to claim 1, wherein the second operation is a sliding operation;所述基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,包括:The controlling the virtual camera to move from the first position to the second position based on the target direction includes:在所述滑动操作期间,获取所述滑动操作的滑动参数,根据所述滑动参数确定所述目标方向以及所述虚拟摄像机的移动速度;During the sliding operation, the sliding parameters of the sliding operation are obtained, and the target direction and the moving speed of the virtual camera are determined according to the sliding parameters;持续控制所述虚拟摄像机在所述第一行进路线上基于所述目标方向和所述移动速度进行移动。The virtual camera is continuously controlled to move on the first travel route based on the target direction and the movement speed.6.根据权利要求1所述的方法,其特征在于,所述图形用户界面显示有所述第一行进路线;6. The method of claim 1, wherein the graphical user interface displays the first travel route;所述响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,包括:Determining a target direction according to the first travel route in response to the second operation acting on the graphical user interface includes:响应作用于所述第一行进路线的触控操作,在所述图形用户界面上显示多个候选方向标识,其中,所述多个候选方向标识分别指示所述第一行进路线上的不同方向;In response to a touch operation acting on the first travel route, displaying a plurality of candidate direction markers on the graphical user interface, wherein the plurality of candidate direction markers respectively indicate different directions on the first travel route;响应作用于所述多个候选方向标识中目标方向标识的滑动操作,根据所述目标方向标识指示的方向确定所述目标方向。The target direction is determined according to the direction indicated by the target direction identification in response to the sliding operation acting on the target direction identification among the plurality of candidate direction identifications.7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, wherein the method further comprises:响应作用于所述第一行进路线的位置选择操作,从所述第一行进路线中确定第三位置;determining a third location from the first route of travel in response to a location selection operation acting on the first route of travel;将所述图形用户界面显示的第一视角画面切换为与所述第三位置对应的视角画面。Switching the first viewing angle picture displayed on the graphical user interface to the viewing angle picture corresponding to the third position.8.根据权利要求1所述的方法,其特征在于,所述方法还包括:8. The method of claim 1, wherein the method further comprises:响应于所述第二操作结束,确定所述第一虚拟单位在所述第一行进路线上的第四位置;in response to the end of the second operation, determining a fourth position of the first virtual unit on the first route of travel;将所述图形用户界面显示的第二视角画面切换为与所述第四位置对应的视角画面。Switching the second viewing angle picture displayed on the graphical user interface to the viewing angle picture corresponding to the fourth position.9.根据权利要求1所述的方法,其特征在于,所述响应针对所述第一虚拟单位的第一操作,确定所述第一虚拟单位的第一行进路线,包括:9 . The method of claim 1 , wherein determining, in response to a first operation on the first virtual unit, a first travel route of the first virtual unit, comprising: 10 .响应作用于所述第一虚拟单位的触控操作,获取所述第一虚拟单位在所述游戏地形场景中行进的初始位置与结束位置;In response to a touch operation acting on the first virtual unit, obtain an initial position and an ending position of the first virtual unit traveling in the game terrain scene;基于所述初始位置与所述结束位置确定所述第一行进路线,并在所述图形用户界面显示所述第一行进路线。The first travel route is determined based on the initial position and the end position, and the first travel route is displayed on the graphical user interface.10.一种游戏显示控制装置,其特征在于,通过终端设备提供图形用户界面,所述图形用户界面显示的内容至少包括部分游戏地形场景,所述游戏地形场景中包括与所述终端设备对应的第一虚拟单位,所述装置包括:10. A game display control device, characterized in that a graphical user interface is provided through a terminal device, and the content displayed on the graphical user interface includes at least a part of a game terrain scene, and the game terrain scene includes a game terrain scene corresponding to the terminal device. The first virtual unit, the device includes:显示单元,用于在所述图形用户界面显示包括所述第一虚拟单位的第一视角画面,所述第一视角画面为通过虚拟摄像机在第一位置采集所述游戏地形场景所形成的画面;a display unit, configured to display, on the graphical user interface, a first-view picture including the first virtual unit, where the first-view picture is a picture formed by capturing the game terrain scene at a first position by a virtual camera;第一确定单元,用于响应针对所述第一虚拟单位的第一操作,确定所述第一虚拟单位的第一行进路线,所述第一行进路线为所述第一虚拟单位从初始位置向所述游戏地形场景中的目标位置进行行进的路线;A first determining unit, configured to, in response to a first operation on the first virtual unit, determine a first travel route of the first virtual unit, where the first travel route is the movement of the first virtual unit from the initial position to the The route of the target position in the game terrain scene;第一切换单元,用于响应作用于所述图形用户界面的第二操作,根据所述第一行进路线确定一目标方向,并基于所述目标方向控制所述虚拟摄像机从第一位置移动至第二位置,以将所述图形用户界面显示的第一视角画面切换为与所述第二位置对应的第二视角画面,其中,所述第二视角画面包括至少部分所述第一行进路线的标识。A first switching unit, configured to determine a target direction according to the first travel route in response to a second operation acting on the graphical user interface, and control the virtual camera to move from a first position to a second position based on the target direction two positions, so as to switch the picture from the first perspective displayed on the GUI to the picture from the second perspective corresponding to the second position, wherein the picture from the second perspective includes at least part of the identification of the first travel route .11.一种计算机设备,包括存储器,处理器及存储在存储器上并在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至9任一项所述的游戏显示控制方法。11. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the program described in any one of claims 1 to 9 when the processor executes the program The game display control method.12.一种存储介质,其特征在于,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1至9任一项所述的游戏显示控制方法。12 . A storage medium, characterized in that the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the game display control method according to any one of claims 1 to 9 .
CN202210749413.4A2022-06-282022-06-28 A game display control method, device, computer equipment and storage mediumPendingCN115193046A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210749413.4ACN115193046A (en)2022-06-282022-06-28 A game display control method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210749413.4ACN115193046A (en)2022-06-282022-06-28 A game display control method, device, computer equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN115193046Atrue CN115193046A (en)2022-10-18

Family

ID=83578944

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210749413.4APendingCN115193046A (en)2022-06-282022-06-28 A game display control method, device, computer equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN115193046A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2024152504A1 (en)*2023-01-182024-07-25网易(杭州)网络有限公司Game interaction method and apparatus, and computer device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2018202128A (en)*2017-06-052018-12-27任天堂株式会社Game program, game device, game system, and game control method
CN109833624A (en)*2017-11-292019-06-04腾讯科技(成都)有限公司The display methods and device for line information of marching on virtual map
CN111185004A (en)*2019-12-302020-05-22网易(杭州)网络有限公司Game control display method, electronic device, and storage medium
CN111437604A (en)*2020-03-232020-07-24网易(杭州)网络有限公司Game display control method and device, electronic equipment and storage medium
CN112619140A (en)*2020-12-182021-04-09网易(杭州)网络有限公司Method and device for determining position in game and method and device for adjusting path
CN113908544A (en)*2021-09-132022-01-11网易(杭州)网络有限公司 Information interaction method, device and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2018202128A (en)*2017-06-052018-12-27任天堂株式会社Game program, game device, game system, and game control method
CN109833624A (en)*2017-11-292019-06-04腾讯科技(成都)有限公司The display methods and device for line information of marching on virtual map
CN111185004A (en)*2019-12-302020-05-22网易(杭州)网络有限公司Game control display method, electronic device, and storage medium
CN111437604A (en)*2020-03-232020-07-24网易(杭州)网络有限公司Game display control method and device, electronic equipment and storage medium
CN112619140A (en)*2020-12-182021-04-09网易(杭州)网络有限公司Method and device for determining position in game and method and device for adjusting path
CN113908544A (en)*2021-09-132022-01-11网易(杭州)网络有限公司 Information interaction method, device and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2024152504A1 (en)*2023-01-182024-07-25网易(杭州)网络有限公司Game interaction method and apparatus, and computer device and storage medium

Similar Documents

PublicationPublication DateTitle
CN113101652A (en) Information display method, device, computer equipment and storage medium
CN113398590B (en)Sound processing method, device, computer equipment and storage medium
CN115193049A (en) Virtual character control method, device, storage medium and computer equipment
CN113332721B (en)Game control method, game control device, computer equipment and storage medium
CN113546419A (en)Game map display method, device, terminal and storage medium
CN115040867A (en) A game card control method, device, computer equipment and storage medium
CN112957732B (en)Searching method, device, terminal and storage medium
CN115193035A (en)Game display control method and device, computer equipment and storage medium
CN114225412A (en)Information processing method, information processing device, computer equipment and storage medium
CN115193064A (en)Virtual object control method and device, storage medium and computer equipment
CN115193046A (en) A game display control method, device, computer equipment and storage medium
CN115999153B (en) Virtual character control method, device, storage medium and terminal device
CN115430151B (en) Game character control method, device, electronic device and readable storage medium
CN115382201A (en) Game control method, device, computer equipment and storage medium
CN116870472A (en)Game view angle switching method and device, computer equipment and storage medium
CN115193043A (en) A game information sending method, device, computer equipment and storage medium
CN115212567A (en)Information processing method, information processing device, computer equipment and computer readable storage medium
CN113426115B (en)Game role display method, device and terminal
CN115645919A (en)Game control method and device, electronic equipment and readable storage medium
CN115382202A (en) Game control method, device, computer equipment and storage medium
CN115501581A (en) Game control method, device, computer equipment and storage medium
CN115193033A (en) Game data processing method, device, computer equipment and storage medium
CN115225971A (en)Video progress adjusting method and device, computer equipment and storage medium
CN115501582B (en)Game interaction control method and device, computer equipment and storage medium
CN115193062B (en)Game control method and device, storage medium and computer equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp