WO2022252927A1 - 虚拟对象的位置提示方法、装置、终端及存储介质 - Google Patents

虚拟对象的位置提示方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2022252927A1
WO2022252927A1 PCT/CN2022/091765 CN2022091765W WO2022252927A1 WO 2022252927 A1 WO2022252927 A1 WO 2022252927A1 CN 2022091765 W CN2022091765 W CN 2022091765W WO 2022252927 A1 WO2022252927 A1 WO 2022252927A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
target
target object
environment map
virtual environment
Prior art date
Application number
PCT/CN2022/091765
Other languages
English (en)
French (fr)
Inventor
练建锋
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to JP2023559103A priority Critical patent/JP2024514775A/ja
Priority to KR1020237028424A priority patent/KR20230134566A/ko
Publication of WO2022252927A1 publication Critical patent/WO2022252927A1/zh
Priority to US18/314,379 priority patent/US20230321539A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/87Communicating with other players during game play, e.g. by e-mail or chat
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5372Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5375Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for graphically or textually suggesting an action, e.g. by displaying an arrow indicating a turn in a driving game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5378Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for displaying an additional top view, e.g. radar screens or maps
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Definitions

  • the embodiments of the present application relate to the technical field of human-computer interaction, and in particular, to a method, device, terminal and storage medium for prompting a position of a virtual object.
  • a small map is provided to display the player's location and the global environment.
  • the user when the user needs to remind teammates that there is an enemy player hidden at a certain location, the user can click on the location of the enemy player on the mini-map to trigger a reminder barrage to remind teammates to pay attention to the surrounding environment.
  • Embodiments of the present application provide a method, device, terminal, and storage medium for prompting a position of a virtual object. Described technical scheme is as follows:
  • an embodiment of the present application provides a method for prompting a position of a virtual object, the method is executed by a terminal, and the method includes:
  • the embodiment of the present application provides a device for prompting the position of a virtual object, and the device includes:
  • a display module configured to display a virtual environment map and an object identifier corresponding to at least one first virtual object, where the first virtual object and the controlled virtual object belong to different camps;
  • the display module is further configured to display the target object identifier in the virtual environment map in response to a drag operation on the target object identifier, and the dragging end point is located in the virtual environment map, and the target object identifier corresponding to the target virtual object;
  • a sending module configured to send a position prompt message to at least one second virtual object in response to a trigger operation on the target object identifier in the virtual environment map, where the position prompt message includes the target where the target virtual object is located
  • the object position, the target object position is obtained by the target object identification mark, and the second virtual object belongs to the same camp as the controlled virtual object.
  • an embodiment of the present application provides a terminal, the terminal includes a processor and a memory, at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the above-mentioned The method for prompting the position of a virtual object described in the aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where at least one program is stored in the computer-readable storage medium, and the at least one program is loaded and executed by a processor to implement the above-mentioned The position hint method of the virtual object.
  • an embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the terminal reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the terminal executes the method for prompting the position of the virtual object provided in various optional implementation manners of the above aspect.
  • a function of marking the position of the target virtual object in the virtual environment map is provided.
  • the user can drag the target object identifier to a specified position in the virtual environment map, and then trigger the target object identifier to send a location prompt message related to the target virtual object to other teammates, so that other teammates can obtain the target virtual object based on the location prompt message
  • the location of the target object enriches the way to obtain the location information of the target virtual object, and at the same time improves the effectiveness and accuracy of the obtained location information; in addition, when the virtual object adopts a hidden squatting strategy, the hidden virtual object can be marked in time position, thereby improving the hit rate of hidden virtual objects, thereby speeding up the game process, and effectively controlling the duration of a single game, thereby reducing the processing pressure on the server.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application
  • Fig. 2 shows a flow chart of a method for prompting the position of a virtual object provided by an exemplary embodiment of the present application
  • Fig. 3 is a schematic interface diagram of a method for prompting the position of a virtual object shown in an exemplary embodiment of the present application
  • Fig. 4 shows a flow chart of a method for prompting the position of a virtual object provided by another exemplary embodiment of the present application
  • Fig. 5 shows a schematic diagram of an interface of calling out and displaying object identifiers according to an exemplary embodiment of the present application
  • Fig. 6 shows a flow chart of a method for prompting the position of a virtual object provided by another exemplary embodiment of the present application
  • Fig. 7 shows a schematic diagram of the process of marking the position of a target virtual object according to an exemplary embodiment of the present application
  • Fig. 8 shows a schematic diagram of the process of marking the position of a target virtual object according to another exemplary embodiment of the present application
  • Fig. 9 shows a schematic diagram of the process of marking the position of a target virtual object according to another exemplary embodiment of the present application.
  • Fig. 10 shows a flow chart of a method for prompting the position of a virtual object provided by another exemplary embodiment of the present application
  • Fig. 11 is a schematic interface diagram of a method for prompting a position of a virtual object according to another exemplary embodiment of the present application.
  • Fig. 12 shows a flow chart of a method for prompting the position of a virtual object provided by another exemplary embodiment of the present application
  • Fig. 13 shows a flow chart of a method for prompting the position of a virtual object according to an exemplary embodiment of the present application
  • Fig. 14 is a structural block diagram of a virtual object control device provided by an exemplary embodiment of the present application.
  • Fig. 15 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • the implementation environment may include: a first terminal 110 , a server 120 and a second terminal 130 .
  • An application program 111 supporting a virtual environment runs in the first terminal 110, and the application program 111 may be a multiplayer online battle program.
  • the application program 111 may be any one of a multiplayer online battle arena (Multiplayer Online Battle Arena, MOBA) game, a battle royale shooting game, and a simulation strategy game (Simulation Game, SLG).
  • the application program 111 is a MOBA game as an example.
  • the first terminal 110 is the terminal used by the first user 112.
  • the first user 112 uses the first terminal 110 to control the first virtual object located in the virtual environment to carry out activities.
  • the first virtual object can be called the master virtual object of the first user 112.
  • the activities of the first virtual object include but are not limited to: at least one of adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and releasing skills.
  • the first virtual object is a first virtual character, such as a simulated character or an anime character.
  • An application program 131 supporting a virtual environment runs in the second terminal 130, and the application program 131 may be a multiplayer online battle program.
  • the user interface of the application program 131 is displayed on the screen of the second terminal 130 .
  • the client can be any one of MOBA games, battle royale shooting games, and SLG games.
  • the application program 131 is a MOBA game as an example for illustration.
  • the second terminal 130 is the terminal used by the second user 132.
  • the second user 132 uses the second terminal 130 to control the second virtual object located in the virtual environment to carry out activities.
  • the second virtual object can be called the master virtual object of the second user 132.
  • Role Schematically, the second virtual object is a second virtual character, such as a simulated character or an anime character.
  • the first virtual object and the second virtual object are in the same virtual world.
  • the first virtual object and the second virtual object may belong to the same camp, the same team, the same organization, have a friendship relationship, or have temporary communication rights.
  • the first virtual object and the second virtual object may belong to different camps, different teams, different organizations or have a hostile relationship.
  • the applications running on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms (Android or IOS).
  • the first terminal 110 may generally refer to one of the multiple terminals, and the second terminal 130 may generally refer to the other of the multiple terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as an example for illustration.
  • the device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include: smart phones, tablet computers, e-book readers, moving picture experts compress standard audio layer 3 (Moving Picture Experts Group Audio Layer III, MP3 ) player, moving picture experts compressed standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP4) player, laptop portable computer and desktop computer at least one.
  • the device types include: smart phones, tablet computers, e-book readers, moving picture experts compress standard audio layer 3 (Moving Picture Experts Group Audio Layer III, MP3 ) player, moving picture experts compressed standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP4) player, laptop portable computer and desktop computer at least one.
  • terminals Only two terminals are shown in FIG. 1 , but there are many other terminals that can access the server 120 in different embodiments.
  • terminals there are also one or more terminals corresponding to the developer, on which a development and editing platform supporting a virtual environment application program is installed, and the developer can edit and update the application program on the terminal , and transmit the updated application installation package to the server 120 through a wired or wireless network, and the first terminal 110 and the second terminal 130 can download the application installation package from the server 120 to update the application.
  • the first terminal 110, the second terminal 130 and other terminals are connected to the server 120 through a wireless network or a wired network.
  • the server 120 includes at least one of a server, a server cluster composed of multiple servers, a cloud computing platform, and a virtualization center.
  • the server 120 is used to provide background services for applications supporting 3D virtual environments.
  • the server 120 undertakes the main calculation work, and the terminal undertakes the secondary calculation work; or, the server 120 undertakes the secondary calculation work, and the terminal undertakes the main calculation work; or, the server 120 and the terminal adopt a distributed computing architecture for collaborative computing .
  • the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-oriented input/output interface (Input/Output Interface, I/O interface) 125.
  • the processor 122 is used to load the instructions stored in the server 120, and process the data in the user account database 123 and the battle service module 124; the user account database 123 is used to store the first terminal 110, the second terminal 130 and other terminals.
  • the data of the user account such as the avatar of the user account, the nickname of the user account, the combat power index of the user account, and the service area where the user account is located;
  • the battle service module 124 is used to provide multiple battle rooms for the user to fight, such as 1V1 battle, 3V3 battle, 5V5 battle, etc.;
  • the user-oriented I/O interface 125 is used to establish communication and exchange data with the first terminal 110 and/or the second terminal 130 through a wireless network or a wired network.
  • FIG. 2 shows a flowchart of a method for prompting a position of a virtual object provided by an exemplary embodiment of the present application.
  • the method is described by using the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example.
  • the method includes the following steps:
  • Step 201 displaying a virtual environment map and an object identifier corresponding to at least one first virtual object, where the first virtual object and the controlled virtual object belong to different camps.
  • the virtual environment map is used to display the global virtual environment and the player's position in the global virtual environment.
  • the virtual environment map shows the location of each virtual object in the friendly camp; for the enemy camp (other camps opposite to the friendly camp) ), the virtual environment map only shows the location of each virtual object in the field of view.
  • the virtual environment map displays the attribute value (life value) corresponding to the target attribute of the virtual object, and the skill status of the virtual object.
  • the virtual environment map also does not display the location of the enemy player.
  • This embodiment of the application is aimed at this situation.
  • how to effectively and accurately provide the location of the enemy virtual object provides a possible implementation, by marking the object identification of the enemy virtual object at the specified position in the virtual environment map (that is, the enemy virtual object location), so that the location of the enemy virtual object can be notified to the teammate of the own team, so that the teammate of the team can know the location of the virtual object of the enemy in time.
  • the virtual environment map can be displayed in the current user interface, and The object identifier corresponding to each first virtual object in the enemy camp, where the enemy camp is different from the camp where the accused virtual object is located.
  • the virtual environment map may not be displayed simultaneously with the object identification.
  • the user can click the object identifier callout control, the terminal receives a trigger operation on the object identifier callout control, and displays at least one object identifier corresponding to the first virtual object in the user interface .
  • the virtual environment map has a magnification control. Since the object position of the first virtual object needs to be marked in the virtual environment map, it is generally necessary to enlarge the virtual environment map through the magnification control.
  • the object identifier is an identifier that uniquely identifies the first virtual object.
  • the object identifier may be the character avatar of the first virtual object, or the object name of the first virtual object.
  • the logo does not constitute a limitation.
  • a virtual environment screen 302 , a virtual environment map 303 , and an object identifier 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 also displayed on the user interface 301. If the user clicks the zoom-out control 305, the virtual environment map can be zoomed out, and at the same time, the object identification 304 corresponding to at least one first virtual object can be canceled.
  • the object identifier can be dragged, that is, the object identifier can be dragged into the virtual environment map, and the object identifier can also be dragged in the virtual environment map at the same time.
  • the object identifier corresponding to at least one first virtual object may be displayed around the virtual environment map, for example, displayed on the left, right, and On the upper side, on the lower side, etc., or around the virtual environment map, the embodiment of the present application does not limit the display position of the object identifier corresponding to the at least one first virtual object.
  • Step 202 in response to a drag operation on the target object mark, and the dragging end point is located in the virtual environment map, display the target object mark in the virtual environment map, where the target object mark corresponds to the target virtual object.
  • the target object identifier corresponding to the first virtual object can be dragged to the virtual environment map , the corresponding terminal receives a drag operation on the target object identifier, and determines that the dragging end point is located in the virtual environment map, and can display the target object identifier in the virtual environment map, so that the target virtual object can be marked by the target object identifier in the virtual environment.
  • the location in the map enables the terminal to determine the location of the target virtual object in the virtual environment map (or virtual environment) according to the location of the target object identifier, and then notify other teammates based on the location marked by the target object identifier, This enables teammates to obtain the location of a certain first virtual object in a timely and accurate manner.
  • the user can drag the target object identifier multiple times to adjust the position of the target object identifier in the virtual environment map, and the corresponding terminal can After multiple drag operations are received and the last drag operation is stopped, the position marked by the target object identifier is determined as the position of the target object, thereby improving the accuracy of determining the position of the target object.
  • the user can mark 304 the object corresponding to the first virtual object to the virtual environment map 303 in the direction indicated by the arrow.
  • the terminal receives a drag operation on the object identifier 304 and the end point of the drag operation is located at the location of the real grass 1, the object identifier 304 is displayed at the location of the real grass 1.
  • the target object logo when the user drags the target object logo to the virtual environment map, the target object logo can be canceled at the original display position of the target object logo (around the virtual environment map); optionally, during the dragging process , the original display position of the target virtual object ID can also be copied without canceling the display of the target object ID, and the copied target object ID can be dragged into the virtual environment map.
  • Step 203 in response to the trigger operation on the target object identification in the virtual environment map, send a position prompt message to at least one second virtual object, the position prompt message includes the position of the target object where the target virtual object is located, and the position of the target object is identified by the target object It is obtained by marking that the second virtual object and the charged virtual object belong to the same camp.
  • the position determines the target object position of the target virtual object and sends the target object position to teammates. Obviously, the wrong position prompt message will be sent frequently.
  • the user marks the position of the target object identifier in the virtual environment map
  • he can click the target object identifier in the virtual environment map
  • the corresponding terminal receives the trigger operation on the target object identifier in the virtual environment map, and determines that the user has Marking the target object ID, based on the position of the current target object ID in the virtual environment map, sending a position prompt message to at least one second virtual object, so as to inform the second virtual object of the target object position where the target virtual object is located.
  • the terminal sends the location reminder message to the server, and the server determines the receiver of the location reminder message according to the sender of the location reminder message, and the receiver is the terminal where each second virtual object belonging to the same camp as the sender is located.
  • the server sends the location prompt message to each recipient; when the terminal corresponding to the recipient receives the location prompt message sent by the server, it can use the target object identifier to mark the location of the target object in the current user interface, prompting the location of the target virtual object. Location.
  • a possible implementation method for the terminal to prompt the location of the target virtual object according to the location prompt message is: display the target object identifier in the virtual environment map according to the location of the target object; display the target object identifier in the virtual environment according to the location of the target object, or , displaying a location prompt message in the user interface in the form of a barrage, for example, the location prompt message may be "Sun xx is hidden in the field grass 1".
  • the target object position can be marked on the virtual environment map 306 by the target object identifier 307 according to the location prompt message.
  • the position of the target object may also be marked in the virtual environment by the target object identifier 307 .
  • a function of marking the location of the target virtual object in the virtual environment map is provided.
  • the user can drag the target object identifier to a specified position in the virtual environment map, and then trigger the target object identifier to send a location prompt message related to the target virtual object to other teammates, so that other teammates can obtain the target virtual object based on the location prompt message
  • the location of the target object enriches the way to obtain the location information of the target virtual object, and at the same time improves the effectiveness and accuracy of the obtained location information; in addition, when the virtual object adopts a hidden squatting strategy, the hidden virtual object can be marked in time.
  • the location of the object thereby improving the hit rate of hidden virtual objects, thereby speeding up the game process, and effectively controlling the duration of a single game, thereby reducing the processing pressure on the server.
  • the target virtual object When the target virtual object is outside the field of view, that is, the target virtual object is hidden in a place where the field of view is blocked (such as grass), and when it disappears within the field of view, there is a need to mark the location of the target virtual object on the virtual map. And the need to notify teammates, therefore, in order to improve the efficiency of user marking, in a possible implementation, only the object identification of the first virtual object located outside the field of view is displayed, so as to improve the user's ability to select the target object identification for dragging. selection efficiency.
  • FIG. 4 shows a flowchart of a method for prompting a position of a virtual object provided in another exemplary embodiment of the present application.
  • the method is described by using the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example.
  • the method includes the following steps:
  • Step 401 determine a first virtual object outside the visual range, and the first virtual object outside the visual range is invisible in the virtual environment map.
  • the terminal before the terminal needs to display at least one object identifier corresponding to the first virtual object, it first determines whether there is a first virtual object located outside the field of view, and if so, displays the object identifier corresponding to the first virtual object, so as to remind the user that the current Which first virtual objects need to mark their positions and notify teammates.
  • Step 402 displaying the virtual environment map and the object identifiers of the first virtual objects outside the visual range.
  • the terminal may display the object identifier of the first virtual object around the virtual environment map while displaying the virtual environment map.
  • the first virtual object located outside the visual range may be determined when the user needs to mark the position of the virtual object.
  • the user when the user has the requirement to mark the position of the virtual object, he can click the zoom-in control of the virtual environment map. A virtual object, and at least one object identifier corresponding to the first virtual object is displayed.
  • a virtual environment picture 502, a virtual environment map 503, and a zoom-in control 504 corresponding to the virtual environment map 503 are displayed in the user interface 501.
  • the corresponding terminal receives Triggering the operation, while the virtual environment map 503 is zoomed in and displayed, at least one object identifier 505 corresponding to the first virtual object is displayed on the left side of the virtual environment map 503 , and the zoom-in control 504 is switched to a zoom-out control 506 .
  • Step 403 In response to the drag operation on the target object mark, and the dragging end point is located in the virtual environment map, display the target object mark in the virtual environment map, where the target object mark corresponds to the target virtual object.
  • step 202 For the implementation manner of this step, reference may be made to step 202, and details are not described here in this embodiment.
  • Step 404 in response to a trigger operation on the target object identifier in the virtual environment map, determine the position of the target object based on the location of the target object identifier in the virtual environment map.
  • the terminal In order to avoid frequent sending of wrong location prompt information to other second virtual objects when the user fails to drag the target object identifier to an accurate position, and at the same time prevent the terminal from determining in real time based on the position of the target object identifier when each dragging operation stops.
  • the position of the target object in a possible implementation manner, when the trigger operation on the target object identification in the virtual environment map is received, it means that the user has completed marking the position of the target virtual object, based on the target object identification in the virtual environment map at this time Determine the location of the target object.
  • the trigger operation on the target object ID can be a click operation, a double-click operation, a long press operation, etc., or other different operations.
  • the trigger operation for the drag operation can be a click operation, a double-click operation, a long press operation, etc., or other different operations.
  • the position of the target object may be a coordinate position in the virtual environment map, or a coordinate position mapped to the real virtual environment, that is, it is determined that the coordinate position of the target object mark in the virtual environment map is (x 1 , y 1 ), and then based on the position mapping relationship between the virtual environment map and the real virtual environment, determine the real coordinate position (x 2 , y 2 ) corresponding to (x 1 , y 1 ) in the real virtual environment.
  • Step 405 sending a location prompt message to each second virtual object.
  • the terminal After the terminal determines the location of the target virtual object based on the location of the target object identifier, it can send a location prompt message to each other second virtual object belonging to its own camp, so that its teammates can know where the target virtual object is. Location.
  • the terminal can send the camp ID of its own camp together with the location prompt message to the server, so that the server can determine that the location needs to be changed based on the team ID.
  • the prompt message is sent to the client corresponding to the second virtual object.
  • Step 406 Filter at least one second virtual object to obtain the filtered second virtual object.
  • a position prompt message may be sent to some second virtual objects that are closer to the target virtual object.
  • step 406 may further include step 406A and step 406B.
  • Step 406A based on the position of the target object, determine the object distance between each second virtual object and the target virtual object.
  • the second virtual object that needs to send a location prompt message can be selected from the own camp based on the distance relationship.
  • the current position of the second virtual object is calculated, and the object distance between each second virtual object and the target virtual object is calculated, and then based on the distance relationship, the second virtual object that needs to be prompted for the position is selected from the own camp.
  • the terminal may obtain the position coordinates of each second virtual object in the virtual environment map in its own camp, and then The object distance between each second virtual object and the target object marked in the virtual environment map is calculated based on the position coordinates.
  • the terminal can obtain the position coordinates of each second virtual object in the real virtual environment in its own camp, and then The candidate distances between each second virtual object and the target virtual object in the real virtual environment are calculated based on the position coordinates.
  • Step 406B determining the second virtual object whose object distance is smaller than the second distance threshold as the filtered second virtual object.
  • the second distance threshold may be set by the developer, or several optional distance thresholds may be provided, and then the second distance threshold may be selected by the user.
  • the second distance threshold can be set as the distance threshold in the virtual environment map, for example, the second distance threshold is 2cm, or can be set as the distance threshold in the real virtual environment, for example, the second distance threshold is 100m.
  • the terminal determines the object distance between each second virtual object and the target virtual object, It can be compared with the second distance threshold, if the object distance is less than the second distance threshold, it means that the second virtual object is closer to the target virtual object, and the second virtual object needs to be reminded, and the second virtual object is determined to need to send a location prompt
  • the virtual object of the message on the contrary, if the object distance is greater than the distance threshold, the location prompt message may not be sent to the second virtual object temporarily.
  • Step 407 sending a location prompt message to the filtered second virtual object.
  • the terminal after the terminal determines the filtered second virtual object, it can send the object identifier of the filtered second virtual object together with a location prompt message to the server, so that the server can Determine the second virtual object that needs to send the location prompt message.
  • the location of the target object is determined based on the location of the target object identifier in the virtual environment map, which can avoid invalid location determination operations of the terminal and invalid location prompt message sending operations; in addition, in When sending the location prompt message, some of the second virtual objects can be selected to send the location prompt message, which can avoid increasing the processing pressure on the server by sending the location prompt message to all the second virtual objects.
  • the position of the target object in the virtual environment map is directly identified by the target object, and the target object position of the target virtual object is determined.
  • a position mark control is displayed , the user can finely adjust the position of the target virtual object to be marked by dragging the position marking control.
  • FIG. 6 shows a flowchart of a method for prompting a position of a virtual object provided by another exemplary embodiment of the present application.
  • the method is described by using the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example.
  • the method includes the following steps:
  • Step 601 displaying a virtual environment map and an object identifier corresponding to at least one first virtual object, where the first virtual object and the controlled virtual object belong to different camps.
  • step 601 For the implementation manner of step 601, reference may be made to the foregoing embodiments, and details are not described in this embodiment here.
  • Step 602 in response to the dragging operation on the target object mark, and the dragging end point is located in the virtual environment map, display the target object mark and position marker controls in the virtual environment map.
  • the position marking control includes an object indicating terminal and a position indicating terminal, the target object identification is connected to the object indicating terminal, and the position indicating terminal is used to indicate the position of the target object.
  • the position mark control can be in the form of a line segment, one end of the corresponding line segment is connected to the target object identifier, and the other end of the line segment indicates the position of the target object; optionally, the position mark control can also be a line segment with an arrow, for example, a single arrow or a double arrow Arrow, the embodiment of the present application does not limit the shape of the position marker control.
  • the terminal will display a position marking control connected to the target object identification in the virtual environment map, By dragging the position marker control, the user can make the position indicating end of the position marker control precisely mark the position of the target virtual object.
  • the user when the position mark control is displayed, the user can drag the target object identifier to a position near the target virtual object, and then drag the position mark control to accurately mark the position of the target virtual object.
  • the terminal A drag operation on the position mark control is received, and the position indicated by the position indication segment in the virtual environment map is adjusted.
  • a virtual environment screen 702 a virtual environment map 703, and an object identifier 704 corresponding to at least one first virtual object are displayed in the user interface 701; when the user drags the object identifier 704 to the virtual environment map in the direction indicated by the arrow In 703, the terminal receives a drag operation on the object identifier 704, and the dragging end point is located in the virtual environment map 703, and the object identifier 704 and the position marker control 705 are displayed on the virtual environment map 703; the user can drag the position marker The control 705 is used to change the position indicated by the position indication terminal in the position mark control 705 .
  • the user may drag at least two target object identifiers into the virtual environment map, if there are at least two target objects in the virtual environment map Object identifiers, correspondingly, may need to determine the display quantity of location marker controls based on the distance relationship between at least two target object identifiers.
  • the process of displaying location marker controls in the virtual environment map may include the following two situations .
  • the terminal recognizes that there are at least two target object identifiers in the virtual environment map, it can determine the location of each target object identifier to determine the at least two target virtual objects. Whether the objects need to be marked at the same position, and if so, only a single position mark control can be displayed, and then the position of at least two target virtual objects can be indicated by the single position mark control.
  • the markers may be determined whether the markers need to be at the same position according to the marker distance between the target object markers.
  • the identification distance is less than the first distance threshold, it is determined that the target object identifications are relatively close, and there may be a situation that the corresponding target virtual object is hidden at the same position, therefore, only a single position marking control may be displayed.
  • the terminal determines that the identifier distance between the at least two target object identifiers is less than the first distance threshold , at least two target object identifiers can be displayed in combination, and the object indicating end of a single position mark control can be connected to the combined at least two target object identifiers.
  • the manner of combined display may be to display at least two target object identifiers in the same frame, or to perform special display on at least two target object identifiers, for example, to highlight at least two target object identifiers to For displaying in the same color, etc., this embodiment does not limit the manner of combined display.
  • the first distance threshold can be set by the developer.
  • the first distance threshold can refer to a position in the virtual environment map.
  • the first distance threshold can be 2mm, or it can refer to a position in the real virtual environment.
  • the first distance threshold may be 1 m.
  • a single location marker control is displayed 804.
  • At least two target object identifiers in the virtual environment map If there are at least two target object identifiers in the virtual environment map, and the distance between the identifiers is greater than the first distance threshold, at least two position marker controls are displayed, and different position marker controls indicate the positions of different target virtual objects.
  • the positions can be displayed separately for different target object identifications Mark the control, and then mark the positions of different target virtual objects by dragging the different position mark controls, and the object indication ends of the different position mark controls are connected with different target object identifiers.
  • the object identifier 901 is displayed.
  • the target object identifiers that are smaller than the first distance threshold can be combined and displayed, and the corresponding single position indicator control can be displayed for the combined display target object identifiers, and the corresponding position indicator control can be displayed for the target object identifiers whose identification distance is greater than the first distance threshold.
  • Position indicator control when there are at least two target object identifiers in the virtual environment map, and the identifier distances of some of the target object identifiers are smaller than the first distance threshold, and the identifier distances of some of the target object identifiers are greater than the first distance threshold , then the target object identifiers that are smaller than the first distance threshold can be combined and displayed, and the corresponding single position indicator control can be displayed for the combined display target object identifiers, and the corresponding position indicator control can be displayed for the target object identifiers whose identification distance is greater than the first distance threshold.
  • Position indicator control when there are at least two target object identifiers in the virtual environment map, and the identifier distances of some of
  • the identifier distance between the target object identifier A and the target object identifier B is less than the first distance threshold, and the target object identifier
  • the target object identifier When the identification distances between C and the target object identification A and the target object identification B are greater than the first distance threshold, the target object identification A and the target object identification B can be combined and displayed, and the corresponding single position indicator control A is displayed, while for The target identification object C displays the corresponding position indication control B.
  • Step 603 in response to a trigger operation on the target object identifier in the virtual environment map, determine the position of the target object based on the position indicated by the target object identifier corresponding to the position mark control.
  • a trigger operation on the target object identification in the virtual environment map when a trigger operation on the target object identification in the virtual environment map is received, it means that the user has adjusted the position of the position marker control, and then the position indicated by the corresponding position marker control may be based on the target object identification, Determine the location of the target object. And because the position indication end of the position mark control is used to indicate the position of the target object, when determining the position of the target object, it is only necessary to obtain the position corresponding to the position indication end of the position mark control, that is, the target object can be determined based on the position Location.
  • the position coordinate (x 3 , y 3 ) can be directly determined as the position of the target object, or The position coordinates (x 3 , y 3 ) are mapped to the real virtual environment to obtain the position coordinates (x 4 , y 4 ), and the position coordinates (x 4 , y 4 ) are determined as the position of the target object.
  • Step 604 sending a location prompt message to at least one second virtual object.
  • step 604 For the implementation manner of step 604, reference may be made to the foregoing embodiments, and details are not described in this embodiment here.
  • the position of the target virtual object is marked by the position indicating end in the position marking control. Since the position indicating end can accurately mark the pixel position, the position of the target object determined based on the position indicating end can be accurate to the virtual point. A point in the environment map that increases the accuracy of determining the location of the target object.
  • the above embodiments all take the sender of the location prompt message as an example to illustrate the method for the location prompt of the virtual object.
  • the terminal After the terminal receives the position prompt message sent by other second virtual objects, it performs The process of location prompting is described as an example.
  • FIG. 10 shows a flowchart of a method for prompting a position of a virtual object according to another exemplary embodiment of the present application.
  • the method is described by using the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example.
  • the method includes the following steps:
  • Step 1001 receiving a location prompt message sent by a second virtual object.
  • the second virtual object is a virtual object belonging to the same camp as the controlled virtual object.
  • the teammate of the own camp sends a position prompt message, and correspondingly receives the position prompt message sent by the second virtual object.
  • the location prompt message may include the object identifier of the target virtual object and the location of the target object; optionally, the location prompt message may also include the source of the location prompt message.
  • Step 1002 based on the location prompt message, display the location of the target object where the target virtual object is located, wherein the display method includes at least one of displaying in a virtual environment map, displaying in a virtual environment, and displaying a notification message.
  • the terminal can display the target object at the position of the target object in the virtual environment map
  • the target object identification can also be displayed at the target object position in the real virtual environment, and a notification message can also be displayed on the upper layer of the current user interface to remind the user of the target object position where the target virtual object is located.
  • the target object identification can be used to indicate.
  • the target object identification can be displayed on the virtual environment map and the corresponding target object position in the real virtual environment, or the target object identification with a position indication control can be displayed respectively, wherein the position indication end points to the position of the target object.
  • the target object ID when the target object ID is displayed at the target object position, in order to prevent the user from missing the prompt, the target object ID can be marked with an easily noticeable color, for example, when the target object position is marked by the target object ID, the position mark can be displayed control, the position marking control connects the target object identifier and the indicated target object position, schematically, the color of the position marking control can be a color that is easy to attract attention, such as red, yellow, etc., or the target object identification is displayed by blinking, to remind the user.
  • a virtual environment screen 1102, a virtual environment map 1103, and an object identifier 1104 corresponding to at least one first virtual object are displayed in the user interface 1101; when the user drags the object identifier 1104 to the virtual environment map in the direction indicated by the arrow 1103, the terminal receives a drag operation on the object identifier 1104, and the dragging end point is located in the virtual environment map 1103, and the object identifier 1104 and the position mark control 1105 are displayed on the virtual environment map 1103; when the user clicks on the virtual environment map 1103 When the object identification 1104 on the screen, it can send a location prompt message to the terminal held by the teammate.
  • the terminal held by the teammate can pass the target object at the position of the target object in the virtual environment screen.
  • the object identification 1107 and the position marking control 1108 mark the location of the target virtual object; the location of the target object can also be marked in the virtual environment map 1106 through the target object identification 1107 and the location identification control 1108; or in the current user interface
  • a notification message 1109 is displayed in .
  • the position of the target object in the position prompt message may not be within the currently displayed virtual environment screen, even if the target object position is marked in the virtual environment , also can not play the role of location message reminder, therefore, in a possible implementation, when it is determined that the location of the target object is located in the virtual environment screen, then correspondingly display the location of the target object where the target virtual object is located in the virtual environment , that is, the position of the target object is identified by the target object in the virtual environment; on the contrary, if the position of the target object is not in the virtual environment screen, there is no need to display the position of the target object where the target virtual object is located in the virtual environment.
  • Step 1003 when the target virtual object is within the field of view, cancel displaying the position of the target object.
  • the reason for reminding the position of the target object is that the target virtual object is outside the field of view. If the target virtual object appears in the field of view, there is no need to display the position of the target object.
  • the display of the target object identification may also be cancelled.
  • the terminal after the terminal receives the location prompt message sent by other teammates, it can display the location of the target virtual object on the virtual environment map or in the virtual environment, or display a notification message in the user interface to remind the user of the target virtual object in time May be hidden at the location of the target object.
  • the flow of the initiator of the virtual object position prompt is shown in FIG. 12 , and the flow includes:
  • Step 1201 displaying a small map and at least one enemy character portrait.
  • the mini-map is the virtual environment map in the above embodiment, and the avatar of the enemy character is the object identifier of the first virtual object.
  • Step 1202 drag the head portrait of the enemy character to the designated position on the mini-map.
  • the designated position can be the position of the virtual object of the enemy;
  • the position of the virtual object of the enemy is near, and the position of the virtual object of the enemy is indicated through the position mark control connected with the head portrait of the enemy character.
  • Step 1203 receiving a click operation on the avatar of the enemy character, and sending a location message prompt to teammates.
  • the terminal After the user has marked the location of the enemy virtual object, he can click on the enemy character's portrait in the mini-map, and the terminal receives the click operation on the enemy's character's portrait in the mini-map, based on the indicated position of the enemy's virtual object Send a location message reminder.
  • Step 1204 the client sends the marked position of the enemy character's head portrait and the enemy's virtual object to the server.
  • the corresponding client sends the avatar of the enemy character and the marked position of the enemy virtual object (that is, the position prompt message) to the server, so that the server can forward the position prompt message to other second virtual objects in the friendly camp.
  • Step 1301 receiving a location prompt message.
  • the terminal receives a position prompt message sent by another second virtual object, and the position prompt message includes an enemy virtual object identifier (for example, character portrait or character name) and a target object position.
  • an enemy virtual object identifier for example, character portrait or character name
  • Step 1302 flashing and displaying the head portrait of the enemy character at the target position in the mini-map.
  • the position of the virtual object of the enemy can be identified on the mini-map by the avatar of the enemy character.
  • Step 1303 flashing and displaying the head portrait of the enemy character at the target position on the big map.
  • the position of the enemy virtual object can also be identified by the avatar of the enemy character at the position of the target object in the large map (virtual environment).
  • Step 1304 a barrage pops up, prompting that the enemy virtual object is hidden at the target position.
  • a barrage containing a location prompt message may also be displayed in the current user interface to remind the user of the hidden location of the enemy player.
  • Fig. 14 is a structural block diagram of a virtual object control device provided by an exemplary embodiment of the present application, the device includes:
  • a display module 1401 configured to display a virtual environment map and an object identifier corresponding to at least one first virtual object, where the first virtual object and the controlled virtual object belong to different camps;
  • the display module 1401 is further configured to display the target object identifier in the virtual environment map in response to a drag operation on the target object identifier, and the dragging end point is located in the virtual environment map, and the target object Identify the corresponding target virtual object;
  • a sending module 1402 configured to send a location prompt message to at least one second virtual object in response to a trigger operation on the target object identifier in the virtual environment map, where the location prompt message includes the location where the target virtual object is located.
  • the location of the target object, the location of the target object is obtained from the target object identification mark, and the second virtual object belongs to the same camp as the controlled virtual object.
  • the sending module 1402 is also used for:
  • the sending module 1402 is also used for:
  • the position marker control In response to a trigger operation on the target object identifier in the virtual environment map, determine the position of the target object based on the position indicated by the target object identifier corresponding to the position marker control, the position marker control includes an object indication terminal and A position indicating end, the target object identifier is connected to the object indicating end, and the position indicating end is used to indicate the position of the target object;
  • the display module 1401 is also used for:
  • the device also includes:
  • An adjustment module configured to adjust the position indicated by the position indication terminal in the virtual environment map in response to a drag operation on the position marker control.
  • the display module 1401 is also used for:
  • a single position marker control is displayed, and the single position marker control indicates the positions of at least two target virtual objects.
  • the identification distance is the distance between at least two target object identifications;
  • At least two of the position marker controls are displayed, and different position marker controls indicate different targets.
  • the position of the virtual object is displayed, and different position marker controls indicate different targets.
  • the display module 1401 is also used for:
  • the first virtual object outside the visual range is invisible in the virtual environment map
  • the sending module 1402 is also used for:
  • the sending module 1402 is also used for:
  • the display module 1401 is also used for:
  • At least one object identifier corresponding to the first virtual object is displayed.
  • the device also includes:
  • a receiving module configured to receive the location prompt message sent by the second virtual object
  • the display module 1401 is further configured to display the location of the target object where the target virtual object is based on the location prompt message, wherein the display method includes displaying in the virtual environment map, displaying in the virtual environment, and displaying a notification at least one of the messages.
  • the display module 1401 is also used for:
  • the target object position where the target virtual object is located is displayed in the virtual environment.
  • the device also includes:
  • the cancel display module is configured to cancel display of the position of the target object when the target virtual object is within the field of view.
  • the function of marking the position of the target virtual object in the virtual environment map is provided.
  • the user can drag the target object identifier to a specified position in the virtual environment map, and then trigger the target object identifier to send a location prompt message related to the target virtual object to other teammates, so that other teammates can obtain the target virtual object based on the location prompt message
  • the location of the target object enriches the way to obtain the location information of the target virtual object, and at the same time improves the effectiveness and accuracy of the obtained location information; in addition, when the virtual object adopts a hidden squatting strategy, the hidden virtual object can be marked in time.
  • the location of the object thereby improving the hit rate of hidden virtual objects, thereby speeding up the game process, and effectively controlling the duration of a single game, thereby reducing the processing pressure on the server.
  • FIG. 15 shows a structural block diagram of a terminal 1500 provided in an exemplary embodiment of the present application.
  • the terminal 1500 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player, or an MP4 player.
  • Terminal 1500 may also be called user equipment, portable terminal and other names.
  • the terminal 1500 includes: a processor 1501 and a memory 1502 .
  • the processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1501 can adopt at least one hardware form in digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) accomplish.
  • the processor 1501 may also include a main processor and a coprocessor, the main processor is a processor for processing data in the wake-up state, and is also called a central processing unit (Central Processing Unit, CPU); the coprocessor is Low-power processor for processing data in standby state.
  • CPU Central Processing Unit
  • the processor 1501 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is used to render and draw the content that needs to be displayed on the display screen.
  • the processor 1501 may also include an artificial intelligence (Artificial Intelligence, AI) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • Memory 1502 may include one or more computer-readable storage media, which may be tangible and non-transitory.
  • the memory 1502 may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • non-transitory computer-readable storage medium in the memory 1502 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1501 to implement the virtual object control method provided by the embodiment of the present application .
  • FIG. 15 does not constitute a limitation to the terminal 1500, and may include more or less components than shown in the figure, or combine certain components, or adopt a different component arrangement.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores at least one program, and the at least one program is loaded and executed by a processor to realize the virtual object as described in each of the above embodiments.
  • Location hint method
  • a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
  • the processor of the terminal reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the terminal executes the method for prompting the position of the virtual object provided in various optional implementation manners of the above aspects.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种虚拟对象的位置提示方法、装置、终端及存储介质,属于人机交互技术领域。该方法包括:显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,第一虚拟对象与被控虚拟对象属于不同阵营(201);响应于对目标对象标识的拖动操作,且拖动终点位于虚拟环境地图内,在虚拟环境地图内显示目标对象标识,目标对象标识对应目标虚拟对象(202);响应于对虚拟环境地图内目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,位置提示消息包含目标虚拟对象所处的目标对象位置,目标对象位置由目标对象标识标记得到,第二虚拟对象与被控虚拟对象属于同一阵营(203)。提高了获取到的位置消息的有效性和准确性。

Description

虚拟对象的位置提示方法、装置、终端及存储介质
本申请要求于2021年06月03日提交的申请号为202110620718.0、发明名称为“虚拟对象的位置提示方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及人机交互技术领域,特别涉及一种虚拟对象的位置提示方法、装置、终端及存储介质。
背景技术
在很多构建虚拟场景的应用程序(比如虚拟现实应用程序、三维地图程序、军事仿真程序、第一人称射击游戏、多人在线战术竞技游戏等)中提供有小地图,用以显示玩家所处的位置以及全局环境。
相关技术中,当用户需要提醒队友某个位置处隐藏有敌方玩家时,可通过在小地图中点击敌方玩家所在位置触发提醒弹幕,以提醒队友注意周围环境。
显然,采用相关技术中的位置提示方法,仅可以向队友发送注意弹幕,队友无法得知隐藏的具体敌方玩家,以及敌方玩家的具体隐藏位置,消息获取效率和准确率较低。
发明内容
本申请实施例提供了一种虚拟对象的位置提示方法、装置、终端及存储介质。所述技术方案如下:
一方面,本申请实施例提供了一种虚拟对象的位置提示方法,所述方法由终端执行,所述方法包括:
显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,所述第一虚拟对象与被控虚拟对象属于不同阵营;
响应于对目标对象标识的拖动操作,且拖动终点位于所述虚拟环境地图内,在所述虚拟环境地图内显示所述目标对象标识,所述目标对象标识对应目标虚拟对象;
响应于对所述虚拟环境地图内所述目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,所述位置提示消息包含所述目标虚拟对象所处的目标对象位置,所述目标对象位置由所述目标对象标识标记得到,所述第二虚拟对象与所述被控虚拟对象属于同一阵营。
另一方面,本申请实施例提供了虚拟对象的位置提示装置,所述装置包括:
显示模块,用于显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,所述第一虚拟对象与被控虚拟对象属于不同阵营;
所述显示模块,还用于响应于对目标对象标识的拖动操作,且拖动终点位于所述虚拟环境地图内,在所述虚拟环境地图内显示所述目标对象标识,所述目标对象标识对应目标虚拟对象;
发送模块,用于响应于对所述虚拟环境地图内所述目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,所述位置提示消息包含所述目标虚拟对象所处的目标对象位置,所述目标对象位置由所述目标对象标识标记得到,所述第二虚拟对象与所述被控虚拟对象属于同一阵营。
另一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一段程序,所述至少一段程序由所述处理器加载并执行以实现如上述方面所述的虚拟对象的位置提示方法。
另一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中 存储有至少一段程序,所述至少一段程序由处理器加载并执行以实现如上述方面所述的虚拟对象的位置提示方法。
另一方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的虚拟对象的位置提示方法。
本申请实施例中,提供有在虚拟环境地图中标记目标虚拟对象所处位置的功能。用户可以通过将目标对象标识拖动至虚拟环境地图中的指定位置,进而通过触发目标对象标识,向其他队友发送目标虚拟对象相关的位置提示消息,使得其他队友可以基于位置提示消息获取目标虚拟对象所处的目标对象位置,丰富了获取目标虚拟对象位置信息的途径,同时提高了获取到的位置消息的有效性和准确性;此外,当虚拟对象采取隐藏蹲守策略时,可以及时标记隐藏虚拟对象的位置,进而提高对隐藏虚拟对象的命中率,从而加快对局进程,并有效控制单局时长,进而降低服务器的处理压力。
附图说明
图1示出了本申请一个实施例提供的实施环境的示意图;
图2示出了本申请一个示例性实施例提供的虚拟对象的位置提示方法的流程图;
图3是本申请一个示例性实施例示出的虚拟对象的位置提示方法的界面示意图;
图4示出了本申请另一个示例性实施例提供的虚拟对象的位置提示方法的流程图;
图5示出了本申请一个示例性实施例示出的呼出显示对象标识的界面示意图;
图6示出了本申请另一个示例性实施例提供的虚拟对象的位置提示方法的流程图;
图7示出了本申请一个示例性实施例示出的标记目标虚拟对象位置的过程示意图;
图8示出了本申请另一个示例性实施例示出的标记目标虚拟对象位置的过程示意图;
图9示出了本申请另一个示例性实施例示出的标记目标虚拟对象位置的过程示意图;
图10示出了本申请另一个示例性实施例提供的虚拟对象的位置提示方法的流程图;
图11是本申请另一个示例性实施例示出的虚拟对象的位置提示方法的界面示意图;
图12示出了本申请另一个示例性实施例提供的虚拟对象的位置提示方法的流程图;
图13示出了本申请一个示例性实施例示出的虚拟对象的位置提示方法的流程图;
图14是本申请一个示例性实施例提供的虚拟对象控制装置的结构框图;
图15示出了本申请一个示例性实施例提供的终端的结构框图。
具体实施方式
请参考图1,其示出了本申请一个实施例提供的实施环境的示意图。该实施环境可以包括:第一终端110、服务器120和第二终端130。
第一终端110中运行有支持虚拟环境的应用程序111,该应用程序111可以是多人在线对战程序。当第一终端运行应用程序111时,第一终端110的屏幕上显示应用程序111的用户界面。该应用程序111可以是多人在线战术竞技(Multiplayer Online Battle Arena,MOBA)游戏、大逃杀射击游戏、模拟战略游戏(Simulation Game,SLG)的任意一种。在本实施例中,以该应用程序111是MOBA游戏来举例说明。第一终端110是第一用户112使用的终端,第一用户112使用第一终端110控制位于虚拟环境中的第一虚拟对象进行活动,第一虚拟对象可以称为第一用户112的主控虚拟对象。第一虚拟对象的活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、飞行、跳跃、驾驶、拾取、射击、攻击、投掷、释放技能中的至少一种。示意性的,第一虚拟对象是第一虚拟人物,比如仿真人物或动漫人物。
第二终端130中运行有支持虚拟环境的应用程序131,该应用程序131可以是多人在线对战程序。当第二终端130运行应用程序131时,第二终端130的屏幕上显示应用程序131的用户界面。该客户端可以是MOBA游戏、大逃杀射击游戏、SLG游戏中的任意一种,在本实施例中,以该应用程序131是MOBA游戏来举例说明。第二终端130是第二用户132使用 的终端,第二用户132使用第二终端130控制位于虚拟环境中的第二虚拟对象进行活动,第二虚拟对象可以称为第二用户132的主控虚拟角色。示意性的,第二虚拟对象是第二虚拟人物,比如仿真人物或动漫人物。
可选地,第一虚拟对象和第二虚拟对象处于同一虚拟世界中。可选地,第一虚拟对象和第二虚拟对象可以属于同一个阵营、同一个队伍、同一个组织、具有好友关系或具有临时性的通讯权限。可选的,第一虚拟对象和第二虚拟对象可以属于不同的阵营、不同的队伍、不同的组织或具有敌对关系。
可选地,第一终端110和第二终端130上运行的应用程序是相同的,或两个终端上安装的应用程序是不同操作系统平台(安卓或IOS)上的同一类型应用程序。第一终端110可以泛指多个终端中的一个,第二终端130可以泛指多个终端中的另一个,本实施例仅以第一终端110和第二终端130来举例说明。第一终端110和第二终端130的设备类型相同或不同,该设备类型包括:智能手机、平板电脑、电子书阅读器、动态影像专家压缩标准音频层面3(Moving Picture Experts Group Audio Layer III,MP3)播放器、动态影像专家压缩标准音频层面4(Moving Picture Experts Group Audio Layer IV,MP4)播放器、膝上型便携计算机和台式计算机中的至少一种。
图1中仅示出了两个终端,但在不同实施例中存在多个其它终端可以接入服务器120。可选地,还存在一个或多个终端是开发者对应的终端,在该终端上安装有支持虚拟环境的应用程序的开发和编辑平台,开发者可在该终端上对应用程序进行编辑和更新,并将更新后的应用程序安装包通过有线或无线网络传输至服务器120,第一终端110和第二终端130可从服务器120下载应用程序安装包实现对应用程序的更新。
第一终端110、第二终端130以及其它终端通过无线网络或有线网络与服务器120相连。
服务器120包括一台服务器、多台服务器组成的服务器集群、云计算平台和虚拟化中心中的至少一种。服务器120用于为支持三维虚拟环境的应用程序提供后台服务。可选地,服务器120承担主要计算工作,终端承担次要计算工作;或者,服务器120承担次要计算工作,终端承担主要计算工作;或者,服务器120和终端之间采用分布式计算架构进行协同计算。
在一个示意性的例子中,服务器120包括存储器121、处理器122、用户账号数据库123、对战服务模块124、面向用户的输入/输出接口(Input/Output Interface,I/O接口)125。其中,处理器122用于加载服务器120中存储的指令,处理用户账号数据库123和对战服务模块124中的数据;用户账号数据库123用于存储第一终端110、第二终端130以及其它终端所使用的用户账号的数据,比如用户账号的头像、用户账号的昵称、用户账号的战斗力指数,用户账号所在的服务区;对战服务模块124用于提供多个对战房间供用户进行对战,比如1V1对战、3V3对战、5V5对战等;面向用户的I/O接口125用于通过无线网络或有线网络和第一终端110和/或第二终端130建立通信交换数据。
请参考图2,其示出了本申请一个示例性实施例提供的虚拟对象的位置提示方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,该方法包括如下步骤:
步骤201,显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,第一虚拟对象与被控虚拟对象属于不同阵营。
示意性的,虚拟环境地图用于展示全局虚拟环境,以及玩家在全局虚拟环境中的位置。其中,对于友方阵营(被控虚拟对象所在阵营)中的各个虚拟对象,虚拟环境地图中展示有友方阵营中各个虚拟对象所处位置;对于敌方阵营(与友方阵营相对的其他阵营)中的各个虚拟对象,虚拟环境地图中仅展示处于视野范围的各个虚拟对象所处位置,示意性的,若某个敌方玩家隐藏在草丛中,则虚拟环境地图中不显示该敌方玩家所处位置。可选的,虚拟环境地图中还展示有虚拟对象对应目标属性的属性值(生命值),以及虚拟对象的技能状况。
当敌方玩家隐藏在草丛,或隐藏在其他可以使得敌方玩家消失在视野范围的遮挡区域内 时,虚拟环境地图中也对应不显示该敌方玩家所处位置,本申请实施例针对该情况下,如何有效且准确的提供敌方虚拟对象所处位置,提供了一种可能的实施方式,通过将敌方虚拟对象的对象标识标记在虚拟环境地图中的指定位置处(即敌方虚拟对象所在位置),使得可以向己方队友通知敌方虚拟对象所处位置,以便己方队友可以及时了解到敌方虚拟对象所在位置。
为了便于用户拖动敌方虚拟对象的对象标识至虚拟环境地图中,在一种可能的实施方式中,当被控虚拟对象进入对局后,就可以在当前用户界面中显示虚拟环境地图,以及敌方阵营中各个第一虚拟对象对应的对象标识,敌方阵营不同于被控虚拟对象所在阵营。
可选的,虚拟环境地图可以不与对象标识同时显示。比如,在用户界面中显示有对象标识呼出控件,用户可以点击该对象标识呼出控件,终端接收到对该对象标识呼出控件的触发操作,在用户界面中显示至少一个第一虚拟对象对应的对象标识。可选的,虚拟环境地图具备放大控件,由于需要在虚拟环境地图中标记第一虚拟对象的对象位置,一般需要通过放大控件将虚拟环境地图放大,因此,当用户点击虚拟环境地图对应的放大控件时,表示用户存在标记敌方玩家所在位置的需求,在放大展示虚拟环境地图的同时,显示至少一个第一虚拟对象的对象标识。
示意性的,对象标识是唯一标识第一虚拟对象的标识,示意性的,该对象标识可以是第一虚拟对象的角色头像,也可以是第一虚拟对象的对象名称,本申请实施例对对象标识不构成限定。
如图3所示,用户界面301中显示有虚拟环境画面302、虚拟环境地图303和至少一个第一虚拟对象对应的对象标识304。可选的,用户界面301中还显示有虚拟环境地图303对应的缩小控件305,若用户点击缩小控件305,可以缩小显示虚拟环境地图,同时取消显示至少一个第一虚拟对象对应的对象标识304。
可选的,对象标识可拖动,即可以将对象标识拖动中虚拟环境地图中,同时也可以在虚拟环境地图中拖动该对象标识。
可选的,为了便于拖动对象标识至虚拟环境地图,可以将至少一个第一虚拟对象对应的对象标识显示在虚拟环境地图周侧,示意性的,显示在虚拟环境地图左侧、右侧、上侧、下侧等,或围绕显示在虚拟环境地图周围,本申请实施例对至少一个第一虚拟对象对应对象标识的显示位置不构成限定。
步骤202,响应于对目标对象标识的拖动操作,且拖动终点位于虚拟环境地图内,在虚拟环境地图内显示目标对象标识,目标对象标识对应目标虚拟对象。
在一种可能的实施方式中,若用户需要提醒其他队友某个位置处可能隐藏有第一虚拟对象(敌方虚拟对象),可以将第一虚拟对象对应的目标对象标识拖动至虚拟环境地图中,对应终端接收到对目标对象标识的拖动操作,且确定拖动终点位于虚拟环境地图中,可以在虚拟环境地图内显示目标对象标识,以便通过目标对象标识标记出目标虚拟对象在虚拟环境地图中所处的位置,使得终端可以根据目标对象标识所处位置,确定出目标虚拟对象在虚拟环境地图(或虚拟环境)中所处位置,进而基于目标对象标识所标记的位置通知其他队友,使得队友可以及时且准确的获取到某个第一虚拟对象所在位置。
可选的,在用户拖动目标对象标识至向队友发送位置提示消息的过程中,用户可以多次拖动目标对象标识,以调整目标对象标识在虚拟环境地图中的所处位置,对应终端可以接收到多次拖动操作,并将最后一次拖动操作停止后,目标对象标识所标记的位置确定为目标对象位置,从而提高确定目标对象位置的准确性。
如图3所示,若用户需要提醒队友第一虚拟对象位于红buffer附近的实地草丛1中,对应的,用户可以沿箭头所示方向将第一虚拟对象对应的对象标识304至虚拟环境地图303中实地草丛1所在位置,对应的,当终端接收到对对象标识304的拖动操作,且拖动操作的终点位于实地草丛1所在位置,在实地草丛1所在位置处显示对象标识304。
可选的,当用户拖动目标对象标识至虚拟环境地图的过程中,可以在目标对象标识的原 显示位置(虚拟环境地图周侧)取消显示该目标对象标识;可选的,在拖动过程中,目标虚拟对象标识的原显示位置也可以无需取消显示目标对象标识,可以复制目标对象标识,并将复制后的目标对象标识拖动至虚拟环境地图中。
步骤203,响应于对虚拟环境地图内目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,位置提示消息包含目标虚拟对象所处的目标对象位置,目标对象位置由目标对象标识标记得到,第二虚拟对象与被控虚拟对象属于同一阵营。
由于用户可能无法通过单次拖动操作定位完成目标虚拟对象所处的位置,可能需要在虚拟环境地图中多次调整目标对象标识的位置,若每次拖动操作停止时,均根据目标对象标识所在位置确定目标虚拟对象的目标对象位置,并将目标对象位置发送至队友,显然会频繁发送错误的位置提示消息,因此,为了提高位置提示消息发送时机的准确性,在一种可能的实施方式中,若用户标记完成目标对象标识在虚拟环境地图中所处的位置后,可以点击虚拟环境地图内的目标对象标识,对应终端接收到对虚拟环境地图内目标对象标识的触发操作,确定用户已经标记好目标对象标识,基于当前目标对象标识在虚拟环境地图中所处的位置,向至少一个第二虚拟对象发送位置提示消息,以便通知第二虚拟对象目标虚拟对象所处的目标对象位置。
对应的,终端将位置提示消息发送至服务器,服务器根据位置提示消息的发送方确定出位置提示消息的接收方,接收方即与发送方属于同一阵营的各个第二虚拟对象所在终端,对应的,服务器将该位置提示消息发送至各个接收方;当接收方所对应的终端接收到服务器发送的位置提示消息后,即可以在当前用户界面中采用目标对象标识标记目标对象位置,提示目标虚拟对象所在位置。
可选的,终端根据位置提示消息提示目标虚拟对象所处位置的可能实现方式为:根据目标对象位置在虚拟环境地图中显示目标对象标识;根据目标对象位置在虚拟环境中显示目标对象标识,或,以弹幕形式在用户界面中显示位置提示消息,示意性的,位置提示消息可以是“孙xx隐藏在实地草丛1中”。
如图3所示,当队友所持终端接收到位置提示消息后,可以根据位置提示消息在虚拟环境地图306中通过目标对象标识307标记目标对象位置。可选的,也可以在虚拟环境中通过目标对象标识307标记目标对象位置。
综上所述,本申请实施例中,提供在虚拟环境地图中标记目标虚拟对象所处位置的功能。用户可以通过将目标对象标识拖动至虚拟环境地图中的指定位置,进而通过触发目标对象标识,向其他队友发送目标虚拟对象相关的位置提示消息,使得其他队友可以基于位置提示消息获取目标虚拟对象所处的目标对象位置,丰富了获取目标虚拟对象位置信息的途径,同时提高了获取到的位置消息的有效性和准确性;此外,当虚拟对象采取隐藏蹲守策略时,可以及时标记出隐藏虚拟对象的位置,进而提高对隐藏虚拟对象的命中率,从而加快对局进程,并有效控制单局时长,进而降低服务器的处理压力。
当目标虚拟对象位于视野范围之外时,即目标虚拟对象隐藏在视野被遮挡的地方中(如草丛),在视野范围内消失时,存在需要在虚拟地图中标记出目标虚拟对象所处位置,以及通知队友的需求,因此,为了提高用户标记的效率,在一种可能的实施方式中,仅显示位于视野范围之外的第一虚拟对象的对象标识,以提高用户选择目标对象标识进行拖动的选择效率。
在一个示例性的例子中,如图4所示,其示出了本申请另一个示例性实施例提供的虚拟对象的位置提示方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,该方法包括如下步骤:
步骤401,确定位于视野范围之外的第一虚拟对象,视野范围之外的第一虚拟对象在虚拟环境地图中不可见。
由于位于视野范围之外的第一虚拟对象的位置不会在虚拟环境地图中显示位置,位于视野范围之外的第一虚拟对象才具备标记位置的价值,因此,在一种可能的实施方式中,当终 端需要显示至少一个第一虚拟对象对应的对象标识之前,首先确定是否存在第一虚拟对象位于视野范围之外,若存在,则显示该第一虚拟对象对应的对象标识,以便提醒用户当前存在哪些第一虚拟对象需要标记其位置,并通知队友。
当用户预估或看到某个第一虚拟对象隐藏位置时,可在虚拟环境地图中标记其位置,以通知己方队友。
步骤402,显示虚拟环境地图以及位于视野范围之外的第一虚拟对象的对象标识。
在一种可能的实施方式中,当终端确定出位于视野范围之外的第一虚拟对象后,可以在显示虚拟环境地图的同时,在虚拟环境地图周侧显示该第一虚拟对象的对象标识。
可选的,为了避免终端实时确定位于视野范围之外的第一虚拟对象,降低终端功耗,可以在用户存在标记虚拟对象位置的需求时,确定位于视野范围之外的第一虚拟对象。在一种可能的实施方式中,当用户具备标记虚拟对象位置需求时,可以点击虚拟环境地图的放大控件,对应的,终端接收到对虚拟环境地图的触发操作,确定位于视野范围之外的第一虚拟对象,并显示至少一个第一虚拟对象对应的对象标识。
如图5所示,用户界面501中显示有虚拟环境画面502、虚拟环境地图503,以及虚拟环境地图503对应的放大控件504,当用户点击放大控件504后,对应终端接收到对放大控件504的触发操作,放大显示虚拟环境地图503的同时,在虚拟环境地图503的左侧显示至少一个第一虚拟对象对应的对象标识505,放大控件504切换显示为缩小控件506。
步骤403,响应于对目标对象标识的拖动操作,且拖动终点位于虚拟环境地图内,在虚拟环境地图内显示目标对象标识,目标对象标识对应目标虚拟对象。
本步骤的实施方式可以参考步骤202,本实施例在此不做赘述。
步骤404,响应于对虚拟环境地图内目标对象标识的触发操作,基于目标对象标识在虚拟环境地图中所处的位置,确定目标对象位置。
为了避免在用户未将目标对象标识拖动至准确位置,而导致向其他第二虚拟对象频繁发送错误位置提示信息,同时避免终端实时根据每次拖动操作停止时目标对象标识所处的位置确定目标对象位置,在一种可能的实施方式中,当接收到对虚拟环境地图内目标对象标识的触发操作后,表示用户对目标虚拟对象的位置标记完成,基于此时目标对象标识在虚拟环境地图中所处的位置,确定出目标对象位置。
需要说明的是,为了区分对目标对象标识的拖动操作和触发操作,避免混淆,对目标对象标识的触发操作可以是对目标对象标识的点击操作、双击操作、长按操作等,或其他不同于拖动操作的触发操作。
可选的,目标对象位置可以是虚拟环境地图中的坐标位置,也可以是映射到真实虚拟环境中的坐标位置,即确定出目标对象标识在虚拟环境地图中的坐标位置是(x 1,y 1),再基于虚拟环境地图和真实虚拟环境之间的位置映射关系,确定出(x 1,y 1)在真实虚拟环境中对应的真实坐标位置(x 2,y 2)。
步骤405,向每个第二虚拟对象发送位置提示消息。
当终端基于目标对象标识所处位置,确定出目标虚拟对象的目标对象位置之后,可以向每个属于己方阵营的其他第二虚拟对象发送位置提示消息,以便己方队友均可以了解到目标虚拟对象所在位置。
可选的,若需要向己方阵营的所有第二虚拟对象发送位置提示消息,对应的,终端可以将己方阵营的阵营标识和位置提示消息一起发送至服务器,以便服务器可以基于队伍标识确定需要将位置提示消息发送至第二虚拟对象所对应的客户端。
步骤406,对至少一个第二虚拟对象进行筛选,得到筛选后的第二虚拟对象。
可选的,为了降低服务器的处理压力,可以选择向己方阵营中的部分第二虚拟对象发送该位置提示消息,示意性的,可以是用户指定的部分第二虚拟对象。
或者,当目标虚拟对象隐藏在第二虚拟对象附近时,可能对第二虚拟对象造成伤害,因 此,也可以根据目标对象位置,向距离目标虚拟对象较近的部分第二虚拟对象发送位置提示消息。
在一个示例性的例子中,步骤406还可以包括步骤406A和步骤406B。
步骤406A,基于目标对象位置,确定各个第二虚拟对象与目标虚拟对象之间的对象距离。
在一种可能的实施方式中,可以基于距离关系从己方阵营中筛选需要发送位置提示消息的第二虚拟对象,对应的,当终端确定出目标虚拟对象的目标对象位置时,基于己方阵营各个第二虚拟对象当前所处位置,计算出各个第二虚拟对象与目标虚拟对象之间的对象距离,进而基于距离关系从己方阵营中筛选出需要进行位置提示的第二虚拟对象。
可选的,若终端确定出的目标对象位置是目标对象标识在虚拟环境地图中的位置坐标,对应的,终端可以获取到己方阵营中各个第二虚拟对象在虚拟环境地图中的位置坐标,进而基于位置坐标计算出各个第二虚拟对象与目标对象标识在虚拟环境地图中的对象距离。
可选的,若终端确定出的目标对象位置是目标虚拟对象在真实虚拟环境中的位置坐标,对应的,终端可以获取到己方阵营中各个第二虚拟对象在真实虚拟环境中的位置坐标,进而基于位置坐标计算出各个第二虚拟对象与目标虚拟对象在真实虚拟环境中的候选距离。
步骤406B,将对象距离小于第二距离阈值的第二虚拟对象确定为筛选后的第二虚拟对象。
其中,第二距离阈值可以由开发人员进行设置,或者可以提供有几种可选的距离阈值,进而由用户自定义选择第二距离阈值。可选的,第二距离阈值可以设置为虚拟环境地图中的距离阈值,比如,第二距离阈值是2cm,也可以设置为真实虚拟环境中的距离阈值,比如,第二距离阈值是100m。
由于距离目标虚拟对象较近的第二虚拟对象具有进行位置提示的必要,因此,在一种可能的实施方式中,当终端确定出各个第二虚拟对象与目标虚拟对象之间的对象距离之后,可以与第二距离阈值进行比较,若对象距离小于第二距离阈值,表示第二虚拟对象距离目标虚拟对象较近,需要提醒该第二虚拟对象,将该第二虚拟对象确定为需要发送位置提示消息的虚拟对象;反之,若对象距离大于距离阈值,可以暂时不向该第二虚拟对象发送位置提示消息。
步骤407,向筛选后的第二虚拟对象发送位置提示消息。
在一种可能的实施方式中,当终端确定出筛选后的第二虚拟对象后,则可以将筛选后的第二虚拟对象的对象标识和位置提示消息一起发送至服务器,以便服务器可以基于对象标识确定需要发送位置提示消息的第二虚拟对象。
本实施例中,在显示第一虚拟对象的对象标识时,仅显示位于视野范围之外的第一虚拟对象的对象标识,可以提高用户选择目标对象标识进行拖动标记的效率;此外,在接收到对目标对象标识的触发操作时,再基于目标对象标识在虚拟环境地图中所处位置,确定目标对象位置,可以避免终端的无效位置确定操作,以及无效的位置提示消息发送操作;另外,在发送位置提示消息时,可以选择部分第二虚拟对象发送位置提示消息,可以避免向全部第二虚拟对象发送位置提示消息增加服务器的处理压力。
上文实施例是直接以目标对象标识在虚拟环境地图中所处位置,确定目标虚拟对象的目标对象位置,在其他可能的实施方式中,为了进一步提高标记位置的准确性,显示有位置标记控件,用户可以通过拖动位置标记控件来精细调整所要标记的目标虚拟对象的位置。
在一个示例性的例子中,如图6所示,其示出了本申请另一个示例性实施例提供的虚拟对象的位置提示方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,该方法包括如下步骤:
步骤601,显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,第一虚拟对象与被控虚拟对象属于不同阵营。
步骤601的实施方式可以参考上文实施例,本实施例在此不做赘述。
步骤602,响应于对目标对象标识的拖动操作,且拖动终点位于虚拟环境地图内,在虚拟 环境地图内显示目标对象标识和位置标记控件。
其中,位置标记控件包括对象指示端和位置指示端,目标对象标识与对象指示端相连,位置指示端用于指示目标对象位置。示意性的,位置标记控件可以是线段形式,对应线段一端与目标对象标识相连,线段另一端指示目标对象位置;可选的,位置标记控件也可以是带箭头的线段,比如,单箭头或双箭头,本申请实施例不对位置标记控件的形状进行限定。
由于目标对象标识在虚拟环境地图中所占据位置可能比较大,而虚拟环境地图比较小,若基于目标对象标识确定目标对象位置,可能使得确定出的目标对象位置不太准确,因此,为了进一步提高标记目标对象位置的准确性,在一种可能的实施方式中,当用户将目标对象标识拖动至虚拟环境地图中时,终端将在虚拟环境地图中显示与目标对象标识相连的位置标记控件,用户可通过拖动位置标记控件,使位置标记控件的位置指示端精准标记目标虚拟对象的位置。
示意性的,以位置标记控件是线段为例,采用线段一端标记目标虚拟对象的目标对象位置,相较于利用目标对象标识指示目标对象位置,利用线段一端所对应的点指示目标对象位置更为精确。
本实施例中,在显示有位置标记控件的情况下,用户可以将目标对象标识拖动至目标虚拟对象附近位置,进而通过拖动位置标记控件,精确标记目标虚拟对象所在位置,对应的,终端接收到对位置标记控件的拖动操作,调整位置指示段在虚拟环境地图中所指示的位置。
如图7所示,用户界面701中显示有虚拟环境画面702、虚拟环境地图703和至少一个第一虚拟对象对应的对象标识704;当用户沿箭头所示方向拖动对象标识704至虚拟环境地图703中时,终端接收到对对象标识704的拖动操作,且拖动终点位于虚拟环境地图703中,在虚拟环境地图703上显示对象标识704和位置标记控件705;用户可以通过拖动位置标记控件705,改变位置标记控件705中位置指示端所指示的位置。
在一个示例性的例子中,当至少两个第二虚拟对象隐藏在同一位置中时,用户可能将至少两个目标对象标识拖动至虚拟环境地图中,若虚拟环境地图中存在至少两个目标对象标识,对应的,可能需要基于至少两个目标对象标识之间的距离关系,确定位置标记控件的显示数量,示意性的,在虚拟环境地图内显示位置标记控件的过程可以包括以下两种情况。
一、在虚拟环境地图中存在至少两个目标对象标识,且标识距离小于第一距离阈值的情况下,显示单个位置标记控件,单个位置标记控件指示至少两个目标虚拟对象的位置,标识距离是至少所述目标对象标识之间的距离。
针对至少两个目标虚拟对象隐藏在同一位置的情况,为了向队友通知存在至少两个目标虚拟对象隐藏在目标位置,在进行位置通知时,需要将至少两个目标虚拟对象的目标对象标识均拖动至虚拟环境地图中,因此,在一种可能的实施方式中,当终端识别到虚拟环境地图中存在至少两个目标对象标识时,可以通过各个目标对象标识所在位置,判断至少两个目标虚拟对象是否需要标记在同一位置,若需要标记在同一位置,可以仅显示单个位置标记控件,进而通过该单个位置标记控件指示至少两个目标虚拟对象的位置。
可选的,可通过目标对象标识之间的标识距离判断是否需要标记在同一位置。在标识距离小于第一距离阈值的情况下,确定目标对象标识相距较近,可能存在对应目标虚拟对象隐藏在同一位置的情况,因此,可仅显示单个位置标记控件。
且在一种可能的实施方式中,为表示至少两个目标对象标识所标记的目标对象位置为同一位置,当终端确定至少两个目标对象标识之间的标识距离小于第一距离阈值的情况下,可将至少两个目标对象标识合并显示,单个位置标记控件的对象指示端可与合并后的至少两个目标对象标识相连。可选的,合并显示的方式可为将至少两个目标对象标识显示在同一框体内,或,对至少两个目标对象标识进行特殊显示,比如,将至少两个目标对象标识高亮显示,以相同颜色显示等等,本实施例对合并显示的方式不做限定。
其中,第一距离阈值可以由开发人员进行设置,可选的,第一距离阈值可以指虚拟环境 地图中的位置,比如,第一距离阈值可以是2mm,也可以指真实虚拟环境中的位置,比如,第一距离阈值可以是1m。
如图8所示,当用户拖动对象标识801和对象标识802至虚拟环境地图803中,终端检测到对象标识801和对象标识802之间的距离小于第一距离阈值,则显示单个位置标记控件804。
二、在虚拟环境地图中存在至少两个目标对象标识,且标识距离大于第一距离阈值的情况下,显示至少两个位置标记控件,不同位置标记控件指示不同目标虚拟对象的位置。
可选的,若存在至少两个目标对象标识之间的标识距离大于第一距离阈值,表示目标对象标识所对应的目标虚拟对象并非位于同一位置,对应的,可以针对不同目标对象标识分别显示位置标记控件,进而通过拖动不同位置标记控件,标记不同目标虚拟对象所处位置,不同位置标记控件的对象指示端与不同目标对象标识相连。
如图9所示,当用户拖动对象标识901和对象标识902至虚拟环境地图903中,终端检测到对象标识901和对象标识902之间的标识距离大于第一距离阈值,则显示对象标识901对应的第一位置指示控件904,以及对象标识902对应的第二位置指示控件905。
在一种可能的实施方式中,当虚拟环境地图中存在至少两个目标对象标识,且其中部分目标对象标识的标识距离小于第一距离阈值,而部分目标对象标识的标识距离大于第一距离阈值,则可对小于第一距离阈值的目标对象标识合并显示,并对合并显示后的目标对象标识显示对应的单个位置指示控件,而对标识距离大于第一距离阈值的目标对象标识显示其对应的位置指示控件。
示意性的,当虚拟环境地图中包含目标对象标识A、目标对象标识B以及目标对象标识C时,目标对象标识A与目标对象标识B之间的标识距离小于第一距离阈值,而目标对象标识C分别与目标对象标识A以及目标对象标识B之间的标识距离大于第一距离阈值时,可对目标对象标识A与目标对象标识B合并显示,并显示对应的单个位置指示控件A,而对目标标识对象C显示对应的位置指示控件B。
步骤603,响应于对虚拟环境地图内目标对象标识的触发操作,基于目标对象标识对应位置标记控件所指示的位置,确定目标对象位置。
在一种可能的实施方式中,当接收到对虚拟环境地图内目标对象标识的触发操作,表示用户已调整好位置标记控件的位置,进而可以基于目标对象标识对应位置标记控件所指示的位置,确定目标对象位置。而由于位置标记控件的位置指示端用于指示目标对象位置,因此,在确定目标对象位置时,仅需要获取到位置标记控件中位置指示端所对应的位置,即可以基于该位置确定出目标对象位置。
示意性的,若位置指示端在虚拟环境地图中所对应的位置坐标是(x 3,y 3),对应的,可以直接将位置坐标(x 3,y 3)确定为目标对象位置,也可以将位置坐标(x 3,y 3)映射到真实虚拟环境中,得到位置坐标(x 4,y 4),将位置坐标(x 4,y 4)确定为目标对象位置。
步骤604,向至少一个第二虚拟对象发送位置提示消息。
步骤604的实施方式可以参考上文实施例,本实施例在此不做赘述。
本实施例中,通过位置标记控件中的位置指示端来标记目标虚拟对象所处的位置,由于位置指示端可以精确标记到像素点位置,基于位置指示端确定出的目标对象位置可以精确到虚拟环境地图中的一点,提高了确定目标对象位置的精确度。
上文实施例均以位置提示消息的发送方为例进行虚拟对象的位置提示方法的示例性说明,本实施例对终端接收到其他第二虚拟对象发送的位置提示消息后,基于位置提示消息进行位置提示的过程进行示例性说明。
请参考图10,其示出了本申请另一个示例性实施例提供的虚拟对象的位置提示方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,该方法包括如下步骤:
步骤1001,接收第二虚拟对象发送的位置提示消息。
其中,第二虚拟对象是与被控虚拟对象属于同一阵营的虚拟对象,在一种可能的实施方式中,当队友在虚拟环境地图中标记中某个目标虚拟对象所在位置后,向己方阵营的其他第二虚拟对象发送位置提示消息,对应的,接收到第二虚拟对象发送的位置提示消息。
示意性的,该位置提示消息中可以包括目标虚拟对象的对象标识和目标对象位置;可选的,该位置提示消息中还可以包括位置提示消息的来源方。
步骤1002,基于位置提示消息,显示目标虚拟对象所处的目标对象位置,其中,显示方式包括在虚拟环境地图中显示、在虚拟环境中显示、以及显示通知消息中的至少一种。
为了更准确的提醒用户目标对象位置处隐藏有某个目标虚拟对象,在一种可能的实施方式中,当终端接收到位置提示消息后,可以在虚拟环境地图中的目标对象位置处显示目标对象标识,也可以在真实虚拟环境中的目标对象位置处显示目标对象标识,也可以在当前用户界面上层显示通知消息,以提醒用户目标虚拟对象所处的目标对象位置。
需要说明的是,上述三种显示方式可以同时显示,也可以择一显示、择二显示,本申请实施例对此不构成限定。
可选的,在虚拟环境地图以及真实虚拟环境中指示目标对象位置时,均可通过目标对象标识进行指示。可选的,可在虚拟环境地图以及真实虚拟环境中对应的目标对象位置处分别显示目标对象标识,或者分别显示具有位置指示控件的目标对象标识,其中,位置指示端指向目标对象位置。
可选的,在目标对象位置处显示目标对象标识时,为了避免用户错过提示,可以通过容易引起注意的颜色标注目标对象标识,比如,在通过目标对象标识标记目标对象位置时,可以显示位置标记控件,该位置标记控件连接目标对象标识和所指示的目标对象位置,示意性的,位置标记控件的颜色可以采用容易引起注意的颜色,比如,红色、黄色等,或通过闪烁显示目标对象标识,以提醒用户。
如图11所示,用户界面1101中显示有虚拟环境画面1102、虚拟环境地图1103和至少一个第一虚拟对象对应的对象标识1104;当用户沿箭头所示方向拖动对象标识1104至虚拟环境地图1103中时,终端接收到对对象标识1104的拖动操作,且拖动终点位于虚拟环境地图1103中,在虚拟环境地图1103上显示对象标识1104和位置标记控件1105;当用户点击虚拟环境地图1103上的对象标识1104时,可以向队友所持有终端发送位置提示消息,对应的,当队友所持有的终端接收到位置提示消息后,可以在虚拟环境画面中的目标对象位置处,通过目标对象标识1107和位置标记控件1108标记出目标虚拟对象所处位置;也可以在虚拟环境地图1106中,通过目标对象标识1107和位置标识控件1108标记出目标对象所处位置;也可以在当前用户界面中显示通知消息1109。
可选的,由于终端的显示画面有限,当终端接收到位置提示消息后,可能位置提示消息中的目标对象位置并不在当前所显示的虚拟环境画面内,即使在虚拟环境中标记出目标对象位置,也无法起到位置消息提醒的作用,因此,在一种可能的实施方式中,当确定出目标对象位置位于虚拟环境画面中,则对应在虚拟环境中显示目标虚拟对象所处的目标对象位置,也即在虚拟环境中通过目标对象标识目标对象位置;反之,若目标对象位置不在虚拟环境画面中,则无需在虚拟环境中显示目标虚拟对象所处的目标对象位置。
步骤1003,在目标虚拟对象位于视野范围内的情况下,取消显示目标对象位置。
进行目标对象位置提醒是因为目标虚拟对象位于视野范围之外,若目标虚拟对象出现在视野范围,也就无需显示目标对象位置。
可选的,存在目标对象位置标记有误的情况,为了避免错误提示目标对象位置,当确定出目标对象出现在视野范围内后,也可以取消显示目标对象标识。
本实施例中,当终端接收到其他队友发送的位置提示消息后,可以在虚拟环境地图、虚拟环境中显示目标虚拟对象所在位置,或在用户界面中显示通知消息,以及时提醒用户目标 虚拟对象可能隐藏在目标对象位置处。
结合上述各个实施例,在一个示例性的例子中,虚拟对象的位置提示的发起方的流程如图12所示,该流程包括:
步骤1201,显示小地图和至少一个敌方角色头像。
小地图即上文实施例中的虚拟环境地图,敌方角色头像即第一虚拟对象的对象标识。
步骤1202,将敌方角色头像拖动到小地图的指定位置处。
当用户需要在小地图中标记出敌方虚拟对象所在位置时,可以将敌方角色头像拖动到小地图中的指定位置处,该指定位置可以是敌方虚拟对象所在位置;也可以是敌方虚拟对象所在位置附近,并通过与敌方角色头像相连的位置标记控件指示敌方虚拟对象所在位置。
步骤1203,接收到对敌方角色头像的点击操作,向队友发送位置消息提示。
当用户对敌方虚拟对象所在位置标记完成后,可以点击小地图中的敌方角色头像,终端接收到对小地图中敌方角色头像的点击操作,基于所指示的敌方虚拟对象位置向队友发送位置消息提示。
步骤1204,客户端将包含敌方角色头像及敌方虚拟对象被标记的位置发送给服务端。
对应客户端将敌方角色头像和敌方虚拟对象被标记的位置(也即位置提示消息)发送给服务器,使得服务器可以将位置提示消息转发至友方阵营中的其他第二虚拟对象。
对应的,虚拟对象的位置提示的接收方的流程如图13所示,该流程包括:
步骤1301,接收位置提示消息。
终端接收到其他第二虚拟对象发送的位置提示消息,该位置提示消息中包括敌方虚拟对象标识(比如,角色头像或角色名称)和目标对象位置。
步骤1302,在小地图中目标位置处闪烁显示敌方角色头像。
在基于位置提示消息进行位置提示过程中,可以在小地图中通过敌方角色头像标识敌方虚拟对象位置(目标位置)。
步骤1303,在大地图中目标位置处闪烁显示敌方角色头像。
可选的,也可以在大地图(虚拟环境)中目标对象位置处通过敌方角色头像标识敌方虚拟对象所在位置。
步骤1304,弹出弹幕,提示敌方虚拟对象隐藏在目标位置处。
可选的,也可以在当前用户界面中显示包含位置提示消息的弹幕,以提醒用户敌方玩家的隐藏位置。
图14是本申请一个示例性实施例提供的虚拟对象控制装置的结构框图,该装置包括:
显示模块1401,用于显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,所述第一虚拟对象与被控虚拟对象属于不同阵营;
所述显示模块1401,还用于响应于对目标对象标识的拖动操作,且拖动终点位于所述虚拟环境地图内,在所述虚拟环境地图内显示所述目标对象标识,所述目标对象标识对应目标虚拟对象;
发送模块1402,用于响应于对所述虚拟环境地图内所述目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,所述位置提示消息包含所述目标虚拟对象所处的目标对象位置,所述目标对象位置由所述目标对象标识标记得到,所述第二虚拟对象与所述被控虚拟对象属于同一阵营。
可选的,所述发送模块1402,还用于:
响应于对所述虚拟环境地图内所述目标对象标识的触发操作,基于所述目标对象标识在所述虚拟环境地图中所处的位置,确定所述目标对象位置;
向至少一个所述第二虚拟对象发送所述位置提示消息。
可选的,所述发送模块1402,还用于:
响应于对所述虚拟环境地图内所述目标对象标识的触发操作,基于所述目标对象标识对 应位置标记控件所指示的位置,确定所述目标对象位置,所述位置标记控件包括对象指示端和位置指示端,所述目标对象标识与所述对象指示端相连,所述位置指示端用于指示所述目标对象位置;
向至少一个所述第二虚拟对象发送所述位置提示消息。
可选的,所述显示模块1401,还用于:
在所述虚拟环境地图内显示所述目标对象标识和所述位置标记控件;
所述装置还包括:
调整模块,用于响应于对所述位置标记控件的拖动操作,调整所述位置指示端在所述虚拟环境地图中所指示的位置。
可选的,
所述显示模块1401,还用于:
在所述虚拟环境地图中存在至少两个所述目标对象标识,且标识距离小于第一距离阈值的情况下,显示单个所述位置标记控件,单个位置标记控件指示至少两个目标虚拟对象的位置,所述标识距离是至少两个所述目标对象标识之间的距离;
在所述虚拟环境地图中存在至少两个所述目标对象标识,且所述标识距离大于所述第一距离阈值的情况下,显示至少两个所述位置标记控件,不同位置标记控件指示不同目标虚拟对象的位置。
可选的,所述显示模块1401,还用于:
确定位于视野范围之外的第一虚拟对象,所述视野范围之外的第一虚拟对象在所述虚拟环境地图中不可见;
显示所述虚拟环境地图以及位于所述视野范围之外的第一虚拟对象的对象标识。
可选的,所述发送模块1402,还用于:
向每个所述第二虚拟对象发送所述位置提示消息;
或,
对至少一个所述第二虚拟对象进行筛选,得到筛选后的第二虚拟对象;
向所述筛选后的第二虚拟对象发送所述位置提示消息。
可选的,所述发送模块1402,还用于:
基于所述目标对象位置,确定各个所述第二虚拟对象与所述目标虚拟对象之间的对象距离;
将所述对象距离小于第二距离阈值的第二虚拟对象确定为所述筛选后的第二虚拟对象。
可选的,所述显示模块1401,还用于:
响应于对所述虚拟环境地图的触发操作,显示至少一个所述第一虚拟对象对应的对象标识。
可选的,所述装置还包括:
接收模块,用于接收所述第二虚拟对象发送的所述位置提示消息;
显示模块1401,还用于基于所述位置提示消息,显示所述目标虚拟对象所处的目标对象位置,其中,显示方式包括在所述虚拟环境地图中显示、在虚拟环境中显示、以及显示通知消息中的至少一种。
可选的,所述显示模块1401,还用于:
在所述目标对象位置位于虚拟环境画面中的情况下,在所述虚拟环境中显示所述目标虚拟对象所处的所述目标对象位置。
可选的,所述装置还包括:
取消显示模块,用于在所述目标虚拟对象位于视野范围内的情况下,取消显示所述目标对象位置。
综上所述,本申请实施例中,提供有在虚拟环境地图中标记目标虚拟对象所处位置的功 能。用户可以通过将目标对象标识拖动至虚拟环境地图中的指定位置,进而通过触发目标对象标识,向其他队友发送目标虚拟对象相关的位置提示消息,使得其他队友可以基于位置提示消息获取目标虚拟对象所处的目标对象位置,丰富了获取目标虚拟对象位置信息的途径,同时提高了获取到的位置消息的有效性和准确性;此外,当虚拟对象采取隐藏蹲守策略时,可以及时标记出隐藏虚拟对象的位置,进而提高对隐藏虚拟对象的命中率,从而加快对局进程,并有效控制单局时长,进而降低服务器的处理压力。
请参考图15,其示出了本申请一个示例性实施例提供的终端1500的结构框图。该终端1500可以是便携式移动终端,比如:智能手机、平板电脑、MP3播放器、MP4播放器。终端1500还可能被称为用户设备、便携式终端等其他名称。
通常,终端1500包括有:处理器1501和存储器1502。
处理器1501可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1501可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1501也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central Processing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1501可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1501还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1502可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是有形的和非暂态的。存储器1502还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1502中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1501所执行以实现本申请实施例提供的虚拟对象控制方法。
本领域技术人员可以理解,图15中示出的结构并不构成对终端1500的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一段程序,所述至少一段程序由处理器加载并执行以实现如上各个实施例所述的虚拟对象的位置提示方法。
根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的虚拟对象的位置提示方法。

Claims (20)

  1. 一种虚拟对象的位置提示方法,所述方法由终端执行,所述方法包括:
    显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,所述第一虚拟对象与被控虚拟对象属于不同阵营;
    响应于对目标对象标识的拖动操作,且拖动终点位于所述虚拟环境地图内,在所述虚拟环境地图内显示所述目标对象标识,所述目标对象标识对应目标虚拟对象;
    响应于对所述虚拟环境地图内所述目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,所述位置提示消息包含所述目标虚拟对象所处的目标对象位置,所述目标对象位置由所述目标对象标识标记得到,所述第二虚拟对象与所述被控虚拟对象属于同一阵营。
  2. 根据权利要求1所述的方法,其中,所述响应于对所述虚拟环境地图内所述目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,包括:
    响应于对所述虚拟环境地图内所述目标对象标识的触发操作,基于所述目标对象标识在所述虚拟环境地图中所处的位置,确定所述目标对象位置;
    向至少一个所述第二虚拟对象发送所述位置提示消息。
  3. 根据权利要求1所述的方法,其中,所述响应于对所述虚拟环境地图内所述目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,包括:
    响应于对所述虚拟环境地图内所述目标对象标识的触发操作,基于所述目标对象标识对应位置标记控件所指示的位置,确定所述目标对象位置,所述位置标记控件包括对象指示端和位置指示端,所述目标对象标识与所述对象指示端相连,所述位置指示端用于指示所述目标对象位置;
    向至少一个所述第二虚拟对象发送所述位置提示消息。
  4. 根据权利要求3所述的方法,其中,所述在所述虚拟环境地图内显示所述目标对象标识,包括:
    在所述虚拟环境地图内显示所述目标对象标识和所述位置标记控件;
    所述在所述虚拟环境地图内显示所述目标对象标识之后,所述方法还包括:
    响应于对所述位置标记控件的拖动操作,调整所述位置指示端在所述虚拟环境地图中所指示的位置。
  5. 根据权利要求4所述的方法,其中,所述在所述虚拟环境地图内显示所述目标对象标识和所述位置标记控件,包括:
    在所述虚拟环境地图中存在至少两个所述目标对象标识,且标识距离小于第一距离阈值的情况下,显示单个所述位置标记控件,单个位置标记控件指示至少两个目标虚拟对象的位置,所述标识距离是所述目标对象标识之间的距离;
    在所述虚拟环境地图中存在至少两个所述目标对象标识,且所述标识距离大于所述第一距离阈值的情况下,显示至少两个所述位置标记控件,不同位置标记控件指示不同目标虚拟对象的位置。
  6. 根据权利要求1至5任一所述的方法,其中,所述显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,包括:
    确定位于视野范围之外的第一虚拟对象,所述视野范围之外的第一虚拟对象在所述虚拟 环境地图中不可见;
    显示所述虚拟环境地图以及位于所述视野范围之外的第一虚拟对象的对象标识。
  7. 根据权利要求1至5任一所述的方法,其中,所述向至少一个第二虚拟对象发送位置提示消息,包括:
    向每个所述第二虚拟对象发送所述位置提示消息;
    或,
    对至少一个所述第二虚拟对象进行筛选,得到筛选后的第二虚拟对象;
    向所述筛选后的第二虚拟对象发送所述位置提示消息。
  8. 根据权利要求7所述的方法,其中,所述对至少一个所述第二虚拟对象进行筛选,得到筛选后的第二虚拟对象,包括:
    基于所述目标对象位置,确定各个所述第二虚拟对象与所述目标虚拟对象之间的对象距离;
    将所述对象距离小于第二距离阈值的第二虚拟对象确定为所述筛选后的第二虚拟对象。
  9. 根据权利要求1至5任一所述的方法,其中,所述显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,包括:
    响应于对所述虚拟环境地图的触发操作,显示至少一个所述第一虚拟对象对应的对象标识。
  10. 根据权利要求1至5任一所述的方法,其中,所述方法还包括:
    接收所述第二虚拟对象发送的所述位置提示消息;
    基于所述位置提示消息,显示所述目标虚拟对象所处的目标对象位置,其中,显示方式包括在所述虚拟环境地图中显示、在虚拟环境中显示、以及显示通知消息中的至少一种。
  11. 根据权利要求10所述的方法,其中,所述基于所述位置提示消息,显示所述目标虚拟对象所处的目标对象位置,包括:
    在所述目标对象位置位于虚拟环境画面中的情况下,在所述虚拟环境中显示所述目标虚拟对象所处的所述目标对象位置。
  12. 根据权利要求9所述的方法,其中,所述基于所述位置提示消息,显示所述目标虚拟对象所处的目标对象位置之后,所述方法还包括:
    在所述目标虚拟对象位于视野范围的情况下,取消显示所述目标对象位置。
  13. 一种虚拟对象的位置提示装置,其中,所述装置包括:
    显示模块,用于显示虚拟环境地图以及至少一个第一虚拟对象对应的对象标识,所述第一虚拟对象与被控虚拟对象属于不同阵营;
    所述显示模块,还用于响应于对目标对象标识的拖动操作,且拖动终点位于所述虚拟环境地图内,在所述虚拟环境地图内显示所述目标对象标识,所述目标对象标识对应目标虚拟对象;
    发送模块,用于响应于对所述虚拟环境地图内所述目标对象标识的触发操作,向至少一个第二虚拟对象发送位置提示消息,所述位置提示消息包含所述目标虚拟对象所处的目标对象位置,所述目标对象位置由所述目标对象标识标记得到,所述第二虚拟对象与所述被控虚拟对象属于同一阵营。
  14. 根据权利要求13所述的装置,其中,所述发送模块,还用于:
    响应于对所述虚拟环境地图内所述目标对象标识的触发操作,基于所述目标对象标识在所述虚拟环境地图中所处的位置,确定所述目标对象位置;
    向至少一个所述第二虚拟对象发送所述位置提示消息。
  15. 根据权利要求13所述的装置,其中,所述发送模块,还用于:
    响应于对所述虚拟环境地图内所述目标对象标识的触发操作,基于所述目标对象标识对应位置标记控件所指示的位置,确定所述目标对象位置,所述位置标记控件包括对象指示端和位置指示端,所述目标对象标识与所述对象指示端相连,所述位置指示端用于指示所述目标对象位置;
    向至少一个所述第二虚拟对象发送所述位置提示消息。
  16. 根据权利要求15所述的装置,其中,所述显示模块,还用于:
    在所述虚拟环境地图内显示所述目标对象标识和所述位置标记控件;
    所述装置还包括:
    调整模块,用于响应于对所述位置标记控件的拖动操作,调整所述位置指示端在所述虚拟环境地图中所指示的位置。
  17. 根据权利要求16所述的装置,其中,所述显示模块,还用于:
    在所述虚拟环境地图中存在至少两个所述目标对象标识,且标识距离小于第一距离阈值的情况下,显示单个所述位置标记控件,单个位置标记控件指示至少两个目标虚拟对象的位置,所述标识距离是至少两个所述目标对象标识之间的距离;
    在所述虚拟环境地图中存在至少两个所述目标对象标识,且所述标识距离大于所述第一距离阈值的情况下,显示至少两个所述位置标记控件,不同位置标记控件指示不同目标虚拟对象的位置。
  18. 一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一段程序,所述至少一段程序由所述处理器加载并执行以实现如权利要求1至12任一所述的虚拟对象的位置提示方法。
  19. 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一段程序,所述至少一段程序由处理器加载并执行以实现如权利要求1至12任一所述的虚拟对象的位置提示方法。
  20. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令以实现如权利要求1至12任一所述的虚拟对象的位置提示方法。
PCT/CN2022/091765 2021-06-03 2022-05-09 虚拟对象的位置提示方法、装置、终端及存储介质 WO2022252927A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2023559103A JP2024514775A (ja) 2021-06-03 2022-05-09 仮想オブジェクトの位置提示方法、装置、端末及びプログラム
KR1020237028424A KR20230134566A (ko) 2021-06-03 2022-05-09 가상 객체 위치 프롬프팅 방법 및 장치, 단말 그리고 저장 매체
US18/314,379 US20230321539A1 (en) 2021-06-03 2023-05-09 Position prompt method and apparatus for virtual object, terminal, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110620718.0A CN113198178B (zh) 2021-06-03 2021-06-03 虚拟对象的位置提示方法、装置、终端及存储介质
CN202110620718.0 2021-06-03

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/314,379 Continuation US20230321539A1 (en) 2021-06-03 2023-05-09 Position prompt method and apparatus for virtual object, terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2022252927A1 true WO2022252927A1 (zh) 2022-12-08

Family

ID=77024360

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091765 WO2022252927A1 (zh) 2021-06-03 2022-05-09 虚拟对象的位置提示方法、装置、终端及存储介质

Country Status (5)

Country Link
US (1) US20230321539A1 (zh)
JP (1) JP2024514775A (zh)
KR (1) KR20230134566A (zh)
CN (1) CN113198178B (zh)
WO (1) WO2022252927A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113198178B (zh) * 2021-06-03 2023-05-26 腾讯科技(深圳)有限公司 虚拟对象的位置提示方法、装置、终端及存储介质
CN117138357A (zh) * 2022-05-23 2023-12-01 腾讯科技(深圳)有限公司 虚拟场景中的消息处理方法、装置、电子设备及存储介质
CN118267707A (zh) * 2022-12-29 2024-07-02 腾讯科技(深圳)有限公司 标记信息的展示方法和装置、存储介质及电子设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992252A (zh) * 2017-11-28 2018-05-04 网易(杭州)网络有限公司 信息提示方法、装置、电子设备及存储介质
WO2019179314A1 (zh) * 2018-03-22 2019-09-26 腾讯科技(深圳)有限公司 标记点位置显示方法、电子设备及计算机可读存储介质
CN110368691A (zh) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 多人在线对战程序中的提醒信息发送方法、装置及终端
CN112346636A (zh) * 2020-11-05 2021-02-09 网易(杭州)网络有限公司 游戏中信息处理方法、装置和终端
CN112402962A (zh) * 2020-11-20 2021-02-26 腾讯科技(深圳)有限公司 基于虚拟环境的信号显示方法、装置、设备及介质
CN112791406A (zh) * 2021-01-25 2021-05-14 网易(杭州)网络有限公司 锁定目标的方法、装置和终端设备
CN112827170A (zh) * 2021-02-08 2021-05-25 网易(杭州)网络有限公司 游戏中的信息处理方法、电子设备及存储介质
CN113198178A (zh) * 2021-06-03 2021-08-03 腾讯科技(深圳)有限公司 虚拟对象的位置提示方法、装置、终端及存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741818A (zh) * 2017-09-01 2018-02-27 网易(杭州)网络有限公司 信息处理方法、装置、电子设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992252A (zh) * 2017-11-28 2018-05-04 网易(杭州)网络有限公司 信息提示方法、装置、电子设备及存储介质
WO2019179314A1 (zh) * 2018-03-22 2019-09-26 腾讯科技(深圳)有限公司 标记点位置显示方法、电子设备及计算机可读存储介质
CN110368691A (zh) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 多人在线对战程序中的提醒信息发送方法、装置及终端
CN112346636A (zh) * 2020-11-05 2021-02-09 网易(杭州)网络有限公司 游戏中信息处理方法、装置和终端
CN112402962A (zh) * 2020-11-20 2021-02-26 腾讯科技(深圳)有限公司 基于虚拟环境的信号显示方法、装置、设备及介质
CN112791406A (zh) * 2021-01-25 2021-05-14 网易(杭州)网络有限公司 锁定目标的方法、装置和终端设备
CN112827170A (zh) * 2021-02-08 2021-05-25 网易(杭州)网络有限公司 游戏中的信息处理方法、电子设备及存储介质
CN113198178A (zh) * 2021-06-03 2021-08-03 腾讯科技(深圳)有限公司 虚拟对象的位置提示方法、装置、终端及存储介质

Also Published As

Publication number Publication date
US20230321539A1 (en) 2023-10-12
JP2024514775A (ja) 2024-04-03
KR20230134566A (ko) 2023-09-21
CN113198178A (zh) 2021-08-03
CN113198178B (zh) 2023-05-26

Similar Documents

Publication Publication Date Title
WO2020238592A1 (zh) 虚拟环境中生成标记信息的方法、装置、电子设备及存储介质
WO2022252927A1 (zh) 虚拟对象的位置提示方法、装置、终端及存储介质
US11305190B2 (en) Location indication information display method, electronic apparatus, and storage medium
CN111589126B (zh) 虚拟对象的控制方法、装置、设备及存储介质
WO2021208614A1 (zh) 虚拟对象的控制方法、装置、设备和存储介质
WO2021244322A1 (zh) 瞄准虚拟对象的方法、装置、设备及存储介质
JP7543557B2 (ja) 仮想オブジェクトの制御方法、装置、端末、記憶媒体及びコンピュータプログラム
CN113440846B (zh) 游戏的显示控制方法、装置、存储介质及电子设备
JP2024016124A (ja) 仮想オブジェクトの制御方法、装置、機器及びコンピュータプログラム
CN109966738A (zh) 信息处理方法、处理装置、电子设备和存储介质
CN111672116B (zh) 控制虚拟对象释放技能的方法、装置、终端及存储介质
WO2022127376A1 (zh) 虚拟对象的控制方法、装置、终端、存储介质及程序产品
US20240115944A1 (en) Method and apparatus for displaying virtual environment picture, device, and storage medium
WO2022042435A1 (zh) 虚拟环境画面的显示方法、装置、设备及存储介质
US20240070974A1 (en) Method and apparatus for displaying virtual environment picture, device, and storage medium
WO2022156504A1 (zh) 标记处理方法、装置、计算机设备、存储介质及程序产品
CN111359208A (zh) 游戏中标记信号生成的方法及装置、电子设备、存储介质
CN113546417A (zh) 一种信息处理方法、装置、电子设备和存储介质
US20230356087A1 (en) Method for controlling virtual object to pick virtual props, terminal, and storage medium
WO2022142622A1 (zh) 虚拟对象互动模式的选择方法、装置、设备、介质及产品
WO2023010690A1 (zh) 虚拟对象释放技能的方法、装置、设备、介质及程序产品
WO2021213025A1 (zh) 虚拟环境的画面显示方法、装置、设备及存储介质
JP2024522067A (ja) ユーザインタフェースの表示方法、装置、機器及びコンピュータプログラム
KR20220155424A (ko) 가상 객체 제어 방법, 장치, 디바이스 및 컴퓨터 판독 가능 저장 매체
WO2023138175A1 (zh) 卡牌施放方法、装置、设备、存储介质及程序产品

Legal Events

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

Ref document number: 22814974

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20237028424

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020237028424

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2023559103

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.04.2024)