Method, apparatus, storage medium and electronic device for indicating region

CN116899224BActive Publication Date: 2026-09-25NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310880674.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-17
Publication Date
2026-09-25
Estimated Expiration
2043-07-17

AI Technical Summary

Technical Problem

[0006]本申请至少部分实施例提供了一种区域指示的方法、装置、存储介质及电子装置,以至少解决现有技术提供的区域指示的方法为玩家带来较大的操作难度和较差的游戏体验的技术问题

Benefits of technology

[0011]在本申请至少部分实施例中,通过终端设备提供一图形用户界面,图形用户界面显示有至少部分的游戏对局场景,游戏对局场景中设置有安全区域、非安全区域和受控虚拟角色,其中,安全区域的位置配置为随游戏对局时间发生变更,安全区域的区域范围配置为随游戏对局时间缩小,非安全区域的区域范围配置为随游戏对局时间扩大,首先,获取受控虚拟角色的游戏场景位置和安全区域的第一位置,然后,基于游戏场景位置和第一位置之间的连线在图形用户界面中的投影,在图形用户界面的周侧确定第一显示位置和第二显示位置,进一步地,在第一显示位置提供第一指引标识,用以提示受控虚拟角色根据第一指引标识所指示的行进方向前往安全区域,以及在第二显示位置提供第二指引标识,用以提示受控虚拟角色远离第二指引标识所指示的行进方向。由此,本申请达到了通过在图形用户界面内提供指引标识以指示安全区域的方向的目的,从而实现了降低玩家根据指引标识前往安全区域的操作难度、提升玩家游戏体验的技术效果,进而解决了现有技术提供的区域指示的方法为玩家带来较大的操作难度和较差的游戏体验的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116899224B_ABST
    Figure CN116899224B_ABST
Patent Text Reader

Abstract

The application discloses a method, device, storage medium and electronic device for area indication. The method comprises: obtaining a game scene position of a controlled virtual character and a first position of a safe area; determining a first display position and a second display position on the periphery of a graphical user interface based on the projection of the line between the game scene position and the first position in the graphical user interface; providing a first guide mark at the first display position to prompt the controlled virtual character to go to the safe area according to the travel direction indicated by the first guide mark, and providing a second guide mark at the second display position to prompt the controlled virtual character to move away from the travel direction indicated by the second guide mark. The application solves the technical problem that the method for area indication provided by the prior art brings greater operation difficulty and poorer game experience to players.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, storage medium, and electronic device for indicating a region. Background Technology

[0002] In virtual environments, especially in virtual games, virtual characters often need to travel to specific areas, such as safe zones, mission areas, building areas, or virtual waterways. Therefore, providing clear instructions on which virtual characters can reach these destinations to help players control their characters has become a crucial issue in this field.

[0003] However, existing technologies typically rely on virtual scene maps for area indication. Players need to open the virtual scene map to mark the target area or confirm the indication information of the target area (such as dotted lines, arrows, etc.) in order to control the virtual character to go to the target area. This process increases the difficulty of game operation for players, resulting in a poor game experience.

[0004] There is currently no effective solution to the shortcomings of the existing technology.

[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] This application provides at least some embodiments of a method, apparatus, storage medium, and electronic device for indicating a region, in order to at least solve the technical problem that the region indication methods provided by the prior art bring greater operational difficulty and a poor gaming experience to players.

[0007] According to one embodiment of this application, a method for area indication is provided. A graphical user interface (GUI) is provided through a terminal device. The GUI displays at least a portion of a game scene, in which a safe zone, an unsafe zone, and a controlled virtual character are defined. The location of the safe zone is configured to change over time, and the area of ​​the safe zone is configured to shrink over time, while the area of ​​the unsafe zone is configured to expand over time. The method for area indication includes: obtaining the game scene location of the controlled virtual character and a first location of the safe zone; determining a first display position and a second display position around the perimeter of the GUI based on the projection of the line connecting the game scene location and the first location onto the GUI; providing a first guidance marker at the first display position to prompt the controlled virtual character to proceed to the safe zone according to the direction indicated by the first guidance marker; and providing a second guidance marker at the second display position to prompt the controlled virtual character to move away from the direction indicated by the second guidance marker.

[0008] According to one embodiment of this application, a region indication device is also provided. A graphical user interface (GUI) is provided via a terminal device. The GUI displays at least a portion of a game scene, in which a safe zone, an unsafe zone, and a controlled virtual character are defined. The location of the safe zone is configured to change over time, and the area of ​​the safe zone is configured to shrink over time. The area of ​​the unsafe zone is configured to expand over time. The region indication device includes: an acquisition module for acquiring the game scene location of the controlled virtual character and a first location of the safe zone; a determination module for determining a first display location and a second display location on the periphery of the GUI based on the projection of the line connecting the game scene location and the first location onto the GUI; and an indication module for providing a first guidance marker at the first display location to prompt the controlled virtual character to proceed to the safe zone according to the direction indicated by the first guidance marker, and providing a second guidance marker at the second display location to prompt the controlled virtual character to move away from the direction indicated by the second guidance marker.

[0009] According to one embodiment of this application, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to execute the method of the region indication in any of the preceding claims when running.

[0010] According to one embodiment of this application, an electronic device is also provided, comprising: a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform the method of region indication in any of the preceding claims.

[0011] In at least some embodiments of this application, a graphical user interface (GUI) is provided through a terminal device. The GUI displays at least a portion of the game scene, in which a safe zone, an unsafe zone, and a controlled virtual character are set. The position of the safe zone is configured to change with the game time, the area of ​​the safe zone is configured to shrink with the game time, and the area of ​​the unsafe zone is configured to expand with the game time. First, the game scene position of the controlled virtual character and a first position of the safe zone are obtained. Then, based on the projection of the line connecting the game scene position and the first position onto the GUI, a first display position and a second display position are determined around the GUI. Further, a first guide sign is provided at the first display position to prompt the controlled virtual character to go to the safe zone according to the direction indicated by the first guide sign, and a second guide sign is provided at the second display position to prompt the controlled virtual character to move away from the direction indicated by the second guide sign. Therefore, this application achieves the goal of providing directional signs within the graphical user interface to indicate the direction of safe areas, thereby reducing the operational difficulty for players to reach safe areas according to the directional signs and improving the player's gaming experience. This solves the technical problem that the existing methods of area indication bring players greater operational difficulty and a poor gaming experience. Attached Figure Description

[0012] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0013] Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of area indication according to an embodiment of this application;

[0014] Figure 2 This is a flowchart of a method for indicating a region according to one embodiment of this application;

[0015] Figure 3 This is a schematic diagram of an optional game scene position and a first position according to one embodiment of this application;

[0016] Figure 4 This is a schematic diagram illustrating an optional method for determining a first display position and a second display position according to one embodiment of this application;

[0017] Figure 5 This is a schematic diagram of an optional color effect according to one embodiment of this application;

[0018] Figure 6 This is a schematic diagram of an optional graphical user interface according to one embodiment of this application;

[0019] Figure 7 This is a schematic diagram illustrating an optional method for determining a third display position according to one embodiment of this application;

[0020] Figure 8 This is a schematic diagram of another optional graphical user interface according to one embodiment of this application;

[0021] Figure 9 This is a schematic diagram of another optional graphical user interface according to one embodiment of this application;

[0022] Figure 10 This is a structural block diagram of a region indication device according to one embodiment of this application;

[0023] Figure 11 This is a structural block diagram of an optional area indication device according to one embodiment of this application;

[0024] Figure 12 This is a schematic diagram of an electronic device according to one embodiment of the present application. Detailed Implementation

[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] It should be noted that, in the specification of this application, the word "for example" is used to mean "used as an example, illustration, or description." Any embodiment described as "for example" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. In the following description, details are set forth for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid unnecessarily obscuring the description of this application. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0028] In the context of indicating safe zones in virtual game scenes within the field of computer technology (especially video games), the commonly used method of relying on virtual game scene maps for guidance still suffers from technical problems, increasing the operational difficulty for players and reducing the gaming experience, even after practical experience and careful research. Specifically, according to existing technology, each time a safe zone refreshes in the virtual game scene, the indicator information of the safe zone (such as area boundaries, area direction, etc.) is refreshed and displayed on the virtual scene map. Players, in turn, need to open the virtual scene map, manually mark it to generate a marked route, and then control their virtual character to move to the safe zone according to the marked route. This process is cumbersome, difficult to coordinate with other game operations, and easily leads to a poor gaming experience for players.

[0029] Based on this, in one embodiment of this application, a method for area indication is proposed. This method uses the game scene position of the controlled virtual character and the first position of the safe zone to determine the display position of the guide sign in the graphical user interface, and then provides a guide sign in the graphical user interface to indicate the direction of travel corresponding to the safe zone. This achieves the technical effect of reducing the difficulty for players to go to the safe zone according to the guide sign and improving the player's game experience. This solves the technical problem that the area indication method provided by the prior art brings players greater operational difficulty and a poor game experience.

[0030] The methods described in this application can be executed in a terminal device (e.g., a mobile terminal, a computer terminal, or a similar computing device). Taking a mobile terminal as an example, the mobile terminal can be a smartphone, tablet computer, PDA, mobile internet device, game console, or other terminal device.

[0031] Figure 1 This is a hardware structure block diagram of a mobile terminal according to one embodiment of the present application of a method for indicating a region. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 (Only one is shown) Processor 102, memory 104, transmission device 106, input / output device 108, and display device 110. Taking the application of the region indication method in a video game scenario via this mobile terminal as an example, processor 102 calls and runs the computer program stored in memory 104 to execute the region indication method. The generated graphical user interface displaying the indication is transmitted to input / output device 108 and / or display device 110 via transmission device 106, thereby providing the graphical user interface to the player.

[0032] Still as Figure 1 As shown, the processor 102 may include, but is not limited to, processing devices such as: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Digital Signal Processing (DSP) chip, Microcontroller Unit (MCU), Field Programmable Gate Array (FPGA), Neural-Network Processing Unit (NPU), Tensor Processing Unit (TPU), Artificial Intelligence (AI) type processor, etc.

[0033] Those skilled in the art will understand that Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0034] In some optional embodiments primarily focused on gaming scenarios, the aforementioned terminal device may also provide a human-computer interaction interface with a touch-sensitive surface. This interface can sense finger contact and / or gestures to interact with a graphical user interface (GUI). The human-computer interaction functions may include the following: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music, and / or web browsing, etc. Executable instructions for performing the aforementioned human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.

[0035] The methods and embodiments described above in this application can also be executed on a server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Taking the method of region indication applied to a video game scene via a video game server as an example, the video game server can generate a graphical user interface (GUI) displaying indication markers corresponding to the video game scene based on this region indication method, and provide this GUI to the player (e.g., it can be rendered and displayed on the player's terminal screen, or provided to the player through holographic projection, etc.).

[0036] According to one embodiment of this application, an embodiment of a method for indicating a region is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0037] This embodiment provides a method for region indication running on the aforementioned mobile terminal. The terminal device provides a graphical user interface (GUI) displaying at least a portion of a game scene. The game scene includes a safe zone, an unsafe zone, and a controlled virtual character. The location of the safe zone is configured to change over time, and the area of ​​the safe zone is configured to shrink over time. Figure 2 This is a flowchart of a method for indicating a region according to one embodiment of this application, such as... Figure 2 As shown, the method for indicating a region includes the following steps:

[0038] Step S21: Obtain the game scene location and the first location of the safe zone of the controlled virtual character.

[0039] The game types corresponding to the aforementioned game scenarios can be: action games (e.g., first-person or third-person shooters, 2D or 3D fighting games, war action games, and sports action games), adventure games (e.g., exploration games, collection games, puzzle games), simulation games (e.g., sandbox simulation games, simulation games, strategy simulation games, city-building simulation games, business simulation games), role-playing games, and casual games (e.g., board games, casual competitive games, music rhythm games, dress-up simulation games, etc.). Furthermore, the aforementioned method of area indication can also be extended to virtual meeting scenarios, virtual classroom scenarios, virtual shopping mall scenarios, and virtual exhibition hall scenarios.

[0040] The aforementioned controlled virtual character can be one or more virtual game characters in the game scene. The game scene location of the aforementioned controlled virtual character can be obtained in real time by the game engine. The aforementioned safe zone is the area in the game scene where the controlled virtual character is to go. For example, the safe zone can also be extended to the safe zone, mission zone, building zone, virtual water area, etc. in the game scene. The aforementioned non-safe zone is any area in the game scene other than the safe zone. The aforementioned first location is the designated location corresponding to the aforementioned safe zone. For example, the designated location can be: the center point of the safe zone, the location of a designated point on the boundary of the safe zone, the execution location of a designated task in the mission zone, the location of a designated virtual building in the building zone, etc.

[0041] Step S22: Based on the projection of the line connecting the game scene position and the first position onto the graphical user interface, determine the first display position and the second display position around the graphical user interface.

[0042] The line connecting the aforementioned game scene location and the first location can be a straight line, curve, polygonal line, closed loop, etc. This line represents the positional relationship between the controlled game character's game scene location and the safe zone. The perimeter of the aforementioned graphical user interface refers to the display boundary of the graphical user interface. Both the aforementioned line and the perimeter of the aforementioned graphical user interface can be represented by coordinate information in the game scene. The aforementioned line and the perimeter of the aforementioned graphical user interface can have multiple intersection points.

[0043] Step S23: Provide a first guidance sign at a first display position to prompt the controlled virtual character to proceed to a safe area according to the direction of travel indicated by the first guidance sign; and provide a second guidance sign at a second display position to prompt the controlled virtual character to move away from the direction of travel indicated by the second guidance sign.

[0044] The first directional sign indicates the recommended direction of travel from the game scene location to the safe zone. The second directional sign indicates the opposite direction of the recommended direction of travel.

[0045] In this embodiment, a graphical user interface (GUI) is provided by a terminal device. The GUI displays at least a portion of the game scene, which includes a safe zone, an unsafe zone, and a controlled virtual character. The safe zone's position is configured to change over time, and its area shrinks over time, while the unsafe zone's area expands over time. First, the game scene position of the controlled virtual character and a first position of the safe zone are obtained. Then, based on the projection of the line connecting the game scene position and the first position onto the GUI, a first display position and a second display position are determined around the GUI. Further, a first guide sign is provided at the first display position to prompt the controlled virtual character to proceed to the safe zone according to the direction indicated by the first guide sign, and a second guide sign is provided at the second display position to prompt the controlled virtual character to move away from the direction indicated by the second guide sign. Therefore, this application achieves the goal of providing directional signs within the graphical user interface to indicate the direction of safe areas, thereby reducing the operational difficulty for players to reach safe areas according to the directional signs and improving the player's gaming experience. This solves the technical problem that the existing methods of area indication bring players greater operational difficulty and a poor gaming experience.

[0046] Optionally, in the method indicated by the above area, the terminal device is one of the following: virtual reality (VR) device, augmented reality (AR) device, or mixed reality (MR) device.

[0047] In addition to mobile terminals, computer terminals, or similar computing devices, the aforementioned terminal devices can also be virtual reality (VR) devices, augmented reality (AR) devices, or mixed reality (MR) devices. That is to say, the aforementioned area indication method can also be applied in virtual reality / augmented reality scenarios to conveniently indicate the direction of virtual areas to users. Examples include VR / AR classrooms, VR / AR conferences, and VR / AR exhibitions.

[0048] Optionally, in the above method of indicating the area, the first position is one of the following: the center position of the safe area, the target position of the safe area, wherein the target position is the position of the closest point within the safe area to the game scene position.

[0049] In specific application scenarios, the shape of the aforementioned safe zone can be circular, rectangular, or other specified shapes. Considering the need for the fastest or shortest distance to enter the safe zone during a game, the first position of the safe zone can be set as its center or target position, taking into account its shape.

[0050] The following explanation uses the battle royale gameplay of an action game as an example to illustrate the area indication method. The game features multiple refresh times and multiple preset sizes arranged sequentially. At each refresh time: the location of the next safe zone is randomly determined from the current safe zone, and the area of ​​the next safe zone is set to the next preset size of the preset size corresponding to the current safe zone. This next safe zone is then designated as the area the controlled game character must travel to.

[0051] The aforementioned refresh times and preset sizes can have a one-to-one correspondence. The specific values ​​of these preset sizes can maintain a primary correspondence with the game duration. For example, the specific values ​​of these preset sizes can be set in ascending order, descending order, random order, or discrete order based on the duration. In ascending order, the size of the safe area increases with the game duration; in descending order, the size of the safe area decreases with the game duration; in random order, the size of the safe area is randomly determined at each refresh time; in discrete order, multiple values ​​are pre-specified by technicians and mapped to multiple refresh times. For example, when the game lasts 5 minutes, the size of the safe area is refreshed to r1; when the game lasts 10 minutes, the size of the safe area is refreshed to r2.

[0052] Optionally, in step S22, the step of determining the first display position and the second display position on the periphery of the graphical user interface based on the projection of the line connecting the game scene position and the first position onto the graphical user interface may further include the following steps:

[0053] In step S221, based on the coordinates of the game scene position and the first position in the model space, the first geometric expression of the line connecting the game scene position and the first position in the model space is determined.

[0054] In step S222, the first geometric expression is spatially transformed to obtain the second geometric expression corresponding to the projection of the connecting line in the screen space;

[0055] In step S223, a first display position and a second display position are determined on the periphery of the graphical user interface based on the second geometric expression.

[0056] In a specific application scenario (A) of the aforementioned battle royale gameplay, the safe zone is a circular area, and the line connecting the game scene location and the first position is a straight line, such as... Figure 3 As shown, the current safe zone is denoted as Zone 1, the next safe zone is denoted as Zone 2, the game scene position of the controlled game character is denoted as point A, and the center position of the next safe zone (i.e., the first position) is denoted as point B1. Based on the coordinates of points A and B1 in the model space, the first linear expression (i.e., the first geometric expression) of the line determined by points A and B1 in the model space is determined.

[0057] Furthermore, the first line expression is multiplied by the spatial transformation matrix to obtain the second line expression. The spatial transformation matrix is ​​used to transform the coordinate data in the model space to the screen space. The second line expression is the expression of the projection of the line determined by points A and B1 in the graphical user interface onto the screen space.

[0058] One implementation of determining the first and second display positions on the periphery of the graphical user interface based on the second geometric expression is as follows: determine the third geometric expression of the boundary line corresponding to the periphery of the graphical user interface in the screen space, and determine the first and second display positions based on the second and third geometric expressions.

[0059] The specific implementation of determining the third geometric expression of the perimeter boundary line of the graphical user interface within the screen space can be as follows: The third geometric expression is determined using the game scene location and the screen resolution corresponding to the graphical user interface. Specifically, the screen resolution includes height resolution and width resolution. The game scene location is taken as the display center location of the graphical user interface, and the third geometric expression is determined using the height resolution and width resolution.

[0060] Optionally, in step S223, determining the first display position and the second display position on the periphery of the graphical user interface based on the second geometric expression may further include the following steps:

[0061] Step S2231: Determine the first and second intersection points of the projection and the periphery of the graphical user interface based on the second geometric expression;

[0062] Step S2232: Determine the first display position and the second display position around the graphical user interface based on the screen space coordinates of the first intersection point and the second intersection point.

[0063] In a specific application scenario A of the aforementioned battle royale gameplay, such as... Figure 4As shown, the display area of ​​the graphical user interface is denoted as region 3. The boundary rectangle of region 3 represents the perimeter of the graphical user interface. The rectangular expression of the boundary rectangle within the screen space is used as the third geometric expression mentioned above. Based on the rectangular expression and the second straight line expression corresponding to points A and B1, the first intersection point is determined (e.g., Figure 4 The screen space coordinates of point C in the image and the second intersection point (e.g., point C in the image) Figure 4 The screen space coordinates of point C (in the graphical user interface) are determined. Further, within the graphical user interface, the position corresponding to the screen space coordinates of point C is determined as the first display position, and the position corresponding to the screen space coordinates of point D is determined as the second display position.

[0064] Optionally, in the above method of indicating the area, the first display position is a graphical user interface area at a distance of a first dimension from the first intersection point; the second display position is a graphical user interface area at a distance of a second dimension from the second intersection point.

[0065] In application scenarios, to improve the visual performance of the first and second indicator icons, or to prevent them from obscuring the game scene within the graphical user interface, the first display position for attaching the first indicator icon is determined within a graphical user interface area at a distance of a first dimension from the first intersection point, and the second display position for attaching the second indicator icon is determined within a graphical user interface area at a distance of a second dimension from the second intersection point. In other words, the first indicator icon is displayed after a first offset based on the first intersection point on the periphery of the graphical user interface, and the second indicator icon is displayed after a second offset based on the second intersection point on the periphery of the graphical user interface. The first dimension is used to determine the offset size and direction of the first offset processing, and the second dimension is used to determine the offset size and direction of the second offset processing.

[0066] Optionally, in the above-mentioned method of indicating the area, the size of the first dimension and / or the size of the second dimension have a specified correspondence with the duration of the game.

[0067] In application scenarios, as the game continues, the size of the first size and / or the second size is adjusted according to a specified correspondence to control the dynamic adjustment of the first and second display positions as the game continues. The specified correspondence can be: positively correlated with duration, negatively correlated with duration, or discretely mapped to duration.

[0068] Optionally, in step S21 above, the step of obtaining the game scene location and the first location of the safe area of ​​the controlled virtual character includes: in response to the controlled virtual character not being in the safe area, obtaining the game scene location and the first location of the safe area of ​​the controlled virtual character.

[0069] Optionally, the above-mentioned area indication method further includes the following method steps: in response to the controlled virtual character being in a safe area, hiding the first guidance icon and the second guidance icon in the graphical user interface.

[0070] Taking battle royale gameplay as an example, when the controlled game character is not currently in a safe zone (i.e., currently in a non-safe zone), the player needs to control the controlled game character to move to a safe zone. At this time, according to the area indication method provided in this application embodiment, a first guidance icon and a second guidance icon are displayed in the graphical user interface to indicate the direction of the safe zone. This helps the player confirm the recommended direction of travel and control the controlled game character to move to the safe zone in that recommended direction without opening a virtual scene map. Conversely, when the controlled game character is currently in a safe zone, the first and second guidance icons are hidden in the graphical user interface to indicate to the player that "they are currently in a safe zone," and also reduces the obstruction of the game scene by the first and second guidance icons in the graphical user interface.

[0071] Optionally, step S23 above, providing a first guide sign at the first display position and a second guide sign at the second display position, may further include the following steps:

[0072] Step S231: Generate a first guide sign using the first color effect, and generate a second guide sign using the second color effect;

[0073] Step S232: Attach the first guide icon to the first display position, and attach the second guide icon to the second display position.

[0074] According to an optional implementation of this application, in an application scenario, a process such as... is pre-fabricated. Figure 5 The application describes a light cluster effect, where the light cluster effect is set to green as the first color effect, and another light cluster effect is set to red as the second color effect. This application does not limit the specific form (e.g., dynamic arrows, flashing lights, etc.) or specific color of the first and second color effects. Correspondingly, the first and second guide icons are light cluster icons of different colors.

[0075] The above-mentioned attachment operation can be completed through a preset game engine. During attachment, a display switch can also be set to control whether the first indicator and the second indicator are displayed on the graphical user interface.

[0076] In a specific application scenario A of the aforementioned battle royale gameplay, such as... Figure 6As shown, the graphical user interface displays a portion of the game scene corresponding to area 3. When the controlled virtual character is not within the safe zone, a first indicator (e.g., a green glowing orb, not shown in the diagram) is displayed at the first display position (i.e., point C), and a second indicator effect (e.g., a red glowing orb, not shown in the diagram) is displayed at the second display position (i.e., point D). Therefore, during the game, players can quickly determine the direction to the safe zone using the aforementioned first and second indicator indicators without needing to open the virtual scene map.

[0077] Optionally, in the above-described method for indicating areas, an attack area is further defined in the game scene. Attack events against the controlled virtual character randomly occur within this attack area, and the attack area is smaller than the safe and unsafe areas. The method for indicating areas further includes the following steps:

[0078] Step S241: Obtain the second location of the attack area;

[0079] Step S242: Based on the game scene location and the second location, determine the third display location on the periphery of the graphical user interface;

[0080] Step S243: Provide a third guidance marker at a third display position to prompt the controlled virtual character to move away from the direction indicated by the third guidance marker. The third guidance marker is generated using a third color effect.

[0081] Taking battle royale gameplay as an example, the aforementioned attack zone is a bombing zone that randomly spawns within the game scene. The bombing zone is smaller than both the safe and unsafe zones, and it can appear in both areas. The second location mentioned above could be the center of the bombing zone.

[0082] In step S242 above, the specific implementation of determining the third display position on the periphery of the graphical user interface based on the game scene position and the second position can be as follows: based on the coordinates of the game scene position and the second position in the model space, determine the fourth geometric expression of the target line determined by the game scene position and the second position in the model space; perform a spatial transformation on the fourth geometric expression to obtain the fifth geometric expression corresponding to the projection of the target line in the screen space; determine the third intersection point between the projection and the periphery of the graphical user interface based on the fifth geometric expression; and determine the third display position on the periphery of the graphical user interface according to the screen space coordinates of the third intersection point.

[0083] In a specific application scenario B of the aforementioned battle royale gameplay, such as Figure 7As shown, the randomly appearing bombing area in the game scene is designated as area 4, and the center point of the bombing area is designated as point B2. Using the method described in the embodiments of this application, a third intersection point E is determined on the periphery of the graphical user interface, and the third display position corresponding to the third indicator is determined based on point E.

[0084] In a specific application scenario B of the aforementioned battle royale gameplay, such as Figure 8 As shown, the graphical user interface displays a portion of the game scene corresponding to area 3. When the controlled virtual character is not within the safe zone, a first indicator (e.g., a green glowing orb, not shown in the diagram) is displayed at the first display position (i.e., point C), a second indicator (e.g., a red glowing orb, not shown in the diagram) is displayed at the second display position (i.e., point D), and a third indicator (e.g., a yellow glowing orb, not shown in the diagram) is displayed at the third display position (i.e., point E). Therefore, during the game, players can quickly determine the direction of the safe zone and the direction of the bombing zone without opening the virtual scene map, thus avoiding the bombing zone on the map leading to the safe zone.

[0085] Optionally, in the above-described method for indicating an area, the graphical user interface further displays a target touch component. The above-described method for indicating an area also includes the following steps:

[0086] Step S25: In response to a touch operation performed on the target touch component, display at least one of a first guide icon, a second guide icon, and a third guide icon within the graphical user interface.

[0087] Taking specific application scenario A as an example, such as Figure 9 As shown, in the game, when a player performs a touch operation on a target touch component, and the player-controlled game character is not currently within a safe area, a first indicator and a second indicator are displayed on the graphical user interface. The touch operation can be a tap, long press, hold, or hard press, etc. Through these optional steps, the game can flexibly support player control over whether to display indicators for safe areas.

[0088] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a magnetic disk or optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0089] This embodiment also provides a region indication device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0090] Figure 10 This is a structural block diagram of a region indication device according to one embodiment of this application. A graphical user interface (GUI) is provided through a terminal device. The GUI displays at least a portion of a game scene. The game scene includes a safe zone, an unsafe zone, and a controlled virtual character. The position of the safe zone is configured to change over time, and the area of ​​the safe zone is configured to shrink over time. The area of ​​the unsafe zone is configured to expand over time. Figure 10 As shown, the device includes: an acquisition module 1001, used to acquire the game scene position of the controlled virtual character and a first position of the safe area; a determination module 1002, used to determine a first display position and a second display position on the periphery of the graphical user interface based on the projection of the line connecting the game scene position and the first position onto the graphical user interface; and an instruction module 1003, used to provide a first guidance sign at the first display position to prompt the controlled virtual character to proceed to the safe area according to the direction of travel indicated by the first guidance sign, and to provide a second guidance sign at the second display position to prompt the controlled virtual character to move away from the direction of travel indicated by the second guidance sign.

[0091] Optionally, in the device indicating the area, the first position is one of the following: the center position of the safe area, the target position of the safe area, wherein the target position is the position within the safe area that is closest to the game scene position.

[0092] Optionally, the determining module 1002 is further configured to: determine a first geometric expression in the model space of the line connecting the game scene position and the first position based on the coordinates of the game scene position and the first position in the model space; perform a spatial transformation on the first geometric expression to obtain a second geometric expression corresponding to the projection of the line in the screen space; and determine a first display position and a second display position on the periphery of the graphical user interface based on the second geometric expression.

[0093] Optionally, the determining module 1002 is further configured to: determine the first intersection point and the second intersection point of the projection and the periphery of the graphical user interface based on the second geometric expression; and determine the first display position and the second display position on the periphery of the graphical user interface according to the screen space coordinates of the first intersection point and the screen space coordinates of the second intersection point.

[0094] Optionally, in the device indicating the aforementioned area, the first display position is a graphical user interface area at a distance of a first dimension from the first intersection point; the second display position is a graphical user interface area at a distance of a second dimension from the second intersection point.

[0095] Optionally, in the device indicated by the aforementioned area, the size of the first dimension and / or the size of the second dimension have a specified correspondence with the duration of the game session.

[0096] Optionally, the acquisition module 1001 is further configured to: in response to the controlled virtual character not being in the safe area, acquire the game scene location of the controlled virtual character and the first location of the safe area.

[0097] Optionally, Figure 11 This is a structural block diagram of an optional area indication device according to one embodiment of this application, such as... Figure 11 As shown, the device includes Figure 10 In addition to all the modules shown, it also includes: a hiding module 1004, used to hide the first guide icon and the second guide icon within the graphical user interface in response to the controlled virtual character being in a safe area.

[0098] Optionally, the aforementioned indicator module 1003 is further configured to: generate a first guide sign using a first color effect, generate a second guide sign using a second color effect; attach the first guide sign to a first display position, and attach the second guide sign to a second display position.

[0099] Optionally, in the aforementioned area indication device, an attack area is further set in the game scene, where attack events against the controlled virtual character occur randomly. The area of ​​the attack area is smaller than the safe area and the non-safe area. In addition to all the modules mentioned above, the aforementioned area indication device also includes: an evasion module (not shown in the figure), used to obtain the second position of the attack area; a third display position is determined around the graphical user interface based on the game scene position and the second position; a third guidance mark is provided at the third display position to prompt the controlled virtual character to move away from the direction indicated by the third guidance mark, wherein the third guidance mark is generated using a third color effect.

[0100] Optionally, in the aforementioned area indicating device, the graphical user interface further displays a target touch component; in addition to all the aforementioned modules, the aforementioned area indicating device further includes: a touch module (not shown in the figure), used to respond to a touch operation performed on the target touch area, and display at least one of a first guide icon, a second guide icon, and a third guide icon in the graphical user interface.

[0101] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0102] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.

[0103] Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0104] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.

[0105] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0106] S1, obtain the first location of the game scene and safe zone of the controlled virtual character;

[0107] S2, based on the projection of the line connecting the game scene position and the first position onto the graphical user interface, determine the first display position and the second display position on the periphery of the graphical user interface;

[0108] S3, a first guidance sign is provided at a first display position to prompt the controlled virtual character to proceed to a safe area according to the direction of travel indicated by the first guidance sign, and a second guidance sign is provided at a second display position to prompt the controlled virtual character to move away from the direction of travel indicated by the second guidance sign.

[0109] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: the center location of the safe area and the target location of the safe area, wherein the target location is the location within the safe area that is closest to the location of the game scene.

[0110] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining a first geometric expression in the model space of the line connecting the game scene position and the first position based on the coordinates of the game scene position and the first position in the model space; performing a spatial transformation on the first geometric expression to obtain a second geometric expression corresponding to the projection of the line in the screen space; and determining a first display position and a second display position on the periphery of the graphical user interface based on the second geometric expression.

[0111] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining a first intersection point and a second intersection point between the projection and the periphery of the graphical user interface based on a second geometric expression; and determining a first display position and a second display position on the periphery of the graphical user interface according to the screen space coordinates of the first intersection point and the screen space coordinates of the second intersection point.

[0112] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: a graphical user interface area with a first display position a first dimension away from a first intersection point; and a graphical user interface area with a second display position a second dimension away from a second intersection point.

[0113] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: the size of the first dimension and / or the size of the second dimension have a specified correspondence with the duration of the game session.

[0114] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to the controlled virtual character not being in a safe area, obtaining the game scene location of the controlled virtual character and the first location of the safe area.

[0115] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to the controlled virtual character being within a safe area, hiding a first guide icon and a second guide icon within a graphical user interface.

[0116] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: generating a first guide sign using a first color effect, generating a second guide sign using a second color effect; attaching the first guide sign to a first display position, and attaching the second guide sign to a second display position.

[0117] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: an attack zone is set in the game scene, and attack events against the controlled virtual character occur randomly within the attack zone, the area of ​​the attack zone being smaller than the safe zone and the unsafe zone.

[0118] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: obtaining a second location of the attack area; determining a third display location around the graphical user interface based on the game scene location and the second location; providing a third guidance marker at the third display location to prompt the controlled virtual character to move away from the direction of travel indicated by the third guidance marker, wherein the third guidance marker is generated using a third color effect.

[0119] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to a touch operation performed on a target touch area, displaying at least one of a first guide icon, a second guide icon, and a third guide icon within a graphical user interface.

[0120] In the computer-readable storage medium of the above embodiments, a technical solution for implementing a method for area indication is provided. A graphical user interface (GUI) is provided through a terminal device. The GUI displays at least a portion of a game scene, in which a safe area, an unsafe area, and a controlled virtual character are set. The position of the safe area is configured to change with the game time, and the area of ​​the safe area is configured to shrink with the game time, while the area of ​​the unsafe area is configured to expand with the game time. First, the game scene position of the controlled virtual character and a first position of the safe area are obtained. Then, based on the projection of the line connecting the game scene position and the first position onto the GUI, a first display position and a second display position are determined around the perimeter of the GUI. Further, a first guidance marker is provided at the first display position to prompt the controlled virtual character to proceed to the safe area according to the direction indicated by the first guidance marker, and a second guidance marker is provided at the second display position to prompt the controlled virtual character to move away from the direction indicated by the second guidance marker. Therefore, this application achieves the goal of providing directional signs within the graphical user interface to indicate the direction of safe areas, thereby reducing the operational difficulty for players to reach safe areas according to the directional signs and improving the player's gaming experience. This solves the technical problem that the existing methods of area indication bring players greater operational difficulty and a poor gaming experience.

[0121] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this application.

[0122] In exemplary embodiments of this application, a computer-readable storage medium stores a program product capable of implementing the methods described above in this embodiment. In some possible implementations, various aspects of the embodiments of this application may also be implemented as a program product including program code, which, when the program product is run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this embodiment according to various exemplary embodiments of this application.

[0123] The program product for implementing the above-described method according to embodiments of this application may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the embodiments of this application is not limited thereto. In the embodiments of this application, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0124] The aforementioned program product may take the form of any combination of one or more computer-readable media. Such computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples (not exhaustive) of computer-readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0125] It should be noted that the program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0126] Embodiments of this application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

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

[0128] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0129] S1, obtain the first location of the game scene and safe zone of the controlled virtual character;

[0130] S2, based on the projection of the line connecting the game scene position and the first position onto the graphical user interface, determine the first display position and the second display position on the periphery of the graphical user interface;

[0131] S3, a first guidance sign is provided at a first display position to prompt the controlled virtual character to proceed to a safe area according to the direction of travel indicated by the first guidance sign, and a second guidance sign is provided at a second display position to prompt the controlled virtual character to move away from the direction of travel indicated by the second guidance sign.

[0132] Optionally, the processor may also be configured to perform the following steps via a computer program: the center position of the safe area and the target position of the safe area, wherein the target position is the position within the safe area that is closest to the game scene position.

[0133] Optionally, the processor may also be configured to perform the following steps via a computer program: determining a first geometric expression in the model space of the line connecting the game scene position and the first position based on the coordinates of the game scene position and the first position; performing a spatial transformation on the first geometric expression to obtain a second geometric expression corresponding to the projection of the line in the screen space; and determining a first display position and a second display position on the periphery of the graphical user interface based on the second geometric expression.

[0134] Optionally, the processor may also be configured to perform the following steps via a computer program: determining a first intersection point and a second intersection point between the projection and the periphery of the graphical user interface based on a second geometric expression; and determining a first display position and a second display position on the periphery of the graphical user interface according to the screen space coordinates of the first intersection point and the second intersection point.

[0135] Optionally, the processor may also be configured to perform the following steps via a computer program: a first display position is a graphical user interface area at a distance of a first dimension from the first intersection point; a second display position is a graphical user interface area at a distance of a second dimension from the second intersection point.

[0136] Optionally, the processor may also be configured to perform the following steps via a computer program: the size of the first dimension and / or the size of the second dimension have a specified correspondence with the duration of the game session.

[0137] Optionally, the processor may also be configured to perform the following steps via a computer program: in response to the controlled virtual character not being in a safe area, obtain the game scene location of the controlled virtual character and the first location of the safe area.

[0138] Optionally, the processor may also be configured to perform the following steps via a computer program: in response to the controlled virtual character being in a safe area, hide the first guide icon and the second guide icon within the graphical user interface.

[0139] Optionally, the processor may also be configured to perform the following steps via a computer program: generating a first guide sign using a first color effect, generating a second guide sign using a second color effect; attaching the first guide sign to a first display position, and attaching the second guide sign to a second display position.

[0140] Optionally, the processor may also be configured to perform the following steps via a computer program: an attack zone is set in the game scene, and attack events against the controlled virtual character occur randomly within the attack zone, the area of ​​the attack zone being smaller than the safe zone and the unsafe zone.

[0141] Optionally, the processor may also be configured to perform the following steps via a computer program: obtaining a second location of the attack area; determining a third display location around the graphical user interface based on the game scene location and the second location; providing a third guidance marker at the third display location to prompt the controlled virtual character to move away from the direction of travel indicated by the third guidance marker, wherein the third guidance marker is generated using a third color effect.

[0142] Optionally, the processor may also be configured to perform the following steps via a computer program: in response to a touch operation performed on a target touch area, display at least one of a first guide icon, a second guide icon, and a third guide icon within a graphical user interface.

[0143] In the electronic device described in the above embodiments, a technical solution for implementing area indication is provided. A graphical user interface (GUI) is provided through a terminal device. The GUI displays at least a portion of a game scene, in which a safe zone, an unsafe zone, and a controlled virtual character are defined. The position of the safe zone is configured to change over time, and the area of ​​the safe zone is configured to shrink over time, while the area of ​​the unsafe zone is configured to expand over time. First, the game scene position of the controlled virtual character and a first position of the safe zone are obtained. Then, based on the projection of the line connecting the game scene position and the first position onto the GUI, a first display position and a second display position are determined around the perimeter of the GUI. Further, a first guidance marker is provided at the first display position to prompt the controlled virtual character to proceed to the safe zone according to the direction indicated by the first guidance marker, and a second guidance marker is provided at the second display position to prompt the controlled virtual character to move away from the direction indicated by the second guidance marker. Therefore, this application achieves the goal of providing directional signs within the graphical user interface to indicate the direction of safe areas, thereby reducing the operational difficulty for players to reach safe areas according to the directional signs and improving the player's gaming experience. This solves the technical problem that the existing methods of area indication bring players greater operational difficulty and a poor gaming experience.

[0144] Figure 12 This is a schematic diagram of an electronic device according to one embodiment of this application. Figure 12 As shown, the electronic device 1200 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0145] like Figure 12 As shown, the electronic device 1200 is presented in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: at least one processor 1210, at least one memory 1220, a bus 1230 connecting different system components (including memory 1220 and processor 1210), and a display 1240.

[0146] The memory 1220 stores program code that can be executed by the processor 1210, causing the processor 1210 to perform the steps described in the method section of the embodiments of this application according to various exemplary implementations of this application.

[0147] The memory 1220 may include a readable medium in the form of volatile memory cells, such as random access memory (RAM) 12201 and / or cache memory 12202, and may further include read-only memory (ROM) 12203, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.

[0148] In some instances, memory 1220 may also include programs / utilities 12204 having a set (at least one) of program modules 12205, including but not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Memory 1220 may further include memory remotely located relative to processor 1210, which can be connected to electronic device 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0149] Bus 1230 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, peripheral bus, graphics acceleration port, processor 1210, or a local bus using any of the various bus structures.

[0150] The display 1240 may be, for example, a touch-screen liquid crystal display (LCD) that allows a user to interact with the user interface of the electronic device 1200.

[0151] Optionally, the electronic device 1200 can also communicate with one or more external devices 1300 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1200, and / or any device that enables the electronic device 1200 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via the input / output (I / O) interface 1250. Furthermore, the electronic device 1200 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via the network adapter 1260. Figure 12 As shown, network adapter 1260 communicates with other modules of electronic device 1200 via bus 1230. It should be understood that, although... Figure 12As not shown, other hardware and / or software modules may be used in conjunction with electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Disks (RAID) systems, tape drives, and data backup storage systems.

[0152] The aforementioned electronic device 1200 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply, and / or a camera.

[0153] Those skilled in the art will understand that Figure 12 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the electronic device 1200 may also include components that are more... Figure 12 The more or fewer components shown, or having the same Figure 12 Different configurations are shown. Memory 1220 can be used to store computer programs and corresponding data, such as the computer program and corresponding data corresponding to the area indication method in this embodiment. Processor 1210 executes various functional applications and data processing by running the computer program stored in memory 1220, thereby implementing the aforementioned area indication method.

[0154] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0155] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0156] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0157] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0158] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0159] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0160] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for indicating a region, characterized in that, A graphical user interface (GUI) is provided through a terminal device, the GUI displaying at least a portion of a game scene, the game scene including a safe zone, an unsafe zone, and a controlled virtual character, wherein the position of the safe zone is configured to change with the game time, the area of ​​the safe zone is configured to shrink with the game time, and the area of ​​the unsafe zone is configured to expand with the game time, the method comprising: Obtain the game scene location of the controlled virtual character and the first location of the safe area; Based on the projection of the line connecting the game scene location and the first location onto the graphical user interface, a first display location and a second display location are determined around the periphery of the graphical user interface. A first guidance marker is provided at the first display location to prompt the controlled virtual character to proceed to the safe area according to the direction of travel indicated by the first guidance marker, and a second guidance marker is provided at the second display location to prompt the controlled virtual character to move away from the direction of travel indicated by the second guidance marker; The game scene also includes an attack zone, within which attack events against the controlled virtual character occur randomly. The attack zone is smaller than the safe zone and the unsafe zone. The method further includes: Obtain the second location of the attack area; Based on the game scene location and the second location, a third display location is determined around the periphery of the graphical user interface; A third guidance marker is provided at the third display location to prompt the controlled virtual character to move away from the direction of travel indicated by the third guidance marker, wherein the third guidance marker is generated using a third color effect.

2. The method according to claim 1, characterized in that, The first position is one of the following: the center position of the safe area, the target position of the safe area, wherein the target position is the position within the safe area that is closest to the game scene position.

3. The method according to claim 1, characterized in that, The step of determining the first display position and the second display position on the periphery of the graphical user interface based on the projection of the line connecting the game scene position and the first position onto the graphical user interface includes: Based on the game scene location and the coordinates of the first location in the model space, determine the first geometric expression of the line connecting the game scene location and the first location in the model space; Perform a spatial transformation on the first geometric expression to obtain a second geometric expression corresponding to the projection of the connecting line in the screen space; The first display position and the second display position are determined on the periphery of the graphical user interface based on the second geometric expression.

4. The method according to claim 3, characterized in that, Determining the first display position and the second display position based on the second geometric expression around the graphical user interface includes: The first and second intersection points of the projection and the periphery of the graphical user interface are determined based on the second geometric expression. The first display position and the second display position are determined on the periphery of the graphical user interface based on the screen space coordinates of the first intersection point and the second intersection point.

5. The method according to claim 4, characterized in that, The first display position is a graphical user interface area at a distance of a first dimension from the first intersection point; the second display position is a graphical user interface area at a distance of a second dimension from the second intersection point.

6. The method according to claim 5, characterized in that, The size of the first dimension and / or the size of the second dimension have a specified correspondence with the duration of the game session.

7. The method according to claim 5, characterized in that, The step of obtaining the game scene location of the controlled virtual character and the first location of the safe area includes: In response to the controlled virtual character not being within the safe area, the game scene location of the controlled virtual character and the first location of the safe area are obtained; The method further includes: In response to the controlled virtual character being within the safe area, the first guidance icon and the second guidance icon are hidden within the graphical user interface.

8. The method according to claim 1, characterized in that, Providing the first guide icon at the first display location and providing the second guide icon at the second display location includes: The first guide icon is generated using a first color effect, and the second guide icon is generated using a second color effect; The first guide icon is attached to the first display position, and the second guide icon is attached to the second display position.

9. The method according to any one of claims 1 to 8, characterized in that, The graphical user interface also displays a target touch component; the method further includes: In response to a touch operation performed on the target touch component, at least one of the first guide icon, the second guide icon, and the third guide icon is displayed within the graphical user interface.

10. A device for indicating a region, characterized in that, A graphical user interface (GUI) is provided via a terminal device. The GUI displays at least a portion of a game scene, including a safe zone, a non-safe zone, and a controlled virtual character. The safe zone's position is configured to change over time, and its area shrinks over time. The non-safe zone's area expands over time. An attack zone is also provided in the game scene, where random attacks on the controlled virtual character occur. The attack zone's area is smaller than both the safe and non-safe zones. The device includes: The acquisition module is used to acquire the game scene location of the controlled virtual character and the first location of the safe area; A determining module is used to determine a first display position and a second display position on the periphery of the graphical user interface based on the projection of the line connecting the game scene position and the first position onto the graphical user interface. The instruction module is configured to provide a first guidance marker at the first display position to prompt the controlled virtual character to proceed to the safe area according to the direction of travel indicated by the first guidance marker, and to provide a second guidance marker at the second display position to prompt the controlled virtual character to move away from the direction of travel indicated by the second guidance marker; The evasion module is used to obtain a second position of the attack area, determine a third display position around the graphical user interface based on the game scene position and the second position, and provide a third guidance mark at the third display position to prompt the controlled virtual character to move away from the direction of travel indicated by the third guidance mark, wherein the third guidance mark is generated using a third color effect.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute, when run by a processor, the method of region indication as described in any one of claims 1 to 9.

12. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method of region indication as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Reminding information method and device for multi-person online battle program, and terminal

    CN110368691A

  • Game picture display control method and device, electronic equipment and storage medium

    CN111124226A