WO2022247181A1 - 游戏场景的处理方法、装置、存储介质及电子设备 - Google Patents

游戏场景的处理方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2022247181A1
WO2022247181A1 PCT/CN2021/132547 CN2021132547W WO2022247181A1 WO 2022247181 A1 WO2022247181 A1 WO 2022247181A1 CN 2021132547 W CN2021132547 W CN 2021132547W WO 2022247181 A1 WO2022247181 A1 WO 2022247181A1
Authority
WO
WIPO (PCT)
Prior art keywords
game scene
virtual
virtual game
function
coordinate point
Prior art date
Application number
PCT/CN2021/132547
Other languages
English (en)
French (fr)
Inventor
胡诗涵
Original Assignee
网易(杭州)网络有限公司
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 网易(杭州)网络有限公司 filed Critical 网易(杭州)网络有限公司
Priority to JP2022570325A priority Critical patent/JP7416980B2/ja
Priority to US17/811,368 priority patent/US20220379210A1/en
Publication of WO2022247181A1 publication Critical patent/WO2022247181A1/zh

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • A63F13/525Changing parameters of virtual cameras
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Definitions

  • the present disclosure relates to the technical field of games, and in particular, to a game scene processing method, device, storage medium, and electronic equipment.
  • map resources occupy an important position in the game scene, and players often move the game camera to the target virtual model (such as the main city pool) when exploring map resources.
  • the game scene and quickly return to the main city pool by clicking the positioning control when needed.
  • the related technology provides a way to record the current target location by clicking the record control before the player returns to the main city, and return to the target location again according to the recorded location information after completing the city return operation.
  • the above-mentioned related technologies have the following defects: 1. If the player does not take the initiative to record the target location, there will be a fault in the return operation, and the player needs to spend a lot of time to find or even find the target location. The operation of the location is invalid; 2.
  • the recording control is only used to record the location information of the target location. For the target location far away from the main city, the player still needs to return to the target location by sliding the screen or moving the mouse according to the location information. The operation is cumbersome; 3. It is necessary to set the recording control and positioning control at the same time, which is easy to block the player's game vision.
  • Game scene after executing the first function, control the above-mentioned target control to switch from the first function to the second function, wherein the second function is used to control the virtual game scene displayed on the game scene screen from the second virtual game scene It is the above-mentioned first virtual game scene.
  • a non-volatile storage medium the above-mentioned non-volatile storage medium includes a stored program, wherein when the above-mentioned program is running, control the location of the above-mentioned non-volatile storage medium The device executes any one of the above-mentioned game scene processing methods.
  • an electronic device including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the above games The processing method of the scene.
  • FIG. 1 is a flowchart of a method for processing a game scene according to an embodiment of the present disclosure
  • Fig. 3 is a schematic diagram of another optional game scene screen according to an embodiment of the present disclosure.
  • Fig. 4 is a schematic structural diagram of an apparatus for processing a game scene according to an embodiment of the present disclosure.
  • an embodiment of a method for processing a game scene is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
  • the technical solution of this method embodiment can be executed in a mobile terminal, a computer terminal or a similar computing device.
  • the mobile terminal can be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet Devices, referred to as MID), PAD and other terminal devices.
  • the mobile terminal may include one or more processors (processors may include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), neural network processor (NPU), tensor processor (TPU), artificial intelligence (AI) type processor, etc.) and memory for storing data.
  • processors may include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), neural network processor (NPU), tensor processor (TPU), artificial intelligence (AI) type processor, etc.
  • processors may include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (F
  • the memory can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the game scene processing method in the embodiment of the present disclosure, and the processor runs the computer programs stored in the memory to execute various Functional application and data processing, that is, a processing method for realizing the above-mentioned game scene.
  • the memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory may further include memory located remotely relative to the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission devices are used to receive or send data via a network.
  • the specific example of the above network may include a wireless network provided by the communication provider of the mobile terminal.
  • the transmission device includes a network interface controller (NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • device-to-device (Device to Device, D2D for short) communication can be performed between multiple mobile terminals.
  • the 5G system or 5G network is also called a New Radio (New Radio, NR for short) system or NR network.
  • the display device may be, for example, a touchscreen liquid crystal display (LCD) and touch display (also referred to as a "touchscreen” or “touch display”).
  • the liquid crystal display may enable a user to interact with a user interface of the mobile terminal.
  • the above-mentioned mobile terminal has a graphical user interface (GUI), and the user can perform human-computer interaction with the GUI by touching finger contacts and/or gestures on the touch-sensitive surface, and the human-computer interaction function here is optional Including the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interface, playing digital video, playing digital music and/or web browsing, etc., used to perform the above
  • the executable instructions of the computer interaction function are configured/stored in one or more processor-executable computer program products or readable non-volatile storage media.
  • Fig. 1 is a flow chart of a method for processing a game scene according to an embodiment of the present disclosure. As shown in Fig. 1, the method includes the following steps:
  • Step S102 executing the first function in response to the first operation performed on the target control, the execution of the first function includes: obtaining the first coordinate point of the first virtual game scene displayed on the game scene screen;
  • Step S104 judging whether the first distance value between the first coordinate point and the second coordinate point is greater than a first threshold, wherein the second coordinate point is the coordinate point of the target virtual model in the virtual game scene;
  • Step S108 after executing the first function, control the target control to switch from the first function to the second function, wherein the second function is used to control the virtual game scene displayed on the game scene screen to switch from the second virtual game scene It is the above-mentioned first virtual game scene.
  • a graphical user interface is obtained by rendering the display component of the terminal, and the above-mentioned graphical user interface includes a target control and a game scene screen displaying at least part of the virtual game scene , the above target control is associated with the first function or the second function.
  • a virtual game scene is a virtual scene displayed (or provided) when an application program is running on a terminal or a server.
  • the virtual game scene is a simulation environment of the real world, or a half-simulation and half-fictional virtual environment, or a purely fictitious virtual environment.
  • the virtual game scene is any one of a two-dimensional virtual game scene and a three-dimensional virtual game scene, and the virtual environment can be sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities.
  • the virtual game scene is a scene in which virtual objects such as user controls complete game logic.
  • the above-mentioned first operation may be a touch operation in a mobile game, or a mouse click operation in a client game.
  • the second virtual game scene may be a virtual game scene contained in the game scene picture obtained by shooting the target virtual model through a virtual camera.
  • the target virtual model is used as the shooting focus
  • the second The center point of the second virtual game scene is the target virtual model.
  • the first virtual game scene displayed in the above-mentioned game scene picture can be a virtual game scene different from the second virtual game scene, for example: the first virtual game scene can be a virtual game scene that does not contain the target virtual model, or it can only contain
  • the virtual game scene that is a part of the target virtual model can also be a virtual game scene that includes the whole of the target virtual model but the target virtual model is not located at the center point of the game scene screen.
  • the first virtual game scene can be shown, but not limited to, as shown in FIG.
  • the icon displayed in is the icon corresponding to the first function of the target control.
  • the second virtual game scene displayed in the above game scene screen can be, but not limited to, as shown in Figure 3.
  • the icon shown in Figure 3 is the target control.
  • At least one of the following is included in the above-mentioned predetermined position: a thumbnail map, a search control, and a mark control, wherein the above-mentioned thumbnail map is at least used to display virtual The coordinate point in the game scene.
  • the search control By clicking or touching the search control, the player can search for various virtual game resources in the above virtual game scene, such as virtual wood, virtual stone, virtual iron ore, virtual grain and grass, virtual wandering troops, etc.
  • the player clicks or touches one or more virtual game resources in the virtual game scene, for example, one or more pieces of virtual land (or virtual wood, virtual stone, virtual iron ore, virtual buildings, etc.), and in each After clicking a virtual game resource for the first time, by clicking or touching the mark control, the selected virtual game resource will be specially marked, and the marked virtual game resource will be displayed in the mark list, so that players can open the mark list to view the current mark virtual game resources.
  • one or more virtual game resources in the virtual game scene for example, one or more pieces of virtual land (or virtual wood, virtual stone, virtual iron ore, virtual buildings, etc.)
  • the selected virtual game resource will be specially marked, and the marked virtual game resource will be displayed in the mark list, so that players can open the mark list to view the current mark virtual game resources.
  • the server when the player clicks or touches the target control to perform the first operation on the target control, the server responds to the player's first operation on the target control and performs the first function, that is, to obtain the above-mentioned game scene screen
  • the first coordinate point of the displayed first virtual game scene can be the center point in the first virtual game scene, or it can be the virtual game character controlled by the player in the first virtual game.
  • the current location point of the scene can be the center point in the first virtual game scene, or it can be the virtual game character controlled by the player in the first virtual game.
  • a virtual game character is a dynamic object that can be controlled in a virtual game scene.
  • the dynamic object may be a virtual character, a virtual animal, an animation character, and the like.
  • the virtual game character is a character controlled by the player through an input device, or an artificial intelligence (AI) set in a virtual environment battle through training, or a non-player character (Non-player character) set in a virtual game scene battle.
  • Player Character NPC
  • the virtual game character for example, player-controlled game characters such as knights and heroes
  • the player can control the virtual game character to change or change in the main city pool
  • Supplement virtual game resources such as recruiting troops, replenishing arms, updating weapons, etc.
  • the first coordinate point after the first coordinate point is acquired, it is judged whether the first distance value between the first coordinate point and the second coordinate point is greater than the first threshold value, when the first distance value is greater than the first When a threshold value is reached, switch the first virtual scene displayed on the game scene screen to the second virtual scene.
  • the second coordinate point is the target virtual model position point in the second virtual game scene
  • the first threshold is the length of 5 cells in the game scene screen value as an example, wherein, the game scene picture contains multiple cells, and the size of each cell is fixed and equal, that is, the length value of each cell is equal; for example, if the first threshold is equal to 5 units in the game scene picture
  • the length values of the grids are equal, correspondingly, the target virtual model can occupy 9 cells in the game scene screen, and when the first distance value between the central location point and the main city location point is greater than the first threshold value, then Switch the first virtual scene displayed on the above-mentioned game scene screen to the second virtual scene, return to the location of the main city in the second virtual scene, and after executing the first function, control the above-mentioned target control to switch from the first function to The second function, because when the player performs the first operation, the server has obtained the center position point in the first
  • the game server when the player performs the first operation (that is, returns to the second coordinate point), in response to the player's first operation, the game server automatically records the first coordinate point without the player actively recording, and after execution After the first operation, the player also needs to spend a lot of time to find the first coordinate point. Instead, perform the second operation on the target control again. In response to the above second operation, execute the second function to return to the first coordinate point. And the previous operations at the first coordinate point are all valid.
  • the method of enriching the setting function of the target control is adopted, and the first function is executed by responding to the first operation performed on the target control.
  • the above-mentioned execution of the first function includes: acquiring the first virtual game displayed on the game scene screen The first coordinate point of the scene; judging whether the first distance value between the first coordinate point and the second coordinate point is greater than the first threshold, wherein the second coordinate point is the coordinate of the target virtual model in the virtual game scene point; when the above-mentioned first distance value is greater than the above-mentioned first threshold, then the first virtual scene displayed on the above-mentioned game scene screen is switched to the second virtual scene, wherein the above-mentioned second virtual scene is the virtual scene where the above-mentioned second coordinate point is located.
  • Game scene after executing the first function, control the above-mentioned target control to switch from the first function to the second function, wherein the second function is used to control the virtual game scene displayed on the game scene screen from the second virtual game scene
  • the purpose of switching between different virtual game scenes based on location positioning is achieved, thereby reducing the cumbersome operation of switching from the second virtual game scene back to the first virtual game scene, and improving player switching.
  • the technical effect of the processing efficiency in the virtual game scene further solves the technical problem in the related art that it is impossible to switch between different virtual game scenes based on location positioning.
  • the above method further includes:
  • Step S202 switching the second virtual game scene back to the first virtual game scene in response to the second operation performed on the target control.
  • the above-mentioned target control is controlled to switch from the first function to the second function, and then by responding to the second operation performed on the above-mentioned target control, the above-mentioned second virtual game scene can be To switch back to the above-mentioned first virtual game scene, there is no need to set or operate the recording control and the positioning control at the same time, so that the setting can provide the player with a wider and clearer game field of view.
  • switching the above-mentioned second virtual game scene back to the above-mentioned first virtual game scene includes:
  • the method of controlling the virtual game character to find a way to the first coordinate point along the specified route, so as to switch from the second virtual game scene to the first virtual game scene. That is to say, in the embodiment of the present disclosure, not only the location information of the first coordinate point can be recorded, but also the virtual game scene where the first coordinate point is located can be directly recorded. There is no need for the player to return by swiping the screen or moving the mouse according to the first coordinate point, and the operation method is more convenient and efficient.
  • the above method further includes: in response to the fourth operation on the target virtual model in the second virtual game scene, controlling the target virtual model to perform corresponding virtual actions, for example, changing or supplementing virtual game resources , that is, supplementary arms, weapons, etc.
  • obtaining the first coordinate point of the first virtual game scene displayed on the game scene screen includes:
  • Step S402 obtaining the central position point in the above-mentioned first virtual game scene, and determining the above-mentioned first coordinate point based on the above-mentioned central position point; or,
  • the above-mentioned first coordinate point can be obtained by obtaining the central position point in the above-mentioned first virtual game scene, and can also be obtained by obtaining the current position point of the virtual game character in the above-mentioned first virtual game scene. It should still be noted that, in the case where the accuracy requirement is not high, the above-mentioned first coordinate point can also be obtained by obtaining any fixed position point in the above-mentioned first virtual game scene.
  • Step S502 in response to the third operation for scene switching, switch the above-mentioned second virtual game scene to a third virtual game scene.
  • the third operation may be an operation in which the player moves the mouse or slides on the screen, and may also be an operation in which the virtual character is controlled to move.
  • the above-mentioned third operation can be used to change the position or angle of view of the virtual camera, so that the picture of the game scene captured by the virtual camera changes, and then switch the second virtual game scene to the third virtual game scene. For example, if the player controls the virtual game character to perform the third operation by clicking or touching the mouse, and moves from the second coordinate point in the second virtual game scene to the third coordinate point, then the second virtual game scene is switched to the third coordinate point.
  • a virtual game scene, the third game scene is a virtual game scene where the third coordinate point is located.
  • the above method further includes:
  • Step S602 obtaining the third coordinate point of the above-mentioned virtual game character in the above-mentioned third virtual game scene;
  • Step S604 judging whether the second distance value between the third coordinate point and the second coordinate point is greater than a second threshold
  • the third coordinate point of the above-mentioned virtual game character in the above-mentioned third virtual game scene is obtained, for example, the virtual game character The current position point in the above-mentioned third virtual game scene.
  • the above-mentioned third coordinate point may also be a central coordinate point in the third virtual game scene, or an arbitrary fixed position point in the third virtual game scene.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

一种游戏场景的处理方法、装置、存储介质及电子设备。其中,该方法包括:响应对目标控件执行的第一操作,执行第一功能,执行第一功能包括:获取游戏场景画面显示的第一虚拟游戏场景的第一坐标点;判断第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值;当第一距离值大于第一阈值时,则将游戏场景画面显示的第一虚拟场景切换为第二虚拟场景;在执行完第一功能之后,控制目标控件从第一功能切换为第二功能,其中,第二功能用于控制游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为第一虚拟游戏场景。该方法解决了相关技术中无法实现基于地点定位的方式切换不同的虚拟游戏场景的技术问题。

Description

游戏场景的处理方法、装置、存储介质及电子设备
本申请要求于2021年05月25日提交中国专利局,申请号为202110574194.6,申请名称“游戏场景的处理方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及游戏技术领域,具体而言,涉及一种游戏场景的处理方法、装置、存储介质及电子设备。
背景技术
在一些游戏中,以会合制策略类游戏SLG游戏为例,地图资源在游戏场景中占据重要位置,玩家在探索地图资源时往往会将游戏镜头移动至目标虚拟模型(如主城池)之外的游戏场景,并在需要时通过点击定位控件执行快速返回主城池。相关技术提供了一种在玩家返回主城池之前,通过点击记录控件可以记录当前的目标地点,在完成回城操作后则可以根据记录的地点信息再次返回该目标地点。上述相关技术存在以下缺陷:1、若玩家并未主动记录该目标地点则此次回城操作会出现断层,玩家需要花费大量的时间找寻甚至直接再也找不到该目标地点,导致之前在该目标地点的操作皆失效;2、记录控件仅用于记录目标地点的地点信息,对于离主城池较远的目标地点,玩家仍然需要根据该地点信息通过滑屏或者移动鼠标的方式返回该目标地点,操作较为繁琐;3、需要同时设置记录控件和定位控件,容易遮挡玩家的游戏视野。
针对上述的问题,目前尚未提出有效的解决方案。
发明内容
本公开实施例提供了一种游戏场景的处理方法、装置、存储介质及电子设备,以至少解决相关技术中无法实现基于地点定位的方式切换不同的虚拟游戏场景的技术问题。
根据本公开实施例的一个方面,提供了一种游戏场景的处理方法,通过终端的显示组件渲染得到图形用户界面,上述图形用户界面中包含一目标控件以及显示有至少部分虚拟游戏场景的游戏场景画面,上述目标控件关联第一功能或第二功能,包括:响应对上述目标控件执行的第一操作,执行第一功能,上述执行第一功能包括:获取上述游戏场景画面显示的第一虚拟游戏场景的第一坐标点;判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,上述第二坐标点是目标虚拟模型在上述虚拟游戏场景中的坐标点;当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,上述第二虚拟场景为上述第二坐标点所在的虚拟游戏场景;在执行完第一功能之后,控制上述目标控件从第一功能切换为第 二功能,其中,上述第二功能用于控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景。
根据本公开实施例的另一方面,还提供了一种游戏场景的处理装置,通过终端的显示组件渲染得到图形用户界面,上述图形用户界面中包含一目标控件以及显示有至少部分虚拟游戏场景的游戏场景画面,上述目标控件关联第一功能或第二功能,包括:执行模块,用于响应对上述目标控件执行的第一操作,执行第一功能,上述执行第一功能包括:获取上述游戏场景画面显示的第一虚拟游戏场景的第一坐标点;第一判断模块,用于判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,上述第二坐标点是目标虚拟模型在上述虚拟游戏场景中的坐标点;第一切换模块,用于当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,上述第二虚拟场景为上述第二坐标点所在的虚拟游戏场景;处理模块,用于在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,其中,上述第二功能用于控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景。
根据本公开实施例的另一方面,还提供了一种非易失性存储介质,上述非易失性存储介质包括存储的程序,其中,在上述程序运行时控制上述非易失性存储介质所在设备执行任意一项上述的游戏场景的处理方法。
根据本公开实施例的另一方面,还提供了一种电子设备,包括存储器和处理器,上述存储器中存储有计算机程序,上述处理器被设置为运行上述计算机程序以执行任意一项上述的游戏场景的处理方法。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是根据本公开实施例的一种游戏场景的处理方法的流程图;
图2是根据本公开实施例的一种可选的游戏场景画面的示意图;
图3是根据本公开实施例的另一种可选的游戏场景画面的示意图;
图4是根据本公开实施例的一种游戏场景的处理装置的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本公开实施例,提供了一种游戏场景的处理方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
该方法实施例的技术方案可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,该移动终端可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,简称为MID)、PAD等终端设备。移动终端可以包括一个或多个处理器(处理器可以包括但不限于中央处理器(CPU)、图形处理器(GPU)、数字信号处理(DSP)芯片、微处理器(MCU)、可编程逻辑器件(FPGA)、神经网络处理器(NPU)、张量处理器(TPU)、人工智能(AI)类型处理器等的处理装置)和用于存储数据的存储器。可选地,上述移动终端还可以包括用于通信功能的传输设备、输入输出设备以及显示设备。本领域普通技术人员可以理解,上述结构描述仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比上述结构描述更多或者更少的组件,或者具有与上述结构描述不同的配置。
存储器可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本公开实施例中的游戏场景的处理方法对应的计算机程序,处理器通过运行存储在存储器内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的游戏场景的处理方法。存储器可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输设备用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输设备包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。该方法实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,简称为GSM)系统、码分多址(Code Division Multiple Access,简称为CDMA)系统、宽带码分多址(Wideband  Code Division Multiple Access,简称为WCDMA)系统、通用分组无线业务(General Packet Radio Service,简称为GPRS)、长期演进(Long Term Evolution,简称为LTE)系统、LTE频分双工(Frequency Division Duplex,简称为FDD)系统、LTE时分双工(Time Division Duplex,简称为TDD)、通用移动通信系统(Universal Mobile Telecommunication System,简称为UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,简称为WiMAX)通信系统或5G系统等。可选地,多个移动终端之间可以进行设备到设备(Device to Device,简称为D2D)通信。可选地,5G系统或5G网络又被称为新无线(New Radio,简称为NR)系统或NR网络。
显示设备可以例如触摸屏式的液晶显示器(LCD)和触摸显示器(也被称为“触摸屏”或“触摸显示屏”)。该液晶显示器可使得用户能够与移动终端的用户界面进行交互。在一些实施例中,上述移动终端具有图形用户界面(GUI),用户可以通过触摸触敏表面上的手指接触和/或手势来与GUI进行人机交互,此处的人机交互功能可选的包括如下交互:创建网页、绘图、文字处理、制作电子文档、游戏、视频会议、即时通信、收发电子邮件、通话界面、播放数字视频、播放数字音乐和/或网络浏览等、用于执行上述人机交互功能的可执行指令被配置/存储在一个或多个处理器可执行的计算机程序产品或可读非易失性存储介质中。
图1是根据本公开实施例的一种游戏场景的处理方法的流程图,如图1所示,该方法包括如下步骤:
步骤S102,响应对目标控件执行的第一操作,执行第一功能,上述执行第一功能包括:获取上述游戏场景画面显示的第一虚拟游戏场景的第一坐标点;
步骤S104,判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,上述第二坐标点是目标虚拟模型在上述虚拟游戏场景中的坐标点;
步骤S106,当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,上述第二虚拟场景为上述第二坐标点所在的虚拟游戏场景;
步骤S108,在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,其中,上述第二功能用于控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景。
需要说明的是,本公开实施例所提供的游戏场景的处理方法,通过终端的显示组件渲染得到图形用户界面,上述图形用户界面中包含一目标控件以及显示有至少部分虚拟游戏场景的游戏场景画面,上述目标控件关联第一功能或第二功能。
虚拟游戏场景,是应用程序在终端或服务器上运行时显示(或提供)的虚拟场景。可选的,该虚拟游戏场景是对真实世界的仿真环境,或者是半仿真半虚构的虚拟环境,或者是纯虚构的虚拟环境。虚拟游戏场景是二维虚拟游戏场景和三维虚拟游戏场景中的任意一种,虚拟环境可以为天空、陆地、海洋等,其中,该陆地包括沙漠、城市等环境元素。 其中,虚拟游戏场景为用户控制等虚拟对象完整游戏逻辑的场景。
可选的,在本公开实施例中,上述第一操作可以为手游中的触控操作,还可以为端游中鼠标点击操作。
可选的,在本公开实施例中,第二虚拟游戏场景可以是通过虚拟摄像头拍摄目标虚拟模型得到的游戏场景画面中所包含的虚拟游戏场景,例如:以目标虚拟模型作为拍摄焦点,则第二虚拟游戏场景的中心点为目标虚拟模型。上述游戏场景画面中显示的第一虚拟游戏场景可以是不同于第二虚拟游戏场景的虚拟游戏场景,例如:第一虚拟游戏场景可以是不包含目标虚拟模型的虚拟游戏场景,也可以是仅包含目标虚拟模型的一部分的虚拟游戏场景,还可以是包含了目标虚拟模型的全部但该目标虚拟模型并不位于游戏场景画面中心点的虚拟游戏场景。在一种可选的实施例中,第一虚拟游戏场景可以但不限于如图2所示,上述目标控件可以设置在如图2所示的游戏场景画面的预定位置,该目标控件在图2中展示的图标为目标控件的第一功能对应的图标,上述游戏场景画面中显示的第二虚拟游戏场景,可以但不限于如图3所示,在图3中所展示的图标为目标控件的第二功能对应的图标。
可选的,上述目标虚拟模型可以但不限于为主城池、某个指定的NPC、虚拟建筑模型等等。例如,该目标虚拟模型可以为如图3所示的主城池。
在一种可选的实施例中,仍如图2所示,上述预定位置内还包含以下至少之一:缩略地图、搜索控件、和标记控件,其中,上述缩略地图至少用于显示虚拟游戏场景中的坐标点,玩家通过点击或者触控该搜索控件,可以搜索上述虚拟游戏场景内的多种虚拟游戏资源,例如,虚拟木材、虚拟石料、虚拟铁矿、虚拟粮草、虚拟游荡部队等等;玩家通过点击或者触控虚拟游戏场景内的一个或多个虚拟游戏资源,例如,一块或多块虚拟土地(或者虚拟木材、虚拟石料、虚拟铁矿、虚拟建筑等等),并在每次点击一个虚拟游戏资源之后,通过点击或者触控该标记控件的方式,对选中的虚拟游戏资源进行特殊标记,并将标记的虚拟游戏资源展示在标记列表,以便于玩家开启标记列表查看当前标记的虚拟游戏资源。
作为一项可选的实施例,当玩家点击或者触控目标控件,对目标控件执行第一操作,服务器端响应玩家对目标控件执行的第一操作,执行第一功能,即获取上述游戏场景画面显示的第一虚拟游戏场景的第一坐标点,可选的,该第一坐标点可以为第一虚拟游戏场景中的中心位置点,也可以为玩家所控制的虚拟游戏角色在第一虚拟游戏场景的当前所在位置点。
虚拟游戏角色,是虚拟游戏场景中可被控制的动态对象。可选的,该动态对象可以是虚拟人物、虚拟动物、动漫人物等。该虚拟游戏角色是玩家通过输入设备进行控制的角色,或者是通过训练设置在虚拟环境对战中的人工智能(Artificial Intelligence,AI),或者是设置在虚拟游戏场景对战中的非玩家角色(Non-Player Character,NPC)。
作为一种可选的实施例,以SLG类游戏为例,玩家在探索地图资源时往往会将游戏 镜头移动至目标虚拟模型(如主城池)之外的第一虚拟游戏场景,由于玩家在需要从第一虚拟游戏场景的第一坐标点回到主城池在第二虚拟游戏场景中的第二坐标点时,可以通过点击或者触控目标控件的方式,控制虚拟游戏角色(例如,玩家控制的骑士、英雄等游戏角色)执行将游戏镜头从第一坐标点所在的第一虚拟游戏场景快速切换至主城池所在的第二虚拟游戏场景,该玩家可以控制该虚拟游戏角色在主城池内变更或补充虚拟游戏资源,例如,招兵买马、补充兵种、更新兵器等,并在完成回城操作后则通过点击或者触控目标控件便可以根据记录的第一坐标点的地点信息再次返回该第一坐标点,即从第二虚拟游戏场景再次切换到第一虚拟游戏场景,无需通过滑屏的方式漫无目的的寻路该第一坐标点。
在上述可选的实施例中,在获取第一坐标点后,判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景。
以上述第一坐标点为第一虚拟游戏场景中的中心位置点,第二坐标点为第二虚拟游戏场景中目标虚拟模型位置点,第一阈值为游戏场景画面中的5个单元格的长度值为例,其中,该游戏场景画面包含多个单元格,每个单元格的大小固定且相等,即每个单元格的长度值相等;例如,若第一阈值与游戏场景画面中5个单元格的长度值相等,对应的,该目标虚拟模型在游戏场景画面中可以占用9个单元格,在中心位置点与主城池位置点之间的第一距离值大于第一阈值的情况下,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,返回第二虚拟场景中的主城池位置点之外,在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,由于在玩家执行第一操作时,服务器端已获取第一虚拟游戏场景中的中心位置点,当玩家再次对目标控件执行第二操作,响应上述第二操作,执行第二功能,以控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景。
通过本公开实施例,由于玩家在执行第一操作(即返回第二坐标点)时,响应于玩家的第一操作,游戏服务器自动记录该第一坐标点,无需玩家主动记录,并且在执行完第一操作之后,玩家之后也需花费大量的时间找寻该第一坐标地点,而是再次对目标控件执行第二操作,响应上述第二操作,执行第二功能即可返回该第一坐标点,并且之前在该第一坐标点的操作皆有效。
在本公开实施例中,采用丰富目标控件的设置功能的方式,通过响应对目标控件执行的第一操作,执行第一功能,上述执行第一功能包括:获取游戏场景画面显示的第一虚拟游戏场景的第一坐标点;判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,上述第二坐标点是目标虚拟模型在上述虚拟游戏场景中的坐标点;当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,上述第二虚拟场景为上述第二坐标点所在的虚拟游戏场景;在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,其中,上述第 二功能用于控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景,达到了基于地点定位的方式在不同的虚拟游戏场景进行切换的目的,从而实现了降低从第二虚拟游戏场景切换回第一虚拟游戏场景的繁琐操作,提升玩家切换虚拟游戏场景时的处理效率的技术效果,进而解决了相关技术中无法实现基于地点定位的方式切换不同的虚拟游戏场景的技术问题。
在一种可选的实施例中,在控制上述目标控件从第一功能切换为第二功能之后,上述方法还包括:
步骤S202,响应对上述目标控件执行的第二操作,将上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。
通过本公开实施例,在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,再通过响应对上述目标控件执行的第二操作,即可将上述第二虚拟游戏场景切换回上述第一虚拟游戏场景,无需同时设置或者分别操作记录控件和定位控件,这样设置可以为玩家提供更为开阔明晰的游戏视野。
在一种可选的实施例中,响应对上述目标控件执行的第二操作,将上述第二虚拟游戏场景切换回上述第一虚拟游戏场景,包括:
步骤S302,响应对上述目标控件执行的上述第二操作,控制虚拟游戏角色沿指定路线寻路至上述第一坐标点,以完成从上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。
如图3所示,目标控件处于第二功能的状态,该目标控件所展示的图标为第二功能对应的图标,响应于当前触控或鼠标点击目标控件的第二操作,控制虚拟游戏角色沿指定路线寻路至第一坐标点的方式,以完成从上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。
通过本公开实施例,可以实现控制虚拟游戏角色沿指定路线寻路至第一坐标点的方式,以完成从上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。即本公开实施例中不仅可以记录该第一坐标点的地点信息,还可以直接记录该第一坐标点所在的虚拟游戏场景,即使对于距离主城池较远的地点,仍可以实现一键返回第一坐标点,无需玩家根据该第一坐标点通过滑屏或者移动鼠标的方式返回,操作方式更加地便捷高效。
作为一种可选的实施例,上述方法还包括:响应在第二虚拟游戏场景下对上述目标虚拟模型的第四操作,控制目标虚拟模型执行对应的虚拟动作,例如,变更或补充虚拟游戏资源,即补充兵种、兵器等。
在一种可选的实施例中,获取上述游戏场景画面显示的第一虚拟游戏场景的第一坐标点,包括:
步骤S402,获取上述第一虚拟游戏场景内的中心位置点,基于上述中心位置点确定上述第一坐标点;或者,
步骤S404,获取虚拟游戏角色在上述第一虚拟游戏场景内的当前位置点,基于上述 当前位置点确定上述第一坐标点。
可选的,上述第一坐标点可以通过获取上述第一虚拟游戏场景内的中心位置点得到,还可以通过获取虚拟游戏角色在上述第一虚拟游戏场景内的当前位置点得到。仍需要说明的是,在精确度要求不高的情况下,上述第一坐标点还可以通过获取上述第一虚拟游戏场景内的任意固定位置点得到。
通过本公开上述实施例,可以确定第一虚拟游戏场景中的一个或多个位置点,在从第二虚拟游戏场景切换回第一虚拟游戏场景时,可以精准定位第一虚拟游戏场景中的第一坐标点,使得虚拟游戏角色可以回到该第一坐标点。
在一种可选的实施例中,在将上述第一虚拟游戏场景切换为第二虚拟游戏场景之后,上述方法还包括:
步骤S502,响应用于场景切换的第三操作,将上述第二虚拟游戏场景切换为第三虚拟游戏场景。
在上述可选的实施例中,第三操作可以是玩家通过移动鼠标或者在屏幕在滑动的操作,可以也是控制虚拟角色移动的操作。上述第三操作可以用于改变虚拟摄像机的机位或者视角,使得虚拟摄像机拍摄的游戏场景画面发生变化,进而将第二虚拟游戏场景切换为第三虚拟游戏场景。例如,如果玩家通过鼠标点击或者触控的方式控制虚拟游戏角色执行第三操作,从第二虚拟游戏场景中的二坐标点移动至第三坐标点,则将第二虚拟游戏场景切换为第三虚拟游戏场景,该第三游戏场景为第三坐标点所在的虚拟游戏场景。
在一种可选的实施例中,在将上述第二虚拟游戏场景切换为第三虚拟游戏场景之后,上述方法还包括:
步骤S602,获取上述虚拟游戏角色在上述第三虚拟游戏场景中的第三坐标点;
步骤S604,判断上述第三坐标点与上述第二坐标点之间的第二距离值是否大于第二阈值;
步骤S606,当上述第二距离值大于上述第二阈值时,则控制上述目标控件从上述第二功能切换回上述第一功能。
作为一种可选的实施例,在将上述第二虚拟游戏场景切换为第三虚拟游戏场景之后,获取上述虚拟游戏角色在上述第三虚拟游戏场景中的第三坐标点,例如,虚拟游戏角色在上述第三虚拟游戏场景内的当前位置点。
需要说明的是,上述第三坐标点还可以是第三虚拟游戏场景中的中心坐标点,或者,是第三虚拟游戏场景内的任意固定位置点。
在获取到第三坐标点之后,可以判断上述第三坐标点与上述第二坐标点之间的第二距离值是否大于第二阈值;当上述第二距离值大于上述第二阈值时,则控制上述目标控件从上述第二功能切换回上述第一功能,并显示与第一功能对应的图标,之后再检测到玩家对该目标控件的触控或点击操作时,则可以执行第一功能。
以上述第三坐标点为第三虚拟游戏场景中的中心位置点,第二坐标点为第二虚拟游 戏场景中主城池位置点,第二阈值为游戏场景画面中显示的5个单元格的长度值为例,当玩家在目标控件处于第二功能的状态下,即玩家可以看到该目标控件显示第二功能对应的图标,如果玩家控制虚拟游戏角色移动至第三虚拟游戏场景中的第三坐标点,第三坐标点与上述第二坐标点之间的第二距离值不超过5个单元格时,则目标控件仍处于第二功能的状态,且目标控件显示第二功能对应的图标不变;但如果通过任意操作使第三坐标点与上述第二坐标点之间的第二距离值大于5个单元格,表示玩家不需或者不想要回到该第一坐标点所在的第一虚拟游戏场景,则可以清空记录的第一坐标点,目标控件变为处于第一功能的状态,且目标控件显示第一功能对应的图标,再次点击或者触控该目标控件则可以重新切换为处于第二功能的状态,并从第三虚拟游戏场景切换回第二虚拟游戏场景。
需要说明的是,本公开实施例中的第一阈值和第二阈值并不唯一确定,在实际应用过程中,第一阈值和第二阈值的具体取值可以预先确定,免去玩家设置的繁琐程序,但是基于不同玩家对坐标点定位精确度的要求不同,玩家还可以随时对第一阈值和第二阈值的取值进行设置或变更,或者,基于手游或者端游中虚拟游戏画面场景的更新或者变化,也可以适应性地更新第一阈值、第二阈值的取值。
根据本公开实施例,还提供了一种用于实施上述游戏场景的处理方法的装置实施例,上述游戏场景的处理装置通过终端的显示组件渲染得到图形用户界面,上述图形用户界面中包含一目标控件以及显示有至少部分虚拟游戏场景的游戏场景画面,上述目标控件关联第一功能或第二功能,图4是根据本公开实施例的一种游戏场景的处理装置的结构示意图,如图4所示,上述游戏场景的处理装置,包括:执行模块400、第一判断模块402、第一切换模块404和处理模块406,其中:
执行模块400,用于响应对上述目标控件执行的第一操作,执行第一功能,上述执行第一功能包括:获取上述游戏场景画面显示的第一虚拟游戏场景的第一坐标点;第一判断模块402,用于判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,上述第二坐标点是目标虚拟模型在上述虚拟游戏场景中的坐标点;第一切换模块404,用于当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,上述第二虚拟场景为上述第二坐标点所在的虚拟游戏场景;处理模块406,用于在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,其中,上述第二功能用于控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,例如,对于后者,可以通过以下方式实现:上述各个模块可以位于同一处理器中;或者,上述各个模块以任意组合的方式位于不同的处理器中。
此处需要说明的是,上述执行模块400、第一判断模块402、第一切换模块404和处理模块406对应于方法实施例中的步骤S102至步骤S108,上述模块与对应的步骤所实 现的实例和应用场景相同,但不限于上述方法实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在计算机终端中。
在一种可选的实施例中,上述装置还包括:
第二切换模块,用于响应对上述目标控件执行的第二操作,将上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。
在一种可选的实施例中,上述第二切换模块,包括:
切换子模块,用于响应对上述目标控件执行的上述第二操作,控制虚拟游戏角色沿指定路线寻路至上述第一坐标点,以完成从上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。
在一种可选的实施例中,上述执行模块,包括:
第一确定模块,用于获取上述第一虚拟游戏场景内的中心位置点,基于上述中心位置点确定上述第一坐标点;或者,第二确定模块,用于获取虚拟游戏角色在上述第一虚拟游戏场景内的当前位置点,基于上述当前位置点确定上述第一坐标点。
在一种可选的实施例中,上述装置还包括:
第三切换模块,用于响应用于场景切换的第三操作,将上述第二虚拟游戏场景切换为第三虚拟游戏场景。
在一种可选的实施例中,上述装置还包括:
获取模块,用于获取上述虚拟游戏角色在上述第三虚拟游戏场景中的第三坐标点;第二判断模块,用于判断上述第三坐标点与上述第二坐标点之间的第二距离值是否大于第二阈值;第四切换模块,用于当上述第二距离值大于上述第二阈值时,则控制上述目标控件从上述第二功能切换回上述第一功能。
在一种可选的实施例中,上述目标控件设置在上述游戏场景画面的预定位置,其中,上述预定位置内还包含以下至少之一:缩略地图、搜索控件、和标记控件,其中,上述缩略地图至少用于显示上述虚拟游戏场景中的坐标点。
需要说明的是,本实施例的可选或优选实施方式可以参见方法实施例中的相关描述,此处不再赘述。
上述的游戏场景的处理装置还可以包括处理器和存储器,上述执行模块400、第一判断模块402、第一切换模块404和处理模块406等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。
处理器中包含内核,由内核去存储器中调取相应的程序单元,上述内核可以设置一个或以上。存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。
根据本公开实施例,还提供了一种非易失性存储介质实施例。可选地,在本实施例中,上述非易失性存储介质包括存储的程序,其中,在上述程序运行时控制上述非易失 性存储介质所在设备执行上述任意一种游戏场景的处理方法。
可选地,在本实施例中,上述非易失性存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中,上述非易失性存储介质包括存储的程序。
可选地,在程序运行时控制非易失性存储介质所在设备执行以下功能:响应对目标控件执行的第一操作,执行第一功能,上述执行第一功能包括:获取游戏场景画面显示的第一虚拟游戏场景的第一坐标点;判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,上述第二坐标点是目标虚拟模型在上述虚拟游戏场景中的坐标点;当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,上述第二虚拟场景为上述第二坐标点所在的虚拟游戏场景;在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,其中,上述第二功能用于控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景。
可选地,在程序运行时控制非易失性存储介质所在设备执行以下功能:响应对上述目标控件执行的第二操作,将上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。
可选地,在程序运行时控制非易失性存储介质所在设备执行以下功能:响应对上述目标控件执行的上述第二操作,控制虚拟游戏角色沿指定路线寻路至上述第一坐标点,以完成从上述第二虚拟游戏场景切换回上述第一虚拟游戏场景。
可选地,在程序运行时控制非易失性存储介质所在设备执行以下功能:获取上述第一虚拟游戏场景内的中心位置点,基于上述中心位置点确定上述第一坐标点;或者,获取虚拟游戏角色在上述第一虚拟游戏场景内的当前位置点,基于上述当前位置点确定上述第一坐标点。
可选地,在程序运行时控制非易失性存储介质所在设备执行以下功能:响应用于场景切换的第三操作,将上述第二虚拟游戏场景切换为第三虚拟游戏场景。
可选地,在程序运行时控制非易失性存储介质所在设备执行以下功能:获取上述虚拟游戏角色在上述第三虚拟游戏场景中的第三坐标点;判断上述第三坐标点与上述第二坐标点之间的第二距离值是否大于第二阈值;当上述第二距离值大于上述第二阈值时,则控制上述目标控件从上述第二功能切换回上述第一功能。
根据本公开实施例,还提供了一种处理器实施例。可选地,在本实施例中,上述处理器用于运行程序,其中,上述程序运行时执行上述任意一种游戏场景的处理方法。
本公开实施例提供了一种电子设备,包括存储器和处理器,上述存储器中存储有计算机程序,上述处理器被设置为运行上述计算机程序以执行任意一项上述的游戏场景的处理方法。
本公开还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:响应对目标控件执行的第一操作,执行第一功能,上述执行 第一功能包括:获取游戏场景画面显示的第一虚拟游戏场景的第一坐标点;判断上述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,上述第二坐标点是目标虚拟模型在上述虚拟游戏场景中的坐标点;当上述第一距离值大于上述第一阈值时,则将上述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,上述第二虚拟场景为上述第二坐标点所在的虚拟游戏场景;在执行完第一功能之后,控制上述目标控件从第一功能切换为第二功能,其中,上述第二功能用于控制上述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为上述第一虚拟游戏场景。
上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。
在本公开的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本公开所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取非易失性存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个非易失性存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的非易失性存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。

Claims (10)

  1. 一种游戏场景的处理方法,其中,通过终端的显示组件渲染得到图形用户界面,所述图形用户界面中包含一目标控件以及显示有至少部分虚拟游戏场景的游戏场景画面,所述目标控件关联第一功能或第二功能,包括:
    响应对所述目标控件执行的第一操作,执行第一功能,所述执行第一功能包括:获取所述游戏场景画面显示的第一虚拟游戏场景的第一坐标点;
    判断所述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,所述第二坐标点是目标虚拟模型在所述虚拟游戏场景中的坐标点;
    当所述第一距离值大于所述第一阈值时,则将所述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,所述第二虚拟场景为所述第二坐标点所在的虚拟游戏场景;
    在执行完第一功能之后,控制所述目标控件从第一功能切换为第二功能,其中,所述第二功能用于控制所述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为所述第一虚拟游戏场景。
  2. 根据权利要求1所述的方法,其中,在控制所述目标控件从第一功能切换为第二功能之后,所述方法还包括:
    响应对所述目标控件执行的第二操作,将所述第二虚拟游戏场景切换回所述第一虚拟游戏场景。
  3. 根据权利要求2所述的方法,其中,响应对所述目标控件执行的第二操作,将所述第二虚拟游戏场景切换回所述第一虚拟游戏场景,包括:
    响应对所述目标控件执行的所述第二操作,控制虚拟游戏角色沿指定路线寻路至所述第一坐标点,以完成从所述第二虚拟游戏场景切换回所述第一虚拟游戏场景。
  4. 根据权利要求1所述的方法,其中,获取所述游戏场景画面显示的第一虚拟游戏场景的第一坐标点,包括:
    获取所述第一虚拟游戏场景内的中心位置点,基于所述中心位置点确定所述第一坐标点;或者,
    获取虚拟游戏角色在所述第一虚拟游戏场景内的当前位置点,基于所述当前位置点确定所述第一坐标点。
  5. 根据权利要求1所述的方法,其中,在将所述第一虚拟游戏场景切换为第二虚拟游戏场景之后,所述方法还包括:
    响应用于场景切换的第三操作,将所述第二虚拟游戏场景切换为第三虚拟游戏场景。
  6. 根据权利要求5所述的方法,其中,在将所述第二虚拟游戏场景切换为第三虚拟游戏场景之后,所述方法还包括:
    获取所述虚拟游戏角色在所述第三虚拟游戏场景中的第三坐标点;
    判断所述第三坐标点与所述第二坐标点之间的第二距离值是否大于第二阈值;
    当所述第二距离值大于所述第二阈值时,则控制所述目标控件从所述第二功能切换回所述第一功能。
  7. 根据权利要求1所述的方法,其中,所述目标控件设置在所述游戏场景画面的预定位置,其中,所述预定位置内还包含以下至少之一:缩略地图、搜索控件、和标记控件,其中,所述缩略地图至少用于显示所述虚拟游戏场景中的坐标点。
  8. 一种游戏场景的处理装置,其中,通过终端的显示组件渲染得到图形用户界面,所述图形用户界面中包含一目标控件以及显示有至少部分虚拟游戏场景的游戏场景画面,所述目标控件关联第一功能或第二功能,包括:
    执行模块,用于响应对所述目标控件执行的第一操作,执行第一功能,所述执行第一功能包括:获取所述游戏场景画面显示的第一虚拟游戏场景的第一坐标点;
    第一判断模块,用于判断所述第一坐标点与第二坐标点之间的第一距离值是否大于第一阈值,其中,所述第二坐标点是目标虚拟模型在所述虚拟游戏场景中的坐标点;
    第一切换模块,用于当所述第一距离值大于所述第一阈值时,则将所述游戏场景画面显示的第一虚拟场景切换为第二虚拟场景,其中,所述第二虚拟场景为所述第二坐标点所在的虚拟游戏场景;
    处理模块,用于在执行完第一功能之后,控制所述目标控件从第一功能切换为第二功能,其中,所述第二功能用于控制所述游戏场景画面显示的虚拟游戏场景从第二虚拟游戏场景切换为所述第一虚拟游戏场景。
  9. 一种非易失性存储介质,其中,所述非易失性存储介质包括存储的程序,其中,在所述程序运行时控制所述非易失性存储介质所在设备执行权利要求1至7中任意一项所述的游戏场景的处理方法。
  10. 一种电子设备,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行权利要求1至7中任意一项所述的游戏场景的处理方法。
PCT/CN2021/132547 2021-05-25 2021-11-23 游戏场景的处理方法、装置、存储介质及电子设备 WO2022247181A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022570325A JP7416980B2 (ja) 2021-05-25 2021-11-23 ゲームシーンの処理方法、装置、記憶媒体及び電子デバイス
US17/811,368 US20220379210A1 (en) 2021-05-25 2022-07-08 Game scene processing method, apparatus, storage medium, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110574194.6 2021-05-25
CN202110574194.6A CN113318447B (zh) 2021-05-25 2021-05-25 游戏场景的处理方法、装置、存储介质及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/811,368 Continuation US20220379210A1 (en) 2021-05-25 2022-07-08 Game scene processing method, apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2022247181A1 true WO2022247181A1 (zh) 2022-12-01

Family

ID=77416759

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132547 WO2022247181A1 (zh) 2021-05-25 2021-11-23 游戏场景的处理方法、装置、存储介质及电子设备

Country Status (3)

Country Link
JP (1) JP7403583B2 (zh)
CN (1) CN113318447B (zh)
WO (1) WO2022247181A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113318447B (zh) * 2021-05-25 2022-07-29 网易(杭州)网络有限公司 游戏场景的处理方法、装置、存储介质及电子设备
CN113750531B (zh) * 2021-09-18 2023-06-16 腾讯科技(深圳)有限公司 虚拟场景中的道具控制方法、装置、设备及存储介质
CN113996060A (zh) * 2021-10-29 2022-02-01 腾讯科技(成都)有限公司 显示画面的调整方法和装置、存储介质及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010036852A1 (en) * 2000-04-28 2001-11-01 Konami Computer Entertainment Japan, Inc. Game system, judgement table producting method, and computer-readable storage medium carrying game program
US20050187015A1 (en) * 2004-02-19 2005-08-25 Nintendo Co., Ltd. Game machine and data storage medium having stored therein game program
US20060258444A1 (en) * 2005-05-13 2006-11-16 Nintendo Co., Ltd. Storage medium having game program stored thereon and game apparatus
CN110215690A (zh) * 2019-07-11 2019-09-10 网易(杭州)网络有限公司 游戏场景中的视角切换方法、装置及电子设备
CN112221131A (zh) * 2020-10-14 2021-01-15 腾讯科技(深圳)有限公司 一种视角切换方法、装置和计算机可读存储介质
CN112370781A (zh) * 2020-11-30 2021-02-19 腾讯科技(深圳)有限公司 操作控制方法和装置、存储介质及电子设备
CN113318447A (zh) * 2021-05-25 2021-08-31 网易(杭州)网络有限公司 游戏场景的处理方法、装置、存储介质及电子设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7102615B2 (en) * 2002-07-27 2006-09-05 Sony Computer Entertainment Inc. Man-machine interface using a deformable device
JP5625128B1 (ja) 2014-01-23 2014-11-12 株式会社 ディー・エヌ・エー ゲームプログラム、及び、情報処理装置
CN108415656B (zh) * 2018-03-09 2022-07-12 网易(杭州)网络有限公司 虚拟场景中的显示控制方法、装置、介质及电子设备
CN110193195A (zh) * 2019-04-22 2019-09-03 网易(杭州)网络有限公司 游戏视角控制方法及装置
CN111729306A (zh) * 2020-06-24 2020-10-02 网易(杭州)网络有限公司 游戏角色的传送方法、装置、电子设备及存储介质
CN111773696B (zh) * 2020-07-13 2022-04-15 腾讯科技(深圳)有限公司 一种虚拟对象的展示方法、相关装置及存储介质
CN111773711A (zh) * 2020-07-27 2020-10-16 网易(杭州)网络有限公司 游戏视角的控制方法、装置、存储介质和电子装置
CN112121422B (zh) * 2020-09-30 2023-01-10 腾讯科技(深圳)有限公司 界面显示方法、装置、设备及存储介质
CN112619162B (zh) * 2020-12-22 2023-04-07 上海米哈游天命科技有限公司 一种资源对象管理方法、装置、电子设备和存储介质
CN112619135B (zh) * 2020-12-22 2023-03-17 上海米哈游天命科技有限公司 一种游戏资源对象控制方法、装置、电子设备和存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010036852A1 (en) * 2000-04-28 2001-11-01 Konami Computer Entertainment Japan, Inc. Game system, judgement table producting method, and computer-readable storage medium carrying game program
US20050187015A1 (en) * 2004-02-19 2005-08-25 Nintendo Co., Ltd. Game machine and data storage medium having stored therein game program
US20060258444A1 (en) * 2005-05-13 2006-11-16 Nintendo Co., Ltd. Storage medium having game program stored thereon and game apparatus
CN110215690A (zh) * 2019-07-11 2019-09-10 网易(杭州)网络有限公司 游戏场景中的视角切换方法、装置及电子设备
CN112221131A (zh) * 2020-10-14 2021-01-15 腾讯科技(深圳)有限公司 一种视角切换方法、装置和计算机可读存储介质
CN112370781A (zh) * 2020-11-30 2021-02-19 腾讯科技(深圳)有限公司 操作控制方法和装置、存储介质及电子设备
CN113318447A (zh) * 2021-05-25 2021-08-31 网易(杭州)网络有限公司 游戏场景的处理方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
JP2022181206A (ja) 2022-12-07
JP7403583B2 (ja) 2023-12-22
CN113318447B (zh) 2022-07-29
CN113318447A (zh) 2021-08-31

Similar Documents

Publication Publication Date Title
WO2022247181A1 (zh) 游戏场景的处理方法、装置、存储介质及电子设备
WO2021036581A1 (zh) 虚拟对象的控制方法和相关装置
US20190221045A1 (en) Interaction method between user terminals, terminal, server, system, and storage medium
JP2022051900A (ja) オブジェクト表示方法、端末デバイス、及びコンピュータ記憶媒体
KR20220083839A (ko) 가상 장면을 표시하는 방법 및 장치, 그리고 기기 및 저장 매체
WO2017101638A1 (zh) 用于触摸终端的场景控制方法及设备
CN110339556B (zh) 一种游戏中的显示控制方法及装置
WO2022247204A1 (zh) 游戏的显示控制方法、非易失性存储介质及电子装置
CN111464430A (zh) 一种动态表情展示方法、动态表情创建方法及装置
CN112169314A (zh) 游戏中选取目标对象的方法及装置
CN110928397B (zh) 用户界面刷新方法、装置、存储介质及电子装置
CN112190943A (zh) 游戏展示方法及装置、处理器、电子设备
CN113952740A (zh) 游戏中的虚拟道具分享方法、装置、存储介质及电子设备
CN111913674A (zh) 虚拟内容的显示方法、装置、系统、终端设备及存储介质
CN114647303A (zh) 互动方法、装置及计算机程序产品
US20220379210A1 (en) Game scene processing method, apparatus, storage medium, and electronic device
KR20200093013A (ko) 공공복지 활동의 시각화를 위한 방법 및 장치
CN115120979A (zh) 虚拟对象的显示控制方法、装置、存储介质和电子装置
US20150006276A1 (en) Modifying advertisements based on indirect interactions
CN113419660A (zh) 视频资源处理方法、装置、电子设备及存储介质
CN113691443B (zh) 图像分享方法、装置和电子设备
WO2024067168A1 (zh) 基于社交场景的消息显示方法、装置、设备、介质及产品
WO2024037154A1 (zh) 虚拟对象的控制方法、装置、终端、存储介质及程序产品
CN112988007B (zh) 三维素材的交互方法及装置
CN112516582A (zh) 游戏中状态切换方法及装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022570325

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21942744

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE