Method, device, terminal and program for presenting position of virtual object
The method enhances virtual environment interaction by allowing users to drag and mark enemy positions on a minimap, improving accuracy and efficiency of location sharing and reducing server load.
Patent Information
- Application Number
- JP2023559103
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-06-03
- Filing Date
- 2022-05-09
- Publication Date
- 2025-05-20
- Estimated Expiration
- 2042-05-09
AI Technical Summary
Existing methods for notifying teammates of enemy positions in virtual environments, such as minimaps, lack specificity, leading to low efficiency and accuracy in message acquisition.
A method and device for presenting the position of a virtual object by displaying an object indicator on a virtual environment map, allowing users to drag and mark the location of enemy objects, and sending a position suggestion message to teammates, enhancing accuracy and efficiency.
Improves the effectiveness and accuracy of location information sharing, accelerates game progress, and reduces server processing load by enabling timely and precise marking of hidden enemy positions.
Smart Images

Figure 0007680134000001 
Figure 0007680134000002 
Figure 0007680134000003
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application filed on June 3, 2021, bearing application number 202110620718.0 and entitled "Method, device, terminal and storage medium for presenting the position of a virtual object," the entire contents of which are incorporated by reference into this application.
[0002] The embodiments of the present application relate to the technical field of man-machine interaction, and in particular to a method, device, terminal, and storage medium for presenting the position of a virtual object. [Background technology]
[0003] Many application programs that construct virtual scenes (e.g., virtual reality application programs, 3D mapping programs, military simulation programs, first-person shooter games, multiplayer online battle arena games, etc.) provide a minimap to display the player's location and the global environment.
[0004] In the related art, if a user needs to inform a teammate that an enemy player is hiding in a certain location, the user can trigger a reminder barrage by clicking on the enemy player's location on the mini-map, thereby informing the teammate to be aware of the surrounding environment. Summary of the Invention [Problem to be solved by the invention]
[0005] Obviously, when adopting the position notification method in the related art, the warning barrage can only be sent to teammates, and the teammates cannot know the specific enemy players who are hiding and the specific hiding positions of the enemy players, resulting in low efficiency and accuracy of message acquisition. [Means for solving the problem]
[0006] The embodiments of the present application provide a method, device, terminal and storage medium for presenting the position of a virtual object.
[0007] According to one aspect, an embodiment of the present application provides a method for presenting a position of a virtual object, the method being executed by a terminal, the method comprising: displaying a virtual environment map and an object indicator corresponding to at least one first virtual object, the first virtual object belonging to a different faction than the controlled virtual object; in response to a drag operation on a target object indicator and when an end point of the drag is located within the virtual environment map, displaying the target object indicator within the virtual environment map, the target object indicator corresponding to a target virtual object; The method includes a step of sending a position presentation message to at least one second virtual object in response to a trigger operation on the target object indicator in the virtual environment map, the position presentation message including a target object position where the target virtual object is located, the target object position being obtained by being marked by the target object indicator, and the second virtual object belonging to the same faction as the controlled virtual object.
[0008] According to another aspect, an embodiment of the present application provides a device for presenting a position of a virtual object, the device comprising: a display module for displaying a virtual environment map and an object indicator corresponding to at least one first virtual object, the first virtual object, the controlled virtual object belonging to a different faction; The display module further displays the target object indicator within the virtual environment map in response to a drag operation on the target object indicator and when an end point of the drag is located within the virtual environment map, the target object indicator corresponding to a target virtual object; and a transmitting module for transmitting a location presentation message to at least one second virtual object in response to a trigger operation on the target object indicator in the virtual environment map, the location presentation message including a target object location where the target virtual object is located, the target object location being obtained by being marked by the target object indicator, the second virtual object belonging to the same camp as the controlled virtual object.
[0009] According to another aspect, an embodiment of the present application provides a terminal, the terminal including a processor and a memory, the memory storing at least one program, the at least one program being loaded and executed by the processor to realize the method for presenting a position of a virtual object described in the above aspect.
[0010] According to another aspect, an embodiment of the present application provides a computer-readable storage medium having at least one program stored therein, the at least one program being loaded and executed by a processor to realize the method for presenting a position of a virtual object described in the above aspect.
[0011] According to another aspect, an embodiment of the present application provides a computer program product or a computer program, the computer program product or the computer program including computer instructions stored in a computer-readable storage medium, a processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the terminal to execute a method for presenting a position of a virtual object provided by various selectable realization methods of the above aspect.
[0012] In the embodiment of the present application, a function of marking the location of a target virtual object on a virtual environment map is provided. A user can drag a target object indicator to a designated location on the virtual environment map, and then trigger the target object indicator to send a location suggestion message related to the target virtual object to other teammates, so that other teammates can obtain the target object position where the target virtual object is located based on the location suggestion message, enriching the acquisition route of the target virtual object's location information and improving the effectiveness and accuracy of the acquired location message. In addition, when a virtual object adopts a tactic of hiding and defending, the position of the hidden virtual object can be marked in a timely manner, and the hit rate against the hidden virtual object can be improved, so that the progress of the match can be accelerated, the duration of a single round can be effectively controlled, and the processing load of the server can be reduced. [Brief description of the drawings]
[0013] [Figure 1] 1 shows a schematic diagram of an implementation environment provided by one embodiment of the present application. [Diagram 2] 1 illustrates a flowchart of a method for presenting a position of a virtual object provided by an exemplary embodiment of the present application. [Diagram 3] FIG. 2 is a schematic interface diagram of a method for presenting a position of a virtual object according to an exemplary embodiment of the present application. [Figure 4] 1 illustrates a flowchart of a method for presenting a position of a virtual object provided by another exemplary embodiment of the present application. [Diagram 5] 1 illustrates a schematic diagram of an interface for invoking and displaying an object indicator according to an exemplary embodiment of the present application; [Figure 6] 1 illustrates a flowchart of a method for presenting a position of a virtual object provided by another exemplary embodiment of the present application. [Figure 7]FIG. 1 illustrates a schematic diagram of a process of marking the position of a target virtual object according to an exemplary embodiment of the present application. [Figure 8] FIG. 13 illustrates a process schematic diagram of marking the position of a target virtual object according to another exemplary embodiment of the present application; [Figure 9] FIG. 13 illustrates a process schematic diagram of marking the position of a target virtual object according to another exemplary embodiment of the present application; [Figure 10] 1 illustrates a flowchart of a method for presenting a position of a virtual object provided by another exemplary embodiment of the present application. [Figure 11] FIG. 11 is a schematic interface diagram of a method for presenting a position of a virtual object according to another exemplary embodiment of the present application. [Figure 12] 1 illustrates a flowchart of a method for presenting a position of a virtual object provided by another exemplary embodiment of the present application. [Figure 13] 1 illustrates a flowchart of a method for presenting a position of a virtual object according to an exemplary embodiment of the present application. [Figure 14] FIG. 2 is a structural block diagram of a control device for a virtual object provided by an exemplary embodiment of the present application. [Figure 15] FIG. 2 illustrates a structural block diagram of a terminal provided by an exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] 1, a schematic diagram of an implementation environment provided by one embodiment of the present application is shown. The implementation environment may include a first terminal 110, a server 120, and a second terminal 130.
[0015] The first terminal 110 executes an application program 111 supporting a virtual environment, and the application program 111 may be a multiplayer online battle program. When the application program 111 is executed on the first terminal 110, a user interface of the application program 111 is displayed on the screen of the first terminal 110. The application program 111 may be any one of a multiplayer online battle arena (MOBA) game, a battle royale shooting game, and a simulation strategy game (SLG). In this embodiment, the application program 111 is an MOBA game. The first terminal 110 is a terminal used by a first user 112, and the first user 112 uses the first terminal 110 to control a first virtual object located in a virtual environment to move, and the first virtual object may be called a master virtual object of the first user 112. The movement of the first virtual object includes, but is not limited to, at least one of adjusting a body posture, creeping, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and activating a skill. Schematically, the first virtual object is a first virtual person, such as a simulation person or a cartoon person.
[0016] The second terminal 130 is running an application program 131 supporting a virtual environment, and the application program 131 may be a multiplayer online battle program. When the application program 131 is running on the second terminal 130, a user interface of the application program 131 is displayed on the screen of the second terminal 130. The client may be any one of a MOBA game, a battle royale shooting game, and a SLG game, and in this embodiment, the application program 131 is an MOBA game. The second terminal 130 is a terminal used by a second user 132, and the second user 132 uses the second terminal 130 to control a second virtual object located in a virtual environment to make it move, and the second virtual object may be called a master virtual character of the second user 132. Schematically, the second virtual object is, for example, a second virtual person such as a simulation person or an anime person.
[0017] Selectably, the first virtual object and the second virtual object are in the same virtual world. Selectably, the first virtual object and the second virtual object may belong to the same faction, team, organization, be friends, or have temporary communication rights. Selectably, the first virtual object and the second virtual object may belong to different factions, teams, organizations, or be enemies.
[0018] Optionally, the application programs executed on the first terminal 110 and the second terminal 130 are the same, or the application programs installed on the two terminals are the same type of application programs on different operating system platforms (Android or IOS). The first terminal 110 may refer to one of a plurality of terminals, and the second terminal 130 may refer to another of a plurality of terminals, and this embodiment will be described by taking only the first terminal 110 and the second terminal 130 as an example. The device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include at least one of a smartphone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop computer, and a desktop computer.
[0019] Although only two terminals are shown in Fig. 1, in different embodiments, there are multiple other terminals that can access the server 120. Optionally, there are one or more terminals that are terminals corresponding to developers, and an application program development and editing platform supporting a virtual environment is installed on the terminal, the developer can edit and update the application program on the terminal, and transmit the updated application program installation package to the server 120 via a wired or wireless network, and the first terminal 110 and the second terminal 130 can download the application program installation package from the server 120 to realize the update to the application program.
[0020] The first terminal 110, the second terminal 130, and other terminals are connected to the server 120 via a wireless network or a wired network.
[0021] The server 120 includes at least one of a server, a server cluster of multiple servers, a cloud computing platform, and a virtualization center. The server 120 provides back-end services for application programs supporting a 3D virtual environment. Optionally, the server 120 is responsible for main computational tasks, and the terminal is responsible for secondary computational tasks, or the server 120 is responsible for secondary computational tasks, and the terminal is responsible for main computational tasks, or a distributed computing architecture is used between the server 120 and the terminal to perform collaborative computing.
[0022] In a schematic example, the server 120 includes a memory 121, a processor 122, a user account database 123, a match service module 124, and a user-facing input / output interface (I / O interface) 125. The processor 122 loads instructions stored in the server 120 and processes data in the user account database 123 and the match service module 124. The user account database 123 stores data of user accounts used by the first terminal 110, the second terminal 130, and other terminals, such as avatars of the user accounts, nicknames of the user accounts, combat power indexes of the user accounts, and service areas in which the user accounts are located. The match service module 124 provides multiple match rooms for user matches, such as 1V1 matches, 3V3 matches, 5V5 matches, and the like. The user-facing I / O interface 125 establishes communication and exchanges data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.
[0023] 2, a flowchart of a method for presenting a position of a virtual object provided by an exemplary embodiment of the present application is shown. In this embodiment, the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment, and the method includes steps 201 to 203. Step 201: displaying a virtual environment map and an object indicator corresponding to at least one first virtual object, where the first virtual object belongs to a different faction from the controlled virtual object.
[0024] Schematically, the virtual environment map displays the global virtual environment and the player's position in the global virtual environment. For each virtual object in the friendly camp (the camp where the controlled virtual object is located), the virtual environment map displays the location of each virtual object in the friendly camp. For each virtual object in the enemy camp (the other camp opposite the friendly camp), the virtual environment map displays only the location of each virtual object within the field of view, and typically, if an enemy player is hiding in a bush, the virtual environment map does not display the location of the enemy player. Optionally, the virtual environment map further displays the attribute value (life value) of the target attribute corresponding to the virtual object and the skill status of the virtual object.
[0025] If an enemy player is hidden in bushes or in other obstructed areas where the enemy player can disappear from the field of view, the location of the enemy player is not displayed on the virtual environment map. The embodiment of the present application provides a possible embodiment of how to effectively and accurately provide the location of the enemy virtual object in such a situation, and the location of the enemy virtual object can be notified to the player's teammates by marking the object indicator of the enemy virtual object at a specified position on the virtual environment map (i.e., the location of the enemy virtual object), so that the player's teammates can know the location of the enemy virtual object in a timely manner.
[0026] In order to facilitate the user to drag the object indicator of the enemy virtual object to the virtual environment map, in a possible embodiment, after the controlled virtual object enters the match, the virtual environment map and object indicators corresponding to each first virtual object in the enemy camp can be currently displayed in the user interface, where the enemy camp is different from the camp where the controlled virtual object is located.
[0027] Optionally, the virtual environment map may not be displayed simultaneously with the object indicator. For example, an object indicator call control is displayed on the user interface, and the user can click the object indicator call control, and the terminal receives a trigger operation on the object indicator call control and displays an object indicator corresponding to at least one first virtual object on the user interface. Optionally, the virtual environment map has a zoom control, and since it is necessary to mark the object position of the first virtual object on the virtual environment map, it is generally necessary to zoom in on the virtual environment map by the zoom control, so when the user clicks the zoom control corresponding to the virtual environment map, it represents that the user needs to mark the location of the enemy player, and the virtual environment map is zoomed in and at the same time the object indicator of at least one first virtual object is displayed.
[0028] Schematically, an object mark is a mark that uniquely marks a first virtual object, and typically, the object mark may be a character avatar of the first virtual object or an object name of the first virtual object, and embodiments of the present application are not limited to object marks.
[0029] 3, a virtual environment screen 302, a virtual environment map 303, and an object indicator 304 corresponding to at least one first virtual object are displayed on a user interface 301. A zoom-out control 305 corresponding to the virtual environment map 303 is further displayed in the user interface 301 as a selectable control, and when a user clicks on the zoom-out control 305, the virtual environment map is zoomed out and at the same time the display of the object indicator 304 corresponding to the at least one first virtual object is cancelled.
[0030] Optionally, the object marker can be dragged, ie, the object marker can be dragged onto the virtual environment map and simultaneously the object marker can be dragged in the virtual environment map.
[0031] In order to facilitate the convenient dragging of object indicators onto the virtual environment map, object indicators corresponding to at least one first virtual object may be selectively displayed on the periphery of the virtual environment map, typically on the left, right, top, bottom, etc. of the virtual environment map, or displayed around the periphery of the virtual environment map, and the embodiments of the present application are not limited to the display position of the object indicators corresponding to the at least one first virtual object.
[0032] Step 202: In response to a drag operation on the target object indicator, and when an end point of the drag is located within the virtual environment map, displaying the target object indicator within the virtual environment map, where the target object indicator corresponds to the target virtual object.
[0033] In a possible embodiment, when a user needs to inform other teammates that a first virtual object (enemy virtual object) may be hiding at a certain location, the user can drag a target object indicator corresponding to the first virtual object onto the virtual environment map, and when the corresponding terminal accepts the drag operation on the target object indicator and determines that the end point of the drag is located on the virtual environment map, the target object indicator can be displayed in the virtual environment map, thereby marking the location of the target virtual object on the virtual environment map with the target object indicator, and the terminal can determine the location of the target virtual object in the virtual environment map (or the virtual environment) according to the location of the target object indicator, and further notify other teammates based on the position marked by the target object indicator, so that the teammates can timely and accurately obtain the location of a first virtual object.
[0034] Optionally, during the process of a user dragging a target object indicator to send a position suggestion message to a teammate, the user can adjust the location of the target object indicator on the virtual environment map by dragging the target object indicator multiple times, and the corresponding terminal can accept multiple drag operations and determine the position marked by the target object indicator as the target object position after the last drag operation is stopped, thereby improving the accuracy of determining the target object position.
[0035] As shown in FIG. 3, when a user needs to inform a teammate that a first virtual object is located in a real bush 1 near a red buffer, the user can accordingly drag an object indicator 304 corresponding to the first virtual object along the direction indicated by the arrow to the location of the real bush 1 in the virtual environment map 303, and accordingly, when the terminal accepts the drag operation on the object indicator 304 and the end point of the drag operation is located at the location of the real bush 1, the object indicator 304 is displayed at the location of the real bush 1.
[0036] Optionally, in the process of dragging a target object indicator onto the virtual environment map, the user can cancel the display of the target object indicator at the original display position (the periphery of the virtual environment map) of the target object indicator. Optionally, in the process of dragging, the original display position marked by the target virtual object does not need to cancel the display of the target object indicator, and the user can copy the target object indicator and drag the copied target object indicator onto the virtual environment map.
[0037] Step 203: in response to a trigger operation on a target object indicator in the virtual environment map, sending a position suggestion message to at least one second virtual object, the position suggestion message including a target object position where the target virtual object is located, the target object position is obtained by being marked by the target object indicator, and the second virtual object belongs to the same faction as the controlled virtual object.
[0038] Because the user may not be able to complete the positioning of the location of the target virtual object by one drag operation, the user may need to adjust the location of the target object indicator in the virtual environment map multiple times, and each time the drag operation is stopped, the target object position of the target virtual object must be determined according to the location of the target object indicator, and the target object position must be sent to teammates, which will result in frequent sending of obviously erroneous position suggestion messages. Therefore, in order to improve the accuracy of the timing of sending the position suggestion message, in a possible embodiment, after the user completes marking the location of the target object indicator in the virtual environment map, the user can click the target object indicator in the virtual environment map, and the corresponding terminal receives a trigger operation on the target object indicator in the virtual environment map, determines that the user has already marked the target object indicator, and sends a position suggestion message to at least one second virtual object based on the current location of the target object indicator in the virtual environment map, thereby notifying the second virtual object of the target object position where the target virtual object is located.
[0039] In response, the terminal sends a location suggestion message to the server, and the server determines a receiver of the location suggestion message according to a sender of the location suggestion message, and the receiver is a terminal where each second virtual object belonging to the same camp as the sender is located, and in response, the server sends the location suggestion message to each receiver. After the terminal corresponding to the receiver receives the location suggestion message sent by the server, it can adopt a target object indicator in the current user interface to mark the target object position, and present the location of the target virtual object.
[0040] Optionally, possible implementation manners of the terminal presenting the location of the target virtual object according to the location prompting message include displaying a target object indicator on a virtual environment map according to the target object position; displaying a target object indicator in the virtual environment according to the target object position; or displaying a location prompting message in the form of a barrage on the user interface, and typically the location prompting message may be "Grandson xx is hiding in the real bush 1".
[0041] 3, after the device held by the teammate receives the location suggestion message, the device can mark the target object location with a target object indicator 307 in the virtual environment map 306 according to the location suggestion message. Optionally, the target object location may be marked with the target object indicator 307 in the virtual environment.
[0042] As described above, the embodiment of the present application provides a function of marking the location of a target virtual object on a virtual environment map. A user can drag a target object indicator to a designated location on the virtual environment map to trigger the target object indicator, thereby sending a location suggestion message related to the target virtual object to other teammates, so that other teammates can obtain the target object position where the target virtual object is located based on the location suggestion message, enriching the acquisition route of the target virtual object's location information and improving the effectiveness and accuracy of the acquired location message. In addition, when a virtual object adopts a tactic of hiding and defending, the position of the hidden virtual object can be marked in a timely manner, improving the hit rate against the hidden virtual object, thereby speeding up the progress of the game, effectively controlling the duration of a single round, and further reducing the processing load of the server.
[0043] When the target virtual object is located outside the field of view, i.e., when the target virtual object is hidden in a place where the view is blocked (e.g., a bush) and disappears from the field of view, the location of the target virtual object needs to be marked on the virtual map and notified to teammates. Therefore, in order to improve the user's marking efficiency, in a possible embodiment, only the object indicator of the first virtual object located outside the field of view is displayed, thereby improving the selection efficiency when the user selects and drags the target object indicator.
[0044] In one illustrative example, as shown in Figure 4, a flowchart of a virtual object position presentation method provided by another illustrative embodiment of the present application is shown. This embodiment is described as an example in which the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1 or other terminals in the implementation environment, and the method includes steps 401 to 407. Step 401: determining a first virtual object located outside a viewing range, where the first virtual object outside the viewing range is invisible in the virtual environment map.
[0045] Since the position of a first virtual object located outside the field of view does not display a position on the virtual environment map, it is the first virtual object located outside the field of view that has the value of a position mark, and therefore, in a possible embodiment, before the terminal needs to display an object indicator corresponding to at least one first virtual object, it first determines whether there is a first virtual object located outside the field of view, and if so, displays an object indicator corresponding to the first virtual object, thereby informing the user of which first virtual object currently exists whose position needs to be marked, and notifying teammates.
[0046] When a user predicts or sees the hiding location of a first virtual object, he or she can notify his or her teammates by marking the location on the virtual environment map.
[0047] Step 402, display a virtual environment map and an object indicator of a first virtual object located outside the field of view.
[0048] In a possible embodiment, after the terminal determines a first virtual object located outside the field of view, it can display an object marker for the first virtual object on the periphery of the virtual environment map while displaying the virtual environment map.
[0049] Optionally, the terminal can determine the first virtual object located outside the field of view in real time to avoid reducing the power consumption of the terminal, and when the user has a need to mark the position of the virtual object, the first virtual object located outside the field of view can be determined. In a possible embodiment, when the user has a need to mark the position of the virtual object, the user can click the zoom control of the virtual environment map, and accordingly, the terminal accepts a trigger operation on the virtual environment map, determines the first virtual object located outside the field of view, and displays an object indicator corresponding to at least one of the first virtual objects.
[0050] As shown in FIG. 5, a user interface 501 displays a virtual environment screen 502, a virtual environment map 503, and a zoom control 504 corresponding to the virtual environment map 503. After a user clicks on the zoom control 504, the corresponding terminal accepts a trigger operation on the zoom control 504, and enlarges and displays the virtual environment map 503 while displaying an object indicator 505 corresponding to at least one first virtual object on the left side of the virtual environment map 503. The zoom control 504 is switched to and displayed as a zoom-out control 506.
[0051] Step 403: in response to a drag operation on the target object indicator, and when the end point of the drag is located within the virtual environment map, displaying the target object indicator within the virtual environment map, where the target object indicator corresponds to the target virtual object.
[0052] For an embodiment of this step, one can refer to step 202, and this embodiment will not be described in detail here.
[0053] Step 404: In response to a trigger operation on the target object indicator in the virtual environment map, a target object position is determined based on a location of the target object indicator in the virtual environment map.
[0054] To prevent the user from dragging the target object indicator to an accurate position and frequently sending incorrect position presentation information to other second virtual objects, and at the same time to prevent the terminal from determining the target object position in real time according to the position of the target object indicator each time the drag operation is stopped, in a possible embodiment, after receiving a trigger operation on the target object indicator in the virtual environment map, it indicates that the user's position mark on the target virtual object is completed, and the target object position is determined based on the position of the target object indicator in the virtual environment map in this case.
[0055] In addition, in order to distinguish between drag operations and trigger operations on a target object indicator and to avoid confusion, a trigger operation on a target object indicator may be a click operation, a double-click operation, a long press operation, etc. on the target object indicator, or another trigger operation different from a drag operation.
[0056] Optionally, the target object position may be a coordinate position in the virtual environment map or a coordinate position mapped to the true virtual environment, i.e., determining that the coordinate position of the target object mark in the virtual environment map is (x1, y1), and further determining the corresponding true coordinate position (x2, y2) of (x1, y1) in the true virtual environment based on the position mapping relationship between the virtual environment map and the true virtual environment.
[0057] Step 405: Send a location suggestion message to each second virtual object.
[0058] After the terminal determines the target object position of the target virtual object based on the position of the target object mark, it can send a position suggestion message to each of the other second virtual objects belonging to our team, so that all of our teammates can understand the position of the target virtual object.
[0059] Optionally, when a location presentation message needs to be sent to all second virtual objects in the team, the terminal can accordingly send the team indicator of the team and the location presentation message together to the server, so that the server can determine based on the team indicator that a location presentation message needs to be sent to the client corresponding to the second virtual object.
[0060] Step 406: filtering at least one second virtual object, and obtaining a filtered second virtual object.
[0061] Optionally, in order to reduce the processing load on the server, it may be possible to select to send the location presentation message to a portion of the second virtual objects in the player's camp, which may typically be a portion of the second virtual objects designated by the user.
[0062] Alternatively, if the target virtual object is hidden near the second virtual object, there is a possibility that the target virtual object may cause damage to the second virtual object. Therefore, depending on the position of the target object, a position presentation message may be sent to a part of the second virtual object close to the target virtual object.
[0063] In one illustrative example, step 406 may further include step 406A and step 406B.
[0064] Step 406A: determine an object distance between each second virtual object and the target virtual object based on the target object position.
[0065] In a possible embodiment, a second virtual object for which a position presentation message needs to be sent can be selected from the user's camp based on the distance relationship, and accordingly, when the terminal determines a target object position of the target virtual object, it calculates an object distance between each second virtual object and the target virtual object based on the current location of each second virtual object in the user's camp, and further selects a second virtual object from the user's camp for which a position presentation message needs to be sent based on the distance relationship.
[0066] Optionally, when the target object position determined from the terminal is the position coordinates of the target object indicator in the virtual environment map, the terminal can accordingly obtain the position coordinates of each second virtual object in the player's camp in the virtual environment map, and further calculate the object distance between each second virtual object in the virtual environment map and the target object indicator based on the position coordinates.
[0067] Optionally, when the target object position determined from the terminal is the position coordinates of the target virtual object in the true virtual environment, the terminal can accordingly obtain the position coordinates in the true virtual environment of each second virtual object in the camp, and further calculate candidate distances between each second virtual object and the target virtual object in the true virtual environment based on the position coordinates.
[0068] In step 406B, a second virtual object having an object distance smaller than a second distance threshold is determined as the second virtual object after the selection.
[0069] The second distance threshold may be set by the development team, or several selectable distance thresholds may be provided, and the second distance threshold may be selected by the user for customization. Selectably, the second distance threshold may be set as a distance threshold in the virtual environment map, for example, the second distance threshold is 2 cm, and may be set as a distance threshold in the real virtual environment, for example, the second distance threshold is 100 m.
[0070] Since it is necessary to perform position presentation for the second virtual object close to the target virtual object, in a possible embodiment, the terminal can determine the object distance between each second virtual object and the target virtual object, and then compare it with a second distance threshold, and if the object distance is smaller than the second distance threshold, it represents that the second virtual object target is close to the virtual object, and it is necessary to inform the second virtual object, and the second virtual object is determined as a virtual object that needs to send a position presentation message. Conversely, if the object distance is larger than the distance threshold, it may not be necessary to send a position presentation message to the second virtual object for a while.
[0071] Step 407: Send a location suggestion message to the second virtual object after being selected.
[0072] In a possible embodiment, after the terminal determines the second virtual object after being selected, it can send the object indicator of the second virtual object after being selected and a location presentation message together to the server, so that the server can determine the second virtual object for which the location presentation message needs to be sent based on the object indicator.
[0073] In this embodiment, when displaying the object markers of the first virtual object, only the object markers of the first virtual object located outside the field of view are displayed, and the efficiency of the user selecting and dragging the target object marker to mark can be improved. In addition, when a trigger operation for the target object marker is received, the target object position is determined based on the location of the target object marker in the virtual environment map, which can avoid an invalid position determination operation of the terminal and an invalid operation of sending a position presentation message. In addition, when sending a position presentation message, a part of the second virtual object can be selected to send the position presentation message, and it is possible to avoid increasing the processing load of the server by sending the position presentation message to all the second virtual objects.
[0074] The above embodiment directly determines the target object position of the target virtual object by the location of the target object indicator on the virtual environment map. In another possible embodiment, in order to further improve the accuracy of the position mark, a position mark control is displayed, and the user can drag the position mark control to fine-tune the position of the target virtual object to be marked.
[0075] In one illustrative example, as shown in Figure 6, a flowchart of a virtual object position presentation method provided by another illustrative embodiment of the present application is shown. This embodiment is described as an example in which the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1 or other terminals in the implementation environment, and the method includes steps 601 to 604. Step 601: displaying a virtual environment map and an object indicator corresponding to at least one first virtual object, where the first virtual object belongs to a different faction from the controlled virtual object.
[0076] For the embodiment of step 601, reference can be made to the above embodiment, and the embodiment will not be described in detail here.
[0077] Step 602, in response to a drag operation on the target object indicator, and when the end point of the drag is located within the virtual environment map, a target object indicator and a position mark control are displayed within the virtual environment map.
[0078] The position mark control includes an object pointing end and a position pointing end, the target object indicator is connected to the object pointing end, and the position pointing end indicates the target object position. Schematically, the position mark control may be in the form of a line segment, the corresponding line segment is connected to the target object indicator at one end, and the line segment indicates the target object position at the other end. Optionally, the position mark control may be a line segment with an arrow, for example, a one-way arrow or a two-way arrow, and the embodiment of the present application does not limit the shape of the position mark control.
[0079] Although the position of the target object indicator may be relatively large in the virtual environment map, because the virtual environment map is relatively small, when the target object position is determined based on the target object indicator, the determined target object position may not be accurate. Therefore, in order to further improve the accuracy of marking the target object position, in a possible embodiment, when a user drags the target object indicator on the virtual environment map, the terminal displays a position mark control connected to the target object indicator on the virtual environment map, and the user can drag the position mark control so that the position indicating end of the position mark control accurately marks the position of the target virtual object.
[0080] Schematically, for example, take the position mark control as a line segment, marking the target object position of the target virtual object at one end of the line segment, and indicating the target object position using a point corresponding to one end of the line segment is more accurate than indicating the target object position using the target object mark.
[0081] In this embodiment, when the location mark control is displayed, the user can drag the target object indicator to a position near the target virtual object and then further drag the location mark control to precisely mark the location of the target virtual object, and accordingly, the terminal accepts the drag operation on the location mark control and adjusts the position indicated by the location indication segment on the virtual environment map.
[0082] 7, a user interface 701 displays a virtual environment screen 702, a virtual environment map 703, and an object indicator 704 corresponding to at least one first virtual object. When a user drags the object indicator 704 onto the virtual environment map 703 along the direction indicated by the arrow, the terminal accepts the drag operation on the object indicator 704 and, when the end point of the drag is located on the virtual environment map 703, displays the object indicator 704 and a position mark control 705 on the virtual environment map 703. By dragging the position mark control 705, the user can change the position indicated by the position indication end of the position mark control 705.
[0083] In one illustrative example, when at least two second virtual objects are hidden at the same position, a user may drag at least two target object indicators into the virtual environment map, and when there are at least two target object indicators in the virtual environment map, it may be necessary to determine the display number of position mark controls accordingly based on the distance relationship between the at least two target object indicators; typically, the process of displaying position mark controls in the virtual environment map may include the following two situations:
[0084] 1. When there are at least two target object markers on the virtual environment map and the marker distance is less than a first distance threshold, a single location mark control is displayed, the single location mark control indicates the positions of the at least two target virtual objects, and the marker distance is at least the distance between the target object markers.
[0085] In a situation where at least two target virtual objects are hidden at the same position, when a position notification is performed to notify teammates that there are at least two target virtual objects hidden at a target position, the target object indicators of the at least two target virtual objects need to be dragged together onto the virtual environment map; therefore, in one possible embodiment, when the terminal recognizes that there are at least two target object indicators on the virtual environment map, it can determine whether the at least two target virtual objects need to be marked at the same position based on the location of each target object indicator; if they need to be marked at the same position, only a single position mark control is displayed, and the positions of the at least two target virtual objects can be indicated by the single position mark control.
[0086] Optionally, the marker distance between the target object markers may determine whether they need to be marked at the same location. In a situation where the marker distance is less than a first distance threshold, the target object markers are determined to be close, and a situation may exist where the corresponding target virtual objects are occluded at the same location, and therefore only a single location mark control may be displayed.
[0087] In one possible embodiment, when the terminal determines that the marker distance between the at least two target object markers is smaller than a first distance threshold, the at least two target object markers can be merged and displayed, and the object indication end of the single position mark control can be connected to the at least two target object markers after merging, in order to represent that the target object positions marked by the at least two target object markers are the same position. Optionally, the merged display manner may be a manner of displaying the at least two target object markers in the same box, or a manner of displaying the at least two target object markers in a special manner, such as highlighting the at least two target object markers or displaying them in the same color, and the present embodiment does not limit the merged display manner.
[0088] The first distance threshold may be set by the development team and, selectably, the first distance threshold may refer to a location in the virtual environment map, for example, the first distance threshold may be 2 mm, or may refer to a location in the true virtual environment, for example, the first distance threshold may be 1 m.
[0089] As shown in FIG. 8, when a user drags object marker 801 and object marker 802 onto a virtual environment map 803, the terminal displays a single location mark control 804 when it detects that the distance between object marker 801 and object marker 802 is less than a first distance threshold.
[0090] Second, when there are at least two target object markers on the virtual environment map and the marker distance is greater than a first distance threshold, display at least two location mark controls, where different location mark controls indicate the locations of different target virtual objects.
[0091] Optionally, when a marker distance between at least two target object markers is greater than a first distance threshold, indicating that the target virtual objects corresponding to the target object markers are not located at the same position, a position mark control is displayed for each of the different target object markers accordingly, and the different position mark controls can be further dragged to mark the locations of the different target virtual objects, with the object indication ends of the different position mark controls being connected to the different target object markers.
[0092] As shown in FIG. 9, when a user drags object marker 901 and object marker 902 onto a virtual environment map 903, if the terminal detects that the marker distance between object marker 901 and object marker 902 is greater than a first distance threshold, it displays a first position indication control 904 corresponding to object marker 901 and a second position indication control 905 corresponding to object marker 902.
[0093] In a possible embodiment, when at least two target object markers are present in the virtual environment map and the marker distances of some of the target object markers are smaller than a first distance threshold and some of the target object markers are larger than the first distance threshold, the target object markers smaller than the first distance threshold are merged and a corresponding single position indication control is displayed for the merged target object markers, but a corresponding position indication control can be displayed for the target object markers whose marker distances are larger than the first distance threshold.
[0094] Schematically, when a virtual environment map includes target object marker A, target object marker B, and target object marker C, if the marker distance between the target object marker A and the target object marker B is smaller than a first distance threshold, and the marker distance between the target object marker C and the target object marker A and the target object marker B is greater than the first distance threshold, the target object marker A and the target object marker B are displayed together, and a corresponding single position indication control A is displayed, and a corresponding position indication control B is displayed for the target marker object C.
[0095] Step 603: In response to a trigger operation on a target object indicator in the virtual environment map, a target object position is determined based on a position indicated by a position mark control corresponding to the target object indicator.
[0096] In a possible embodiment, when a trigger operation on a target object indicator in the virtual environment map is accepted, it indicates that the user has already adjusted the position of the position mark control, and the target object position can be determined based on the position indicated by the position mark control corresponding to the target object indicator. Since the position indication end of the position mark control is for indicating the target object position, when determining the target object position, if the position corresponding to the position indication end of the position mark control is obtained, the target object position can be determined based on that position.
[0097] Schematically, if the corresponding position coordinates in the virtual environment map of the position indication end are (x3, y3), then the position coordinates (x3, y3) may be directly determined as the target object position, or the position coordinates (x3, y3) may be mapped to the real virtual environment to obtain the position coordinates (x4, y4), and the position coordinates (x4, y4) may be determined as the target object position.
[0098] Step 604, sending a location suggestion message to at least one second virtual object.
[0099] For the embodiment of step 604, reference can be made to the above embodiment, and the embodiment will not be described in detail here.
[0100] In this embodiment, the location of the target virtual object is marked by the position pointing end of the position mark control, and since the position pointing end can mark the pixel point position accurately, the target object position determined based on the position pointing end can be accurate to a single point on the virtual environment map, thereby improving the accuracy of determining the target object position.
[0101] All of the above embodiments provide exemplary explanations of methods for presenting the location of a virtual object using the sender of a location presentation message as an example, and this embodiment provides an exemplary explanation of a process in which a terminal receives a location presentation message transmitted from another second virtual object and then presents its location based on the location presentation message.
[0102] 10, a flowchart of a method for presenting a position of a virtual object provided by another exemplary embodiment of the present application is shown. In this embodiment, the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment, and the method includes steps 1001 to 1003. Step 1001: receiving a position suggestion message transmitted from a second virtual object.
[0103] In addition, the second virtual object is a virtual object belonging to the same camp as the controlled virtual object, and in a possible embodiment, after a teammate marks the location of a target virtual object on the virtual environment map, the second virtual object sends a location indication message to another second virtual object in the team, and in response, receives a location indication message sent from the second virtual object.
[0104] Schematically, the location suggestion message may include an object indicator of the target virtual object and a target object position. Optionally, the location suggestion message may further include a sender of the location suggestion message.
[0105] Step 1002: based on the position suggestion message, display a target object position where the target virtual object is located, and the display manner includes at least one of displaying in a virtual environment map, displaying in the virtual environment, and displaying a notification message.
[0106] In order to more accurately inform the user that the target virtual object at the target object position is hidden, in a possible embodiment, after the terminal receives the position suggestion message, it may display a target object indicator at the target object position in the virtual environment map, or may display a target object indicator at the target object position in the real virtual environment, or may display a notification message on the upper layer of the current user interface, thereby informing the user of the target object position where the target virtual object is located.
[0107] The above three display methods may be displayed simultaneously, or one or two may be selected for display, and the embodiment of the present application is not limited thereto.
[0108] Selectably, when a target object position is indicated in the virtual environment map and the true virtual environment, both can be indicated by a target object indicator. Selectably, a target object indicator can be displayed at the corresponding target object position in the virtual environment map and the true virtual environment, respectively, or a target object indicator having a position indicating control can be displayed, with the position indicating end pointing to the target object position.
[0109] When a target object indicator is selectably displayed at the target object position, the target object indicator can be marked in an eye-catching color to prevent the user from missing the presentation; for example, when marking the target object position with a target object indicator, a position mark control can be displayed, which connects the target object indicator and the indicated target object position; typically, the color of the position mark control can be an eye-catching color, such as red or yellow, or the target object indicator can be displayed by flashing to notify the user.
[0110] 11, a user interface 1101 displays a virtual environment screen 1102, a virtual environment map 1103, and an object indicator 1104 corresponding to at least one first virtual object. When a user drags the object indicator 1104 onto the virtual environment map 1103 along the direction indicated by the arrow, the terminal accepts the drag operation on the object indicator 1104 and, when the end point of the drag is located on the virtual environment map 1103, displays the object indicator 1104 and a position mark control 1105 on the virtual environment map 1103. When a user clicks on an object indicator 1104 on the virtual environment map 1103, a location suggestion message can be sent to the device held by the teammate, and accordingly, after receiving the location suggestion message, the device held by the teammate can mark the location of the target virtual object at the target object position on the virtual environment screen using the target object indicator 1107 and the location mark control 1108, or can mark the location of the target object in the virtual environment map 1106 using the target object indicator 1107 and the location mark control 1108, or can display a notification message 1109 in the current user interface.
[0111] Optionally, due to the limited display screen of the terminal, after the terminal receives the position suggestion message, the target object position in the position suggestion message may not be in the currently displayed virtual environment screen, and even if the target object position is marked in the virtual environment, the notification effect of the position message cannot be achieved; therefore, in a possible embodiment, when it is determined that the target object position is located in the virtual environment screen, the target object position where the target virtual object is located is correspondingly displayed in the virtual environment, that is, the target object position is marked in the virtual environment by a target object indicator. Conversely, if the target object position is not in the virtual environment screen, there is no need to display the target object position where the target virtual object is located in the virtual environment.
[0112] Step 1003: When the target virtual object is located within the field of view, cancel the display of the target object position.
[0113] The target object position is notified because the target virtual object is located outside the field of view. If the target virtual object appears within the field of view, there is no need to display the target object position.
[0114] Optionally, a situation may exist in which the target object location is erroneously marked, and the display of the target object indicator may be cancelled after it is determined that the target object appears within the field of view to avoid erroneously indicating the target object location.
[0115] In this embodiment, after the terminal receives a position suggestion message sent from another teammate, it can display a virtual environment map, the location of the target virtual object in the virtual environment, or display a notification message in the user interface, so as to inform the user in a timely manner that the target virtual object may be hidden at the target object position.
[0116] By combining the above embodiments, in one illustrative example, the flow of the originator of the position presentation of a virtual object is as shown in FIG. 12, which includes steps 1201 to 1204. Step 1201 displays a minimap and at least one enemy character avatar.
[0117] The minimap is the virtual environment map in the above embodiment, and the enemy character avatar is the object indicator of the first virtual object.
[0118] Step 1202: Drag the enemy character avatar to a specified position on the minimap.
[0119] When a user needs to mark the location of an enemy virtual object on the minimap, the user can drag the enemy character avatar to a specified location on the minimap, which may be the location of the enemy virtual object or may be near the location of the enemy virtual object, and the location mark control connected to the enemy character avatar indicates the location of the enemy virtual object.
[0120] Step 1203: receiving a click operation on the enemy character avatar, and sending a position message to the teammate;
[0121] After the user has completed marking the location of the enemy virtual object, the enemy character avatar on the minimap can be clicked, and the terminal receives the click operation on the enemy character avatar on the minimap and transmits a position message to a teammate based on the position of the indicated enemy virtual object.
[0122] Step 1204: the client sends the marked positions of the enemy character avatar and the enemy virtual object to the service end.
[0123] The corresponding client sends the marked positions (i.e., position indication messages) of the enemy character avatar and enemy virtual object to the server, so that the server can forward the position indication messages to other second virtual objects in the friendly camp.
[0124] Accordingly, the flow on the receiving side for presenting the position of a virtual object is as shown in FIG. Step 1301: A location suggestion message is received.
[0125] The terminal receives a position presentation message transmitted from another second virtual object, and the position presentation message includes an enemy virtual object indicator (eg, a character avatar or a character name) and a target object position.
[0126] Step 1302: The enemy character avatar is flashed at the target position on the minimap.
[0127] In the process of presenting a position based on the position presenting message, the position (target position) of the enemy virtual object can be marked on the minimap by an enemy character avatar.
[0128] In step 1303, the enemy character avatar is flashed at the target position on the large map.
[0129] Optionally, the location of the enemy virtual object may be marked by an enemy character avatar at the target object's location in the large map (virtual environment).
[0130] In step 1304, a barrage of bullets is popped up to indicate that an enemy virtual object is hiding at the target position.
[0131] Optionally, a barrage of bullets including a location-indicating message may be displayed in the current user interface to inform the user of the hiding location of an enemy player.
[0132] FIG. 14 is a structural block diagram of a control device for a virtual object provided by an exemplary embodiment of the present application, the device including: A display module 1401 for displaying a virtual environment map and an object indicator corresponding to at least one first virtual object, the first virtual object belonging to a different faction than the controlled virtual object; The display module 1401 further comprises: in response to a drag operation on a target object indicator and when an end point of the drag is located within the virtual environment map, displaying the target object indicator within the virtual environment map, the target object indicator corresponding to a target virtual object; and a transmitting module 1402 for transmitting a location suggestion message to at least one second virtual object in response to a trigger operation on the target object indicator in the virtual environment map, the location suggestion message including a target object location where the target virtual object is located, the target object location being obtained by being marked by the target object indicator, and the second virtual object belonging to the same faction as the controlled virtual object.
[0133] Optionally, the transmitting module 1402 further comprises: determining a target object position based on a location of the target object indicator in the virtual environment map in response to a trigger operation on the target object indicator in the virtual environment map; The location presentation message is transmitted to at least one of the second virtual objects.
[0134] Optionally, the transmitting module 1402 further comprises: In response to a trigger operation on the target object indicator in the virtual environment map, determine a target object position based on a position indicated by a position mark control corresponding to the target object indicator, the position mark control including an object indication end and a position indication end, the target object indicator being connected to the object indication end, and the position indication end indicating the target object position; The location presentation message is transmitted to at least one of the second virtual objects.
[0135] Optionally, the display module 1401 further includes: displaying the target object indicator and the place mark control within the virtual environment map; The apparatus further comprises: The position mark control includes a dragging module for adjusting a position indicated by the position indicating edge on the virtual environment map in response to a dragging operation on the position mark control.
[0136] Selectable, The display module 1401 further includes: when at least two of the target object markers are present in the virtual environment map and a marker distance is less than a first distance threshold, displaying a single location mark control, the single location mark control indicating a location of the at least two target virtual objects, the marker distance being a distance between the at least two of the target object markers; When at least two of the target object markers are present in the virtual environment map and the marker distance is greater than the first distance threshold, at least two of the location mark controls are displayed, with different location mark controls indicating locations of different target virtual objects.
[0137] Optionally, the display module 1401 further includes: determining a first virtual object located outside a field of view, the first virtual object outside the field of view being invisible in the virtual environment map; The virtual environment map and an object marker for a first virtual object located outside the field of view are displayed.
[0138] Optionally, the transmitting module 1402 further comprises: Sending the location presentation message to each of the second virtual objects; or Selecting at least one of the second virtual objects and acquiring the selected second virtual object; The position presentation message is transmitted to the selected second virtual object.
[0139] Optionally, the transmitting module 1402 further comprises: determining an object distance between each of the second virtual objects and the target virtual object based on the target object position; A second virtual object whose object distance is smaller than a second distance threshold is determined as the second virtual object after the selection.
[0140] Optionally, the display module 1401 further includes: In response to a trigger operation on the virtual environment map, an object indicator corresponding to at least one of the first virtual objects is displayed.
[0141] Optionally, the apparatus further comprises: a receiving module for receiving the position presentation message transmitted from the second virtual object; The display module 1401 further displays a target object position where the target virtual object is located based on the position presentation message, and the display manner includes at least one of displaying on the virtual environment map, displaying in the virtual environment, and displaying a notification message.
[0142] Optionally, the display module 1401 further includes: When the target object position is located on a virtual environment screen, the target object position where the target virtual object is located is displayed in the virtual environment.
[0143] Optionally, the apparatus further comprises: and a display cancel module for canceling the display of the target object position when the target virtual object is located within a viewing range.
[0144] As described above, the embodiment of the present application provides a function of marking the location of a target virtual object on a virtual environment map. A user can drag a target object indicator to a specified location on the virtual environment map, and then trigger the target object indicator to send a location suggestion message related to the target virtual object to other teammates, so that other teammates can obtain the target object position where the target virtual object is located based on the location suggestion message, enriching the route for obtaining the location information of the target virtual object and improving the effectiveness and accuracy of the obtained location message. In addition, when a virtual object adopts a tactic of hiding and defending, the location of the hidden virtual object can be marked in a timely manner, and the hit rate against the hidden virtual object can be improved, so that the progress of the game can be accelerated, the duration of a single round can be effectively controlled, and the processing load of the server can be reduced.
[0145] Referring to Figure 15, a structural block diagram of a terminal 1500 provided by one exemplary embodiment of the present application is shown. The terminal 1500 may be a portable mobile terminal, such as a smartphone, a tablet computer, an MP3 player, an MP4 player, etc. The terminal 1500 may also be called a user equipment, a portable terminal, or other names.
[0146] Generally, the terminal 1500 includes a processor 1501 and a memory 1502 .
[0147] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 may be implemented using at least one hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1501 may include a main processor and a coprocessor, where the main processor is a processor for processing data in a wake state, also called a central processing unit (CPU), and the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1501 may integrate a graphics processing unit (GPU), where the GPU is responsible for rendering and drawing content that needs to be displayed on a display screen. In some embodiments, the processor 1501 may further include an artificial intelligence (AI) processor, where the AI processor is for processing computational operations related to machine learning.
[0148] The memory 1502 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1502 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash storage devices, etc. In some embodiments, the non-transitory computer-readable storage medium in the memory 1502 is for storing at least one instruction, which is executed by the processor 1501 to realize the virtual object control method provided by the embodiments of the present application.
[0149] As will be appreciated by those skilled in the art, the structure shown in FIG. 15 is not intended to limit terminal 1500 and may include more or fewer components than shown, combine some components, or employ different components in an arrangement.
[0150] An embodiment of the present application further provides a computer-readable storage medium having at least one program stored therein, the at least one program being loaded and executed by a processor to realize the method for presenting the position of a virtual object described in each of the embodiments above.
[0151] According to one aspect of the present application, there is provided a computer program product or a computer program, the computer program product or the computer program including computer instructions stored in a computer-readable storage medium, a processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the terminal to execute a method for presenting a position of a virtual object provided by various selectable realization methods of the above aspect. [Explanation of symbols]
[0152] 110 Terminal 1 111 Application Program 112 First User 120 Servers 121 Memory 122 processors 123 User Account Database 124 Battle Service Module 125 Input / Output Interface (I / O Interface) 125 I / O Interfaces 130 Terminal 2 131 Application Programs 132 Second User 301 User Interface 302 Virtual Environment Screen 303 Virtual Environment Map 304 Object Indicator 305 Shrink Control 306 Virtual Environment Map 307 Target Object Indicator 501 User Interface 502 Virtual environment screen 503 Virtual Environment Map 504 Magnification Control 505 Object Indicator 506 Shrink Control 701 User Interface 702 Virtual Environment Screen 703 Virtual Environment Map 704 Object Indicator 705 Position Mark Control 801 Object Indicator 802 Object Indicator 803 Virtual Environment Map 804 Position Mark Control 901 Object Indicator 902 Object Indicator 903 Virtual Environment Map 904 1st Position Indicating Control 905 Second Position Indication Control 1101 User Interface 1102 Virtual environment screen 1103 Virtual Environment Map 1104 Object Indicator 1105 Position Mark Control 1106 Virtual Environment Map 1107 Target Object Indicator 1108 Position Mark Control 1108 Position Indicator Control 1109 Notification Message 1401 Display module 1402 Transmitting Module 1500 terminals 1501 Processor 1502 Memory
Claims
1. A method for presenting a position of a virtual object, which is executed by a terminal, comprising: displaying a virtual environment map and an object indicator corresponding to at least one first virtual object separately from the virtual environment map, the first virtual object belonging to a different faction than a controlled virtual object; a step of displaying the target object sign in the virtual environment map in response to a drag operation on a target object sign and when an end point of the drag is located within the virtual environment map, the target object sign corresponding to a target virtual object that is a target among the first virtual objects, and a position at which the target object sign is displayed is a position where a user operating the controlled virtual object determines that the target virtual object is located; a step of transmitting a position presentation message to a user operating at least one second virtual object in response to a trigger operation on the target object indicator in the virtual environment map, the position presentation message including a target object position marked by the target object indicator based on a determination made by the user operating the controlled virtual object that the target virtual object is located, and the second virtual object belongs to the same faction as the controlled virtual object; A method comprising:
2. The step of transmitting a location presentation message to a user operating at least one second virtual object in response to a trigger operation on the target object indicator in the virtual environment map includes: determining a target object position based on a location of the target object indicator in the virtual environment map in response to a trigger operation on the target object indicator in the virtual environment map; and transmitting the location presentation message to a user manipulating at least one of the second virtual objects.
2. The method of claim 1 .
3. The step of transmitting a location presentation message to a user operating at least one second virtual object in response to a trigger operation on the target object indicator in the virtual environment map includes: determining a target object position based on a position indicated by a position mark control corresponding to the target object mark in response to a trigger operation on the target object mark in the virtual environment map, the position mark control including an object indication end and a position indication end, the target object mark being connected to the object indication end, and the position indication end being for indicating the target object position; and transmitting the location presentation message to a user manipulating at least one of the second virtual objects.
2. The method of claim 1 .
4. The step of displaying the target object indicator within the virtual environment map includes: displaying the target object indicator and the place mark control within the virtual environment map; After the step of displaying the target object indicator within the virtual environment map, the method further comprises: adjusting a position indicated by the position indication end on the virtual environment map in response to a drag operation on the position mark control; 4. The method according to claim 3 .
5. The step of displaying the target object indicator and the place mark control within the virtual environment map comprises: if at least two of the target object markers are present in the virtual environment map and a marker distance is less than a first distance threshold, displaying a single location mark control, the single location mark control indicating locations of at least two target virtual objects, the marker distance being a distance between the target object markers; and if at least two of the target object markers are present in the virtual environment map and the marker distance is greater than the first distance threshold, displaying at least two of the location mark controls, different location mark controls indicating locations of different target virtual objects.
5. The method of claim 4.
6. The step of displaying a virtual environment map and an object indicator corresponding to at least one first virtual object includes: determining a first virtual object located outside a field of view, the first virtual object being invisible in the virtual environment map; displaying the virtual environment map and an object indicator of a first virtual object located outside the field of view.
2. The method of claim 1 .
7. The step of transmitting a location presentation message to at least one second virtual object includes: transmitting the position presentation message to a user who operates each of the second virtual objects; or selecting at least one second virtual object to obtain a selected second virtual object; and transmitting the position presentation message to a user who operates the selected second virtual object.
2. The method of claim 1 .
8. The step of selecting at least one second virtual object and obtaining a selected second virtual object includes: determining an object distance between each of the second virtual objects and the target virtual object based on the target object position; determining a second virtual object having the object distance smaller than a second distance threshold as the selected second virtual object, 8. The method of claim 7.
9. The step of displaying a virtual environment map and an object indicator corresponding to at least one first virtual object includes: displaying an object indicator corresponding to at least one of the first virtual objects in response to a trigger operation on the virtual environment map.
2. The method of claim 1 .
10. The method further comprises: receiving the position presentation message transmitted from the second virtual object; A step of displaying a target object position where the target virtual object is located based on the position presentation message, the display method including at least one of displaying in the virtual environment map, displaying in the virtual environment, and displaying a notification message.
2. The method of claim 1 .
11. The step of displaying a target object position where the target virtual object is located based on the position presentation message includes: If the target object position is located on a virtual environment screen, displaying the target object position where the target virtual object is located in the virtual environment.
11. The method of claim 10.
12. After the step of displaying a target object position where the target virtual object is located based on the position presentation message, the method further includes: In a situation where the target virtual object is located within a visual range, canceling the display of the target object position, 10. The method of claim 9.
13. A virtual object position presentation device, a display module for displaying a virtual environment map and an object indicator corresponding to at least one first virtual object separately from the virtual environment map, the first virtual object belonging to a different faction than a controlled virtual object; the display module further displays the target object indicator in the virtual environment map in response to a drag operation on a target object indicator and when an end point of the drag is located within the virtual environment map, the target object indicator corresponds to a target virtual object that is a target among the first virtual objects, and a position at which the target object indicator is displayed is a position where a user operating the controlled virtual object determines that the target virtual object is located; a transmission module for transmitting a position presentation message to a user operating at least one second virtual object in response to a trigger operation on the target object indicator in the virtual environment map, the position presentation message including a target object position marked by the target object indicator by a user operating the controlled virtual object where the target virtual object is determined to be located, the second virtual object including the transmission module belonging to the same camp as the controlled virtual object; An apparatus comprising:
14. The transmission module further comprises: determining a target object position based on a location of the target object indicator in the virtual environment map in response to a trigger operation on the target object indicator in the virtual environment map; sending the location presentation message to a user who is manipulating at least one of the second virtual objects; 14. The apparatus of claim 13.
15. The transmission module further comprises: In response to a trigger operation on the target object indicator in the virtual environment map, determine a target object position based on a position indicated by a position mark control corresponding to the target object indicator, the position mark control including an object indication end and a position indication end, the target object indicator being connected to the object indication end, and the position indication end being for indicating the target object position; sending the location presentation message to a user who is manipulating at least one of the second virtual objects; 14. The apparatus of claim 13.
16. The display module further comprises: displaying the target object indicator and the place mark control within the virtual environment map; The apparatus further comprises: an adjustment module for adjusting a position indicated by the position indication end on the virtual environment map in response to a drag operation on the position mark control; 16. The apparatus of claim 15.
17. The display module further comprises: when at least two of the target object markers are present in the virtual environment map and a marker distance is less than a first distance threshold, displaying a single location mark control, the single location mark control indicating a location of the at least two target virtual objects, the marker distance being a distance between the at least two of the target object markers; when at least two of the target object markers are present in the virtual environment map and the marker distance is greater than the first distance threshold, displaying at least two of the location mark controls, different location mark controls indicating locations of different target virtual objects; 17. The apparatus of claim 16.
18. A terminal including a processor and a memory, wherein at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to realize the method for presenting a position of a virtual object according to any one of claims 1 to 12. A terminal characterized by:
19. A computer program, the computer program including computer instructions stored in a computer-readable storage medium, a processor of a computer device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions to realize the method for presenting a position of a virtual object according to any one of claims 1 to 12. A computer program comprising:
Citation Information
Patent Citations
Information prompt method and device, electronic equipment and storage medium
CN107992252A
Reminding information method and device for multi-person online battle program, and terminal
CN110368691A
Skill aiming method and device in three-dimensional virtual environment, terminal and storage medium
CN111282266A
In-game information processing method and device and terminal
CN112346636A
Signal display method and device based on virtual environment, equipment and medium
CN112402962A