Interactive method and device for determining position intervals and transmitting position information in games
By determining the marking area within the distance of sight and calculating the orientation interval in the game, the complexity and accuracy of orientation information transmission in the game are solved, and fast and convenient orientation information transmission and intuitive visual indication are achieved, which improves the transmission Efficiency and accuracy.
Patent Information
- Application Number
- CN202111070902.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-13
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-09-13
AI Technical Summary
In games, there are problems of low operational complexity and accuracy when transmitting orientation information, especially in complex terrain or occlusion, the prior art requires multiple steps and there are errors in voice communication.
By obtaining the position information and distance of the player character in the game scene, the marking area within the distance range is determined, and the position information of the azimuth information relative to the second player character is calculated based on the position information and marking area of the second player. The interval enables fast and convenient direction information transmission and intuitive visual indication.
It improves the efficiency of position interval determination, reduces operation complexity, improves the accuracy and real-timeness of label data transmission, and avoids the problems of delay and low accuracy caused by cumbersome label operations.
Smart Images

Figure CN113908546B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer application technology, and more particularly to a method and device for determining a position interval in a game, a method and device for transmitting and interacting position information in a game, a method and device for controlling the sending of position information in a game, and a method and device for controlling the display of position intervals in a game. The present application also relates to a computer storage medium and an electronic device. Background Art
[0002] With the development of the Internet, entertainment application service software based on terminal devices has become a common form of entertainment in life. For example, game software is an important form of entertainment and relaxation. What's more, with the continuous development of science and technology and social life, the application of game software has gradually become a new type of profession.
[0003] Generally speaking, for battle-type application game service software, treasure-hunting application game service software, or game platforms based on gaming devices that combine reality and virtuality, information sharing can be achieved through the position information transmitted between players. Summary of the invention
[0004] The present application provides a method for determining a position interval in a game to solve the problem of complexity in the process of transmitting position information.
[0005] The present application provides a method for determining a position interval in a game, wherein the game includes a game scene and a first player character and a second player character located in the game scene, including:
[0006] Determine a marked area within the range of the sight distance according to the acquired position information of the first player character in the game scene, the sight distance of the first player, and the orientation information of the first player's mark;
[0007] The orientation interval of the orientation information relative to the second player character is determined based on the acquired position information of the second player character in the game scene and the marked area.
[0008] In some embodiments, determining the marked area within the range of the sight distance according to the acquired position information and sight distance of the first player character in the game scene and the orientation information of the first player mark includes:
[0009] determining a sight boundary contour according to the sight distance;
[0010] According to the position information of the first player character, a first coordinate point of the first player character is obtained; and an intersection point of a ray extending from the first coordinate point in the direction of the orientation information and the line of sight boundary contour is obtained;
[0011] A scene area between the first coordinate point and the intersection point is determined as the marked area.
[0012] In some embodiments, determining the marked area within the range of the sight distance according to the acquired position information and sight distance of the first player character in the game scene and the orientation information of the first player mark includes:
[0013] In response to a marking operation performed by the first player in the game scene, the position information is acquired.
[0014] In some embodiments, in response to the marking operation of the first player in the game scene, obtaining the position information includes:
[0015] In response to the first player's marking operation on the marking object in the game scene, the position information is acquired.
[0016] In some embodiments, the marked object is a player character or a virtual character in the game scene.
[0017] In some embodiments, the marking operation includes: a touch marking operation, an eye movement marking operation, or a head movement marking operation performed on the orientation display area in the game scene.
[0018] In some embodiments, determining the position interval of the position information relative to the second player character according to the acquired position information of the second player character in the game scene and the marked area includes:
[0019] Obtaining a second coordinate point according to the position information of the second player character;
[0020] Determine a line between the second coordinate point and the first coordinate point as a first relative position line;
[0021] Determine a line between the second coordinate point and the intersection point as a second relative position line;
[0022] The azimuth interval is determined according to an angle between the first relative position line and the second relative position line.
[0023] In some embodiments, the viewing distance is the viewing limit distance of the first player in the game scene.
[0024] In some embodiments, the first player character and the second player character are player characters belonging to the same game team.
[0025] The present application also provides a device for determining a position interval in a game, wherein the game includes a game scene and a first player character and a second player character located in the game scene, including:
[0026] A first determining unit, configured to determine a marked area within a range of the sight distance according to the acquired position information and sight distance of the first player character in the game scene and the orientation information of the first player mark;
[0027] The second determining unit is used to determine the orientation interval of the orientation information relative to the second player character according to the acquired position information of the second player character in the game scene and the marked area.
[0028] The present application also provides a method for transmitting and interacting position information in a game, wherein the game includes a game scene and a first player character and a second player character located in the game scene, including:
[0029] Sending a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player through a first terminal device, and the position information transmission request includes the position information;
[0030] Obtaining the position information of the first player character in the game scene and the sight distance of the first player;
[0031] Determine a marked area within the viewing distance according to the orientation information, the position information of the first player character and the viewing distance;
[0032] Determining, based on the acquired position information of the second player character and the marked area, an orientation interval of the orientation information relative to the second player character;
[0033] The direction interval is visually marked in a second direction display area in a second game graphical user interface, wherein the second game graphical user interface is a game graphical user interface provided to the second player through a second terminal device.
[0034] In some embodiments, the first orientation display area is displayed at the top and / or bottom of the first game graphical user interface; the second orientation display area is displayed at the top and / or bottom of the second game graphical user interface.
[0035] In some embodiments, sending a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface comprises:
[0036] The position information transmission request is sent according to the marking operation of the first player on the marking object in the first game graphical user interface.
[0037] In some embodiments, the marked object is a player character or a virtual character in the game scene.
[0038] In some embodiments, the second position display area in the second game graphical user interface visually identifies the position interval, including:
[0039] The color and / or image used for the visual indication is rendered for the direction interval in the second direction display area.
[0040] The present application provides a device for transmitting and interacting position information in a game, wherein the game includes a game scene and a first player character and a second player character located in the game scene, including:
[0041] a sending unit, configured to send a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player via a first terminal device, and the position information transmission request includes the position information;
[0042] An acquisition unit, configured to acquire the position information and the sight distance of the first player character in the game scene;
[0043] A first determining unit, configured to determine a marked area within a viewing distance range according to the orientation information, the position information of the first player character and the viewing distance;
[0044] A second determining unit, configured to determine a position interval of the position information relative to the second player character according to the acquired position information of the second player character and the marked area;
[0045] A marking unit is used to visually mark the direction interval in a second direction display area in a second game graphical user interface, wherein the second game graphical user interface is a game graphical user interface provided to the second player through a second terminal device.
[0046] The present application provides a method for controlling the sending of position information in a game, wherein a terminal device can store a game scene template, and in a game scene corresponding to the game scene template, game elements configured in the game scene and the configuration relationship between the game elements; according to a selection instruction of a player, the terminal device is controlled to render a game graphical user interface on a display screen, and in response to an instruction of a player entering the game scene, the team matching information and position display information generated for the player are controlled to be displayed on the display screen in a team display area and a position display area respectively; and the player is configured to the game scene as a virtual character; and the game screen on the display screen is controlled to be re-rendered according to the instruction of the player, characterized in that:
[0047] Receiving a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player via a first terminal device;
[0048] In response to the marking operation, a position information transmission request is sent; wherein the position information transmission request includes position information.
[0049] In some embodiments, the step of receiving a marking operation of a first player on a first position display area in a first game graphical user interface comprises:
[0050] Receive a marking operation of the first player on the first position display area in the first game graphical user interface for marking objects in all game scenes.
[0051] In some embodiments, the marked object is a player character or a virtual character in the game scene.
[0052] In some embodiments, the first position display area is displayed at the top and / or bottom of the first game graphical user interface.
[0053] The present application also provides a method for controlling the display of an orientation interval in a game, wherein a terminal device can store a game scene template, and in a game scene corresponding to the game scene template, game elements configured in the game scene and the configuration relationship between the game elements; according to a player's selection instruction, the terminal device is controlled to render the game scene on a display screen, and in response to an instruction of a player entering the game scene, the team matching information and orientation display information generated for the player are controlled to be displayed on the display screen in a team display area and an orientation display area respectively; and the player is configured to the game scene as a virtual character; and according to the player's instruction, the game screen on the display screen is controlled to change in the game scene, characterized in that:
[0054] Receiving the position information marked by the first player, and determining the position interval of the position information relative to the second player character;
[0055] The direction interval is visually marked in a second direction display area in a second game graphical user interface; wherein the second game graphical user interface is a game graphical user interface provided to the second player via a second terminal device.
[0056] In some embodiments, the second position display area in the second game graphical user interface visually marks the position interval, including:
[0057] The second position display area displayed at the top and / or bottom of the second game graphical user interface renders the color and / or image used for the visual indication for the position interval.
[0058] The present application also provides a computer storage medium for storing data generated by a network platform, and a program for processing the data generated by the network platform;
[0059] When the program is read and executed by the processor, it executes the steps of the method for determining the position interval in the above-mentioned game, or the steps of the method for transmitting and interacting the position information in the above-mentioned game, or the steps of the method for controlling the sending of the position information in the above-mentioned game, or the steps of the method for controlling the display of the position interval in the above-mentioned game.
[0060] The present application also provides an electronic device, comprising:
[0061] processor;
[0062] A memory for storing a program for processing data generated by a network platform, wherein when the program is read and executed by the processor, the program executes the steps of a method for determining a position interval in the above-mentioned game, or executes the steps of a method for transmitting and interacting position information in the above-mentioned game, or executes the steps of a method for controlling the sending of position information in the above-mentioned game, or executes the steps of a method for controlling the display of position intervals in the above-mentioned game.
[0063] Compared with the prior art, this application has the following advantages:
[0064] The method for determining the orientation interval in the game provided by the present application determines the marking area within the viewing distance range according to the position information of the first player character in the game scene, the viewing distance of the first player, and the orientation information marked by the first player, and determines the orientation interval of the orientation information relative to the second player character according to the position information of the second player character in the game scene and the marking area, thereby improving the efficiency of determining the orientation interval and avoiding the problems of complicated operation and inconvenience of voice communication existing in the previous marking method, as well as the problem of low marking accuracy caused by the deviation of the marked object from the marked orientation information when the marking operation is completed due to the overly complicated marking operation.
[0065] The embodiment of the interactive method for transmitting position information in a game provided by the present application can enable players in a game scene to quickly and conveniently transmit position information of a marked object, and highlight it in the form of a visual mark in the position display area of the game graphical user interface, so that players can intuitively know the specific position range of the transmitted position information in the position display area. Combined with the existing voice communication, it can further improve the accuracy and real-time performance of the marked data transmission.
[0066] The present application provides an embodiment of a control method for sending position information in a game. Through the player's marking operation on the position display area displayed in the game graphical user interface on the terminal device display screen, the position information of the marked object can be quickly sent out, thereby avoiding the cumbersome marking operation when the marked object is found, which causes a delay in the sending of the position information.
[0067] The control method embodiment of the position interval display in the game provided by the present application can quickly, prominently and intuitively display the position interval determined by the second player character based on the position information sent by the first player in the position display area of the game graphical user interface of the second player, thereby improving the efficiency of obtaining the transmitted position information. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 is a schematic diagram of the architecture of an embodiment of a game system related to the present application;
[0069] Figure 2 It is a flow chart of an embodiment of a method for determining a position interval in a game provided by the present application;
[0070] Figure 3 It is a schematic diagram of a marking area in an embodiment of a method for determining a position interval in a game provided by the present application;
[0071] Figure 4It is a schematic diagram of a first embodiment of determining an orientation interval in an embodiment of a method for determining an orientation interval in a game provided by the present application;
[0072] Figure 5 It is a schematic diagram of a second embodiment of determining an orientation interval in an embodiment of a method for determining an orientation interval in a game provided by the present application;
[0073] Figure 6 It is a schematic diagram of a third embodiment of determining an orientation interval in an embodiment of a method for determining an orientation interval in a game provided by the present application;
[0074] Figure 7 It is a schematic diagram of a fourth embodiment of determining an orientation interval in an embodiment of a method for determining an orientation interval in a game provided by the present application;
[0075] Figure 8 It is a schematic diagram of a fifth embodiment of determining an orientation interval in an embodiment of a method for determining an orientation interval in a game provided by the present application;
[0076] Fig. 9 This is a scene diagram of a VR game in an embodiment of a method for determining an orientation interval in a game provided by the present application;
[0077] Fig.10 It is a structural schematic diagram of an embodiment of a device for determining a position interval in a game provided by the present application;
[0078] Fig.11 This is a flow chart of an embodiment of a method for transmitting and interacting with position information in a game provided by the present application;
[0079] Fig.12 This is a schematic diagram of data interaction in an embodiment of a method for transmitting and interacting with position information in a game provided by the present application;
[0080] Fig.13 It is a structural diagram of a first embodiment of sending a position information transmission request in an embodiment of an interactive method for transmitting position information in a game provided by the present application;
[0081] Fig.14 It is a structural diagram of a second embodiment of sending a position information transmission request in an embodiment of an interactive method for transmitting position information in a game provided by the present application;
[0082] Fig.15 It is a structural schematic diagram of a first embodiment of displaying a position interval in an embodiment of an interactive method for transmitting position information in a game provided by the present application;
[0083] Fig.16 It is a structural schematic diagram of a second embodiment of displaying an orientation interval in an embodiment of an interactive method for transmitting orientation information in a game provided by the present application;
[0084] Fig.17 This is a structural diagram of an embodiment of a device for transmitting and interacting with position information in a game provided by the present application;
[0085] Fig.18 This is a flow chart of an embodiment of a control method for sending position information in a game provided by the present application;
[0086] Fig.19 This is a flow chart of an embodiment of a method for controlling the display of a position interval in a game provided by the present application;
[0087] Fig. 20 It is a structural schematic diagram of an electronic device embodiment provided by the present application. DETAILED DESCRIPTION
[0088] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0089] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The descriptions used in this application and the appended claims, such as "a", "first", and "second", are not limitations on quantity or sequence, but are used to distinguish the same type of information from each other.
[0090] In combination with the above background technology, it can be known that the present application involves a process for determining and transmitting position information in a game, as well as a control method for sending position information and a control method for displaying position intervals. The invention concept comes from the fact that in various battle game application software, including game products that combine virtuality and reality (for example, battle games provided by VR devices), teammates can mark the discovered marked objects so that other teammates can know the location of the marked objects. For example: Figure 1 As shown, Figure 1 It is a schematic diagram of the gaming system architecture, which may include: at least two terminal devices, such as: Figure 1As shown in the figure, the architecture diagram takes four terminal devices as an example of a team, and two teams play a battle game. The terminal device can be a terminal mobile communication device, or a PC or a portable mobile device. The terminal device obtains the game application software locally, and sends a request to the server when in use. The server matches the game team, which can be a random match of teammates or a specified match of teammates (this is just an example, and there are actually scenarios where there is no need to form a team to play a game battle), and the data transmission between the terminal devices is realized through the server. The server can be a server cluster or a separate server. During the game, the server can obtain the relevant information such as the location of the corresponding game player in real time, and the transmission of information between teammates can also be executed by the server. When one of the players needs to pass the position information of the found marked object to other teammates, the following method can be used:
[0091] 1. Move the crosshairs in the center of the screen to the marked object for precise marking. On the one hand, there are problems with this: for complex terrain or obstructed targets, inaccurate marking may occur, such as the marked point being too far or too close to the actual point, or marking a wall or tree. On the other hand, this operation needs to be divided into two steps: one is to rotate the viewing angle, and the other is to click the mark button, and this operation must change the direction of travel, affecting the player's original intention and operation.
[0092] 2. Report landmark locations or coordinates through voice communication. This method is used because all players in random team matches are strangers, that is, in a random game, there are concerns about players using the microphone to transmit information. Even when using the microphone to transmit voice information, teammates are in different locations, and there are large errors in the perception of the coordinates.
[0093] 3. Communicate through text information in the operation interface, for example: input landmark locations or azimuth coordinates, etc. However, the positions of teammates are not fixed, and the marked objects may change at any time. Therefore, the marking method of inputting text information is adopted. On the one hand, it increases the player's operation cost. On the other hand, during the process of the player inputting text information, the position of the marked object may have changed. This method obviously has the problem of information transmission error rate due to the length of text input.
[0094] Taking the above-mentioned problems into consideration, the present application conceives a solution that can reduce operating costs and determine the position of the marked object in real time and transmit it to teammates. The following will describe in detail a method for determining a position interval and a method for transmitting and interacting position information provided by the present application.
[0095] Please refer to Figure 2 and Figure 3 As shown, Figure 2 is a flowchart of an embodiment of a method for determining a position interval in a game provided by the present application. Figure 3 It is a schematic diagram of a marking area in an embodiment of a method for determining an orientation interval in a game provided by the present application; the determination method is applied to a game, and the game includes a game scene and a first player character and a second player character located in the game scene. In this embodiment, the game can be displayed using a terminal device as a carrier, that is, the terminal device can store a game scene template, and in a game scene corresponding to the game scene template, game elements configured in the game scene and the configuration relationship between game elements; in response to an instruction of a player entering the game scene, the terminal device is controlled to render the game scene, generate a player character, an orientation display area and other corresponding game elements for the player, and render the team display area separately when in a team form; and configure the player character to the game scene; according to the player control instruction, the player character is rendered in real time in the game scene and displayed in the game graphical user interface. The above is a summary description of the use process of the game application.
[0096] Based on the above content, the present application provides an embodiment of a method for determining a position interval in a game, which may include:
[0097] Step S201: Determine a marked area within the range of the viewing distance according to the acquired position information of the first player character in the game scene and the viewing limit distance, as well as the position information of the first player's mark.
[0098] In this embodiment, the game scene may include multiple player characters, and the multiple player characters may form at least two teams to fight each other, or may fight against a set battle target as a whole. When the player characters are matched into teams, it may be a random match or a designated match. The first player character may include one or more teammate characters. This embodiment is described only by taking the first player character and the second player character as an example, and is not limited to the first player character and the second player character. In this embodiment, the first player character and the second player character may belong to the same game team.
[0099] In this embodiment, the first player corresponding to the first player character is the controller who controls the first player character, and can also be understood as a marker who marks the marked object. Of course, if the game is played in a team, any player in the team can be the marker.
[0100] In the following description of this embodiment, two second player characters are described as an example, but it is not limited to two, and one or more can be used. The number of the second player characters relative to the first player character can also change as the game progresses, such as being eliminated by the opponent, or quitting, etc. Of course, they can also be in a surviving state from the beginning to the end of the game; the first player character can also be eliminated or quit.
[0101] The game scene can be understood as provided by the game application software carried on the terminal device. When the game application software provides multiple game scenes, it can be a game scene specified by the game player and displayed on the terminal device. The first game graphical user interface of the game scene for the first player can be displayed on the display screen of the terminal device. The first game graphical user interface changes under the instructions of the first player and / or the second player, such as the forward operation instructions or the viewing direction control instructions. For example, when the first player performs a forward operation on the first player character, the position of the first player character in the middle of the game changes, and then the first game graphical user interface displayed on the display screen changes accordingly relative to the instructions.
[0102] The sight distance can be understood as the sight distance range of the first player in the first game graphical user interface, that is, the visual field range observable in the first game graphical user interface. In this embodiment, the sight distance can be the sight distance of the first player along the direction of the location where the marked object appears.
[0103] The position information marked by the first player can be understood as the position information generated by the first player performing a marking operation on the marking object in the game scene. Therefore, the position information marked by the first player can be the position information obtained in response to the marking operation of the first player in the game scene.
[0104] In this embodiment, the marking operation may be a marking operation performed on a marking object in the game scene. The marking object may be a player character or a virtual character in the game scene; when the marking object is a player character, the player character may be a player character of the opposing party or other player characters in the same team as the first player character; or it may be a virtual character set by the game for the game players to fight against as a whole. The virtual character may be a virtual item arranged in the game scene, such as equipment, scene props and other game elements; or it may be a certain location. Therefore, in this embodiment, the marking object is not limited, and any object that can be marked may be a marking object.
[0105] In this embodiment, the marking operation can be performed in different operation modes according to different terminal devices carrying game application software. For example, for touch terminal devices, a touch marking operation (such as a mobile phone, IPad, etc.) can be used. For terminal devices operated by external input devices, a click marking operation (such as a PC, a laptop, etc.) can be used. For head-mounted game operation terminal devices, eye movement marking operations or head movement marking operations can be used (such as VR glasses, etc.). Regardless of the marking operation, when the terminal device has conditions for marking operations, the marking operation can be used interchangeably. For example, when the display screen of a desktop computer or a laptop computer has a touch function, the marking operation can be performed by an external input device or by touching the screen. In this embodiment, the marking operation is implemented as a marking operation performed on the orientation display area displayed in the player's game graphical user interface. Here, only a general description is given. Regarding the implementation of the marking operation, the subsequent embodiments of the method for transmitting and interacting orientation information in the game and the method for controlling the transmission of orientation information in the game will be described in detail.
[0106] The above is an explanation of the technical terms involved in the step S201. The following describes the specific implementation process of the step S201.
[0107] The purpose of step S201 is to determine the marked area of the first player character within the viewing distance range, and the specific implementation process may include:
[0108] Step S201-1: Determine the line of sight boundary contour according to the line of sight distance; Figure 3 The visual range boundary contour in step S201-1 can be understood as the visual range limit distance (also understood as the farthest visual range distance) that the first player can observe in the first game graphical user interface, forming a circle, arc, straight line or other contour lines. Considering that the observation limit distance in the game scene has different clarity of observation, the visual range limit distance can be determined according to the rendering ratio of the reference object in the rendering process of the game scene, and can also be determined according to the properties of the terminal device; that is, the visual range limit distance can not only be determined according to the farthest distance observed in the game scene, but also can be determined in combination with clarity, terminal device properties, etc.
[0109] Step S201 - 2 : obtaining a first coordinate point of the first player character according to the position information of the first player character.
[0110] The specific implementation process of step S201-2 may be that the first player character may determine the coordinate point of the first player character in the game scene through the world coordinate system, that is, the first coordinate point, such as Figure 3The coordinates of point D shown are the first coordinate points.
[0111] Step S201-3: obtaining the intersection of the ray extending from the first coordinate point to the direction of the azimuth information and the line of sight boundary contour; Figure 3 The intersection point B is shown.
[0112] Step S201-4: Determine the scene area between the first coordinate point and the intersection point as the marked area. Figure 3 The scene area between D and B shown is the marked area.
[0113] The above is a description of the process of determining the marked area in step S201. After determining the marked area, it is necessary to further determine the position information of the first player's mark relative to the position interval of the second player's character. Therefore, the following steps are performed:
[0114] Step S202: determining a position interval of the position information relative to the second player character based on the acquired position information of the second player character in the game scene and the marked area.
[0115] It can be seen from the above description of step S201 that, in this embodiment, the second player character and the first player character may be player characters belonging to the same game team.
[0116] The specific implementation process of step S202 may include:
[0117] Step S202-1: Obtain a second coordinate point according to the position information of the second player character; the position information of the second player character and the world coordinate system of the game scene can obtain the second coordinate point of the second player character in the game scene.
[0118] Step S202-2: determining a line between the second coordinate point and the first coordinate point as a first relative position line;
[0119] Step S202-3: determining the line between the second coordinate point and the intersection point as a second relative position line;
[0120] Step S202-4: Determine the orientation interval according to the angle between the first relative position line and the second relative position line.
[0121] For the contents of the above steps S202-1 to S202-4, please refer to Figures 4 to 8 As shown, Figure 4This is a schematic diagram of a first embodiment of determining a position interval in an embodiment of a method for determining a position interval in a game provided by the present application, wherein the second player character includes a second player character A (also referred to as teammate A) and a second player character C (also referred to as teammate C). The controller (first player) of the first player character D is the marker. The positions of the second player characters A and C in the game scene are embodiments of the left and right sides of the marking area (marking range from D to B). The marking area is the scene area between the first coordinate point of the first player character D and the intersection B, that is, it can be the line DB between the first coordinate point of the first player character D and the intersection B; the first relative position line can be the line AD obtained by connecting the first coordinate point of the second player character A and the first coordinate point of the first player D, that is: the first relative position line AD; the second relative position line can be the line AB obtained by connecting the second player character A and the intersection B, that is: the second relative position line AB. Similarly, the coordinate point of the second player character C is connected to the first coordinate point D to obtain a relative position line CD, and the coordinate point of the second player character C is connected to the intersection B to obtain a relative position line CB. In Figure 4 It can be seen that the first relative position line AD and the second relative position line AB, as well as the first player character position information to the marking area line DB are connected to form a closed figure △BAD; the relative position lines CD and CB and the marking area line DB are connected to form a closed figure △BCD. Of course, the marking area line DB may not exist, then it can also be a semi-open figure connected by connecting the first relative position line AD and the second relative position line AB to obtain ∠BAD; the semi-open figure connected by connecting the first relative position line CD and the second relative position line CB to obtain ∠BCD.
[0122] It should be noted that, for the sake of ease of explanation, the marked interval is illustrated by the line between B and D. In fact, the marked interval can be a scene area between point B and point D. In different game scenes, the scene area can be determined by the line segment between point B and point D, or by the area range formed by point B to point D.
[0123] Based on the above, Figure 5 FIG. 1 is a schematic diagram of a second embodiment of determining the azimuth interval in this embodiment. Figure 5 and Figure 4 The difference is that the position of the second player character changes, namely: Figure 4 The first embodiment is described based on the positions of the second player character A (also referred to as teammate A) and the second player character C (also referred to as teammate C) being located on the left and right sides of the position information of the first player character D along the vertical direction of the game scene; Figure 5This is a second embodiment in which the positions of the second player character A (also referred to as teammate A) and the second player character C (also referred to as teammate C) are simultaneously located on the right side of the position information of the first player character D along the vertical direction in the game scene. The determination of the relative position line is the same and will not be repeated here.
[0124] Figure 6 FIG. 3 is a schematic diagram of a third embodiment of determining the azimuth interval in this embodiment. Similarly, Figure 6 The third embodiment is mainly for the second player character A (also referred to as teammate A) and the second player character C (also referred to as teammate C) being located at the left side of the first player character D's position information along the vertical direction of the game scene. The relative position connection line is determined in the same manner as in the third embodiment. Figure 4 The same is not repeated here.
[0125] Figure 7 This is a schematic diagram of a fourth embodiment of determining the azimuth interval in this embodiment. Similarly, Figure 7 The fourth embodiment mainly determines the position of one of the second player character A (also referred to as teammate A) and the second player character C (also referred to as teammate C), which is located on the same straight line as the position of the first player character in the vertical direction. The method for determining the relative position line is the same as that of Figure 4 The same is not repeated here.
[0126] Figure 8 This is a schematic diagram of a fifth embodiment of determining the azimuth interval in this embodiment. Similarly, Figure 8 The fifth embodiment mainly relates to the positions of the second player character A (also referred to as teammate A) and the second player character C (also referred to as teammate C), which are both located on the same straight line with the position information of the first player character D (which can be understood as position information) in the vertical direction.
[0127] pass Figures 4 to 8 It can be seen from the embodiments that these embodiments are described by taking the first player character D, the marking object E and the marking area B as an example in the vertical direction. In fact, the marking object E can also be located on the left, right, upper or lower side of the second player character D. Regardless of the position of the marking object, the relative position connection line with respect to the second player character is the same as that in the vertical direction, so it will not be described one by one here.
[0128] Considering that when the second player character position or the first player character position is relatively far away from the marked area, it is not necessary to determine the relative position line, thereby reducing the amount of calculation and avoiding waste of computing resources. Therefore, determining the relative position line in step S202-2 or step S202-3 may also include:
[0129] Step S202-a-1: determining whether the second player character meets the connection requirement based on the position information of the second player character in the game scene and the relationship between the marked area;
[0130] Step S202-a-2: If satisfied, connect.
[0131] The connection requirement in step S202-a-1 may be a preset distance threshold from the second player character to the first player character and to the intersection point. If the distance from the second player character to the first player character and to the intersection point is less than the distance threshold, the connection requirement is met, otherwise, it is not met. In other words, the connection requirement may be a distance threshold from the second player character to the marked area, and the distance thresholds of the two end values of the marked area interval range may be relative to the marked area.
[0132] Step S202-a-3: If not satisfied, prompt information may be provided to the first player character and / or the second player character, for example: the first player character may be provided with information such as "the second player character's distance is no longer within the range of obtaining the position information"; the second player character may be provided with information such as "the position information sent by the first operation, the current distance does not meet the position information display requirements"; the prompt information may be displayed on the player's terminal device in the form of a voice message, or may be displayed in the player's game scene in the form of a text message.
[0133] The above is an implementation method for determining relative position lines in order to reduce the amount of calculation.
[0134] The purpose of step S202-4 is to determine the orientation interval according to the first relative position line and the second relative position line. Taking the second player character A as an example, the specific implementation process can be: after determining the first relative position line and the second relative position line, the ∠BAD of the closed figure △BAD or the ∠BAD of the semi-closed figure can be determined, and the ∠BAD can be combined with the world coordinate system in the game scene to determine the direction of the ∠BAD; it can also be understood that the functional relationship between the first relative position line AB and the second relative position line AD in the world coordinate system is: k AB x+b AB ≤f A (x)≤k AD x+b AD, where k is the slope, b is a constant, and x is an independent variable, so the angle of ∠BAD can be known. Similarly, the ∠BCD determined by the relative position line of the second player character C in the game scene can be combined with the world coordinate system to determine the direction of ∠BAD; it can also be understood that the functional relationship between the first relative position line AB and the second relative position line AD in the world coordinate system is: k CB x+b CB ≤f C (x)≤k CD x+b CD , where k can be the slope, b is a constant, and x is the independent variable, so the angle of ∠BCD can be obtained.
[0135] It is understandable that the functional relationship between the relative position of the player in the game scene and the relative position of the marked area will be different. Figure 4 Description for example.
[0136] According to the angle, the azimuth interval displayed on the second display azimuth area on the second game graphical user interface of the second player can be determined. For example, the angle between the second relative position line AB of the second player character A and the X-axis of the world coordinate system (the axis representing the due east direction) is 10 degrees, which can be determined by the azimuth and / or quadrant angle. For example, starting from the north direction and counting clockwise, the second relative position line AB rotates 80 degrees from 0 degrees. The azimuth of 80 degrees is equal to the quadrant angle. Therefore, the angle between the second relative position line AB and the X-axis of the coordinate system (the axis representing the due east direction) is 90 degrees. -80=10 degrees; the angle between the first relative position line AD of the first player character A and the X axis of the world coordinate system (the axis representing the due east direction) is 45 degrees, that is, the first relative position line AD rotates 135 degrees from 0 degrees, the azimuth angle is 135 degrees, and the quadrant angle is 180-135=45 degrees. Therefore, the angle between the second relative position line AB and the X axis of the coordinate system (the axis representing the due east direction) is 90-45=45 degrees. The second player character A is between 10 degrees in the NE direction and 45 degrees in the SE direction, that is, the angle between the second relative position line AB and the first relative position line AD is 55 degrees. The azimuth interval can be determined based on 55 degrees, for example, the range of plus or minus 5 degrees, that is, 50 degrees to 60 degrees is the azimuth interval, and of course it can also be only 55 degrees.
[0137] The angle between the second relative position line CB of the second player character C and the X-axis of the coordinate system (the axis representing the due west direction) is 40 degrees, that is, in clockwise direction, the second relative position line CB rotates 310 degrees (azimuth in the fourth quadrant) from 0 degrees, the azimuth is 310 degrees, and the quadrant angle is 50 degrees; the angle between the first relative position line CD of the second player character C and the X-axis of the coordinate system (the axis representing the due west direction) is 25 degrees, that is, the second relative position line CB rotates 245 degrees (i.e. in the third quadrant) from 0 degrees, the azimuth is 310 degrees, and the quadrant angle is 245-180=65 degrees. Therefore, the angle between the second relative position line CB and the X-axis of the coordinate system (the axis representing the due west direction) is 90-50=40 degrees; the angle between the first relative position line CD and the X-axis of the coordinate system (the axis representing the due west direction) is 90-65=25 degrees. The viewing angle of the second player character C is between 40 degrees in the NW direction and 25 degrees in the SW direction, that is, the angle between the second relative position line CB and the first relative position line CD is 65 degrees. Like the above player character A, the orientation interval can be determined based on 65 degrees, for example, within a range of plus or minus 5 degrees, that is, 60 degrees to 70 degrees is the orientation interval, and of course it can also be only 65 degrees.
[0138] The above Figure 4 The description shown is an example. Figures 5 to 8 Also applicable, Figures 4 to 8 The world coordinate system used is established with the second coordinate point of the second player character as the origin. In fact, it is also feasible to directly use the preset world coordinate system in the game scene. The direction can be determined by determining the quadrant of the relative position line in the world coordinate system. The process of determining the angle is the same as above and will not be repeated here.
[0139] In the embodiment of the method for determining the orientation interval of the present application, scenario 1 (mobile terminal device) is mainly used as an example for description, and scenario 2 (VR device, such as Fig. 9 The process of determining the azimuth interval involved in scenario 1 is the same as that in scenario 1 and will not be described in detail.
[0140] The above is a specific description of an embodiment of a method for determining a position interval in a game provided by the present application. This embodiment determines the marking area only through the position information emitted by the marking object observed by the player (marking party), and determines the position interval of the position information relative to the second player character through the relative position connection relationship between other teammate players and the marking area, thereby avoiding the problem of previous marking methods requiring triggering of marking controls or input of text information or communication of voice information, and this method can improve the efficiency of determining the position interval, and avoid the problem of low marking accuracy caused by the marked object deviating from the marked position information after marking by the above-mentioned marking method.
[0141] It can be understood that the above description of the embodiment of a method for determining a position interval in a game provided by the present application may be that the server performs the relevant processing, or the client with computing capabilities performs the relevant processing.
[0142] Corresponding to the above-mentioned method for determining a position interval in a game, the present application also discloses an embodiment of a device for determining a position interval in a game, please refer to Fig.10 Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.
[0143] like Fig.10 As shown, Fig.10 The present application provides a schematic diagram of a structure of an embodiment of a device for determining a position interval in a game, wherein the device embodiment comprises:
[0144] A first determining unit 1001 is used to determine a marked area within a range of the sight distance according to the acquired position information and sight distance of the first player character in the game scene and the orientation information of the first player mark;
[0145] The second determining unit 1002 is used to determine the position interval of the position information relative to the second player character according to the acquired position information of the second player character in the game scene and the marked area. In this embodiment, the first player character and the second player character are described as player characters belonging to the same game team, but the present invention is not limited to this method.
[0146] The first determining unit 1001 includes: a sight distance determining subunit, a first obtaining subunit, a second obtaining subunit and a marking area determining subunit.
[0147] The viewing distance determination subunit is used to determine the viewing distance boundary contour according to the viewing distance; wherein the viewing distance is the viewing distance limit distance of the first player in the game scene.
[0148] The first obtaining subunit is used to obtain a first coordinate point of the first player character according to the position information of the first player character;
[0149] The second obtaining subunit is used to obtain the intersection point of the ray extending from the first coordinate point to the direction of the azimuth information and the line of sight boundary contour;
[0150] The marked area determination subunit is used to determine the scene area between the first coordinate point and the intersection point as the marked area.
[0151] The first determination unit 1001 includes: an acquisition subunit, configured to acquire the position information in response to the marking operation of the first player in the game scene. Specifically, the position information can be acquired in response to the marking operation of the first player on a marking object in the game scene. The marking object can be a player character or a virtual character in the game scene. The marking operation can include: a touch marking operation, an eye movement marking operation, or a head movement marking operation performed on the position display area in the game scene.
[0152] In this embodiment, the second determining unit 1002 may include: an obtaining subunit, a first determining subunit, a second determining subunit and a third determining subunit.
[0153] The obtaining subunit is used to obtain a second coordinate point according to the position information of the second player character;
[0154] The first determining subunit is used to determine a line between the second coordinate point and the first coordinate point as a first relative position line;
[0155] The second determining subunit is used to determine the line between the second coordinate point and the intersection point as a second relative position line;
[0156] The third determining subunit is used to determine the orientation interval according to the angle between the first relative position line and the second relative position line.
[0157] The above is a description of an embodiment of a device for determining a position interval in a game provided by the present application. For the specific contents of the first determination unit 1001 and the second determination unit 1002, reference can be made to the description of the above steps S201 and S202, which will not be repeated here.
[0158] Based on the above content, in order to enable the second player character to quickly and easily obtain the position information of the marked object marked by the first player, the determined position interval can be transmitted to the second player. Therefore, the present application also provides a method for transmitting and interacting position information in a game, so as to realize the transmission and interaction of the marked position information between the first player and the second player; similarly, the marked object in this embodiment can also be a player in the second combination or a virtual object, etc. The following will describe the embodiment of the method for transmitting and interacting position information in a game provided by the present application in combination with the contents of the above steps S201-S202, please refer to Fig.11 and Fig.12 As shown, Fig.11 This is a flow chart of an embodiment of a method for transmitting and interacting with position information in a game provided by the present application; Fig.12This is a data interaction diagram in an embodiment of a method for transmitting and interacting with position information in a game provided by the present application (wherein a first terminal, a second terminal and a third terminal belonging to three players in a first team are taken as an example).
[0159] It can be understood that the embodiment of the transmission interaction method is mainly aimed at the transmission interaction process of the orientation information realized by the game application software. The game application software can be carried on the terminal device (for example: downloaded from the server to the local, stored by the local terminal device, etc.), and the terminal device can store the game scene template, and the game elements configured in the game scene and the configuration relationship between the game elements in the game scene corresponding to the game scene template; according to the player's selection instruction, the terminal device is controlled to render the game graphical user interface on the display screen, and in response to the player's instruction to enter the game scene, the team matching information and orientation display information and other related information generated for the player are controlled, and the player can be configured to the game scene as a virtual character when entering the game scene; according to the player's instruction, the game graphical user interface on the display screen is controlled to be re-rendered, for example: the changes in the game elements and the configuration of the game elements in the game scene when moving need to be re-rendered. Therefore, in this embodiment, the game includes a game scene and a first player character and a second player character located in the game scene. The specific implementation process of the transmission interaction method embodiment may include:
[0160] Step S1101: sending a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player via a first terminal device, and the position information transmission request includes position information;
[0161] Step S1102: Obtaining the position information and viewing distance of the first player character in the game scene;
[0162] Step S1103: determining a marked area within the viewing distance according to the orientation information, the position information of the first player character and the viewing distance;
[0163] Step S1104: determining the position interval of the position information relative to the second player character according to the acquired position information of the second player character and the marked area;
[0164] Step S1105: Visually mark the direction interval in a second direction display area in a second game graphical user interface, wherein the second game graphical user interface is a game graphical user interface provided to the second player via a second terminal device.
[0165] The specific implementation process of the above steps S1101 to S1105 is described below.
[0166] Among them, Fig.13 and Fig.14 As shown, the first position display area in step S1101 is the area of the position information displayed on the first game graphical user interface, and the second position display area in step S1105 can be the area of the position information displayed on the second game graphical user interface. For example: a coordinate ruler (i.e., a coordinate ruler that displays the position information). Players can observe the position information of some game elements in the game scene through the position display area, and of course, they can also understand the real-time position of the player character in the game scene. Both the first position display area and the second position display area can be located at the top and / or bottom of the corresponding game graphical user interface. The setting method of the first and / or second position display area may include:
[0167] When the preset top position display area is used as a reference, the position coordinate display area is displayed in a mirror image manner at the bottom of the game graphical user interface;
[0168] Alternatively, when the preset bottom orientation display area is used as a reference, the orientation display area is displayed in a mirroring manner at the top of the game graphical user interface.
[0169] In this embodiment, the preset top position display area is mainly used as a reference, and the position display area (such as Fig.14 Specifically, when the terminal device is in landscape mode in the game scene, the vertical midline of the screen is used as the axis of symmetry, and the top orientation display area is horizontally mirrored to the bottom of the game graphical user interface, thereby improving the convenience of marking operations. When displaying the first orientation display area, it can be displayed at the top and bottom of the first game graphical user interface at the same time, or at one of the top and bottom; the second orientation display area can also be displayed at the top and bottom of the second game graphical user interface at the same time, or at one of the top and bottom.
[0170] The purpose of step S1101 is to send a position information transmission request, and the sending action is triggered by the first player marking the first position display area. The marking operation can be performed in different ways according to the terminal device triggering conditions of different game scenes, for example:
[0171] Method 1: When the medium carrying the game is a mobile phone, the first player can perform a touch marking operation on the first orientation display area according to the correspondence between the location where the marked object appears in the game scene and the first orientation display area in the game graphical user interface to obtain the orientation information of the marked object; or, a touch marking operation can be performed according to the location where the marked object appears in the game graphical user interface. The touch marking operation can be understood as a touch operation on the screen, and the touch point is the position corresponding to the location where the marked object appears in the first orientation display area. For example, when the marked object E is observed through the game graphical user interface, the direction corresponding to the vertical direction from point E to the first orientation display area is the touch point. Of course, the determination of the touch point can be related to the layout of the actual game scene, and this is only described as an example.
[0172] Method 2: When the medium carrying the game is a computer, the marking operation can be achieved by clicking the mouse, or by using a preset shortcut key. The specific marking operation process is similar to the above method 1.
[0173] Method three: When the medium carrying the game is a VR device, the marking operation can be an eye movement marking operation or a head movement marking operation. For example, when the marked object is observed to appear at 30 degrees northeast, the line of sight can be shifted to the position 30 degrees northeast displayed in the first orientation display area by blinking or nodding, thereby realizing the marking operation. The VR glasses can capture the marking action of the first player.
[0174] The above is only a description of using different marking operations in three ways. In fact, the marking operation method of the marking object is not limited to the above methods.
[0175] It should be noted that, in this embodiment, the first player's touch operation on the first position display area is mainly used as the marking operation. In fact, the marking operation can also be a touch operation on the location where the marked object appears.
[0176] In this embodiment, the marking object can be any game element in the game scene, for example: a player character in the game scene or a virtual character. When it is a player character in the game scene, the player character can be a player character that is the opponent of the first player character, or a teammate player character of the first player character, or a common fighting character of multiple players. When it is a virtual character in the game scene, it can be equipment, a house, a prop, etc. The marking operation can mark one marking object or multiple marking objects.
[0177] When the marking operation is completed, a position information transmission request is issued, and the request includes: the position information marked by the marking operation, and the position information is the position information of the marked object.
[0178] The execution process of step S1101 can be understood as the sending of a corresponding request executed by the first terminal device of the first player.
[0179] The purpose of steps S1102 to S1104 is to determine the azimuth interval. The specific implementation process can refer to the description of steps S201 to S202 above, which will not be repeated here.
[0180] It is understandable that the execution process of step S1102 to step S1104 can be completed by the server to complete the relevant data processing or by the first terminal device (client) of the first player, and of course other terminal devices (clients) can also be completed. When it is a server, the server responds to the position information transmission request and obtains the position information and the line of sight distance. When it is the first terminal device, there are two ways to obtain the position information and the line of sight distance. One is: the first terminal device will monitor the position information and the line of sight distance in real time or according to a set time period and store them. Therefore, when the position information and line of sight distance related parameters are needed, they can be directly obtained; the other is that considering that the parameters of the position information and the line of sight distance are not in real time, in order to avoid the occupation and waste of the storage space of the first terminal device, the parameters can be obtained when they are needed, for example: in response to the position information transmission request, the acquisition action is triggered, that is, when the touch event of the first player on the first position display area is monitored, the acquisition is performed.
[0181] The above is a brief description of steps S1102 to S1104. For details, please refer to the above steps S201 to S202.
[0182] like Fig.15 and Fig.16 As shown, the purpose of step S1105 is to visually mark the determined direction interval in the second direction display area in the second game graphical user interface, so that the second player can understand the direction of the first player's marking operation from the second direction display area, thereby facilitating the search for the marked object.
[0183] The so-called visual marking can be understood as highlighting the azimuth interval in the second azimuth display area. The specific implementation process of this embodiment may include:
[0184] Step S1105-1: Rendering the color and / or image used for the visual marking for the orientation interval in the second orientation display area. The color may be in a gradient form according to the orientation interval; the image may be in the form of a graphic or graphic outline of the marked object. The gradient form may specifically be a strong color display for the value in the middle of the orientation interval, and a weak color display for the values at both ends of the orientation interval. The image may be an image or image outline representing the shape of the marked object, and may be a reduced image (or thumbnail or outline image) of a target person or a reduced image (or thumbnail or outline image) of a virtual item, i.e., an image label of the marked object; so that the second player may know the attributes of the marked object marked by the first player in the orientation interval through the graphics or graphic outline rendered in the orientation interval. If displayed in a third-party voice mode (for example: your teammate marks a location for *** in the orientation interval, or your teammate marks a location, please see the coordinate ruler, etc.), it may be combined with color display or image or image outline display, so that the player can promptly know the orientation information sent by the teammate.
[0185] With the above Fig.13 and Fig.14 Similar to the first position display area in the second game graphical user interface of the second player, the second position display area in the second game graphical user interface can also be displayed at the top and / or bottom of the second game graphical user interface, such as Fig.15 and Fig.16 As shown, the specific display method is similar to the display method of the first orientation display area mentioned above, and will not be repeated here.
[0186] It can be understood that the above-mentioned embodiment of the method for transmitting and interacting the position information in the game is mainly described from multiple perspectives compared with the embodiment of the method for determining the position interval in the game. This embodiment is described from the execution perspective of the terminal device and the execution perspective of the server, and of course does not exclude the method of execution only by the terminal device.
[0187] The above is a description of an embodiment of an interactive method for transmitting position information in a game provided by the present application. Through this embodiment, the position information of the marked object can be quickly and conveniently transmitted between players in the game scene, and it can be highlighted in the form of a visual mark in the position display area of the game graphical user interface, which can facilitate players to intuitively know the specific position range of the transmitted position information in the position display area. Combined with the existing voice communication, it can further improve the accuracy and real-time performance of the marked data transmission.
[0188] Corresponding to the above-mentioned method for transmitting and interacting with position information, the present application also discloses an embodiment of a device for transmitting and interacting with position information, see Fig.17Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.
[0189] An embodiment of a device for transmitting and interacting with position information in a game provided by the present application includes:
[0190] The sending unit 1701 is used to send a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player through a first terminal device, and the position information transmission request includes position information; the sending unit 1701 may specifically send the position information transmission request according to a marking operation of a marking object in the first game graphical user interface by the first player. The marking object may be a player character in the game scene or a virtual character. wherein the first position display area is displayed at the top and / or bottom of the first game graphical user interface; and the second position display area is displayed at the top and / or bottom of the second game graphical user interface. For the specific content of the obtaining unit 1702, reference may be made to the description of the above step S1101.
[0191] The acquisition unit 1702 is used to acquire the position information and the viewing distance of the first player character in the game scene.
[0192] The first determining unit 1703 is used to determine a marking area within a viewing distance according to the orientation information, the position information of the first player character and the viewing distance.
[0193] The second determining unit 1704 is configured to determine a position interval of the position information relative to the second player character according to the acquired position information of the second player character and the marked area.
[0194] The marking unit 1705 is used to visually mark the direction interval in the second direction display area in the second game graphical user interface, wherein the second game graphical user interface is a game graphical user interface provided to the second player through the second terminal device.
[0195] The marking unit 1705 may include: a rendering subunit, configured to render the color and / or image used for the visual marking for the azimuth interval in the second azimuth display area.
[0196] For the contents of the above-mentioned acquisition unit 1702 to the second determination unit 1704, reference may be made to the description of the above-mentioned steps S1102 to S1104, which will not be repeated here.
[0197] For the specific implementation process of the marking unit 1705, reference may be made to the content of the above step S1105.
[0198] Based on the above content, this application also provides a control method for sending position information in the game, please refer to Fig.18 As shown, Fig.18 The present application also provides a flow chart of an embodiment of a control method for sending position information, wherein the method is applied to a game scene, the game scene is provided by a game application software, the game application key can be carried on a terminal device (for example: downloaded from a server to a local, stored by a local terminal device, etc.), the terminal device can store a game scene template, and in a game scene corresponding to the game scene template, the game elements in the game scene and the configuration relationship between the game elements configured; according to the player's selection instruction, the terminal device is controlled to render a game graphical user interface on a display screen, in response to the player's instruction to enter the game scene, the team matching information and position display information and other related information generated for the player are controlled, and the player can be configured as a virtual character to the game scene when entering the game scene; according to the player's instruction, the game graphical user interface on the display screen is re-rendered, for example: changes in the game elements and the configuration of the game elements in the game scene during movement require re-rendering. That is: according to the player's real-time instruction, the game graphical user interface is rendered in real time according to the configuration layout of the game scene. The embodiment of the control method for sending position information in the game includes:
[0199] Step S1801: receiving a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player via a first terminal device;
[0200] Step S1802: In response to the marking operation, a position information transmission request is sent; wherein the position information transmission request includes position information.
[0201] The step S1801 may specifically include: receiving a marking operation of the first player on the first position display area in the first game graphical user interface for marking objects in all game scenes; wherein the marking object may be a player character in the first game graphical user interface or a virtual object character in the first game graphical user interface. The specific content of step S1801 may refer to the description of the above step S1101, which will not be repeated here.
[0202] In this embodiment, if Fig.13 and Fig.14As shown, the display position of the first orientation display area may be: the top and / or bottom of the first game graphical user interface; the specific implementation process may be:
[0203] When the preset first position display area at the top is used as a reference, the first position coordinate display area is displayed in a mirror image manner at the bottom of the first game graphical user interface;
[0204] Alternatively, when the preset first orientation display area at the bottom is used as a reference, the first orientation display area is displayed in a mirrored manner at the top of the first game graphical user interface. The display method of the first orientation display area can also refer to the description in the above-mentioned embodiment of the transfer interaction method, which is only a brief description here.
[0205] For the specific contents of step S1801 to step S1802, please refer to the above-mentioned steps 201 to step S203, and the contents of step S1101 to step S1103, which will not be repeated here.
[0206] The above-mentioned control method embodiment for sending the position information in the game provided by the present application can quickly send the position information of the marked object through the player's marking operation on the position display area displayed in the game graphical user interface on the terminal device display screen, thereby avoiding the cumbersome marking operation when the marked object is found, which causes delays in the sending of the position information.
[0207] Based on the above, if Fig.19 As shown, the present application also provides a method for controlling the display of an orientation interval in a game. Similarly, the embodiment of the method for controlling the display of an orientation interval in a game is also applied to a game scene. The terminal device can store a game scene template, and in a game scene corresponding to the game scene template, the game elements configured in the game scene and the configuration relationship between the game elements; according to the player's selection instruction, the terminal device is controlled to render a game graphical user interface on the display screen, and in response to the player's instruction to enter the game scene, the team matching information and orientation display information and other related information generated for the player are controlled, and the player can be configured as a virtual character to the game scene when entering the game scene; according to the player's instruction, the game graphical user interface on the display screen is controlled to be re-rendered, for example: changes in the game elements and the configuration of the game elements in the game scene during movement require re-rendering. That is: according to the player's real-time instructions, the game graphical user interface is rendered in real time according to the configuration layout of the game scene. The embodiment of the method for controlling the display of an orientation interval includes:
[0208] Step S1901: receiving the position information marked by the first player, and determining the position interval of the position information relative to the second player character;
[0209] Step S1902: visually marking the orientation interval in a second orientation display area in a second game graphical user interface; wherein the second game graphical user interface is a game graphical user interface provided to a second player via a second terminal device.
[0210] Likewise, the second orientation display area may be displayed at the top and / or bottom of the second game graphical user interface, and the specific display method is the same as that of the first orientation display area.
[0211] The specific implementation of step S1902 may be that the terminal device controls the rendering of colors and / or images (such as Fig.15 and Fig.16 ); wherein, the color may be in a gradient form, specifically, the middle value of the orientation interval may be displayed in strong color, and the values at both ends of the orientation interval may be displayed in weak color; the image may be an image or image outline representing the shape of the marked object, and may be a reduced image (or thumbnail or outline image) of a player character or a reduced image (or thumbnail or outline image) of a virtual character. If displayed in voice mode, it may be combined with color display or image or image outline display, so that the player can promptly learn the orientation information sent by teammates, and specifically refer to the description of the above step S1105.
[0212] Based on the above content, the present application also provides a computer storage medium for storing data generated by a network platform, and a program for processing the data generated by the network platform;
[0213] When the program is read and executed by the processor, it executes steps S201 to S202 in the embodiment of the method for determining the position interval in the above-mentioned game; or, it executes steps S1101 to S1105 in the embodiment of the method for transmitting and interacting the position information in the above-mentioned game; or, it executes steps S1801 to S1802 in the embodiment of the method for controlling the sending of the position information in the above-mentioned game; or, it executes steps S1901 to S1902 in the embodiment of the method for controlling the display of the position interval in the above-mentioned game.
[0214] Based on the above content, the present application also provides an electronic device, such as Fig. 20 As shown, the electronic device embodiment includes:
[0215] Processor 2001;
[0216] Memory 2002 is used to store a program for processing data generated by a network platform. When the program is read and executed by the processor, it executes steps S201 to S202 in the embodiment of the method for determining the position interval in the above-mentioned game, or executes steps S1101 to S1105 in the embodiment of the method for transmitting and interacting position information in the above-mentioned game; or executes steps S1801 to S1802 in the embodiment of the method for controlling the sending of position information in the above-mentioned game; or executes steps S1901 to S1902 in the embodiment of the method for controlling the display of the position interval in the above-mentioned game.
[0217] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
Claims
1. A method for determining a position interval in a game, wherein the game comprises a game scene and a first player character and a second player character located in the game scene, characterized in that: include: Determine a marked area within the range of the sight distance according to the acquired position information of the first player character in the game scene, the sight distance of the first player, and the orientation information of the first player's mark; Determine the orientation interval of the orientation information relative to the second player character according to the acquired position information of the second player character in the game scene and the marked area; wherein, determining the marked area within the viewing distance according to the acquired position information of the first player character in the game scene and the viewing distance, and the orientation information marked by the first player, comprises: determining a sight boundary contour according to the sight distance; Obtaining a first coordinate point of the first player character according to the position information of the first player character; Obtaining an intersection point between a ray extending from the first coordinate point to the direction of the azimuth information and the line of sight boundary contour; A scene area between the first coordinate point and the intersection point is determined as the marked area.
2. The method for determining the position interval in the game according to claim 1, characterized in that: The step of determining a marked area within the range of the sight distance according to the acquired position information and sight distance of the first player character in the game scene and the orientation information of the first player mark comprises: In response to a marking operation performed by the first player in the game scene, the position information is acquired.
3. The method for determining a game position interval according to claim 2, characterized in that: The acquiring the position information in response to the marking operation of the first player in the game scene includes: In response to the first player's marking operation on the marking object in the game scene, the position information is acquired.
4. The method for determining the position interval in the game according to claim 3, characterized in that: The marked object is a player character or a virtual character in the game scene.
5. The method for determining the position interval in the game according to claim 2, characterized in that: The marking operation includes: a touch marking operation, an eye movement marking operation, or a head movement marking operation performed on the orientation display area in the game scene.
6. The method for determining the position interval in the game according to claim 1, characterized in that: The determining, based on the acquired position information of the second player character in the game scene and the marked area, the position interval of the position information relative to the second player character comprises: Obtaining a second coordinate point according to the position information of the second player character; Determine a line between the second coordinate point and the first coordinate point as a first relative position line; Determine a line between the second coordinate point and the intersection point as a second relative position line; The azimuth interval is determined according to an angle between the first relative position line and the second relative position line.
7. The method for determining the position interval in the game according to claim 1, characterized in that: The viewing distance is the viewing limit distance of the first player in the game scene.
8. The method for determining a position interval in a game according to claim 1, characterized in that: The first player character and the second player character are player characters belonging to the same game team.
9. A device for determining a position interval in a game, wherein the game comprises a game scene and a first player character and a second player character located in the game scene, characterized in that: include: The first determining unit is used to determine the marked area within the range of the viewing distance according to the acquired position information and viewing distance of the first player character in the game scene, and the orientation information of the first player mark; including: determining the viewing distance boundary contour according to the viewing distance; obtaining the first coordinate point of the first player character according to the position information of the first player character; obtaining the intersection point of the ray extending from the first coordinate point to the direction of the orientation information and the viewing distance boundary contour; and determining the scene area between the first coordinate point and the intersection point as the marked area; The second determining unit is used to determine the orientation interval of the orientation information relative to the second player character according to the acquired position information of the second player character in the game scene and the marked area.
10. A method for transmitting and interacting position information in a game, wherein the game comprises a game scene and a first player character and a second player character located in the game scene, characterized in that: include: Sending a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player through a first terminal device, and the position information transmission request includes the position information; Obtaining the position information of the first player character in the game scene and the sight distance of the first player; Determine a marked area within the viewing distance according to the orientation information, the position information of the first player character and the viewing distance; including: determining a viewing boundary contour according to the viewing distance; obtaining a first coordinate point of the first player character according to the position information of the first player character; obtaining an intersection point of a ray extending from the first coordinate point in the direction of the orientation information and the viewing boundary contour; and determining a scene area between the first coordinate point and the intersection point as the marked area; Determining, based on the acquired position information of the second player character and the marked area, an orientation interval of the orientation information relative to the second player character; The direction interval is visually marked in a second direction display area in a second game graphical user interface, wherein the second game graphical user interface is a game graphical user interface provided to the second player through a second terminal device.
11. The method for transmitting and interacting position information in a game according to claim 10, characterized in that: The first orientation display area is displayed at the top and / or bottom of the first game graphical user interface; the second orientation display area is displayed at the top and / or bottom of the second game graphical user interface.
12. The method for transmitting and interacting position information in a game according to claim 10, characterized in that: The sending of a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface comprises: The position information transmission request is sent according to the marking operation of the first player on the marking object in the first game graphical user interface.
13. The method for transmitting and interacting position information in a game according to claim 12, characterized in that: The marked object is a player character or a virtual character in the game scene.
14. The method for transmitting and interacting position information in a game according to claim 10, characterized in that: The second position display area in the second game graphical user interface visually identifies the position interval, including: The color and / or image used for the visual indication is rendered for the direction interval in the second direction display area.
15. A device for transmitting and interacting position information in a game, wherein the game comprises a game scene and a first player character and a second player character located in the game scene, characterized in that: include: a sending unit, configured to send a position information transmission request according to a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player via a first terminal device, and the position information transmission request includes the position information; An acquisition unit, configured to acquire the position information and the sight distance of the first player character in the game scene; A first determining unit is used to determine a marking area within a viewing distance according to the orientation information, the position information of the first player character and the viewing distance; including: determining a viewing boundary contour according to the viewing distance; obtaining a first coordinate point of the first player character according to the position information of the first player character; obtaining an intersection point of a ray extending from the first coordinate point to the orientation information direction and the viewing boundary contour; and determining a scene area between the first coordinate point and the intersection point as the marking area; A second determining unit, configured to determine a position interval of the position information relative to the second player character according to the acquired position information of the second player character and the marked area; A marking unit is used to visually mark the direction interval in a second direction display area in a second game graphical user interface, wherein the second game graphical user interface is a game graphical user interface provided to the second player through a second terminal device.
16. A method for controlling the sending of position information in a game, wherein a terminal device is capable of storing a game scene template, and in a game scene corresponding to the game scene template, configured game elements in the game scene and the configuration relationship between the game elements; according to a player's selection instruction, the terminal device is controlled to render a game graphical user interface on a display screen, and in response to an instruction of a player entering the game scene, the team matching information and position display information generated for the player are controlled to be displayed on the display screen in a team display area and a position display area, respectively; and the player is configured to the game scene as a virtual character; The game screen on the display screen is re-rendered according to the player's command control, characterized in that: Receiving a marking operation of a first player on a first position display area in a first game graphical user interface; wherein the first game graphical user interface is a game graphical user interface provided to the first player via a first terminal device; In response to the marking operation, a position information transmission request is sent; wherein the position information transmission request includes position information.
17. The method for controlling the sending of position information in a game according to claim 16, characterized in that: The receiving a marking operation of a first player on a first position display area in a first game graphical user interface comprises: Receive a marking operation of the first player on the first position display area in the first game graphical user interface for marking objects in all game scenes.
18. The method for controlling the sending of position information in a game according to claim 17, characterized in that: The marked object is a player character or a virtual character in the game scene.
19. The method for controlling the sending of position information in a game according to claim 16, characterized in that: The first position display area is displayed at the top and / or bottom of the first game graphical user interface.
20. A method for controlling the display of an orientation interval in a game, wherein a terminal device is capable of storing a game scene template, and in a game scene corresponding to the game scene template, game elements configured in the game scene and the configuration relationship between the game elements; according to a player's selection instruction, the terminal device is controlled to render the game scene on a display screen, and in response to an instruction of a player entering the game scene, the team matching information and orientation display information generated for the player are controlled to be displayed on the display screen in a team display area and an orientation display area, respectively; and the player is configured to the game scene as a virtual character; The game screen on the display screen is controlled to change in the game scene according to the player's instructions, characterized in that: Receiving the orientation information marked by the first player, and determining the orientation interval of the orientation information relative to the second player character; including: determining the marked area within the viewing distance range according to the acquired position information of the first player character in the game scene and the viewing distance of the first player, as well as the orientation information marked by the first player; determining the orientation interval of the orientation information relative to the second player character according to the acquired position information of the second player character in the game scene and the marked area; wherein, determining the marked area within the viewing distance range according to the acquired position information of the first player character in the game scene and the viewing distance, as well as the orientation information marked by the first player, includes: determining the viewing distance boundary contour according to the viewing distance; obtaining the first coordinate point of the first player character according to the position information of the first player character; obtaining the intersection of the ray extending from the first coordinate point to the direction of the orientation information and the viewing distance boundary contour; and determining the scene area between the first coordinate point and the intersection as the marked area; The direction interval is visually marked in a second direction display area in a second game graphical user interface; wherein the second game graphical user interface is a game graphical user interface provided to a second player via a second terminal device.
21. The method for controlling the orientation interval display in a game according to claim 20, characterized in that: The second position display area in the second game graphical user interface visually marks the position interval, including: The second position display area displayed at the top and / or bottom of the second game graphical user interface renders the color and / or image used for the visual indication for the position interval.
22. A computer storage medium for storing data generated by a network platform and a program for processing the data generated by the network platform; When the program is read and executed by the processor, it executes the steps of the method for determining the position interval in the game as described in any one of claims 1 to 8, or the steps of the method for transmitting and interacting the position information in the game as described in any one of claims 10 to 14, or the steps of the method for controlling the sending of the position information in the game as described in any one of claims 16 to 19, or the steps of the method for controlling the display of the position interval in the game as described in claim 20 or claim 21.
23. An electronic device, comprising: processor; A memory for storing a program for processing data generated by a network platform, wherein when the program is read and executed by the processor, the program executes the steps of a method for determining a position interval in a game as described in any one of claims 1 to 8, or executes the steps of a method for transmitting and interacting position information in a game as described in any one of claims 10 to 14, or executes the steps of a method for controlling the sending of position information in a game as described in any one of claims 16 to 19, or executes the steps of a method for controlling the display of a position interval in a game as described in claim 20 or claim 21.
