WO2022227915A1 - 显示位置标记的方法、装置、设备及存储介质 - Google Patents

显示位置标记的方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022227915A1
WO2022227915A1 PCT/CN2022/081484 CN2022081484W WO2022227915A1 WO 2022227915 A1 WO2022227915 A1 WO 2022227915A1 CN 2022081484 W CN2022081484 W CN 2022081484W WO 2022227915 A1 WO2022227915 A1 WO 2022227915A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual object
virtual
skill
map
target
Prior art date
Application number
PCT/CN2022/081484
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 JP2023549098A priority Critical patent/JP2024509064A/ja
Publication of WO2022227915A1 publication Critical patent/WO2022227915A1/zh
Priority to US17/986,274 priority patent/US20230072762A1/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/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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • 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/55Controlling game characters or game objects based on the game progress
    • 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/55Controlling game characters or game objects based on the game progress
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • 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/303Features 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 for displaying additional data, e.g. simulating a Head Up Display
    • A63F2300/306Features 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 for displaying additional data, e.g. simulating a Head Up Display for displaying a marker associated to an object or location in the game field
    • 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/303Features 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 for displaying additional data, e.g. simulating a Head Up Display
    • A63F2300/307Features 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 for displaying additional data, e.g. simulating a Head Up Display for displaying an additional window with a view from the top of the game field, e.g. radar screen

Definitions

  • the embodiments of the present application relate to the field of computer technologies, and in particular, to a method, apparatus, device, and storage medium for displaying a position marker.
  • thumbnail maps In the thumbnail map, the location markers of some virtual objects in the virtual environment can be displayed to play a map guiding role. For example, position markers of virtual objects belonging to the confrontation camp are displayed on the thumbnail map.
  • the reconnaissance props are used to detect virtual objects belonging to the confrontation camp within the default range, and then the position markers of the detected virtual objects are displayed on the thumbnail map.
  • Reconnaissance props have certain conditions of use and can be used for a certain number of times, which makes the implementation of displaying the location markers of virtual objects belonging to the confrontation camp in the thumbnail map relatively high, and the frequency of display is limited by the number of times the reconnaissance props can be used.
  • the flexibility and reliability of displaying position markers are poor, resulting in a low rate of human-computer interaction.
  • the embodiments of the present application provide a method, apparatus, device, and storage medium for displaying position markers, which can be used to improve the flexibility and reliability of displaying position markers, thereby improving the human-computer interaction rate.
  • the technical solution is as follows:
  • an embodiment of the present application provides a method for displaying a position marker, the method is executed by a terminal, and the method includes:
  • thumbnail map is used to provide map guidance for the first virtual object, and the first virtual object belongs to the first camp;
  • Controlling the first virtual object to attack a second virtual object the second virtual object belongs to the second camp, and the relationship between the second camp and the first camp is an antagonistic relationship;
  • a location marker of a third virtual object belonging to the second camp is displayed in the thumbnail map.
  • an apparatus for displaying a position marker comprising:
  • a display unit configured to display a thumbnail map, where the thumbnail map is used to provide map guidance for a first virtual object, and the first virtual object belongs to the first camp;
  • control unit configured to control the first virtual object to attack a second virtual object, the second virtual object belongs to the second camp, and the relationship between the second camp and the first camp is an antagonistic relationship;
  • the display unit is further configured to, in response to the first virtual object defeating the second virtual object, display a position marker of a third virtual object in the thumbnail map, where the third virtual object belongs to the first virtual object. Second camp.
  • a computer device in another aspect, includes a processor and a memory, the memory stores at least one computer program, the at least one computer program is loaded and executed by the processor to cause all
  • the computer device implements any of the above-mentioned methods for displaying position markers.
  • a non-transitory computer-readable storage medium is also provided, and at least one computer program is stored in the non-transitory computer-readable storage medium, and the at least one computer program is loaded and executed by a processor to A computer is made to implement any one of the above-mentioned methods for displaying position marks.
  • a computer program product or computer program comprising computer instructions stored in a non-transitory computer readable storage medium.
  • the processor of the computer device reads the computer instructions from the non-transitory computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform any of the above-described methods for displaying position markers.
  • the position marker of the third virtual object belonging to the same camp as the second virtual object is automatically displayed in the thumbnail map.
  • the relationship between the camp to which the second virtual object belongs and the camp to which the first virtual object belongs is an antagonistic relationship, that is, the camp to which the second virtual object belongs is an opposing camp of the camp to which the first virtual object belongs.
  • the process of displaying the location markers of virtual objects belonging to the confrontation camp in the thumbnail map does not need to rely on reconnaissance props, and the implementation requirements for displaying the location markers of virtual objects belonging to the confrontation camp in the thumbnail map are relatively low.
  • the display frequency will not be limited by the number of times the reconnaissance props can be used, which is beneficial to improve the flexibility and reliability of the displayed position mark, thereby improving the human-computer interaction rate.
  • FIG. 1 is a schematic diagram of an implementation environment of a method for displaying position markers provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a method for displaying a position marker provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a skill selection interface provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a detection area provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a first reference position in a map corresponding to a virtual environment provided by an embodiment of the present application
  • FIG. 7 is a schematic diagram of a second reference position in a thumbnail map provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a thumbnail map provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a process for displaying a location marker in a thumbnail map provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a device for displaying position markers provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an apparatus for displaying a position mark provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • Virtual environment an environment provided (or displayed) when an application runs on a terminal, and the virtual environment refers to an environment created for virtual objects to perform activities.
  • the virtual environment may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment.
  • the virtual environment may be a simulated environment of the real world, a semi-simulated and semi-fictional environment, or a purely fictional environment.
  • Virtual object refers to the movable object in the virtual environment.
  • the virtual objects may be virtual characters, virtual animals, cartoon characters, etc., for example, characters, animals, plants, oil barrels, walls, stones, etc. displayed in the virtual environment.
  • Interactive objects can manipulate virtual objects through peripheral components or by tapping on the touch screen.
  • Each virtual object has its own shape and volume in the virtual environment, occupying a part of the space in the virtual environment.
  • the virtual object is a three-dimensional solid model created based on animation skeleton technology.
  • Virtual objects elements in a virtual environment, including but not limited to virtual objects, virtual buildings, virtual creatures, virtual vehicles, etc.
  • FIG. 1 shows a schematic diagram of an implementation environment of a method for displaying a position marker provided by an embodiment of the present application.
  • the implementation environment includes: a terminal 11 and a server 12 .
  • the terminal 11 has an application program that supports a virtual environment and can display a thumbnail map installed and running.
  • the interactive object can use the terminal 11 to control the virtual object to perform activities in the virtual environment provided by the application, the activities include but are not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throw etc.
  • the embodiments of the present application do not limit the application programs that support virtual environments and can display thumbnail maps.
  • applications that support virtual environments and can display thumbnail maps include but are not limited to: VR (Virtual Reality, virtual reality) Applications, AR (Augmented Reality, Augmented Reality) applications, 3D map programs, game applications, social applications, interactive entertainment applications, etc.
  • game applications include but are not limited to shooting games, MOBA (Multiplayer Online Battle Arena) games, SLG (Simulation Game, strategy games) and the like.
  • Shooting games refer to all games that use virtual props for long-range attacks, including but not limited to FPS (First-Person Shooting) games and TPS (Third-Personal Shooting) games.
  • the application program supporting the virtual environment and capable of displaying the thumbnail map may support at least one of the Windows operating system, the Apple operating system, the Android operating system, the IOS operating system and the Linux operating system, and run on different operating systems. Applications in the operating system can communicate with each other.
  • the application program that supports the virtual environment and can display the thumbnail map is an application program developed based on a three-dimensional engine. In some embodiments, the application program that supports the virtual environment and can display the thumbnail map is a stand-alone version of the application program, or an online version of the application program.
  • the server 12 is used to provide background services for the applications installed on the terminal 11 that support a virtual environment and can display thumbnail maps.
  • the server 12 undertakes the main computing work, and the terminal 11 undertakes the secondary computing work; or, the server 12 undertakes the secondary computing work, and the terminal 11 undertakes the main computing work; or, either the server 12 or the terminal 11 undertakes the main computing work
  • the distributed computing architecture is used for collaborative computing.
  • the terminal 11 is any electronic product that can perform human-computer interaction with interactive objects in one or more ways, such as a keyboard, a touchpad, a touchscreen, a remote control, a voice interaction or a handwriting device, for example , PC (Personal Computer, personal computer), mobile phone, smart phone, PDA (Personal Digital Assistant, personal digital assistant), wearable device, handheld portable game device, PPC (Pocket PC, handheld computer), tablet computer, smart car machine , smart TVs, smart speakers, etc.
  • the server 12 may be a server, a server cluster composed of multiple servers, or a cloud computing service center.
  • the terminal 11 establishes a communication connection with the server 12 through a wired or wireless network.
  • terminal 11 and server 12 are only examples. If other existing or future terminals or servers are applicable to this application, they should also be included in the protection scope of this application, and are hereby referred to as References are included here.
  • an embodiment of the present application provides a method for displaying a position marker, and the method is executed by the terminal 11 .
  • the embodiments of the present application take the method being executed by an application running in the terminal 11 that supports a virtual environment and can display a thumbnail map as an example.
  • the method for displaying a position marker provided by an embodiment of the present application includes the following steps 201 to 203 .
  • step 201 a thumbnail map is displayed, and the thumbnail map is used to provide map guidance for the first virtual object, and the first virtual object belongs to the first camp.
  • the execution subject of the embodiment of the present application is an application program that supports a virtual environment and can display a thumbnail map.
  • an application program that supports a virtual environment and can display a thumbnail map is called a target application program .
  • the embodiment of this application does not limit the type of the target application.
  • the target application includes but is not limited to: VR application, AR application, 3D map program, game application, social application, Interactive entertainment applications, etc.
  • game applications include but are not limited to FPS games, TPS games, MOBA games, SLG and the like.
  • the target application is installed and run in the target terminal.
  • the first virtual object in this embodiment of the present application refers to a virtual object used to represent a target interaction object using the target terminal, and the first virtual object can be used in a virtual environment provided by the target application. middle activities.
  • the target application can control the first virtual object according to the interactive operation generated by the target interactive object.
  • the embodiment of the present application does not limit the type of the first virtual object, for example, the first virtual object may refer to a virtual character, a virtual animal, an animation character, or the like.
  • the target application can display a thumbnail map for providing map guidance for the first virtual object, so that the target interactive object can generate a control operation on the first virtual object by referring to the displayed thumbnail map, and improve the understanding of the first virtual object. Control the accuracy of the operation.
  • the thumbnail map refers to a reduced map of the map corresponding to the virtual environment provided by the target application.
  • the thumbnail map may refer to a reduced map of a map corresponding to the entire virtual environment, or may refer to a reduced map of a map corresponding to a part of the virtual environment, which is not limited in this embodiment of the present application.
  • the part of the virtual environment may refer to a virtual environment near the location where the first virtual object is located.
  • the map corresponding to the virtual environment is used to describe the virtual environment visually.
  • the map corresponding to the virtual environment may be a three-dimensional map or a plane map, which is not limited in this embodiment of the present application.
  • the virtual environment is a three-dimensional virtual environment
  • the map corresponding to the virtual environment refers to a plane map obtained by projecting the three-dimensional virtual environment on a plane.
  • the map corresponding to the virtual environment refers to a three-dimensional map drawn according to the actual situation of the virtual environment.
  • the thumbnail map can be a flat map or a three-dimensional map, and the thumbnail map can quickly and intuitively reflect the situation of the virtual environment to the target interactive object, so as to facilitate the target interactive object to formulate usage strategies and implement operations.
  • the embodiment of the present application does not limit the elements included in the thumbnail map displayed in step 201, which may be set by the developer of the target application, or may be set by the target interaction object in the target application.
  • the thumbnail map includes, but is not limited to, the position mark of the first virtual object, the position mark of the virtual building in the virtual environment, the position mark of the own virtual object belonging to the same camp as the first virtual object, and the like.
  • the expression forms of the position mark of the first virtual object, the position mark of the virtual building, and the position mark of one's own virtual object are set by the developer of the target application, or set by the target interactive object, which is not applied in this embodiment of the present application. limited.
  • the position markers of different virtual objects are different, so as to distinguish different virtual objects.
  • the position marker of the first virtual object is represented by a yellow arrow
  • the position marker of a virtual building is represented by a dot
  • the The virtual object's position marker is represented by a blue arrow.
  • the timing for displaying the thumbnail map includes, but is not limited to, the following two: satisfying the display condition and obtaining the display operation of the thumbnail map.
  • Satisfying the display condition is set according to experience or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application.
  • satisfying the display condition means that the game starts; or, satisfying the display condition means that the first virtual object enters a certain game scene, or the like.
  • the display operation of the thumbnail map refers to an operation for instructing the display of the thumbnail map.
  • the display operation of the thumbnail map is generated by the target interactive object.
  • the embodiment of the present application does not limit the acquisition method of the display operation of the thumbnail map.
  • the display interface of the target application program displays a thumbnail map display entry, and the trigger of the thumbnail map display entry is based on the target interactive object. Operation to get the display operation of the thumbnail map.
  • the form of the thumbnail map display entry is set by the developer of the target application, for example, the form of the thumbnail map display entry is a button; or, the form of the thumbnail map display entry is a triggerable icon.
  • the manner of displaying the thumbnail map is: displaying the thumbnail map at the target position in the display interface.
  • the target location is set by the developer of the target application, and different applications may have different target locations.
  • the target position is the position of the upper left corner of the display interface; or, the target position is the position of the upper right corner of the display interface, or the like.
  • the display interface refers to an interface displayed on the screen of the target terminal for the target interactive object to view.
  • a virtual environment picture is also displayed.
  • the virtual environment picture displayed in the display interface occupies the entire display interface.
  • the thumbnail map is displayed at the target position in the display interface in a manner of blocking part of the virtual environment picture. That is, the thumbnail map is superimposed and displayed on the virtual environment screen.
  • the virtual environment picture is a picture collected by observing the virtual environment provided by the target application from the perspective of the first virtual object.
  • the perspective of the first virtual object may refer to a first-person perspective of the first virtual object, or may refer to a third-person perspective of the first virtual object, etc., which is not limited in this embodiment of the present application.
  • the viewing angle of the first virtual object is an angle when the first virtual object is observed through the camera model in the virtual environment.
  • the camera model automatically follows the first virtual object in the virtual environment, that is, when the position of the first virtual object in the virtual environment changes, the position of the camera model in the virtual environment follows the position of the first virtual object in the virtual environment.
  • the position in the virtual environment changes, and the camera model is always within a certain distance range of the first virtual object in the virtual environment.
  • the relative positions of the camera model and the first virtual object do not change.
  • the camera model refers to a three-dimensional model located around the first virtual object in the virtual environment, and when the first-person perspective is adopted, the camera model is located near the head of the first virtual object or is located on the head of the virtual object; when When using the third-person perspective, the camera model can be located behind the first virtual object and bound to the first virtual object, or can be located at any position with a reference distance from the first virtual object, and the camera model can be used from different angles.
  • the first virtual object in the virtual environment is observed.
  • the reference distance is set according to experience, or flexibly adjusted according to the application scenario.
  • other perspectives such as a top-down perspective, are also included.
  • the bird's-eye view is a view from which the virtual environment is viewed from the sky.
  • the camera model may be located above the head of the first virtual object.
  • the camera model is not actually displayed in the virtual environment, that is, the camera model is not displayed in the displayed virtual environment picture.
  • the display situation of the first virtual object in the virtual environment picture is different.
  • the complete first virtual object is displayed in the virtual environment picture; in the first-person perspective, a part of the first virtual object, such as the hand of the first virtual object, is displayed.
  • other virtual objects and other elements may also be displayed in the virtual environment screen.
  • other virtual objects may refer to virtual objects controlled by other application programs, or may refer to human-machine virtual objects that are not controlled by any interactive objects, and the like.
  • other elements include, but are not limited to, mountains, flats, rivers, lakes, oceans, deserts, swamps, quicksand, sky, plants, buildings, vehicles, and the like.
  • the application scenario of the embodiment of the present application is a scenario in which at least two camps perform competitive interaction, and each camp includes at least one virtual object.
  • the number of camps performing competitive interaction is determined according to the type of the target application or the actual interaction scenario, which is not limited in this embodiment of the present application. Exemplarily, the number of camps performing competitive interaction is two, or, The number of camps is three.
  • the embodiment of the present application does not limit the number of virtual objects included in each camp, and the number of virtual objects included in different camps may be the same or different.
  • the camp to which the first virtual object belongs is referred to as the first camp, that is, the first virtual object belongs to the first camp.
  • the camp that regards the relationship with the first camp as an antagonistic relationship is called the second camp. It should be noted that, the number of the second camp may be one or multiple, which is not limited in this embodiment of the present application.
  • the first virtual object can attack a virtual object belonging to the second camp, and the first virtual object can also be attacked by a virtual object belonging to the second camp.
  • the first virtual object can defeat the virtual object belonging to the second camp, and the virtual object belonging to the second camp can also defeat the first virtual object.
  • a virtual object is defeated, it is considered that the virtual object cannot continue to participate in the competitive interaction, and the virtual object is eliminated from the competitive interaction.
  • that a certain virtual object is defeated means that the life value of the virtual object is lower than the first threshold.
  • the first threshold is set according to experience, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application.
  • step 202 the first virtual object is controlled to attack the second virtual object, the second virtual object belongs to the second camp, and the relationship between the second camp and the first camp is a confrontation relationship.
  • the target application can control the first virtual object to attack the second virtual object.
  • the second virtual object refers to any virtual object belonging to the second camp that participates in the same competition and interacts with the first virtual object.
  • the relationship between the second camp and the first camp to which the first virtual object belongs is an antagonistic relationship, that is, for the first virtual object, the second virtual object is a virtual object belonging to the antagonistic camp.
  • the process of controlling the first virtual object to attack the second virtual object is: acquiring an attack operation against the second virtual object generated by the target interactive object, and controlling the first virtual object to attack the second virtual object based on the attack operation.
  • the attack operation on the second virtual object is used to instruct the first virtual object to attack the second virtual object, so that the target application controls the first virtual object to attack the second virtual object in the manner indicated by the attack operation on the second virtual object. virtual object.
  • the first virtual object may attack the second virtual object in various ways.
  • the first virtual object can attack the second virtual object by using a reference prop or a reference skill
  • the reference prop is a prop used for a virtual object
  • the reference skill is a skill used for a virtual object.
  • the reference props and the reference skills are developed by the developer of the target application and configured by the target interaction object as the first virtual object.
  • the embodiments of the present application do not limit the specific types of the reference props and the reference skills, which can be flexibly adjusted according to the target application. As long as it can be ensured that the reference props and the reference skills are used for a virtual object.
  • the reference prop is a virtual rifle.
  • the first virtual object may also attack the second virtual object by using props or skills that are used against multiple virtual objects at the same time.
  • the first virtual object will attack other virtual objects while attacking the second virtual object. virtual object.
  • the props or skills used by multiple virtual objects at the same time are flexibly set according to the type of the target application, which is not limited in this embodiment of the present application.
  • step 203 in response to the first virtual object defeating the second virtual object, a position marker of the third virtual object is displayed in the thumbnail map, and the third virtual object belongs to the second camp.
  • the position mark of the third virtual object is displayed in the thumbnail map.
  • the third virtual object belongs to the second camp.
  • the first virtual object defeating the second virtual object may also be expressed as the first virtual object killing the second virtual object.
  • the third virtual object and the second virtual object belong to the same camp, that is, the third virtual object and the second virtual object are in the same camp different virtual objects.
  • the third virtual object may belong to the same second camp as the second virtual object, or may belong to a different second camp from the second virtual object, which is not the case in the embodiment of the present application. be limited.
  • both the second virtual object and the third virtual object are virtual objects belonging to the confrontation camp.
  • the triggering condition for displaying the position markers of the virtual objects belonging to the confrontation camp in the map is: the first virtual object defeats a virtual object belonging to the confrontation camp. This process of displaying the position markers of virtual objects belonging to the confrontation camp does not need to rely on reconnaissance props.
  • the implementation requirements for displaying the position markers of virtual objects belonging to the confrontation camp in the thumbnail map are relatively low, and the display frequency will not be affected by the reconnaissance category.
  • the limitation of the number of times the props can be used is beneficial to improve the flexibility and reliability of the displayed position mark, thereby improving the human-computer interaction rate.
  • the second virtual object is displayed in the virtual environment screen before the first virtual object defeats the second virtual object. In this case, if it is determined that the first virtual object defeats the second virtual object, the second virtual object is no longer displayed in the virtual environment screen.
  • the third virtual object is a virtual object whose geographic location is located in the detection area and belongs to the second camp, and the detection area is determined based on the geographic location of the second virtual object, that is, the third virtual object is the first virtual object.
  • the location mark of the third virtual object is used to indicate the corresponding location of the geographic location of the third virtual object in the thumbnail map.
  • the method before performing step 203, further includes: in response to the configuration operation of the first skill, configuring a first skill for the first virtual object, where the first skill is to defeat the first virtual object in response to the first skill.
  • the second virtual object displays the position marker of the third virtual object on the thumbnail map. If the first virtual object configured with the first skill defeats the second virtual object in the process of participating in the competitive interaction, it will automatically trigger the display of the position marker of the third virtual object in the thumbnail map.
  • the target interactive object can choose which skill or skills to configure for the first virtual object, and the skills that can be configured for the first virtual object are related to the level of the first virtual object and the setting of the target application , which is not limited in the embodiments of the present application.
  • a first skill is configured for the first virtual object, so that during the process of the first virtual object participating in the competitive interaction, if the first virtual object defeats the second virtual object object, the position marker of the third virtual object is displayed in the thumbnail map. That is, in this embodiment of the present application, the first virtual object is provided with the first skill by configuring the skill.
  • the method of obtaining the configuration operation of the first skill is: displaying at least one candidate skill on the skill selection interface; in response to the selection operation of the first skill in the at least one candidate skill, displaying the corresponding The skill information and the confirmation control corresponding to the first skill; in response to the triggering operation of the confirmation control corresponding to the first skill, the configuration operation of the first skill is obtained.
  • the role of the candidate skill is to automatically trigger the skill when the virtual object of the interactive object meets the conditions corresponding to the skill.
  • Different candidate skills can achieve different functions.
  • the type and quantity of candidate skills are related to the level of the first virtual object and the setting of the target application program, etc., which are not limited in this embodiment of the present application.
  • the method of displaying the candidate skill on the skill selection interface is to display the name and icon of the candidate skill on the skill selection interface.
  • skills can be divided into different categories, eg, active skills and passive skills.
  • Active skills refer to skills that are triggered according to the trigger operation of the target interaction object
  • passive skills refer to skills that are automatically triggered when certain set conditions are met.
  • one per skill type is allowed to be configured to avoid conflicts.
  • Candidate skills are passive skills, and the skill selection interface displaying candidate skills is used to select passive skills.
  • the first skill is included in at least one candidate skill. If a selection operation by the target interactive object on the first skill in the at least one candidate skill is detected, the skill information corresponding to the first skill and the first skill will be displayed in the skill selection interface.
  • the skill information corresponding to the first skill is used to introduce the first skill in detail for the target interactive object.
  • the skill information corresponding to the first skill includes, but is not limited to, an enlarged version icon of the first skill and introduction information that introduces the first skill.
  • the skill selection interface before configuring the first skill for the first virtual object is shown as (1) in FIG. 3 .
  • There are 4 candidate skills shown in (1) in FIG. 3 and the 4 candidate skills are the first skill 301 , the quick healing skill 302 , the perseverance skill 303 and the explosion-proof clothing skill 304 in sequence. If the selection operation of the first skill 301 by the target interaction object is detected, the enlarged icon 305 of the first skill 301, the introduction information 306 introducing the first skill 301 and the corresponding first skill 301 are displayed in the skill selection interface.
  • the target interactive object can trigger the confirmation control corresponding to the first skill. If the trigger operation of the confirmation control corresponding to the first skill by the interactive object is detected, the configuration operation of the first skill is obtained, and the configuration operation of the first skill is used to indicate that the first skill needs to be configured for the first virtual object.
  • the first virtual object After acquiring the configuration operation of the first skill, configure the first skill for the first virtual object, so that the first virtual object has the first skill, so that when it is determined that the first virtual object defeats the second virtual object, the first virtual object can automatically shrink
  • the location marker of the third virtual object is displayed on the sketch map.
  • the first skill after the first skill is configured for the first virtual object, the first skill may also be removed from the first virtual object in response to a removal operation of the first skill, so that the target interactive object selects a new skills and configure the new skills for the first virtual object by the target application.
  • the confirmation control displayed in the skill selection interface is changed to a removal control.
  • the skill selection interface after configuring the first skill for the first virtual object is shown in (2) in FIG. 3 , in which a removal control 308 triggered by the target interactive object is displayed in (2) in FIG. 3 .
  • the specific situation of displaying the position marker of the third virtual object in the thumbnail map is: in response to the first virtual object defeating the second virtual object with a reference prop or a reference skill For the second virtual object, a position marker of the third virtual object is displayed on the thumbnail map.
  • the reference prop is a prop used for a virtual object
  • the reference skill is a skill used for a virtual object.
  • the operation of displaying the position marker of the third virtual object in the thumbnail map is performed again.
  • This method can ensure that when the first virtual object defeats the second virtual object, other virtual objects will not be defeated. That is, in the case where the first virtual object defeats only one virtual object belonging to the confrontation camp at a time, the operation of displaying the position marker of the third virtual object in the thumbnail map is performed. This method is beneficial to ensure that the location marks of the virtual objects belonging to the confrontation camp near the defeated virtual object are displayed in real time in the thumbnail map, so as to avoid missing display.
  • the display interface including the virtual environment picture and the thumbnail map is shown in FIG. 4 .
  • a thumbnail map 401 is displayed in the upper right corner of the display interface, and the first virtual object uses the virtual rifle 402 to defeat the second virtual object.
  • a disappearing special effect 403 is displayed at the original display position of the second virtual object, and the disappearing special effect 403 is used to indicate that the second virtual object is defeated.
  • prompt information may also be displayed, and the prompt information includes but is not limited to the text prompt information "Destroy" and the experience value increasing prompt information "+100".
  • the experience value increasing prompt information is used to prompt the experience value to be increased for the first virtual object.
  • the disappearing special effect is set according to experience, or flexibly adjusted according to an actual scene, which is not limited in this embodiment of the present application.
  • the manner of displaying the position mark of the third virtual object in the thumbnail map is: displaying the position mark of the third virtual object whose geographic location is within the detection area and belongs to the second camp in the thumbnail map .
  • the detection area is determined based on the geographic location of the second virtual object.
  • the geographic location of the second virtual object is the position of the second virtual object in the map corresponding to the virtual environment when the second virtual object is defeated by the first virtual object.
  • the map corresponding to the virtual environment is a three-dimensional map
  • the geographic location of the second virtual object is represented by three-dimensional coordinates, where the three-dimensional coordinates are determined based on a three-dimensional coordinate system in the map corresponding to the virtual environment.
  • the location marker of the third virtual object is used to indicate the corresponding location of the geographic location of the third virtual object in the thumbnail map.
  • the process of determining the location corresponding to the geographic location of the third virtual object in the thumbnail map may be performed by a server, or may be performed by a target application, which is not limited in this embodiment of the present application.
  • the target application acquires the location corresponding to the geographic location of the third virtual object in the thumbnail map sent by the server.
  • the process of determining the position corresponding to the geographic location of the third virtual object in the thumbnail map is described by taking the target application as an example.
  • the process for the target application to determine the location corresponding to the geographic location of the third virtual object in the thumbnail map includes the following steps 1 to 4:
  • Step 1 In response to the first virtual object defeating the second virtual object, determine the geographic location of the second virtual object.
  • the method of determining the geographic location of the second virtual object is: obtaining geographic location information indicating the geographic location of the second virtual object; and determining the geographic location of the second virtual object based on the geographic location information.
  • the server sends the geographic location information used to indicate the geographic location of each virtual object participating in the competitive interaction to the target terminal in real time.
  • the target application can extract information from the target terminal for indicating the second Geographic location information of the geographic location of the virtual object.
  • the target application acquires geographic location information indicating the geographic location of the second virtual object by interacting with the server. After obtaining the geographic location information indicating the geographic location of the second virtual object, the geographic location of the second virtual object can be determined by analyzing the geographic location information.
  • Step 2 Determine the detection area based on the geographic location of the second virtual object.
  • the detection area is determined based on the geographic location of the second virtual object. Based on the geographic location of the second virtual object, the specific implementation manner of determining the detection area is set by the developer of the target application, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application. In an exemplary embodiment, the process of determining the detection area is invisible to the target interactive object.
  • the method of determining the detection area is: taking the geographic location of the second virtual object as the center of the circle, taking the target value as the radius to make a circle, and taking the area inside the circle as the detection area .
  • the target value is set by the developer of the target application, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application.
  • a circle is drawn to obtain the detection area 501 .
  • the detection area is determined by: taking the geographic location of the second virtual object as the center, making a rectangle with a target size, and using the area within the rectangle as the detection area.
  • the target size is set by the developer of the target application, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application.
  • the target size includes a target width and a target length.
  • the above method of determining the detection area based on the geographic location of the second virtual object is only an example, and the embodiments of the present application are not limited to this. In some embodiments, other methods may also be used based on the geographic location of the second virtual object.
  • Determine the detection area For example, taking the geographic location of the second virtual object as the center, a regular hexagon with a target side length is made, and the area within the regular hexagon is used as the detection area.
  • the target side length is set by the developer of the target application, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application.
  • Step 3 Determine the virtual object whose geographic location is within the detection area and belongs to the second camp as the third virtual object.
  • the third virtual object can be detected according to the detection area.
  • the detection area is the detection area in the map corresponding to the virtual environment. By judging whether the geographic location of the virtual object in the map corresponding to the virtual environment is within the detection area, all virtual objects whose geographic location is located in the detection area can be detected.
  • the virtual object belonging to the second camp among all the virtual objects whose geographic location is located in the detection area is used as the third virtual object. So far, the third virtual object is detected.
  • the third virtual object may be regarded as a virtual object belonging to the second camp near the second virtual object.
  • the embodiment of the present application is described by taking as an example that there is a third virtual object whose geographic location is located in the detection area and belongs to the second camp. If there is no third virtual object geographically located in the detection area and belonging to the second camp, the operation of displaying the position marker of the third virtual object in the thumbnail map will not be performed, but the normal competitive interaction process will continue.
  • the number of detected third virtual objects may be one or more, which is not limited in this embodiment of the present application.
  • the geographic locations of the virtual object A and the virtual object B are both located in the detection area 501, then both the virtual object A and the virtual object B are regarded as a third virtual object, and the virtual object A needs to be subsequently
  • Both the location marker of and the virtual object B's location marker are displayed in the thumbnail map.
  • the location marker of virtual object A is used to indicate the corresponding position of the geographic location of virtual object A in the thumbnail map
  • the location marker of virtual object B is used to indicate the corresponding location of the geographic location of virtual object B in the thumbnail map.
  • Step 4 Determine the position corresponding to the geographic location of the third virtual object in the thumbnail map.
  • the position corresponding to the geographic location of the third virtual object in the thumbnail map can be determined.
  • the location corresponding to the geographic location of the third virtual object in the thumbnail map is determined based on the geographic location of the third virtual object, that is, after the third virtual object is detected, the geographic location of the third virtual object needs to be determined.
  • the manner of determining the geographic location of the third virtual object refer to the manner of determining the geographic location of the second virtual object, which will not be repeated here.
  • the location corresponding to the geographic location of the third virtual object in the thumbnail map can be determined. It should be noted that, in the case of a plurality of third virtual objects, the geographic locations of the third virtual objects need to be determined respectively, and then the locations corresponding to the geographic locations of the third virtual objects in the thumbnail map respectively need to be determined.
  • the number of the determined corresponding positions in the thumbnail map is the same as the number of the third virtual objects.
  • the geographic location of the third virtual object is the location of the third virtual object in the map corresponding to the virtual environment; the process of determining the location corresponding to the geographic location of the third virtual object in the thumbnail map includes the following steps: Step A to Step C:
  • Step A Obtain the zoom ratio between the thumbnail map and the map corresponding to the virtual environment, the map corresponding to the virtual environment has a reference number of first reference positions, the thumbnail map has a reference number of second reference positions, and the reference number The first reference position is in one-to-one correspondence with a reference number of second reference positions.
  • the map corresponding to the virtual environment refers to the map corresponding to the virtual environment provided by the target application, and the zoom ratio between the thumbnail map and the map corresponding to the virtual environment is used to indicate how to transform from the size of the map corresponding to the virtual environment to the thumbnail map. size.
  • the shape of the map corresponding to the virtual environment and the shape of the thumbnail map are mathematically similar shapes, and the zoom ratio is a fixed value.
  • the shape of the map corresponding to the virtual environment and the shape of the thumbnail map are not mathematically similar shapes, and the zoom ratio includes two values, a horizontal zoom ratio and a vertical zoom ratio.
  • the horizontal zoom ratio is the ratio of the maximum horizontal length of the thumbnail map to the maximum horizontal length of the map corresponding to the virtual environment;
  • the vertical zoom ratio is the ratio of the maximum vertical length of the thumbnail map to the maximum vertical length of the map corresponding to the virtual environment.
  • the target application stores the zoom ratio between the thumbnail map and the map corresponding to the virtual environment.
  • the target application directly extracts the thumbnail map and the map corresponding to the virtual environment from the storage. zoom ratio between.
  • the size of the map corresponding to the virtual environment and the size of the thumbnail map are stored in the target application.
  • the target application stores the size of the thumbnail map with the size of the map corresponding to the virtual environment.
  • the zoom ratio between the thumbnail map and the map corresponding to the virtual environment is obtained by comparing.
  • the shapes of the thumbnail map and the map corresponding to the virtual environment are both rectangles.
  • the target application uses the ratio of the length of the thumbnail map to the length of the map corresponding to the virtual environment as the horizontal scaling ratio, and uses the width of the thumbnail map to the virtual environment.
  • the ratio of the width of the corresponding map is used as the vertical zoom ratio, so as to obtain the zoom ratio between the thumbnail map and the map corresponding to the virtual environment.
  • the target application obtains the zoom ratio between the thumbnail map and the map corresponding to the virtual environment by interacting with the server.
  • the map corresponding to the virtual environment has a reference number of first reference positions, and the first reference positions are positioning positions in the map corresponding to the virtual environment for establishing a mapping relationship with the thumbnail map.
  • the first reference position in the map corresponding to the virtual environment is selected by the developer of the target application program, or selected by the target application program itself.
  • the principle for selecting a reference number of first reference positions is: selecting a reference number of first reference positions that are scattered in the map corresponding to the virtual environment.
  • any three first reference positions in the reference number of first reference positions are not located on the same straight line, so as to ensure the degree of dispersion of the reference number of first reference positions.
  • the reference quantity is set according to experience, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application.
  • an appropriate reference number can enable the selected first reference position to perform good positioning on the map corresponding to the virtual environment without redundancy.
  • the reference number is three.
  • the thumbnail map has a reference number of second reference positions, and the thumbnail map establishes a mapping relationship with the map corresponding to the virtual environment based on the second reference positions.
  • the reference number and the second reference positions in the thumbnail map are selected by the developer of the target application program, or selected by the target application program itself.
  • the principle for selecting a reference number of second reference positions is: selecting a reference number of second reference positions scattered in the thumbnail map.
  • the number of the first reference positions and the second reference positions is the same, and both are a reference number, and the reference number of first reference positions and the reference number of second reference positions are in one-to-one correspondence. That is, for each first reference position in the map corresponding to the virtual environment, there is a corresponding second reference position in the thumbnail map. Exemplarily, the reference number is three, the first reference position in the map corresponding to the virtual environment is shown in FIG. 6 , and the second reference position in the thumbnail map is shown in FIG. 7 .
  • the first reference position A1 in FIG. 6 corresponds to the second reference position A2 in FIG. 7
  • the first reference position B1 in FIG. 6 corresponds to the second reference position B2 in FIG. 7
  • the first reference position in FIG. 6 C1 corresponds to the second reference position C2 in FIG. 7 .
  • Step B Determine a reference number of candidate positions corresponding to the geographic location of the third virtual object in the thumbnail map based on the zoom ratio, the reference number of first reference positions, and the reference number of second reference positions.
  • Each candidate position corresponding to the geographic position of the third virtual object in the thumbnail map is determined based on the zoom ratio, a first reference position, and a second reference position corresponding to the first reference position.
  • the principle of determining the geographic location of the third virtual object corresponding to each candidate location in the thumbnail map is the same, and in this embodiment of the present application, it is determined that the geographic location of the third virtual object corresponds to the thumbnail map.
  • the process of determining a candidate position corresponding to the geographic position of the third virtual object in the thumbnail map includes the following steps B-1 and B-2:
  • Step B-1 Based on the zoom ratio, obtain a second distance corresponding to the first distance, where the first distance is the distance between the geographic location of the third virtual object and the target reference position, and the target reference position is a reference number of first reference positions one of the first reference positions.
  • the geographic position of the third virtual object and the target reference position are both positions in the map corresponding to the virtual environment, and the distance between the geographic position of the third virtual object and the target reference position is taken as the first distance, and the first distance is the virtual The distance in the map corresponding to the environment.
  • the distance between the geographic position of the third virtual object and the target reference position may refer to a straight-line distance between the geographic position of the third virtual object and the target reference position, and the straight-line distance refers to the third virtual object.
  • the Euclidean distance between the geographic location of and the reference location of the target Exemplarily, the distance between the geographical position of the third virtual object and the target reference position may also refer to a horizontal distance or a vertical distance between the geographical position of the third virtual object and the target reference position, or the like.
  • the second distance is a distance corresponding to the first distance obtained based on the zoom ratio.
  • the second distance is the distance after mapping the first distance to the zoomed map. Since the zoom ratio can be used to indicate how to transform from the size of the map corresponding to the virtual environment to the size of the thumbnail map, it can be known how to obtain the second distance corresponding to the first distance in the map corresponding to the virtual environment according to the zoom ratio.
  • the zoom ratio is a fixed value.
  • the method for obtaining the second distance corresponding to the first distance is: taking the product of the first distance and the fixed value as the second distance.
  • the zoom ratio includes two values, a horizontal zoom ratio and a vertical zoom ratio.
  • the method for obtaining the second distance corresponding to the first distance is: obtaining the horizontal distance corresponding to the first distance and the vertical distance. Distance; take the product of the horizontal distance and the horizontal zoom ratio as the reference horizontal distance, and take the product of the vertical distance and the vertical zoom ratio as the reference vertical distance; obtain the second distance based on the reference horizontal distance and the reference vertical distance.
  • the horizontal distance corresponding to the first distance refers to the projected distance of the first distance on the abscissa axis
  • the vertical distance corresponding to the first distance refers to the projected distance of the first distance on the ordinate axis.
  • the second distance is obtained by adding the square of the reference horizontal distance and the square of the reference vertical distance, and taking the square root of the added value as the second distance.
  • Step B-2 take the position in the thumbnail map that satisfies the first condition as a candidate position corresponding to the geographic location of the third virtual object in the thumbnail map, and the position that satisfies the first condition and the second reference corresponding to the target reference position
  • the distance between the positions is the second distance
  • the azimuth relationship between the second reference positions corresponding to the target reference position is the target azimuth relationship
  • the target azimuth relationship is the azimuth between the geographic location of the third virtual object and the target reference position relation.
  • a candidate position corresponding to the geographic location of the third virtual object in the thumbnail map may be further determined in the thumbnail map.
  • the one candidate position refers to a position in the thumbnail map that satisfies the first condition.
  • the distance between the position satisfying the first condition and the second reference position corresponding to the target reference position is the second distance, and the azimuth between the position satisfying the first condition and the second reference position corresponding to the target reference position
  • the relationship is the target orientation relationship.
  • the target orientation relationship is the orientation relationship between the geographic location of the third virtual object and the target reference position.
  • the geographic position of the third virtual object and the target reference position are both located in the map corresponding to the virtual environment, and the target orientation relationship is used to indicate which orientation of the target reference position the geographic position of the third virtual object is located.
  • the embodiment of the present application does not limit the representation of the target orientation relationship.
  • the representation of the target orientation relationship is: an arrow pointing from the target reference position to the geographic location of the third virtual object.
  • a reference number of candidate positions corresponding to the geographic location of the third virtual object in the thumbnail map can be determined according to the above steps B-1 and B-2, and then step C is performed.
  • Step C taking the average position of the reference number of candidate positions as the position corresponding to the geographic position of the third virtual object in the thumbnail map.
  • the reference number is three
  • the three candidate positions corresponding to the geographic location of the third virtual object in the thumbnail map are the candidate position P1, the candidate position P2 and the candidate position P3 respectively, and the candidate position P1 and the candidate position P2 are calculated. and the average position of the candidate positions P3 to obtain the position P0, and use the obtained position P0 as the position corresponding to the geographic position of the third virtual object in the thumbnail map.
  • a location marker for indicating the location corresponding to the geographic location of the third virtual object in the thumbnail map is displayed in the thumbnail map, so as to provide
  • the function of mapping and displaying the position markers of the virtual objects belonging to the confrontation camp in the thumbnail map enables the target interactive object to infer the approximate position of the third virtual object in the virtual environment according to the position markers displayed in the thumbnail map.
  • the geographic location of the virtual object (ie, the third virtual object) belonging to the confrontation camp near the second virtual object corresponds to the thumbnail map by displaying the position marker in the thumbnail map, so that the target interactive object can know how many virtual objects belonging to the opposing camp are nearby the defeated second virtual object according to the position marker displayed in the thumbnail map, and The approximate position of each virtual object belonging to the confrontation camp in the virtual environment, so that the target interactive object can quickly move the position of the first virtual object according to the guidance of the position mark, so that the first virtual object can move to the virtual object belonging to the confrontation camp. Attack the virtual objects that belong to the confrontation camp near the object, improve the fun of competitive interaction, and then improve the human-computer interaction rate.
  • the geographic location of each third virtual object corresponds to a location in the thumbnail map, and in this case, multiple locations are displayed in the thumbnail map. mark.
  • the method of displaying the position mark of the third virtual object in the thumbnail map is: displaying the position mark of the third virtual object in the thumbnail map using a target display style.
  • the display style of the target is different from the display style of the position markers of other types of virtual objects, so as to be easily distinguished.
  • the other types of virtual objects refer to virtual objects of different types from the third virtual object, such as a first virtual object, a virtual object of the first virtual object, a virtual building, and the like.
  • the target display style is set according to experience, or flexibly adjusted according to the actual situation, which is not limited in this application.
  • the target display style is a dot of the target color, a triangle of the target color, and the like. For example, the target color is red, gray, etc.
  • thumbnail map showing the position mark of the third virtual object is shown in FIG. 8 .
  • the position marks 801 of the third virtual object are displayed with gray circles, and the number of the position marks of the third virtual object is four.
  • the thumbnail map in addition to the location marker of the third virtual object, the thumbnail map also displays the location marker of the first virtual object and the location markers of the virtual objects that belong to the same camp as the first virtual object and meet the conditions.
  • a virtual object belonging to the same camp as the first virtual object may be referred to as a virtual object of the first virtual object.
  • the virtual objects that meet the conditions may refer to all virtual objects that belong to the same camp as the first virtual object, or may refer to the distance from the first virtual object among all virtual objects that belong to the same camp as the first virtual object.
  • a virtual object not greater than the target distance is not limited in this embodiment of the present application.
  • the target distance is set according to experience, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application.
  • the location marker of the first virtual object is used to indicate the corresponding location of the geographic location of the first virtual object in the thumbnail map
  • the location marker of the virtual object that satisfies the condition is used to indicate the geographic location of the virtual object that satisfies the condition.
  • the location corresponds to the location in the thumbnail map.
  • the position mark 802 of the first virtual object and the position mark 802 of the first virtual object and the two virtual objects that satisfy the conditions are also displayed.
  • the position markers 801 of the third virtual object, the position markers 802 of the first virtual object, and the position markers 803 of the two own virtual objects that satisfy the conditions have different display styles.
  • the method further includes: in response to the display duration of the location marker in the thumbnail map reaching a reference duration, canceling displaying the location marker in the thumbnail map location marker.
  • the location marker displayed in the thumbnail map is kept unchanged.
  • the duration of displaying the position mark of the third virtual object in the thumbnail map is the reference duration, and if the displayed duration reaches the reference duration, the display of the position mark of the third virtual object is canceled; if the displayed duration does not reach the reference duration , the displayed position mark of the third virtual object remains unchanged.
  • the reference duration is set according to experience, or flexibly adjusted according to the actual situation, which is not limited in this embodiment of the present application. For example, the reference duration is 3 seconds.
  • the location marker displayed in the thumbnail map before the duration of the location marker displayed in the thumbnail map reaches the reference duration, regardless of whether the geographic location of the third virtual object changes, the location marker displayed in the thumbnail map always remains unchanged, that is, Before the displayed duration reaches the reference duration, the location marker displayed in the thumbnail map will not move with the movement of the third virtual object in the virtual environment, and the location marker displayed in the thumbnail map is used to indicate that the third virtual object is in the virtual environment.
  • the geographic location when detected is the corresponding location in the thumbnail map. This method is conducive to ensuring the fairness of competitive interaction.
  • the process of displaying location markers in the thumbnail map is shown in FIG. 9 .
  • Configure a first skill for the first virtual object determine whether the first virtual object defeats the second virtual object. If the first virtual object defeats the second virtual object, determine the geographic location and detection area of the second virtual object. Determine whether there is a third virtual object whose geographic location is located in the detection area; if there is a third virtual object, determine the location corresponding to the geographic location of the third virtual object in the thumbnail map, and use it to indicate the geographic location of the third virtual object
  • the location marker of the location corresponding to the location in the thumbnail map is displayed in the thumbnail map.
  • the resources that have been collected for the target skill of the first virtual object may also be displayed.
  • the resource of the target quantity is the resource required to release the target skill. That is, in response to the first virtual object defeating the second virtual object, the amount of resources already collected for the target skill of the first virtual object is increased by a reference value to shorten the time required to collect the target amount of resources for the target skill .
  • the target skill of the first virtual object is a skill whose release condition is to collect a target amount of resources.
  • the target skill of the first virtual object is obtained by configuring the first virtual object according to the interactive operation of the target interactive object.
  • the type of the target skill is not limited.
  • the target skill of the first virtual object is called the ultimate move possessed by the first virtual object.
  • the amount of resources already collected for the target skill of the first virtual object is increased by a reference value, so as to shorten the consumption required to collect the target amount of resources for the target skill Time.
  • the reference value is set according to experience, or flexibly adjusted according to an application scenario, which is limited in this embodiment of the present application.
  • the resources collected for the target skill of the first virtual object gradually increase over time.
  • the resource that is already the first virtual object will be directly
  • the amount of resources collected by the target skill increases by a reference value, thereby shortening the time required for collecting the target amount of resources for the target skill, that is, shortening the resource collection time required for the release of the target skill.
  • the first virtual object can only use the target skill after collecting the target amount of resources for the target skill. Therefore, by shortening the time required to collect the target amount of resources for the target skill, the frequency of the first virtual object using the target skill can be increased. .
  • the difference between the number of resources collected for the target skill of the first virtual object and the target number is not less than the reference value as an example. Be explained.
  • the difference between the amount of resources collected for the target skill of the first virtual object and the target amount is greater than 0 and less than a reference value, then directly The amount of resources that have been collected for the target skill of the first virtual object is increased to the target amount. If the quantity of resources already collected for the target skill of the first virtual object is the target quantity, the quantity of resources already collected for the target skill of the first virtual object is kept unchanged.
  • the target skill after collecting a target amount of resources for the target skill, the target skill is in a releasable state, and the target interactive object can release the target skill by triggering the control of the target skill. In an exemplary embodiment, after the target skill is released, resources are re-collected for the target skill.
  • the controls for the target skill are shown as 1001 in FIG. 10 and 1101 in FIG. 11 .
  • the resources collected for the target skill are represented by a circular progress bar, which is populated with a scale used to represent the ratio between the number of resources collected and the target number.
  • the circular progress bar when the quantity of resources collected for the target skill does not reach the target quantity is shown as 1002 in Figure 10; the circular progress bar when the quantity of resources collected for the target skill reaches the target quantity is shown as 1102 in Figure 11 .
  • the filled portion of the circular progress bar is marked with black.
  • the target skill is in a releasable state.
  • the first virtual object can defeat more virtual objects belonging to the confrontation camp, and the virtual objects belonging to the confrontation camp can be quickly replenished.
  • the resources required for the target skill of the first virtual object therefore, by displaying the position markers of the virtual objects belonging to the confrontation camp in the thumbnail map, the frequency of the first virtual object using the target skill can be further increased, which is conducive to speeding up the competitive interaction process. , saving communication resources between the target application and the server.
  • the embodiment of the present application introduces a new method of displaying the location marks of virtual objects belonging to the confrontation camp in a thumbnail map. This method does not limit the number of times of use. The player with stronger operation ability can control the first virtual object to defeat the more powerful player. There are more second virtual objects, so as to realize the process of displaying the position marks of the virtual objects belonging to the confrontation camp in the thumbnail map for more times.
  • the method of defeating is introduced to display the position marks of the virtual objects belonging to the confrontation camp in the thumbnail map, that is, after the first virtual object defeats a second virtual object belonging to the confrontation camp, the defeated second
  • the location markers of the third virtual object belonging to the confrontation camp within a certain range near the virtual object will be displayed on the thumbnail map, so that the first virtual object can easily obtain the location information of the third virtual object and Use it to enhance the fun of competitive interaction. This improves the human-computer interaction rate.
  • the position marker of the third virtual object belonging to the same camp as the second virtual object is automatically displayed in the thumbnail map.
  • the camp to which the second virtual object belongs is in an antagonistic relationship with the camp to which the first virtual object belongs, that is, the camp to which the second virtual object belongs is an opposing camp of the camp to which the first virtual object belongs.
  • the process of displaying the location markers of virtual objects belonging to the confrontation camp in the thumbnail map does not need to rely on reconnaissance props, and the implementation requirements for displaying the location markers of virtual objects belonging to the confrontation camp in the thumbnail map are relatively low.
  • the display frequency will not be limited by the number of times the reconnaissance props can be used, which is beneficial to improve the flexibility and reliability of the displayed position mark, thereby improving the human-computer interaction rate.
  • an embodiment of the present application provides a device for displaying a position mark, the device comprising:
  • the display unit 1201 is used to display a thumbnail map, and the thumbnail map is used to provide map guidance for the first virtual object, and the first virtual object belongs to the first camp;
  • the control unit 1202 is configured to control the first virtual object to attack the second virtual object, the second virtual object belongs to the second camp, and the relationship between the second camp and the first camp is an antagonistic relationship;
  • the display unit 1201 is further configured to, in response to the first virtual object defeating the second virtual object, display a position mark of the third virtual object in the thumbnail map, where the third virtual object belongs to the second camp.
  • the third virtual object is a virtual object whose geographic location is located in the detection area and belongs to the second camp, and the detection area is determined based on the geographic location of the second virtual object.
  • the position mark of the third virtual object is used to indicate the position corresponding to the geographic location of the third virtual object in the thumbnail map; referring to FIG. 13 , the apparatus further includes:
  • the determining unit 1203 is configured to determine the geographic location of the second virtual object in response to the first virtual object defeating the second virtual object; determine the detection area based on the geographic location of the second virtual object; locate the geographic location within the detection area and belong to The virtual object of the second camp is determined as the third virtual object; the position corresponding to the geographic location of the third virtual object in the thumbnail map is determined.
  • the apparatus further includes:
  • the configuration unit 1204 is configured to configure the first skill for the first virtual object in response to the configuration operation of the first skill, and the first skill is to display the third virtual object in the thumbnail map in response to the first virtual object defeating the second virtual object The skill of the object's position marker.
  • the display unit 1201 is further configured to display at least one candidate skill on the skill selection interface; in response to the selection operation of the first skill in the at least one candidate skill, display skill information corresponding to the first skill and the first skill A confirmation control corresponding to a skill;
  • the device also includes:
  • the obtaining unit 1205 is configured to obtain the configuration operation of the first skill in response to the triggering operation of the confirmation control corresponding to the first skill.
  • the display unit 1201 is further configured to cancel the display of the location marker in the thumbnail map in response to the display duration of the location marker in the thumbnail map reaching a reference duration.
  • the display unit 1201 is configured to display the position marker of the third virtual object in the thumbnail map in a target display style.
  • the apparatus further includes:
  • An increasing unit 1206 is configured to, in response to the first virtual object defeating the second virtual object, increase the number of resources collected for the target skill of the first virtual object by a reference value to shorten the amount of resources required to collect the target number of resources for the target skill Time-consuming, the target amount of resources are those needed to release the target skill.
  • the display unit 1201 is further configured to display the position mark of the third virtual object in the thumbnail map in response to the first virtual object defeating the second virtual object by using a reference prop or a reference skill, and the reference prop is For the props used for a virtual object, the reference skills are the skills used for a virtual object.
  • the geographic location of the third virtual object is the position of the third virtual object in the map corresponding to the virtual environment; the determining unit 1203 is further configured to acquire the distance between the thumbnail map and the map corresponding to the virtual environment.
  • Zoom ratio the map corresponding to the virtual environment has a reference number of first reference positions
  • the thumbnail map has a reference number of second reference positions
  • the reference number of first reference positions corresponds to a reference number of second reference positions one-to-one
  • Based on the zoom ratio, the reference number of first reference positions, and the reference number of second reference positions determine the reference number of candidate positions corresponding to the geographic location of the third virtual object in the thumbnail map; the average position of the reference number of candidate positions is determined
  • the geographic location of the third virtual object is the corresponding location in the thumbnail map.
  • the determining unit 1203 is further configured to obtain a second distance corresponding to the first distance based on the zoom ratio, where the first distance is the distance between the geographic location of the third virtual object and the target reference position, and the target
  • the reference position is a first reference position in the reference number of first reference positions; the position in the thumbnail map that satisfies the first condition is taken as a candidate position corresponding to the geographic position of the third virtual object in the thumbnail map, and the position that satisfies the first condition is regarded as a candidate position in the thumbnail map.
  • the distance between the position of a condition and the second reference position corresponding to the target reference position is the second distance
  • the azimuth relationship between the second reference position corresponding to the target reference position is the target azimuth relationship
  • the target azimuth relationship is the third The azimuth relationship between the geographic location of the virtual object and the target reference location.
  • the position marker of the third virtual object belonging to the same camp as the second virtual object is automatically displayed in the thumbnail map.
  • the camp to which the second virtual object belongs is in an antagonistic relationship with the camp to which the first virtual object belongs, that is, the camp to which the second virtual object belongs is an opposing camp of the camp to which the first virtual object belongs.
  • the process of displaying the location markers of virtual objects belonging to the confrontation camp in the thumbnail map does not need to rely on reconnaissance props, and the implementation requirements for displaying the location markers of virtual objects belonging to the confrontation camp in the thumbnail map are relatively low.
  • the display frequency will not be limited by the number of times the reconnaissance props can be used, which is beneficial to improve the flexibility and reliability of the displayed position mark, thereby improving the human-computer interaction rate.
  • FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal can be: a smart phone, a tablet computer, an MP3 (Moving Picture Experts Group Audio Layer III, a moving picture expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, a moving picture expert compression standard audio layer) 4) Player, laptop or desktop computer.
  • a terminal may also be called user equipment, portable terminal, laptop terminal, desktop terminal, etc. by other names.
  • the terminal includes: a processor 1401 and a memory 1402 .
  • the processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1401 can use at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish.
  • the processor 1401 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in a standby state.
  • the processor 1401 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 1401 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1401, so that the terminal implements the method embodiments in this application Provides a method for displaying location markers.
  • the terminal may optionally further include: a peripheral device interface 1403 and at least one peripheral device.
  • the processor 1401, the memory 1402 and the peripheral device interface 1403 may be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1403 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1404 , a display screen 1405 , a camera assembly 1406 , an audio circuit 1407 and a power supply 1408 .
  • the peripheral device interface 1403 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1401 and the memory 1402 .
  • processor 1401, memory 1402, and peripherals interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 1401, memory 1402, and peripherals interface 1403 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1404 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1404 communicates with communication networks and other communication devices via electromagnetic signals.
  • the radio frequency circuit 1404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1404 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 1404 may communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocols include, but are not limited to, metropolitan area networks, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area networks and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
  • the radio frequency circuit 1404 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.
  • the display screen 1405 is used for displaying UI (User Interface, user interface).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • the display screen 1405 also has the ability to acquire touch signals on or above the surface of the display screen 1405 .
  • the touch signal may be input to the processor 1401 as a control signal for processing.
  • the display screen 1405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
  • the display screen 1405 there may be one display screen 1405, which is arranged on the front panel of the terminal; in other embodiments, there may be at least two display screens 1405, which are respectively arranged on different surfaces of the terminal or in a folded design; In some embodiments, the display screen 1405 may be a flexible display screen disposed on a curved surface or a folding surface of the terminal. Even, the display screen 1405 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 1405 can be prepared by using materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
  • the camera assembly 1406 is used to capture images or video.
  • camera assembly 1406 includes a front-facing camera and a rear-facing camera.
  • the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal.
  • there are at least two rear cameras which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions.
  • the camera assembly 1406 may also include a flash.
  • the flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • Audio circuitry 1407 may include a microphone and speakers.
  • the microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to the processor 1401 for processing, or to the radio frequency circuit 1404 to realize voice communication.
  • the microphone may also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 1401 or the radio frequency circuit 1404 into sound waves.
  • the loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes.
  • the audio circuit 1407 may also include a headphone jack.
  • Power supply 1408 is used to power various components in the terminal.
  • the power source 1408 may be alternating current, direct current, a primary battery, or a rechargeable battery.
  • the rechargeable battery can support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal also includes one or more sensors 1409 .
  • the one or more sensors 1409 include, but are not limited to, an acceleration sensor 1410 , a gyro sensor 1411 , a pressure sensor 1412 , an optical sensor 1413 , and a proximity sensor 1414 .
  • the acceleration sensor 1410 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal. For example, the acceleration sensor 1410 can be used to detect the components of the gravitational acceleration on the three coordinate axes.
  • the processor 1401 can control the display screen 1405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1410 .
  • the acceleration sensor 1410 can also be used for game or user movement data collection.
  • the gyroscope sensor 1411 can detect the body direction and rotation angle of the terminal, and the gyroscope sensor 1411 can cooperate with the acceleration sensor 1410 to collect 3D (three-dimensional) actions of the user on the terminal.
  • the processor 1401 can implement the following functions according to the data collected by the gyroscope sensor 1411 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control and inertial navigation.
  • the pressure sensor 1412 may be disposed on the side frame of the terminal and/or the lower layer of the display screen 1405 .
  • the processor 1401 performs left and right hand identification or shortcut operations according to the holding signal collected by the pressure sensor 1412 .
  • the processor 1401 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1405.
  • the operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the optical sensor 1413 is used to collect ambient light intensity.
  • the processor 1401 can control the display brightness of the display screen 1405 according to the ambient light intensity collected by the optical sensor 1413 . Specifically, when the ambient light intensity is high, the display brightness of the display screen 1405 is increased; when the ambient light intensity is low, the display brightness of the display screen 1405 is decreased.
  • the processor 1401 may also dynamically adjust the shooting parameters of the camera assembly 1406 according to the ambient light intensity collected by the optical sensor 1413 .
  • a proximity sensor 1414 also called a distance sensor, is usually provided on the front panel of the terminal.
  • the proximity sensor 1414 is used to collect the distance between the user and the front of the terminal.
  • the processor 1401 controls the display screen 1405 to switch from the bright screen state to the off screen state; when the proximity sensor 1414 detects that the user When the distance from the front of the terminal gradually increases, the processor 1401 controls the display screen 1405 to switch from the closed screen state to the bright screen state.
  • FIG. 14 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
  • a computer device including a processor and a memory having at least one computer program stored in the memory.
  • the at least one computer program is loaded and executed by one or more processors, so that the computer device implements any one of the above-mentioned methods for displaying position markers.
  • a non-transitory computer-readable storage medium is also provided, and at least one computer program is stored in the non-transitory computer-readable storage medium, and the at least one computer program is loaded by a processor of a computer device and execute it, so that the computer can implement any one of the above-mentioned methods for displaying position marks.
  • the above-mentioned non-transitory computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a compact disc read (Compact Disc Read) -Only Memory, CD-ROM), magnetic tapes, floppy disks and optical data storage devices, etc.
  • ROM read-only memory
  • RAM random access memory
  • CD-ROM compact disc read
  • magnetic tapes floppy disks and optical data storage devices, etc.
  • a computer program product or computer program comprising computer instructions stored in a non-transitory computer readable storage medium.
  • the processor of the computer device reads the computer instructions from the non-transitory computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform any of the above-described methods of displaying position markers.
  • references herein to "a plurality” means two or more.
  • "And/or" which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
  • the character “/” generally indicates that the associated objects are an "or" relationship.

Abstract

显示位置标记的方法、装置、设备及存储介质,涉及计算机技术领域。该方法包括:显示缩略地图(201);控制第一虚拟对象攻击第二虚拟对象,第一虚拟对象属于第一阵营,第二虚拟对象属于第二阵营(202);响应于第一虚拟对象击败第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记,第三虚拟对象属于第二阵营(203)。采用上述方法、装置、设备及存储介质,有利于提高显示位置标记的灵活性和可靠性,进而提高人机交互率。

Description

显示位置标记的方法、装置、设备及存储介质
本申请要求于2021年04月30日提交的申请号为202110478971.7、发明名称为“显示位置标记的方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及计算机技术领域,特别涉及一种显示位置标记的方法、装置、设备及存储介质。
背景技术
随着计算机技术的发展,衍生出越来越多的应用程序能够显示缩略地图,在缩略地图中,能够显示虚拟环境中的某些虚拟对象的位置标记,以起到地图指引作用。例如,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记。
相关技术中,响应于侦察类道具的使用操作,利用侦察类道具侦察默认范围内的属于对抗阵营的虚拟对象,然后在缩略地图中显示侦察到的虚拟对象的位置标记。侦察类道具具有一定的使用条件且具有一定的可使用次数,使得在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的实现要求较高,且显示的频率受到侦察类道具的可使用次数的限制,显示位置标记的灵活性较差且可靠性不高,导致人机交互率较低。
发明内容
本申请实施例提供了一种显示位置标记的方法、装置、设备及存储介质,可用于提高显示位置标记的灵活性和可靠性,进而提高人机交互率。所述技术方案如下:
一方面,本申请实施例提供了一种显示位置标记的方法,所述方法由终端执行,所述方法包括:
显示缩略地图,所述缩略地图用于为第一虚拟对象提供地图指引,所述第一虚拟对象属于第一阵营;
控制所述第一虚拟对象攻击第二虚拟对象,所述第二虚拟对象属于第二阵营,所述第二阵营与所述第一阵营之间的关系为对抗关系;
响应于所述第一虚拟对象击败所述第二虚拟对象,在所述缩略地图中显示第三虚拟对象的位置标记,所述第三虚拟对象属于所述第二阵营。
另一方面,提供了一种显示位置标记的装置,所述装置包括:
显示单元,用于显示缩略地图,所述缩略地图用于为第一虚拟对象提供地图指引,所述第一虚拟对象属于第一阵营;
控制单元,用于控制所述第一虚拟对象攻击第二虚拟对象,所述第二虚拟对象属于第二阵营,所述第二阵营与所述第一阵营之间的关系为对抗关系;
所述显示单元,还用于响应于所述第一虚拟对象击败所述第二虚拟对象,在所述缩略地图中显示第三虚拟对象的位置标记,所述第三虚拟对象属于所述第二阵营。
另一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条计算机程序,所述至少一条计算机程序由所述处理器加载并执行,以使所述计算机设备实现上述任一所述的显示位置标记的方法。
另一方面,还提供了一种非临时性计算机可读存储介质,所述非临时性计算机可读存储介质中存储有至少一条计算机程序,所述至少一条计算机程序由处理器加载并执行,以使计算机实现上述任一所述的显示位置标记的方法。
另一方面,还提供了一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在非临时性计算机可读存储介质中。计算机设备的处理器从所述非临时性计算机可读存储介质读取所述计算机指令,处理器执行所述计算机指令,使得所述计算机设备执行上述任一所述的显示位置标记的方法。
本申请实施例中,在第一虚拟对象击败第二虚拟对象这一触发条件下,自动在缩略地图中显示与第二虚拟对象属于同一阵营的第三虚拟对象的位置标记。其中,第二虚拟对象所属的阵营与第一虚拟对象所属的阵营之间的关系为对抗关系,也即第二虚拟对象所属的阵营为第一虚拟对象所属的阵营的对抗阵营。在此种方式下,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的过程无需依赖侦察类道具,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的实现要求较低,且显示的频率不会受到侦察类道具的可使用次数的限制,有利于提高显示位置标记的灵活性和可靠性,进而提高人机交互率。
附图说明
图1是本申请实施例提供的一种显示位置标记的方法的实施环境的示意图;
图2是本申请实施例提供的一种显示位置标记的方法的流程图;
图3是本申请实施例提供的一种技能选择界面的示意图;
图4是本申请实施例提供的一种显示界面的示意图;
图5是本申请实施例提供的一种检测区域的示意图;
图6是本申请实施例提供的一种虚拟环境对应的地图中的第一基准位置的示意图;
图7是本申请实施例提供的一种缩略地图中的第二基准位置的示意图;
图8是本申请实施例提供的一种缩略地图的示意图;
图9是本申请实施例提供的一种在缩略地图中显示位置标记的过程的示意图;
图10是本申请实施例提供的一种显示界面的示意图;
图11是本申请实施例提供的一种显示界面的示意图;
图12是本申请实施例提供的一种显示位置标记的装置的示意图;
图13是本申请实施例提供的一种显示位置标记的装置的示意图;
图14是本申请实施例提供的一种终端的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
对本申请实施例中涉及的名词进行介绍:
虚拟环境:应用程序在终端上运行时提供(或显示)的环境,该虚拟环境是指营造出的供虚拟对象进行活动的环境。虚拟环境可以是二维虚拟环境、2.5维虚拟环境或三维虚拟环境。该虚拟环境可以是对真实世界的仿真环境,也可以是半仿真半虚构的环境,还可以是纯虚构的环境。
虚拟对象:是指在虚拟环境中的可活动对象。该虚拟对象可以是虚拟人物、虚拟动物、动漫人物等,比如,在虚拟环境中显示的人物、动物、植物、油桶、墙壁、石块等。交互对象可通过外设部件或点击触摸显示屏的方式操控虚拟对象。每个虚拟对象在虚拟环境中具有自身的形状和体积,占据虚拟环境中的一部分空间。示例性地,当虚拟环境为三维虚拟环境时,虚拟对象是基于动画骨骼技术创建的三维立体模型。
虚拟物:虚拟环境中的元素,包括但不限于虚拟对象、虚拟建筑物、虚拟生物、虚拟交通工具等。
图1示出了本申请实施例提供的显示位置标记的方法的实施环境的示意图。该实施环境包括:终端11和服务器12。
终端11安装和运行有支持虚拟环境且能够显示缩略地图的应用程序。交互对象能够使用终端11控制虚拟对象在应用程序提供的虚拟环境中进行活动,该活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、跳跃、驾驶、拾取、射击、攻击、投掷等。
本申请实施例对支持虚拟环境且能够显示缩略地图的应用程序不加以限定,示例性地,支持虚拟环境且能够显示缩略地图的应用程序包括但不限于:VR(Virtual Reality,虚拟现实)类应用程序、AR(Augmented Reality,增强现实)类应用程序、三维地图程序、游戏类应用程序、社交类应用程序、互动娱乐类应用程序等。
示例性地,游戏类应用程序包括但不限于射击游戏、MOBA(Multiplayer Online Battle Arena,多人在线战术竞技)游戏、SLG(Simulation Game,策略游戏)等。射击游戏是指包含FPS(First-Person Shooting,第一人称射击)游戏、TPS(Third-Personal Shooting,第三人称射击)游戏但不仅限于此的所有使用虚拟道具进行远程攻击的游戏。
在一些实施例中,支持虚拟环境且能够显示缩略地图的应用程序可以支持Windows操作系统、苹果操作系统、安卓操作系统、IOS操作系统和Linux操作系统中的至少一种操作系统,运行在不同操作系统中的应用程序可以互联互通。在一些实施例中,支持虚拟环境且能够显示缩略地图的应用程序是基于三维引擎开发的应用程序。在一些实施例中,支持虚拟环境且能够显示缩略地图的应用程序是单机版的应用程序,或者是网络联机版的应用程序。
服务器12用于为终端11安装的支持虚拟环境且能够显示缩略地图的应用程序提供后台服务。在一种可能实现方式中,服务器12承担主要计算工作,终端11承担次要计算工作;或者,服务器12承担次要计算工作,终端11承担主要计算工作;或者,服务器12和终端11二者之间采用分布式计算架构进行协同计算。
在一种可能实现方式中,终端11是任何一种可与交互对象通过键盘、触摸板、触摸屏、遥控器、语音交互或手写设备等一种或多种方式进行人机交互的电子产品,例如,PC(Personal Computer,个人计算机)、手机、智能手机、PDA(Personal Digital Assistant,个人数字助手)、可穿戴设备、手持便携式游戏设备、PPC(Pocket PC,掌上电脑)、平板电脑、智能车机、智能电视、智能音箱等。服务器12可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。终端11与服务器12通过有线或无线网络建立通信连接。
本领域技术人员应能理解上述终端11和服务器12仅为举例,其他现有的或今后可能出现的终端或服务器如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。
基于上述图1所示的实施环境,本申请实施例提供一种显示位置标记的方法,该方法由终端11执行。本申请实施例以该方法由终端11中运行的支持虚拟环境且能够显示缩略地图的应用程序执行为例。如图2所示,本申请实施例提供的显示位置标记的方法包括如下步骤201至步骤203。
在步骤201中,显示缩略地图,缩略地图用于为第一虚拟对象提供地图指引,第一虚拟对象属于第一阵营。
本申请实施例的执行主体为支持虚拟环境且能够显示缩略地图的应用程序,为便于说明,在本申请实施例中,将支持虚拟环境且能够显示缩略地图的应用程序称为目标应用程序。本申请实施例对目标应用程序的类型不加以限定,示例性地,目标应用程序包括但不限于:VR类应用程序、AR类应用程序、三维地图程序、游戏类应用程序、社交类应用程序、互动娱乐类应用程序等。示例性地,游戏类应用程序包括但不限于FPS游戏、TPS游戏、MOBA游戏、 SLG等。
目标应用程序安装和运行在目标终端中,本申请实施例中的第一虚拟对象是指用于代表使用目标终端的目标交互对象的虚拟对象,第一虚拟对象能够在目标应用程序提供的虚拟环境中活动。目标应用程序能够根据目标交互对象产生的交互操作控制第一虚拟对象。本申请实施例对第一虚拟对象的类型不加以限定,示例性地,第一虚拟对象可以是指虚拟人物、虚拟动物、动漫人物等。
目标应用程序能够显示用于为第一虚拟对象提供地图指引的缩略地图,以便于目标交互对象通过参考显示的缩略地图来产生对第一虚拟对象的控制操作,提高对第一虚拟对象的控制操作的准确性。缩略地图是指目标应用程序提供的虚拟环境对应的地图的缩小地图。示例性地,缩略地图可以是指整个虚拟环境对应的地图的缩小地图,也可以是指部分虚拟环境对应的地图的缩小地图,本申请实施例对此不加以限定。示例性地,对于缩略地图是指部分虚拟环境对应的地图的缩小地图的情况,部分虚拟环境可以是指第一虚拟对象所处的位置附近的虚拟环境。
虚拟环境对应的地图用于直观描述虚拟环境。虚拟环境对应的地图可以为三维地图,也可以平面地图,本申请实施例对此不加以限定。示例性地,虚拟环境为三维虚拟环境,虚拟环境对应的地图是指将三维虚拟环境投射在平面上得到的平面地图。示例性地,虚拟环境对应的地图是指根据虚拟环境的实际情况绘制的三维地图。
在示例性实施例中,缩略地图可以是平面地图或三维地图,缩略地图能够向目标交互对象快速直观反映虚拟环境的情况,以便于目标交互对象制定使用策略、实施操作等。
本申请实施例对步骤201中显示的缩略地图中包括的元素不加以限定,可以由目标应用程序的开发人员设定,也可以由目标交互对象在目标应用程序中自行设定。示例性地,缩略地图中包括但不限于第一虚拟对象的位置标记、虚拟环境中的虚拟建筑物的位置标记、与第一虚拟对象属于同一阵营的己方虚拟对象的位置标记等。第一虚拟对象的位置标记、虚拟建筑物的位置标记以及己方虚拟对象的位置标记的表现形式由目标应用程序的开发人员设定,或者由目标交互对象设定,本申请实施例对此不加以限定。示例性地,不同虚拟物的位置标记不同,以便于区分不同的虚拟物,例如,第一虚拟对象的位置标记的表现形式为黄色箭头,虚拟建筑物的位置标记的表现形式为圆点,己方虚拟对象的位置标记的表现形式为蓝色箭头。
在一种可能实现方式中,显示缩略地图的时机包括但不限于以下两种:满足显示条件、获取到缩略地图的显示操作。
满足显示条件根据经验设置或者根据实际情况灵活调整,本申请实施例对此不加以限定。示例性地,对于目标应用程序为游戏类应用程序的情况,满足显示条件是指游戏对局开始;或者,满足显示条件是指第一虚拟对象进入某个游戏场景等。
缩略地图的显示操作是指用于指示显示缩略地图的操作。示例性地,缩略地图的显示操作由目标交互对象产生。本申请实施例对缩略地图的显示操作的获取方式不加以限定,示例性地,目标应用程序的显示界面中显示有缩略地图显示入口,基于目标交互对象对该缩略地图显示入口的触发操作,获取缩略地图的显示操作。缩略地图显示入口的形式由目标应用程序的开发人员设定,例如,缩略地图显示入口的形式为按钮;或者,缩略地图显示入口的形式为可触发图标。
在一种可能实现方式中,显示缩略地图的方式为:在显示界面中的目标位置处显示缩略地图。目标位置由目标应用程序的开发人员设定,不同的应用程序可能具有不同的目标位置。示例性地,目标位置为显示界面的左上角位置;或者,目标位置为显示界面的右上角位置等。
显示界面是指目标终端的屏幕中显示出的供目标交互对象查看的界面。在一种可能实现方式中,在显示界面中,除显示缩略地图外,还显示虚拟环境画面。在示例性实施例中,显示界面中显示的虚拟环境画面占据整个显示界面,此种情况下,缩略地图以遮挡部分虚拟环境画面的方式显示在显示界面中的目标位置处。也就是说,缩略地图叠加显示在虚拟环境画面上。
在示例性实施例中,虚拟环境画面是以第一虚拟对象的视角对目标应用程序提供的虚拟环境进行观察所采集到的画面。第一虚拟对象的视角可以是指第一虚拟对象的第一人称视角,也可以是指第一虚拟对象的第三人称视角等,本申请实施例对此不加以限定。
示例性地,第一虚拟对象的视角是在虚拟环境中通过摄像机模型对第一虚拟对象进行观察时的角度。摄像机模型在虚拟环境中对第一虚拟对象进行自动跟随,即,当第一虚拟对象在虚拟环境中所处的位置发生改变时,摄像机模型在虚拟环境中所处的位置跟随第一虚拟对象在虚拟环境中所处的位置发生改变,且该摄像机模型在虚拟环境中始终处于第一虚拟对象的一定距离范围内。示例性地,在自动跟随过程中,摄像机模型和第一虚拟对象的相对位置不发生变化。
示例性地,摄像机模型是指在虚拟环境中位于第一虚拟对象周围的三维模型,当采用第一人称视角时,该摄像机模型位于第一虚拟对象的头部附近或者位于虚拟对象的头部;当采用第三人称视角时,该摄像机模型可以位于第一虚拟对象的后方并与第一虚拟对象进行绑定,也可以位于与第一虚拟对象相距参考距离的任意位置,通过该摄像机模型可以从不同角度对处于虚拟环境中的第一虚拟对象进行观察。参考距离根据经验设置,或者根据应用场景灵活调整。示例性地,除第一人称视角和第三人称视角外,还包括其他视角,比如俯视视角。俯视视角是以从空中俯视的角度观察虚拟环境的视角,当采用俯视视角时,该摄像机模型可以位于第一虚拟对象头部的上空。示例性地,该摄像机模型在虚拟环境中不会进行实际显示,即,在显示的虚拟环境画面中不显示该摄像机模型。
在示例性实施例中,在不同的视角下,虚拟环境画面中对第一虚拟对象的显示情况有所不同。示例性地,在第三人称视角下,虚拟环境画面中显示出完整的第一虚拟对象;在第一人称视角下,显示出部分的第一虚拟对象,如,第一虚拟对象的手部。
在示例性实施例中,在虚拟环境画面中除显示第一虚拟对象外,还可以显示其他虚拟对象以及其他元素等。示例性地,其他虚拟对象可以是指由其他应用程序控制的虚拟对象,也可以是指不受任何交互对象控制的人机虚拟对象等。示例性地,其他元素包括但不限于山川、平地、河流、湖泊、海洋、沙漠、沼泽、流沙、天空、植物、建筑、车辆等。
在示例性实施例中,本申请实施例的应用场景为至少两个阵营进行竞技互动的场景,每个阵营中均包括至少一个虚拟对象。进行竞技互动的阵营的数量根据目标应用程序的类型或者实际互动场景确定,本申请实施例对此不加以限定,示例性地,进行竞技互动的阵营的数量为两个,或者,进行竞技互动的阵营的数量为三个。此外,本申请实施例对每个阵营中包括的虚拟对象的数量不加以限定,不同的阵营中包括的虚拟对象的数量可以相同,也可以不同。本申请实施例中,将第一虚拟对象所属的阵营称为第一阵营,也就是说,第一虚拟对象属于第一阵营。将与第一阵营之间的关系为对抗关系的阵营称为第二阵营。需要说明的是,第二阵营的数量可能为一个,也可能为多个,本申请实施例对此不加以限定。
在至少两个阵营进行竞技互动的应用场景下,第一虚拟对象能够攻击属于第二阵营的虚拟对象,第一虚拟对象也能够被属于第二阵营的虚拟对象攻击。通过攻击,第一虚拟对象能够击败属于第二阵营的虚拟对象,属于第二阵营的虚拟对象也能够击败第一虚拟对象。在竞技互动过程中,若某一虚拟对象被击败,则认为该虚拟对象无法继续参与竞技互动,将该虚拟对象淘汰出此次竞技互动。示例性地,某一虚拟对象被击败是指该虚拟对象的生命值低于第一阈值。第一阈值根据经验设置,或者根据实际情况灵活调整,本申请实施例对此不加以限定。
在步骤202中,控制第一虚拟对象攻击第二虚拟对象,第二虚拟对象属于第二阵营,第二阵营与第一阵营之间的关系为对抗关系。
本申请实施例中,目标应用程序能够控制第一虚拟对象攻击第二虚拟对象。第二虚拟对象是指与第一虚拟对象参与同一场竞技互动的属于第二阵营的任一虚拟对象。第二阵营与第一虚拟对象属于的第一阵营之间的关系为对抗关系,也就是说,对于第一虚拟对象而言,第二虚拟对象为属于对抗阵营的虚拟对象。
在示例性实施例中,控制第一虚拟对象攻击第二虚拟对象的过程为:获取目标交互对象产生的针对第二虚拟对象的攻击操作,基于攻击操作控制第一虚拟对象攻击第二虚拟对象。针对第二虚拟对象的攻击操作用于指示第一虚拟对象采用何种方式攻击第二虚拟对象,以使目标应用程序控制第一虚拟对象采用针对第二虚拟对象的攻击操作指示的方式攻击第二虚拟对象。
在示例性实施例中,第一虚拟对象可以采用多种方式攻击第二虚拟对象。示例性地,第一虚拟对象可以利用参考道具或者参考技能攻击第二虚拟对象,参考道具为针对一个虚拟对象使用的道具,参考技能为针对一个虚拟对象使用的技能,在此种情况下,第一虚拟对象在攻击第二虚拟对象的同时,不会攻击其他虚拟对象。参考道具以及参考技能由目标应用程序的开发人员开发并由目标交互对象为第一虚拟对象配置,本申请实施例对参考道具以及参考技能的具体类型不加以限定,可以根据目标应用程序灵活调整,只要能够保证参考道具以及参考技能均针对一个虚拟对象使用即可。示例性地,对于目标应用程序为射击游戏的情况,参考道具为虚拟步枪。
示例性地,第一虚拟对象还可以利用针对多个虚拟对象同时使用的道具或技能攻击第二虚拟对象,此种情况下,第一虚拟对象在攻击第二虚拟对象的同时,还会攻击其他虚拟对象。针对多个虚拟对象同时使用的道具或技能根据目标应用程序的类型灵活设定,本申请实施例对此不加以限定。
在步骤203中,响应于第一虚拟对象击败第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记,第三虚拟对象属于第二阵营。
若通过控制第一虚拟对象攻击第二虚拟对象,使得第一虚拟对象击败第二虚拟对象,则在缩略地图中显示第三虚拟对象的位置标记。其中,第三虚拟对象属于第二阵营。在一些实施例中,第一虚拟对象击败第二虚拟对象还可以表述为第一虚拟对象击杀第二虚拟对象。
在示例性实施例中,对于第二阵营的数量为一个的情况,第三虚拟对象和第二虚拟对象属于同一个阵营,也就是说,第三虚拟对象与第二虚拟对象为同一个阵营中的不同虚拟对象。对于第二阵营的数量为多个的情况,第三虚拟对象可能与第二虚拟对象属于同一个第二阵营,也可能与第二虚拟对象属于不同的第二阵营,本申请实施例对此不加以限定。
无论第二阵营的数量为一个还是多个,对于第一虚拟对象而言,第二虚拟对象和第三虚拟对象均为属于对抗阵营的虚拟对象,也就是说,本申请实施例中,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的触发条件为:第一虚拟对象击败一个属于对抗阵营的虚拟对象。此种显示属于对抗阵营的虚拟对象的位置标记的过程无需依赖侦察类道具,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的实现要求较低,且显示的频率不会受到侦察类道具的可使用次数的限制,有利于提高显示位置标记的灵活性和可靠性,进而提高人机交互率。
在示例性实施例中,在第一虚拟对象击败第二虚拟对象之前,第二虚拟对象显示在虚拟环境画面中。此种情况下,若确定第一虚拟对象击败第二虚拟对象,第二虚拟对象不再显示在虚拟环境画面中。
在示例性实施例中,第三虚拟对象为地理位置位于检测区域内,且属于第二阵营的虚拟对象,检测区域基于第二虚拟对象的地理位置确定,也就是说,第三虚拟对象为第二虚拟对象附近的属于对抗阵营的虚拟对象。第三虚拟对象的位置标记用于指示第三虚拟对象的地理位置在缩略地图中对应的位置。
在示例性实施例中,在执行步骤203之前,还包括:响应于第一技能的配置操作,为第一虚拟对象配置第一技能,第一技能为响应于所述第一虚拟对象击败所述第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记的技能。若配置有第一技能的第一虚拟对象在参与竞技互动的过程中击败第二虚拟对象,则会自动触发在缩略地图中显示第三虚拟对象的位置标记。
在第一虚拟对象参与竞技互动之前,目标交互对象可以选择为第一虚拟对象配置哪个或 哪些技能,能够为第一虚拟对象配置的技能与第一虚拟对象的等级以及目标应用程序的设定有关,本申请实施例对此不加以限定。本申请实施例中,在第一虚拟对象参与竞技互动之前,为第一虚拟对象配置了第一技能,以便于在第一虚拟对象参与竞技互动的过程中,若第一虚拟对象击败第二虚拟对象,则在缩略地图中显示第三虚拟对象的位置标记。也就是说,在本申请实施例中,通过配置技能的方式使第一虚拟对象具备第一技能。
在一种可能实现方式中,获取第一技能的配置操作的方式为:在技能选择界面显示至少一个候选技能;响应于至少一个候选技能中的第一技能的选择操作,显示第一技能对应的技能信息以及第一技能对应的确认控件;响应于第一技能对应的确认控件的触发操作,获取第一技能的配置操作。
候选技能的作用是当交互对象的虚拟对象满足技能对应的条件之后就能自动触发该技能,不同的候选技能能够实现的功能不同。候选技能的种类以及数量与第一虚拟对象的等级以及目标应用程序的设定等有关,本申请实施例对此不加以限定。示例性地,在技能选择界面显示候选技能的方式为在技能选择界面显示候选技能的名称和图标。
示例性地,技能可以分为不同的类别,例如,主动技能和被动技能。主动技能是指根据目标交互对象的触发操作触发的技能,被动技能是指满足某种设定条件时自动触发的技能。示例性地,每类技能允许配置一个,以避免冲突。候选技能为被动技能,显示候选技能的技能选择界面用于选择被动技能。
第一技能包括在至少一个候选技能中,若检测到目标交互对象对至少一个候选技能中的第一技能的选择操作,则在技能选择界面中显示该第一技能对应的技能信息以及该第一技能对应的确认控件。示例性地,第一技能对应的技能信息用于为目标交互对象详细介绍该第一技能。示例性地,第一技能对应的技能信息包括但不限于第一技能的放大版图标以及对第一技能进行介绍的介绍信息。
示例性地,为第一虚拟对象配置第一技能之前的技能选择界面如图3中的(1)所示。图3中的(1)中显示有4个候选技能,这4个候选技能依次为第一技能301、快速治疗技能302、坚持不懈技能303和防爆衣技能304。若检测到目标交互对象对第一技能301的选择操作,则在技能选择界面中显示该第一技能301的放大版图标305、对第一技能301进行介绍的介绍信息306以及第一技能301对应的确认控件307。
目标交互对象在查看第一技能对应的技能信息之后,能够触发第一技能对应的确认控件。若检测到交互对象对第一技能对应的确认控件的触发操作,则获取到第一技能的配置操作,该第一技能的配置操作用于指示需要为第一虚拟对象配置第一技能。
在获取第一技能的配置操作之后,为第一虚拟对象配置第一技能,以使第一虚拟对象拥有该第一技能,从而能够在确定第一虚拟对象击败第二虚拟对象时,自动在缩略地图中显示第三虚拟对象的位置标记。
在示例性实施例中,在为第一虚拟对象配置第一技能之后,还可以响应于第一技能的卸下操作,为第一虚拟对象卸下第一技能,以便于目标交互对象选中新的技能并由目标应用程序为第一虚拟对象配置新的技能。示例性地,在为第一虚拟对象配置第一技能之后,技能选择界面中显示的确认控件更改为卸下控件。例如,为第一虚拟对象配置第一技能之后的技能选择界面如图3中的(2)所示,在图3中的(2)中显示有供目标交互对象触发的卸下控件308。
在示例性实施例中,响应于第一虚拟对象击败第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记的具体情况为:响应于第一虚拟对象利用参考道具或者参考技能击败第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记。其中,参考道具为针对一个虚拟对象使用的道具,参考技能为针对一个虚拟对象使用的技能。
也就是说,在确定第一虚拟对象利用参考道具或者参考技能攻击第二虚拟对象且击败第二虚拟对象时,再执行在缩略地图中显示第三虚拟对象的位置标记的操作。此种方式能够保证在第一虚拟对象击败第二虚拟对象的同时,不会击败其他虚拟对象。也就是说,在第一虚 拟对象每次只击败一个属于对抗阵营的虚拟对象的情况下,执行在缩略地图中显示第三虚拟对象的位置标记的操作。此种方式有利于保证在缩略地图中实时显示被击败虚拟对象附近的属于对抗阵营的虚拟对象的位置标记,避免漏显示。
示例性地,以第一虚拟对象利用虚拟步枪这一参考道具击败第二虚拟对象为例,包括虚拟环境画面和缩略地图的显示界面如图4所示。在图4中,显示界面的右上角显示有缩略地图401,第一虚拟对象利用虚拟步枪402击败第二虚拟对象。第二虚拟对象被击败后,在第二虚拟对象的原显示位置处显示消失特效403,利用消失特效403来表示第二虚拟对象被击败。示例性地,除显示消失特效403外,还可以显示提示信息,提示信息包括但不限于文字提示信息“消灭”以及经验值提升提示信息“+100”。经验值提升提示信息用于提示为第一虚拟对象增加的经验值。消失特效根据经验设置,或者根据实际的场景灵活调整,本申请实施例对此不加以限定。
在示例性实施例中,在缩略地图中显示第三虚拟对象的位置标记的方式为:在缩略地图中显示地理位置位于检测区域内,且属于第二阵营的第三虚拟对象的位置标记。其中,检测区域基于第二虚拟对象的地理位置确定。第二虚拟对象的地理位置为第二虚拟对象被第一虚拟对象击败时,第二虚拟对象在虚拟环境对应的地图中的位置。示例性地,虚拟环境对应的地图为三维地图,第二虚拟对象的地理位置利用三维坐标表示,该三维坐标是基于虚拟环境对应的地图中的三维坐标系确定的。
在示例性实施例中,第三虚拟对象的位置标记用于指示第三虚拟对象的地理位置在缩略地图中对应的位置。在缩略地图中显示第三虚拟对象的位置标记之前,需要获取第三虚拟对象的地理位置在缩略地图中对应的位置。示例性地,确定第三虚拟对象的地理位置在缩略地图中对应的位置的过程可以由服务器执行,也可以由目标应用程序执行,本申请实施例对此不加以限定。对于确定第三虚拟对象的地理位置在缩略地图中对应的位置的过程由服务器执行的情况,目标应用程序获取服务器发送的第三虚拟对象的地理位置在缩略地图中对应的位置。本申请实施例以确定第三虚拟对象的地理位置在缩略地图中对应的位置的过程由目标应用程序执行为例进行说明。
示例性地,目标应用程序确定第三虚拟对象的地理位置在缩略地图中对应的位置的过程包括下述步骤1至步骤4:
步骤1:响应于第一虚拟对象击败第二虚拟对象,确定第二虚拟对象的地理位置。
在确定第一虚拟对象击败第二虚拟对象时,说明第二虚拟对象被第一虚拟对象击败,确定被击败的第二虚拟对象的地理位置。
在示例性实施例中,确定第二虚拟对象的地理位置的方式为:获取用于指示第二虚拟对象的地理位置的地理位置信息;基于地理位置信息确定第二虚拟对象的地理位置。示例性地,服务器将用于指示参与竞技互动的各个虚拟对象的地理位置的地理位置信息实时下发至目标终端,此种情况下,目标应用程序中能够从目标终端中提取用于指示第二虚拟对象的地理位置的地理位置信息。在示例性实施例中,目标应用程序通过与服务器进行交互,获取用于指示第二虚拟对象的地理位置的地理位置信息。在获取用于指示第二虚拟对象的地理位置的地理位置信息之后,通过对地理位置信息进行分析,即可确定第二虚拟对象的地理位置。
步骤2:基于第二虚拟对象的地理位置,确定检测区域。
在确定第二虚拟对象的地理位置之后,基于第二虚拟对象的地理位置,确定检测区域。基于第二虚拟对象的地理位置,确定检测区域的具体实现方式由目标应用程序的开发人员设定,或者根据实际情况灵活调整,本申请实施例对此不加以限定。在示例性实施例中,确定检测区域的过程对目标交互对象是不可见的。
在示例性实施例中,基于第二虚拟对象的地理位置,确定检测区域的方式为:以第二虚拟对象的地理位置为圆心,以目标数值为半径作圆,将圆内的区域作为检测区域。目标数值由目标应用程序的开发人员设定,或者根据实际情况灵活调整,本申请实施例对此不加以限定。示例性地,如图5所示,以第二虚拟对象的地理位置M为圆心,以目标数值为半径作圆, 得到检测区域501。
在示例性实施例中,基于第二虚拟对象的地理位置,确定检测区域的方式为:以第二虚拟对象的地理位置为中心,作一个目标尺寸的矩形,将矩形内的区域作为检测区域。目标尺寸由目标应用程序的开发人员设定,或者根据实际情况灵活调整,本申请实施例对此不加以限定,示例性地,目标尺寸包括目标宽度和目标长度。
上述基于第二虚拟对象的地理位置,确定检测区域的方式仅为举例,本申请实施例并不局限于此,在一些实施例中,还可以利用其他的方式基于第二虚拟对象的地理位置,确定检测区域。例如,以第二虚拟对象的地理位置为中心,作一个目标边长的正六边形,将正六边形内的区域作为检测区域。目标边长由目标应用程序的开发人员设定,或者根据实际情况灵活调整,本申请实施例对此不加以限定。
步骤3:将地理位置位于检测区域内,且属于第二阵营的虚拟对象确定为第三虚拟对象。
在确定检测区域之后,即可根据检测区域检测出第三虚拟对象。检测区域为虚拟环境对应的地图中的检测区域,通过判断虚拟对象在虚拟环境对应的地图中的地理位置是否位于检测区域内,即可检测出地理位置位于检测区域内的全部虚拟对象。将地理位置位于检测区域内的全部虚拟对象中属于第二阵营的虚拟对象作为第三虚拟对象,至此,检测出第三虚拟对象。第三虚拟对象可视为第二虚拟对象附近的属于第二阵营的虚拟对象。
需要说明的是,本申请实施例以存在地理位置位于检测区域内且属于第二阵营的第三虚拟对象为例进行说明。若不存在地理位置位于检测区域内且属于第二阵营的第三虚拟对象,则不会执行在缩略地图中显示第三虚拟对象的位置标记的操作,而是继续进行正常地竞技互动过程。
需要进一步说明的是,检测出的第三虚拟对象的数量可能为一个或多个,本申请实施例对此不加以限定。示例性地,如图5所示,虚拟对象A和虚拟对象B的地理位置均位于检测区域501内,则将虚拟对象A和虚拟对象B均作为一个第三虚拟对象,后续需要将虚拟对象A的位置标记和虚拟对象B的位置标记均显示在缩略地图中。虚拟对象A的位置标记用于指示虚拟对象A的地理位置在缩略地图中对应的位置,虚拟对象B的位置标记用于指示虚拟对象B的地理位置在缩略地图中对应的位置。
步骤4:确定第三虚拟对象的地理位置在缩略地图中对应的位置。
在检测出第三虚拟对象之后,即可确定第三虚拟对象的地理位置在缩略地图中对应的位置。第三虚拟对象的地理位置在缩略地图中对应的位置是基于第三虚拟对象的地理位置确定的,也就是说,在检测出第三虚拟对象之后,需要确定第三虚拟对象的地理位置。确定第三虚拟对象的地理位置的方式参见确定第二虚拟对象的地理位置的方式,此处不再赘述。
在确定第三虚拟对象的地理位置之后,即可确定第三虚拟对象的地理位置在缩略地图中对应的位置。需要说明的是,对于第三虚拟对象的数量为多个的情况,需要分别确定各个第三虚拟对象的地理位置,然后确定各个第三虚拟对象的地理位置分别在缩略地图中对应的位置。确定出的在缩略地图中对应的位置的数量与第三虚拟对象的数量相同。
本申请实施例以第三虚拟对象的数量为一个为例进行说明。在一种可能实现方式中,第三虚拟对象的地理位置为第三虚拟对象在虚拟环境对应的地图中的位置;确定第三虚拟对象的地理位置在缩略地图中对应的位置的过程包括以下步骤A至步骤C:
步骤A:获取缩略地图与虚拟环境对应的地图之间的缩放比例,虚拟环境对应的地图中具有参考数量个第一基准位置,缩略地图中具有参考数量个第二基准位置,参考数量个第一基准位置与参考数量个第二基准位置一一对应。
虚拟环境对应的地图是指目标应用程序提供的虚拟环境对应的地图,缩略地图与虚拟环境对应的地图之间的缩放比例用于指示如何从虚拟环境对应的地图的尺寸变换到缩略地图的尺寸。
示例性地,虚拟环境对应的地图的外形与缩略地图的外形为数学上的相似外形,缩放比例为一个固定数值,例如,该固定数值为缩略地图的外形中的某个边的长度与虚拟环境对应 的地图的外形中的对应边的长度的比值。示例性地,虚拟环境对应的地图的外形与缩略地图的外形不为数学上的相似外形,缩放比例包括水平缩放比例和垂直缩放比例两个数值。水平缩放比例为缩略地图的最大水平长度与虚拟环境对应的地图的最大水平长度的比值;垂直缩放比例为缩略地图的最大垂直长度与虚拟环境对应的地图的最大垂直长度的比值。
在示例性实施例中,目标应用程序中存储有缩略地图与虚拟环境对应的地图之间的缩放比例,此种情况下,目标应用程序直接从存储中提取缩略地图与虚拟环境对应的地图之间的缩放比例。
在示例性实施例中,目标应用程序中存储有虚拟环境对应的地图的尺寸以及缩略地图的尺寸,此种情况下,目标应用程序通过将缩略地图的尺寸与虚拟环境对应的地图的尺寸进行比对得到缩略地图与虚拟环境对应的地图之间的缩放比例。例如,缩略地图和虚拟环境对应的地图的形状均为矩形,目标应用程序将缩略地图的长度与虚拟环境对应的地图的长度的比值作为水平缩放比例,将缩略地图的宽度与虚拟环境对应的地图的宽度的比值作为垂直缩放比例,从而得到缩略地图与虚拟环境对应的地图之间的缩放比例。
在示例性实施例中,目标应用程序通过与服务器进行交互获取缩略地图与虚拟环境对应的地图之间的缩放比例。
虚拟环境对应的地图中具有参考数量个第一基准位置,第一基准位置为虚拟环境对应的地图中用于与缩略地图建立映射关系的定位位置。虚拟环境对应的地图中的第一基准位置由目标应用程序的开发人员选取,或者由目标应用程序自行选取。示例性地,选取参考数量个第一基准位置的原则为:选取在虚拟环境对应的地图中较为分散的参考数量个第一基准位置。在示例性实施例中,参考数量个第一基准位置中的任三个第一基准位置均不位于同一直线上,以保证参考数量个第一基准位置的分散程度。
参考数量根据经验设置,或者根据实际情况灵活调整,本申请实施例对此不加以限定。在示例性实施例中,适合的参考数量能够使得选取的第一基准位置对虚拟环境对应的地图进行良好的定位且不冗余。示例性地,参考数量为三个。
缩略地图中具有参考数量个第二基准位置,缩略地图基于第二基准位置与虚拟环境对应的地图建立映射关系。缩略地图中的参考数量个第二基准位置由目标应用程序的开发人员选取,或者由目标应用程序自行选取。示例性地,选取参考数量个第二基准位置的原则为:选取在缩略地图中较为分散的参考数量个第二基准位置。
第一基准位置与第二基准位置的数量相同,均为参考数量个,且参考数量个第一基准位置与参考数量个第二基准位置一一对应。也就是说,对于虚拟环境对应的地图中的每个第一基准位置,在缩略地图中均存在一个对应的第二基准位置。示例性地,参考数量为三个,虚拟环境对应的地图中的第一基准位置如图6所示,缩略地图中的第二基准位置如图7所示。图6中的第一基准位置A1与图7中的第二基准位置A2对应,图6中的第一基准位置B1与图7中的第二基准位置B2对应,图6中的第一基准位置C1与图7中的第二基准位置C2对应。
步骤B:基于缩放比例、参考数量个第一基准位置以及参考数量个第二基准位置,确定第三虚拟对象的地理位置在缩略地图中对应的参考数量个候选位置。
第三虚拟对象的地理位置在缩略地图中对应的每个候选位置均基于缩放比例、一个第一基准位置以及该一个第一基准位置对应的第二基准位置确定。在一种可能实现方式中,确定第三虚拟对象的地理位置在缩略地图中对应的每个候选位置的原理相同,本申请实施例以确定第三虚拟对象的地理位置在缩略地图中对应的一个候选位置为例进行说明。
示例性地,确定第三虚拟对象的地理位置在缩略地图中对应的一个候选位置的过程包括以下步骤B-1和步骤B-2:
步骤B-1:基于缩放比例,获取第一距离对应的第二距离,第一距离为第三虚拟对象的地理位置与目标基准位置之间的距离,目标基准位置为参考数量个第一基准位置中的一个第一基准位置。
第三虚拟对象的地理位置和目标基准位置均为虚拟环境对应的地图中的位置,将第三虚拟对象的地理位置与该目标基准位置之间的距离作为第一距离,该第一距离为虚拟环境对应的地图中的距离。示例性地,第三虚拟对象的地理位置与该目标基准位置之间的距离可能是指第三虚拟对象的地理位置与该目标基准位置之间的直线距离,该直线距离是指第三虚拟对象的地理位置与该目标基准位置之间的欧式距离。示例性地,第三虚拟对象的地理位置与该目标基准位置之间的距离还可能是指第三虚拟对象的地理位置与该目标基准位置之间的水平距离或垂直距离等。
第二距离是基于缩放比例获取的第一距离对应的距离。第二距离为将第一距离映射到缩放地图之后的距离。由于缩放比例能够用于指示如何从虚拟环境对应的地图的尺寸变换到缩略地图的尺寸,所以根据缩放比例能够得知如何获取虚拟环境对应的地图中的第一距离对应的第二距离。
示例性地,缩放比例为一个固定数值,此种情况下,基于缩放比例,获取第一距离对应的第二距离的方式为:将第一距离与该固定数值的乘积作为第二距离。示例性地,缩放比例包括水平缩放比例和垂直缩放比例两个数值,此种情况下,基于缩放比例,获取第一距离对应的第二距离的方式为:获取第一距离对应的水平距离以及垂直距离;将水平距离与水平缩放比例的乘积作为参考水平距离,将垂直距离与垂直缩放比例的乘积作为参考垂直距离;基于参考水平距离和参考垂直距离,获取第二距离。示例性地,第一距离对应的水平距离是指第一距离在横坐标轴上的投影距离,第一距离对应的垂直距离是指第一距离在纵坐标轴上的投影距离。
示例性地,基于参考水平距离和参考垂直距离,获取第二距离的方式为:将参考水平距离的平方与参考垂直距离的平方相加,将相加得到的数值的平方根作为第二距离。
步骤B-2:将缩略地图中满足第一条件的位置作为第三虚拟对象的地理位置在缩略地图中对应的一个候选位置,满足第一条件的位置与目标基准位置对应的第二基准位置之间的距离为第二距离,且与目标基准位置对应的第二基准位置之间的方位关系为目标方位关系,目标方位关系为第三虚拟对象的地理位置与目标基准位置之间的方位关系。
在获取第二距离之后,即可进一步在缩略地图中确定第三虚拟对象的地理位置在缩略地图中对应的一个候选位置。该一个候选位置是指缩略地图中满足第一条件的位置。该满足第一条件的位置与该目标基准位置对应的第二基准位置之间的距离为第二距离,且该满足第一条件的位置与该目标基准位置对应的第二基准位置之间的方位关系为目标方位关系。
目标方位关系为第三虚拟对象的地理位置与该目标基准位置之间的方位关系。第三虚拟对象的地理位置和该目标基准位置均位于虚拟环境对应的地图中,目标方位关系用于指示第三虚拟对象的地理位置位于该目标基准位置的哪个方位。本申请实施例对目标方位关系的表示方式不加以限定,示例性地,目标方位关系的表示方式为:从该目标基准位置指向第三虚拟对象的地理位置的箭头。
根据上述步骤B-1和步骤B-2的方式即可确定第三虚拟对象的地理位置在缩略地图中对应的参考数量个候选位置,然后执行步骤C。
步骤C:将参考数量个候选位置的平均位置作为第三虚拟对象的地理位置在缩略地图中对应的位置。
在得到第三虚拟对象的地理位置在缩略地图中对应的参考数量个候选位置之后,计算参考数量个候选位置的平均位置,将平均位置作为第三虚拟对象的地理位置在缩略地图中对应的位置。
示例性地,参考数量为三个,第三虚拟对象的地理位置在缩略地图中对应的三个候选位置分别为候选位置P1、候选位置P2和候选位置P3,计算候选位置P1、候选位置P2和候选位置P3的平均位置,得到位置P0,将得到的位置P0作为第三虚拟对象的地理位置在缩略地图中对应的位置。
在确定第三虚拟对象的地理位置在缩略地图中对应的位置之后,在缩略地图中显示用于 指示第三虚拟对象的地理位置在缩略地图中对应的位置的位置标记,以提供在缩略地图中映射显示属于对抗阵营的虚拟对象的位置标记的功能,从而使得目标交互对象能够根据缩略地图中显示出的位置标记来推测第三虚拟对象在虚拟环境中所处大致的位置。
基于本申请实施例提供的方法,在第一虚拟对象击败第二虚拟对象之后,确定第二虚拟对象附近的属于对抗阵营的虚拟对象(即第三虚拟对象)的地理位置在缩略地图中对应的位置,通过在缩略地图中显示位置标记,使得目标交互对象能够根据缩略地图中显示出的位置标记得知被击败的第二虚拟对象附近还有多少个属于对抗阵营的虚拟对象,以及各个属于对抗阵营的虚拟对象在虚拟环境中大致所处的位置,从而使得目标交互对象能够根据位置标记的指引快速地移动第一虚拟对象的位置,使第一虚拟对象移动到属于对抗阵营的虚拟对象附近去攻击属于对抗阵营的虚拟对象,提升竞技互动的趣味性,进而提高人机交互率。
示例性地,对于第三虚拟对象的数量为多个的情况,每个第三虚拟对象的地理位置均在缩略地图中对应一个位置,此种情况下,在缩略地图中显示多个位置标记。
在一种可能实现方式中,在缩略地图中显示第三虚拟对象的位置标记的方式为:在缩略地图中采用目标显示样式显示第三虚拟对象的位置标记。示例性地,目标显示样式与其他类型的虚拟物的位置标记的显示样式不同,以便于区分。其他类型的虚拟物是指与第三虚拟对象类型不同的虚拟物,如,第一虚拟对象、第一虚拟对象的己方虚拟对象、虚拟建筑物等。目标显示样式根据经验设置,或者根据实际情况灵活调整,本申请对此不加以限定。示例性地,目标显示样式为目标颜色的圆点、目标颜色的三角形等。例如,目标颜色为红色、灰色等。
示例性地,显示有第三虚拟对象的位置标记的缩略地图如图8所示。在图8中,采用灰色圆点显示第三虚拟对象的位置标记801,第三虚拟对象的位置标记的数量为四个。
在示例性实施例中,缩略地图中除了显示第三虚拟对象的位置标记外,还显示第一虚拟对象的位置标记以及与第一虚拟对象属于同一阵营的满足条件的虚拟对象的位置标记。示例性地,与第一虚拟对象属于同一阵营的虚拟对象可称为第一虚拟对象的己方虚拟对象。通过在缩略地图中显示第一虚拟对象以及满足条件的己方虚拟对象的位置标记,能够便于目标交互对象直观了解到第一虚拟对象以及满足条件的己方虚拟对象在虚拟环境中所处的位置之间的关系,从而为后续的竞技互动策略的制定提供指导。
示例性地,满足条件的己方虚拟对象可以是指与第一虚拟对象属于同一阵营的全部虚拟对象,也可以是指与第一虚拟对象属于同一阵营的全部虚拟对象中与第一虚拟对象的距离不大于目标距离的虚拟对象,本申请实施例对此不加以限定。目标距离根据经验设置,或者根据实际情况灵活调整,本申请实施例对此不加以限定。
示例性地,第一虚拟对象的位置标记用于指示第一虚拟对象的地理位置在缩略地图中对应的位置,满足条件的己方虚拟对象的位置标记用于指示满足条件的己方虚拟对象的地理位置在缩略地图中对应的位置。第一虚拟对象的地理位置在缩略地图中对应的位置以及满足条件的己方虚拟对象的地理位置在缩略地图中对应的位置的确定方式参见确定第三虚拟对象的地理位置在缩略地图中对应的位置的方式,此处不再赘述。
示例性地,如图8所示,在图8中,除显示有第三虚拟对象的位置标记801外,还显示有第一虚拟对象的位置标记802以及与两个满足条件的己方虚拟对象的位置标记803。在图8中,第三虚拟对象的位置标记801、第一虚拟对象的位置标记802以及两个满足条件的己方虚拟对象的位置标记803所采用的显示样式不同。
在一种可能实现方式中,在缩略地图中显示第三虚拟对象的位置标记之后,还包括:响应于位置标记在缩略地图中显示的时长达到参考时长,在缩略地图中取消显示该位置标记。示例性地,响应于位置标记在缩略地图中显示的时长未达到参考时长,保持缩略地图中显示的位置标记不变。
也就是说,在缩略地图中显示第三虚拟对象的位置标记的时长为参考时长,若显示的时长达到参考时长,则取消显示第三虚拟对象的位置标记;若显示的时长未达到参考时长,则 保持显示的第三虚拟对象的位置标记不变。参考时长根据经验设置,或者根据实际的情况灵活调整,本申请实施例对此不加以限定,示例性地,参考时长为3秒。
示例性地,在位置标记在缩略地图中显示的时长未达到参考时长之前,无论第三虚拟对象的地理位置是否发生变化,缩略地图中显示的位置标记始终保持不变,也就是说,在显示的时长达到参考时长之前,缩略地图中显示的位置标记不会随着第三虚拟对象在虚拟环境中的移动而移动,缩略地图中显示的位置标记用于指示第三虚拟对象在被检测出来的时候的地理位置在缩略地图中对应的位置。此种方式有利于保证竞技互动的公平性。
示例性地,在缩略地图中显示位置标记的过程如图9所示。为第一虚拟对象配置第一技能;判断第一虚拟对象是否击败第二虚拟对象。若第一虚拟对象击败第二虚拟对象,确定第二虚拟对象的地理位置以及检测区域。判断是否存在地理位置位于检测区域内的第三虚拟对象;若存在第三虚拟对象,则确定第三虚拟对象的地理位置在缩略地图中对应的位置,将用于指示第三虚拟对象的地理位置在缩略地图中对应的位置的位置标记显示在缩略地图中。判断位置标记在缩略地图中显示的时长是否达到参考时长;若位置标记在缩略地图中显示的时长未达到参考时长,则继续显示并实时判断显示的时长是否达到参考时长。若位置标记在缩略地图中显示的时长达到参考时长,则在缩略地图中取消显示位置标记。
示例性实施例中,在确定第一虚拟对象击败第二虚拟对象时,除了在缩略地图中显示第三虚拟对象的位置标记外,还可以将已为第一虚拟对象的目标技能收集的资源的数量增加参考数值,以缩短为目标技能收集目标数量的资源所需的耗时。其中,目标数量的资源为释放目标技能所需的资源。也就是说,响应于第一虚拟对象击败第二虚拟对象,将已为第一虚拟对象的目标技能收集的资源的数量增加参考数值,以缩短为目标技能收集目标数量的资源所需的耗时。
第一虚拟对象的目标技能为释放条件是收集目标数量的资源的技能,示例性地,第一虚拟对象的目标技能根据目标交互对象的交互操作为第一虚拟对象配置得到,本申请实施例对目标技能的类型不加以限定,示例性地,第一虚拟对象的目标技能称为第一虚拟对象具有的大招。通过击败属于对抗阵营的虚拟对象,能够快速补充第一虚拟对象具有的大招所需的资源。
在确定第一虚拟对象击败属于对抗阵营的第二虚拟对象时,将已为第一虚拟对象的目标技能收集的资源的数量增加参考数值,以缩短为目标技能收集目标数量的资源所需的耗时。参考数值根据经验设置,或者根据应用场景灵活调整,本申请实施例对此加以限定。
示例性地,在默认情况下,为第一虚拟对象的目标技能收集的资源随着时间的延长逐渐增加。在本申请实施例中,在默认的随着时间的延长逐渐增加收集的资源的基础上,若确定第一虚拟对象击败属于对抗阵营的第二虚拟对象,则直接将已为第一虚拟对象的目标技能收集的资源的数量增加参考数值,从而缩短为目标技能收集目标数量的资源所需的耗时,也即缩短目标技能的释放所需的资源收集时长。在为目标技能收集到目标数量的资源后,第一虚拟对象才能够使用目标技能,所以通过缩短为目标技能收集目标数量的资源所需的耗时,能够提升第一虚拟对象使用目标技能的频率。
需要说明的是,本申请实施例以确定第一虚拟对象击败第二虚拟对象时,已为第一虚拟对象的目标技能收集的资源的数量与目标数量之间的差值不小于参考数值为例进行说明。在示例性实施例中,若确定第一虚拟对象击败第二虚拟对象时,已为第一虚拟对象的目标技能收集的资源的数量与目标数量之间的差值大于0小于参考数值,则直接将已为第一虚拟对象的目标技能收集的资源的数量增加至目标数量。若已经为第一虚拟对象的目标技能收集的资源的数量为目标数量,则保持已经为第一虚拟对象的目标技能收集的资源的数量不变。
在示例性实施例中,在为目标技能收集目标数量的资源后,目标技能处于可释放状态,目标交互对象能够通过触发目标技能的控件来释放目标技能。在示例性实施例中,在释放目标技能后,重新为目标技能收集资源。
示例性地,目标技能的控件如图10中的1001和图11中的1101所示。为目标技能收集 的资源利用环形进度条来表示,环形进度条中填充的比例用于表示已收集的资源的数量与目标数量之间的比例。为目标技能收集的资源的数量未达到目标数量时的环形进度条如图10中的1002所示;为目标技能收集的资源的数量达到目标数量时的环形进度条如图11中的1102所示。在图10和图11中,环形进度条中已填充的部分利用黑色标记。在图11中的环形进度条1102所示的状态下,目标技能处于可释放状态。
示例性地,由于通过在缩略地图中显示属于对抗阵营的虚拟对象的位置标记,能够使第一虚拟对象击败更多的属于对抗阵营的虚拟对象,且击败属于对抗阵营的虚拟对象能够快速补充第一虚拟对象的目标技能所需的资源,所以,通过在缩略地图中显示属于对抗阵营的虚拟对象的位置标记,能够进一步提升第一虚拟对象使用目标技能的频率,有利于加快竞技互动进程,节省目标应用程序和服务器之间的通信资源。
本申请实施例引入了一种新型的在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的方式,该方式不限制使用次数,操作能力越强的玩家,能够控制第一虚拟对象击败更多的第二虚拟对象,从而实现更多次数的在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的过程。本申请实施例通过引入击败的方式来在缩略地图中显示属于对抗阵营的虚拟对象的位置标记,即当第一虚拟对象击败一个属于对抗阵营的第二虚拟对象之后,该被击败的第二虚拟对象附近一定范围内的属于对抗阵营的第三虚拟对象的位置标记将会显示在缩略地图中,这样第一虚拟对象就可以非常轻易的获取到第三虚拟对象的所处位置的信息并加以利用,提升竞技互动的趣味性。进而提升人机交互率。
本申请实施例中,在第一虚拟对象击败第二虚拟对象这一触发条件下,自动在缩略地图中显示与第二虚拟对象属于同一阵营的第三虚拟对象的位置标记。其中,第二虚拟对象所属的阵营与第一虚拟对象所属的阵营为对抗关系,也即第二虚拟对象所属的阵营为第一虚拟对象所属的阵营的对抗阵营。在此种方式下,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的过程无需依赖侦察类道具,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的实现要求较低,且显示的频率不会受到侦察类道具的可使用次数的限制,有利于提高显示位置标记的灵活性和可靠性,进而提高人机交互率。
参见图12,本申请实施例提供了一种显示位置标记的装置,该装置包括:
显示单元1201,用于显示缩略地图,缩略地图用于为第一虚拟对象提供地图指引,第一虚拟对象属于第一阵营;
控制单元1202,用于控制第一虚拟对象攻击第二虚拟对象,第二虚拟对象属于第二阵营,第二阵营与第一阵营之间的关系为对抗关系;
显示单元1201,还用于响应于第一虚拟对象击败第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记,第三虚拟对象属于第二阵营。
在一种可能实现方式中,第三虚拟对象为地理位置位于检测区域内,且属于第二阵营的虚拟对象,检测区域基于第二虚拟对象的地理位置确定。
在一种可能实现方式中,第三虚拟对象的位置标记用于指示第三虚拟对象的地理位置在缩略地图中对应的位置;参见图13,该装置还包括:
确定单元1203,用于响应于第一虚拟对象击败第二虚拟对象,确定第二虚拟对象的地理位置;基于第二虚拟对象的地理位置,确定检测区域;将地理位置位于检测区域内,且属于第二阵营的虚拟对象确定为第三虚拟对象;确定第三虚拟对象的地理位置在缩略地图中对应的位置。
在一种可能实现方式中,参见图13,该装置还包括:
配置单元1204,用于响应于第一技能的配置操作,为第一虚拟对象配置第一技能,第一技能为响应于第一虚拟对象击败第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记的技能。
在一种可能实现方式中,显示单元1201,还用于在技能选择界面显示至少一个候选技能; 响应于至少一个候选技能中的第一技能的选择操作,显示第一技能对应的技能信息以及第一技能对应的确认控件;
参见图13,该装置还包括:
获取单元1205,用于响应于第一技能对应的确认控件的触发操作,获取第一技能的配置操作。
在一种可能实现方式中,显示单元1201,还用于响应于位置标记在缩略地图中显示的时长达到参考时长,在缩略地图中取消显示位置标记。
在一种可能实现方式中,显示单元1201,用于在缩略地图中采用目标显示样式显示第三虚拟对象的位置标记。
在一种可能实现方式中,参见图13,该装置还包括:
增加单元1206,用于响应于第一虚拟对象击败第二虚拟对象,将已为第一虚拟对象的目标技能收集的资源的数量增加参考数值,以缩短为目标技能收集目标数量的资源所需的耗时,目标数量的资源为释放目标技能所需的资源。
在一种可能实现方式中,显示单元1201,还用于响应于第一虚拟对象利用参考道具或者参考技能击败第二虚拟对象,在缩略地图中显示第三虚拟对象的位置标记,参考道具为针对一个虚拟对象使用的道具,参考技能为针对一个虚拟对象使用的技能。
在一种可能实现方式中,第三虚拟对象的地理位置为第三虚拟对象在虚拟环境对应的地图中的位置;确定单元1203,还用于获取缩略地图与虚拟环境对应的地图之间的缩放比例,虚拟环境对应的地图中具有参考数量个第一基准位置,缩略地图中具有参考数量个第二基准位置,参考数量个第一基准位置与参考数量个第二基准位置一一对应;基于缩放比例、参考数量个第一基准位置以及参考数量个第二基准位置,确定第三虚拟对象的地理位置在缩略地图中对应的参考数量个候选位置;将参考数量个候选位置的平均位置作为第三虚拟对象的地理位置在缩略地图中对应的位置。
在一种可能实现方式中,确定单元1203,还用于基于缩放比例,获取第一距离对应的第二距离,第一距离为第三虚拟对象的地理位置与目标基准位置之间的距离,目标基准位置为参考数量个第一基准位置中的一个第一基准位置;将缩略地图中满足第一条件的位置作为第三虚拟对象的地理位置在缩略地图中对应的一个候选位置,满足第一条件的位置与目标基准位置对应的第二基准位置之间的距离为第二距离,且与目标基准位置对应的第二基准位置之间的方位关系为目标方位关系,目标方位关系为第三虚拟对象的地理位置与目标基准位置之间的方位关系。
本申请实施例中,在第一虚拟对象击败第二虚拟对象这一触发条件下,自动在缩略地图中显示与第二虚拟对象属于同一阵营的第三虚拟对象的位置标记。其中,第二虚拟对象所属的阵营与第一虚拟对象所属的阵营为对抗关系,也即第二虚拟对象所属的阵营为第一虚拟对象所属的阵营的对抗阵营。在此种方式下,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的过程无需依赖侦察类道具,在缩略地图中显示属于对抗阵营的虚拟对象的位置标记的实现要求较低,且显示的频率不会受到侦察类道具的可使用次数的限制,有利于提高显示位置标记的灵活性和可靠性,进而提高人机交互率。
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能单元的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元完成,即将设备的内部结构划分成不同的功能单元,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图14是本申请实施例提供的一种终端的结构示意图。该终端可以是:智能手机、平板电脑、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层 面4)播放器、笔记本电脑或台式电脑。终端还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端包括有:处理器1401和存储器1402。
处理器1401可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1401可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1401也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1401可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1401还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1402可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1402还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1402中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1401所执行,以使该终端实现本申请中方法实施例提供的显示位置标记的方法。
在一些实施例中,终端还可选包括有:外围设备接口1403和至少一个外围设备。处理器1401、存储器1402和外围设备接口1403之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口1403相连。具体地,外围设备包括:射频电路1404、显示屏1405、摄像头组件1406、音频电路1407和电源1408中的至少一种。
外围设备接口1403可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1401和存储器1402。在一些实施例中,处理器1401、存储器1402和外围设备接口1403被集成在同一芯片或电路板上;在一些其他实施例中,处理器1401、存储器1402和外围设备接口1403中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1404用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1404通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1404将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1404包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1404可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路1404还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。
显示屏1405用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏1405是触摸显示屏时,显示屏1405还具有采集在显示屏1405的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1401进行处理。此时,显示屏1405还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏1405可以为一个,设置在终端的前面板;在另一些实施例中,显示屏1405可以为至少两个,分别设置在终端的不同表面或呈折叠设计;在另一些实施例中,显示屏1405可以是柔性显示屏,设置在终端的弯曲表面上或折叠面上。甚至,显示屏1405还可以设置成非矩形的不规则图形,也即异形屏。显示屏1405可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件1406用于采集图像或视频。可选地,摄像头组件1406包括前置摄像头和后 置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1406还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路1407可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1401进行处理,或者输入至射频电路1404以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1401或射频电路1404的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1407还可以包括耳机插孔。
电源1408用于为终端中的各个组件进行供电。电源1408可以是交流电、直流电、一次性电池或可充电电池。当电源1408包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。
在一些实施例中,终端还包括有一个或多个传感器1409。该一个或多个传感器1409包括但不限于:加速度传感器1410、陀螺仪传感器1411、压力传感器1412、光学传感器1413以及接近传感器1414。
加速度传感器1410可以检测以终端建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1410可以用于检测重力加速度在三个坐标轴上的分量。处理器1401可以根据加速度传感器1410采集的重力加速度信号,控制显示屏1405以横向视图或纵向视图进行用户界面的显示。加速度传感器1410还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器1411可以检测终端的机体方向及转动角度,陀螺仪传感器1411可以与加速度传感器1410协同采集用户对终端的3D(三维)动作。处理器1401根据陀螺仪传感器1411采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器1412可以设置在终端的侧边框和/或显示屏1405的下层。当压力传感器1412设置在终端的侧边框时,可以检测用户对终端的握持信号,由处理器1401根据压力传感器1412采集的握持信号进行左右手识别或快捷操作。当压力传感器1412设置在显示屏1405的下层时,由处理器1401根据用户对显示屏1405的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
光学传感器1413用于采集环境光强度。在一个实施例中,处理器1401可以根据光学传感器1413采集的环境光强度,控制显示屏1405的显示亮度。具体地,当环境光强度较高时,调高显示屏1405的显示亮度;当环境光强度较低时,调低显示屏1405的显示亮度。在另一个实施例中,处理器1401还可以根据光学传感器1413采集的环境光强度,动态调整摄像头组件1406的拍摄参数。
接近传感器1414,也称距离传感器,通常设置在终端的前面板。接近传感器1414用于采集用户与终端的正面之间的距离。在一个实施例中,当接近传感器1414检测到用户与终端的正面之间的距离逐渐变小时,由处理器1401控制显示屏1405从亮屏状态切换为息屏状态;当接近传感器1414检测到用户与终端的正面之间的距离逐渐变大时,由处理器1401控制显示屏1405从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图14中示出的结构并不构成对终端的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在示例性实施例中,还提供了一种计算机设备,该计算机设备包括处理器和存储器,该存储器中存储有至少一条计算机程序。该至少一条计算机程序由一个或者一个以上处理器加载并执行,以使该计算机设备实现上述任一种显示位置标记的方法。
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,该非临时性计算机可读存储介质中存储有至少一条计算机程序,该至少一条计算机程序由计算机设备的处理器加载并执行,以使计算机实现上述任一种显示位置标记的方法。
在一种可能实现方式中,上述非临时性计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在非临时性计算机可读存储介质中。计算机设备的处理器从非临时性计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述任一种显示位置标记的方法。
需要说明的是,本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (15)

  1. 一种显示位置标记的方法,其中,所述方法由终端执行,所述方法包括:
    显示缩略地图,所述缩略地图用于为第一虚拟对象提供地图指引,所述第一虚拟对象属于第一阵营;
    控制所述第一虚拟对象攻击第二虚拟对象,所述第二虚拟对象属于第二阵营,所述第二阵营与所述第一阵营之间的关系为对抗关系;
    响应于所述第一虚拟对象击败所述第二虚拟对象,在所述缩略地图中显示第三虚拟对象的位置标记,所述第三虚拟对象属于所述第二阵营。
  2. 根据权利要求1所述的方法,其中,所述第三虚拟对象为地理位置位于检测区域内,且属于所述第二阵营的虚拟对象,所述检测区域基于所述第二虚拟对象的地理位置确定。
  3. 根据权利要求2所述的方法,其中,所述第三虚拟对象的位置标记用于指示所述第三虚拟对象的地理位置在所述缩略地图中对应的位置;所述在所述缩略地图中显示第三虚拟对象的位置标记之前,所述方法还包括:
    响应于所述第一虚拟对象击败所述第二虚拟对象,确定所述第二虚拟对象的地理位置;
    基于所述第二虚拟对象的地理位置,确定所述检测区域;
    将地理位置位于所述检测区域内,且属于所述第二阵营的虚拟对象确定为所述第三虚拟对象;
    确定所述第三虚拟对象的地理位置在所述缩略地图中对应的位置。
  4. 根据权利要求1所述的方法,其中,所述响应于所述第一虚拟对象击败所述第二虚拟对象,在所述缩略地图中显示第三虚拟对象的位置标记之前,所述方法还包括:
    响应于第一技能的配置操作,为所述第一虚拟对象配置所述第一技能,所述第一技能为响应于所述第一虚拟对象击败所述第二虚拟对象,在所述缩略地图中显示所述第三虚拟对象的位置标记的技能。
  5. 根据权利要求4所述的方法,其中,所述响应于第一技能的配置操作,为所述第一虚拟对象配置所述第一技能之前,所述方法还包括:
    在技能选择界面显示至少一个候选技能;
    响应于所述至少一个候选技能中的第一技能的选择操作,显示所述第一技能对应的技能信息以及所述第一技能对应的确认控件;
    响应于所述第一技能对应的确认控件的触发操作,获取所述第一技能的配置操作。
  6. 根据权利要求1所述的方法,其中,所述在所述缩略地图中显示第三虚拟对象的位置标记之后,所述方法还包括:
    响应于所述位置标记在所述缩略地图中显示的时长达到参考时长,在所述缩略地图中取消显示所述位置标记。
  7. 根据权利要求1所述的方法,其中,所述在所述缩略地图中显示第三虚拟对象的位置标记,包括:
    在所述缩略地图中采用目标显示样式显示所述第三虚拟对象的位置标记。
  8. 根据权利要求1-7任一所述的方法,其中,所述方法还包括:
    响应于所述第一虚拟对象击败所述第二虚拟对象,将已为所述第一虚拟对象的目标技能收集的资源的数量增加参考数值,以缩短为所述目标技能收集目标数量的资源所需的耗时, 所述目标数量的资源为释放所述目标技能所需的资源。
  9. 根据权利要求1-7任一所述的方法,其中,所述响应于所述第一虚拟对象击败所述第二虚拟对象,在所述缩略地图中显示第三虚拟对象的位置标记,包括:
    响应于所述第一虚拟对象利用参考道具或者参考技能击败所述第二虚拟对象,在所述缩略地图中显示所述第三虚拟对象的位置标记,所述参考道具为针对一个虚拟对象使用的道具,所述参考技能为针对一个虚拟对象使用的技能。
  10. 根据权利要求3所述的方法,其中,所述第三虚拟对象的地理位置为所述第三虚拟对象在虚拟环境对应的地图中的位置;所述确定所述第三虚拟对象的地理位置在所述缩略地图中对应的位置,包括:
    获取所述缩略地图与所述虚拟环境对应的地图之间的缩放比例,所述虚拟环境对应的地图中具有参考数量个第一基准位置,所述缩略地图中具有所述参考数量个第二基准位置,所述参考数量个第一基准位置与所述参考数量个第二基准位置一一对应;
    基于所述缩放比例、所述参考数量个第一基准位置以及所述参考数量个第二基准位置,确定所述第三虚拟对象的地理位置在所述缩略地图中对应的所述参考数量个候选位置;
    将所述参考数量个候选位置的平均位置作为所述第三虚拟对象的地理位置在所述缩略地图中对应的位置。
  11. 根据权利要求10所述的方法,其中,所述基于所述缩放比例、所述参考数量个第一基准位置以及所述参考数量个第二基准位置,确定所述第三虚拟对象的地理位置在所述缩略地图中对应的所述参考数量个候选位置,包括:
    基于所述缩放比例,获取第一距离对应的第二距离,所述第一距离为所述第三虚拟对象的地理位置与目标基准位置之间的距离,所述目标基准位置为所述参考数量个第一基准位置中的一个第一基准位置;
    将所述缩略地图中满足第一条件的位置作为所述第三虚拟对象的地理位置在所述缩略地图中对应的一个候选位置,所述满足第一条件的位置与所述目标基准位置对应的第二基准位置之间的距离为所述第二距离,且与所述目标基准位置对应的第二基准位置之间的方位关系为目标方位关系,所述目标方位关系为所述第三虚拟对象的地理位置与所述目标基准位置之间的方位关系。
  12. 一种显示位置标记的装置,其中,所述装置包括:
    显示单元,用于显示缩略地图,所述缩略地图用于为第一虚拟对象提供地图指引,所述第一虚拟对象属于第一阵营;
    控制单元,用于控制所述第一虚拟对象攻击第二虚拟对象,所述第二虚拟对象属于第二阵营,所述第二阵营与所述第一阵营之间的关系为对抗关系;
    所述显示单元,还用于响应于所述第一虚拟对象击败所述第二虚拟对象,在所述缩略地图中显示第三虚拟对象的位置标记,所述第三虚拟对象属于所述第二阵营。
  13. 一种计算机设备,其中,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条计算机程序,所述至少一条计算机程序由所述处理器加载并执行,以使所述计算机设备实现如权利要求1至11任一所述的显示位置标记的方法。
  14. 一种非临时性计算机可读存储介质,其中,所述非临时性计算机可读存储介质中存储有至少一条计算机程序,所述至少一条计算机程序由处理器加载并执行,以使计算机实现如权利要求1至11任一所述的显示位置标记的方法。
  15. 一种计算机程序产品,其中,所述计算机程序产品包括计算机指令,所述计算机指令存储在非临时性计算机可读存储介质中,计算机设备的处理器从所述非临时性计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令,使得所述计算机设备执行如权利要求1至11任一所述的显示位置标记的方法。
PCT/CN2022/081484 2021-04-30 2022-03-17 显示位置标记的方法、装置、设备及存储介质 WO2022227915A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023549098A JP2024509064A (ja) 2021-04-30 2022-03-17 位置マークの表示方法及び装置、機器並びにコンピュータプログラム
US17/986,274 US20230072762A1 (en) 2021-04-30 2022-11-14 Method and apparatus for displaying position mark, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110478971.7 2021-04-30
CN202110478971.7A CN113041620B (zh) 2021-04-30 2021-04-30 显示位置标记的方法、装置、设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/986,274 Continuation US20230072762A1 (en) 2021-04-30 2022-11-14 Method and apparatus for displaying position mark, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022227915A1 true WO2022227915A1 (zh) 2022-11-03

Family

ID=76517799

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081484 WO2022227915A1 (zh) 2021-04-30 2022-03-17 显示位置标记的方法、装置、设备及存储介质

Country Status (4)

Country Link
US (1) US20230072762A1 (zh)
JP (1) JP2024509064A (zh)
CN (1) CN113041620B (zh)
WO (1) WO2022227915A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021166863A1 (ja) * 2020-02-21 2021-08-26 株式会社セガ プログラム及び情報処理装置
CN113041620B (zh) * 2021-04-30 2023-03-03 腾讯科技(深圳)有限公司 显示位置标记的方法、装置、设备及存储介质
CN117547819A (zh) * 2022-08-05 2024-02-13 腾讯科技(成都)有限公司 虚拟标识的显示方法和装置、存储介质及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190299099A1 (en) * 2018-03-28 2019-10-03 Nintendo Co., Ltd. Storage medium having stored therein information processing program, information processing apparatus, information processing system, and information processing method
CN111035918A (zh) * 2019-11-20 2020-04-21 腾讯科技(深圳)有限公司 基于虚拟环境的侦察界面显示方法、装置及可读存储介质
CN111265869A (zh) * 2020-01-14 2020-06-12 腾讯科技(深圳)有限公司 虚拟对象的检测方法、装置、终端及存储介质
CN111414080A (zh) * 2020-03-19 2020-07-14 腾讯科技(深圳)有限公司 虚拟对象的位置显示方法、装置、设备及存储介质
CN111589124A (zh) * 2020-06-23 2020-08-28 腾讯科技(深圳)有限公司 虚拟对象的控制方法、装置、终端及存储介质
CN111651616A (zh) * 2020-06-19 2020-09-11 腾讯科技(深圳)有限公司 多媒体资源的生成方法、装置、设备及介质
CN113041620A (zh) * 2021-04-30 2021-06-29 腾讯科技(深圳)有限公司 显示位置标记的方法、装置、设备及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10807001B2 (en) * 2017-09-12 2020-10-20 Netease (Hangzhou) Network Co., Ltd. Information processing method, apparatus and computer readable storage medium
CN111821691A (zh) * 2020-07-24 2020-10-27 腾讯科技(深圳)有限公司 界面显示方法、装置、终端及存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190299099A1 (en) * 2018-03-28 2019-10-03 Nintendo Co., Ltd. Storage medium having stored therein information processing program, information processing apparatus, information processing system, and information processing method
CN111035918A (zh) * 2019-11-20 2020-04-21 腾讯科技(深圳)有限公司 基于虚拟环境的侦察界面显示方法、装置及可读存储介质
CN111265869A (zh) * 2020-01-14 2020-06-12 腾讯科技(深圳)有限公司 虚拟对象的检测方法、装置、终端及存储介质
CN111414080A (zh) * 2020-03-19 2020-07-14 腾讯科技(深圳)有限公司 虚拟对象的位置显示方法、装置、设备及存储介质
CN111651616A (zh) * 2020-06-19 2020-09-11 腾讯科技(深圳)有限公司 多媒体资源的生成方法、装置、设备及介质
CN111589124A (zh) * 2020-06-23 2020-08-28 腾讯科技(深圳)有限公司 虚拟对象的控制方法、装置、终端及存储介质
CN113041620A (zh) * 2021-04-30 2021-06-29 腾讯科技(深圳)有限公司 显示位置标记的方法、装置、设备及存储介质

Also Published As

Publication number Publication date
JP2024509064A (ja) 2024-02-29
CN113041620A (zh) 2021-06-29
CN113041620B (zh) 2023-03-03
US20230072762A1 (en) 2023-03-09

Similar Documents

Publication Publication Date Title
CN108619721B (zh) 虚拟场景中的距离信息显示方法、装置及计算机设备
CN111414080B (zh) 虚拟对象的位置显示方法、装置、设备及存储介质
CN110141859B (zh) 虚拟对象控制方法、装置、终端及存储介质
CN112494955B (zh) 虚拟对象的技能释放方法、装置、终端及存储介质
WO2022227915A1 (zh) 显示位置标记的方法、装置、设备及存储介质
CN110694273A (zh) 控制虚拟对象使用道具的方法、装置、终端及存储介质
CN111589127B (zh) 虚拟角色的控制方法、装置、设备及存储介质
CN109917910B (zh) 线型技能的显示方法、装置、设备及存储介质
CN111672106B (zh) 虚拟场景显示方法、装置、计算机设备及存储介质
CN112169330B (zh) 虚拟环境的画面显示方法、装置、设备及介质
US20220291791A1 (en) Method and apparatus for determining selected target, device, and storage medium
CN111589141B (zh) 虚拟环境画面的显示方法、装置、设备及介质
WO2022237076A1 (zh) 虚拟对象的控制方法、装置、设备及计算机可读存储介质
CN111672115B (zh) 虚拟对象控制方法、装置、计算机设备及存储介质
CN112121438B (zh) 操作提示方法、装置、终端及存储介质
JP7413563B2 (ja) 仮想オブジェクトの制御方法、装置、機器及びコンピュータプログラム
CN112057861B (zh) 虚拟对象控制方法、装置、计算机设备及存储介质
CN117173372A (zh) 画面显示方法、系统、装置、设备及存储介质
CN113633976A (zh) 操作控制方法、装置、设备及计算机可读存储介质
CN113509729A (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: 22794392

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023549098

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE