Information display method and device, equipment, medium and program product
By displaying virtual objects and their location information in the game application and updating distance prompts in real time, the problem of players being unable to deal with hostile attacks in time is solved, and a more fair game mechanism and efficient human-computer interaction is achieved.
Patent Information
- Application Number
- CN202410193054.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-20
- Publication Date
- 2025-08-22
AI Technical Summary
In the game application, players cannot respond to the attacks of hostile players in time after obtaining the target virtual elements, and the human-computer interaction efficiency is low, resulting in unfair game mechanisms.
The virtual objects and their location information in the virtual scene are displayed, and when the first virtual object carries the virtual elements, the distance prompt information is updated in real time to indicate the existence of other virtual objects within the specified distance range, thereby improving the information acquisition efficiency.
It provides a more fair game mode, which improves players' efficiency in obtaining information and human-computer interaction efficiency, so that players can respond to attacks from hostile players in a timely manner.
Smart Images

Figure CN120515085A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to an information display method, apparatus, device, medium, and program product. Background Art
[0002] In a game application, the system will issue tasks to players, and players who complete the tasks will receive corresponding game rewards. For example, players need to enter a map to collect virtual elements and carry them to a designated location to receive game rewards.
[0003] In related technologies, when a target virtual element appears on a map, a player can obtain the target virtual element's location and proceed to collect it. Once a player has collected the target virtual element, other hostile players can track the player's real-time location and interfere with the player's acquisition, such as by competing for the target virtual element or attacking the player.
[0004] However, after players obtain the target virtual elements, they are unable to respond to the attacks of hostile players in a timely manner, and the efficiency of human-computer interaction is low. Summary of the Invention
[0005] The embodiments of the present application provide an information display method, apparatus, device, medium, and program product that can improve the efficiency of players obtaining information and the efficiency of human-computer interaction. The technical solution is as follows:
[0006] In one aspect, a method for displaying information is provided, the method comprising:
[0007] Displaying a first virtual object in a virtual scene, where the first virtual object is a virtual object controlled by a master account, and the virtual scene also includes a second virtual object controlled by another game account;
[0008] Displaying virtual element prompt information, where the virtual element prompt information is used to indicate position information of the virtual element in the virtual scene;
[0009] When the first virtual object acquires and carries the virtual element, displaying distance prompt information, the distance prompt information being used to indicate the presence of the second virtual object within a specified distance range of the first virtual object, and the position of the first virtual object being perceived by the second virtual object when carrying the virtual element;
[0010] Based on the change in the positional relationship between the first virtual object and the second virtual object, the distance prompt information is updated and displayed in real time.
[0011] In another aspect, an information display device is provided, the device comprising:
[0012] A virtual object display module, configured to display a first virtual object in a virtual scene, where the first virtual object is a virtual object controlled by a master account, and the virtual scene also includes a second virtual object controlled by another game account;
[0013] An information display module, configured to display virtual element prompt information, wherein the virtual element prompt information is used to indicate position information of the virtual element in the virtual scene;
[0014] The information display module is further configured to display distance prompt information when the first virtual object acquires and carries the virtual element, the distance prompt information being configured to indicate the presence of the second virtual object within a specified distance range of the first virtual object, and the position of the first virtual object being sensed by the second virtual object when carrying the virtual element;
[0015] The updating and displaying module is configured to update and display the distance prompt information in real time based on a change in the positional relationship between the first virtual object and the second virtual object.
[0016] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the information display method as described in any of the above-mentioned embodiments of the present application.
[0017] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the information display method as described in any of the above-mentioned embodiments of the present application.
[0018] In another aspect, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the information display method described in any of the above embodiments.
[0019] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:
[0020] The position information of the virtual elements is displayed to prompt the player that there are virtual elements in the virtual scene. When the first virtual object controlled by the main control account obtains and carries the virtual element, the position of the first virtual object is perceived by other virtual objects in the virtual scene. At the same time, distance prompt information is displayed to prompt the player that there are other virtual objects within the specified distance range of the first virtual object. Effective information is provided to all players, a fairer game mode is provided, the efficiency of players obtaining information is improved, players can perform corresponding operations in a timely manner according to the prompt information, and the efficiency of human-computer interaction is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0022] Figure 1 This is an overall flow chart of a game provided by an exemplary embodiment of the present application;
[0023] Figure 2 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application;
[0024] Figure 3 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;
[0025] Figure 4 is a flow chart of an information display method provided by an exemplary embodiment of the present application;
[0026] Figure 5 This is a schematic diagram of the interface display content when a virtual element appears in a virtual scene provided by an exemplary embodiment of the present application;
[0027] Figure 6 is a schematic diagram of location information of virtual elements included in a scene map provided by an exemplary embodiment of the present application;
[0028] Figure 7 This is a schematic diagram of displaying distance prompt information based on a prompt element provided by an exemplary embodiment of the present application;
[0029] Figure 8 is a flowchart of an information display method provided by another exemplary embodiment of the present application;
[0030] Figure 9 This is a schematic diagram of prompt information provided by an exemplary embodiment of the present application when a virtual element is acquired by a first virtual object from the perspective of a second virtual object;
[0031] Figure 10 is a schematic diagram of a scene map from the perspective of a second virtual object provided by an exemplary embodiment of the present application;
[0032] Figure 11 is a schematic diagram of dividing a second virtual object provided by an exemplary embodiment of the present application;
[0033] Figure 12 This is a flow chart of a method for displaying information in a team format provided by an exemplary embodiment of the present application;
[0034] Figure 13 is an overall flow chart of an information display method provided by an exemplary embodiment of the present application;
[0035] Figure 14 is a flowchart of determining the type of a virtual element provided by an exemplary embodiment of the present application;
[0036] Figure 15 This is a schematic diagram of a server sending information to clients with different accounts, provided by an exemplary embodiment of the present application;
[0037] Figure 16 is a structural block diagram of an information display device provided by an exemplary embodiment of the present application;
[0038] Figure 17 is a structural block diagram of an information display device provided by another exemplary embodiment of the present application;
[0039] Figure 18 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0041] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0042] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0043] It should be noted that the information and data involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0044] It should be understood that although the terms first, second, etc. may be used in this application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0045] A brief introduction to the terms involved in the embodiments of this application is given below:
[0046] Two-way interactive positioning: In a game application, the location of a player or some players (hereinafter referred to as the target players) on the game map is disclosed to all players (hereinafter referred to as other players), and the target players can also understand whether there are other players within a certain distance around them.
[0047] The two-way interactive positioning mechanism involves placing a virtual element. In the game application, if the virtual element exists in the game map, the player can go to the location of the virtual element to obtain the virtual element, carry the virtual element to the designated location of the game map, and obtain the corresponding game reward.
[0048] The player who successfully acquires the virtual element triggers a two-way interactive positioning mechanism, meaning that their location will be shared by all other players until they reach the designated location with the virtual element, give up carrying it, or are defeated. At the same time, the player can also detect the presence of other players within a certain radius of themselves.
[0049] Virtual characters / virtual objects: These are movable objects within a virtual scene. These movable objects can be virtual objects, virtual animals, animated characters, and so on. For example, people, animals, plants, oil drums, walls, rocks, and so on displayed within a 3D virtual scene. Alternatively, virtual objects can be 3D models created using animation skeletal technology. Each virtual object has its own unique shape and volume within the 3D virtual scene and occupies a portion of the space within the 3D virtual scene.
[0050] A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. This virtual scene can be a simulation of a real scene, a semi-simulation and semi-fictional scene, or a purely fictional scene. This application does not limit this. The following embodiments illustrate a 3D virtual scene as an example.
[0051] In gaming applications, there's a gameplay mechanic where the system places special virtual elements (or virtual props) on the game map. These virtual elements often come with a reward mechanism. If a player acquires these virtual elements and performs a corresponding task with them, they receive the corresponding in-game reward.
[0052] Every player in the system can go to the location of the virtual element, obtain it, and carry it to perform corresponding tasks. The location of the virtual element will be continuously exposed on the game map and updated in real time. In other words, if a player obtains and carries the virtual element and moves, the player's location will also be continuously exposed on the game map and known to other players in the game application. After obtaining the player's location information, other players can use this location information to attack the player or snatch the virtual element.
[0053] However, in related technologies, other players can obtain the location information of players carrying virtual elements, while players carrying virtual elements can only move and perform tasks while their own location is exposed. When there are a large number of players, players carrying virtual elements are at a significant disadvantage. This unfair game mechanism prevents players from obtaining equal information, making it more difficult for players carrying virtual elements to perform corresponding tasks, making it difficult to advance the game and providing a poor player experience. Furthermore, players carrying virtual elements are less efficient in obtaining game information, making it impossible for players to respond promptly to attacks or looting from other players. In other words, players cannot perform corresponding operations in a timely manner, and human-computer interaction efficiency is low.
[0054] The present application provides an information display method that can provide players in the game with a fairer game mechanism and improve the efficiency of players in obtaining information and the efficiency of human-computer interaction.
[0055] First, let's discuss the game's background. Players must use virtual redemption resources within the game app to redeem virtual equipment or items from the game store and then enter the game map. After the game begins, players' positions on the map are randomized. When multiple players are involved, each player's position may not be exactly the same. Once on the map, players can search for virtual resources, defeat other players, complete designated tasks, and finally exit to complete the virtual match.
[0056] Players who successfully evacuate can receive corresponding rewards based on their performance. For example, if a player obtains virtual resources and successfully evacuates with them, they can receive corresponding virtual exchange resources as rewards. These rewards can be used to exchange virtual equipment or virtual props in the game store, or to achieve other functions in the game. If a player fails to evacuate, almost all of the virtual equipment and virtual props on the player will be dropped and recycled by the game system. Figure 1 As shown, Figure 1 This is the overall flow chart of the game.
[0057] S101, the player starts the game with virtual equipment.
[0058] Among them, virtual equipment can be obtained by players through virtual exchange resources in the game store, or it can be a reward obtained by players by completing tasks assigned by the system.
[0059] S102, the player is born at a random location in the game map.
[0060] That is, the player's initial position when entering the game map is random.
[0061] S103, players fight with each other / players search for virtual elements / players perform tasks assigned by the system.
[0062] Players can perform the aforementioned tasks in a virtual game. In some embodiments, when the game is played in a team format, players can also assist teammates in performing the aforementioned tasks.
[0063] S104: If the player successfully reaches the evacuation point, execute step S105.
[0064] Extraction points are designated locations within the game map.
[0065] S105, the player successfully evacuates with virtual equipment.
[0066] After a successful evacuation, the game ends and the system issues corresponding rewards to the player based on the player's performance in the game.
[0067] S106: If the player is defeated / does not reach the evacuation point, all virtual equipment will be lost.
[0068] Optionally, there is a time threshold for the duration of the game match. When the time reaches the time threshold and the player has not reached the evacuation point, the player fails and the game ends.
[0069] If the time duration does not reach the time threshold, the player is defeated by the opponent and the game ends.
[0070] In some embodiments, a virtual object representing a player's personal image or a virtual object controlled by the player may enter the game match.
[0071] Next, the information display method provided by this application is introduced. After the game starts, there is a certain probability that a virtual element will appear on the game map. This virtual element can be obtained by any player. If the player obtains and carries the virtual element to a designated location to perform the corresponding task, after the game ends, the player can obtain corresponding rewards, such as virtual equipment, virtual exchange resources, virtual props, etc.
[0072] When the virtual element appears on the game map, its location information will be perceived by all players and displayed in real time on the game map. When a target player (the target player can be any player) obtains and carries the virtual element, the target player's location information will also be perceived by other players, until a player completes the task and receives the corresponding reward.
[0073] For the target player who obtains and carries the virtual element, when the target player carries the virtual element, distance prompt information will be displayed on the target player's login terminal screen. The distance prompt information is used to prompt the target player that there are other players within a certain distance range, as well as the distance level (or danger level) corresponding to the distance between the target player and other players.
[0074] For example, if there is at least one other player within a circular area divided by a first length and centered on the target player, a distance prompt is displayed. A corresponding distance level is displayed based on the distance between the target player and the other player closest to the target player, where the closer the distance, the higher the distance level (i.e., the higher the danger level).
[0075] Among them, the distance prompt information and distance level will change in real time according to the distance between the target player and other players.
[0076] When the target player carries the virtual element to perform a task, other players may attack the target player or plunder the virtual element. If the first player competes with the target player to obtain the virtual element, the distance prompt information displayed on the target player's login terminal screen will be cancelled. At this time, the target player and other players will perceive the first player's location information in real time. As the first player is the player carrying the virtual element, the first player's login terminal screen will display a distance prompt information. At this time, the distance prompt information is used to inform the first player that there are other players within a certain distance range, as well as the distance level (or danger level) corresponding to the distance between the first player and other players.
[0077] In summary, the method provided in this application can prompt players carrying virtual elements when there are other virtual objects within a certain distance range, provide effective information to all players, provide a fairer game mode, improve the efficiency of players in obtaining information, enable players to perform corresponding operations in a timely manner according to the prompt information, and improve the efficiency of human-computer interaction.
[0078] The terminal in this application can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, etc. The terminal has installed and running an application that supports virtual scenes, such as an application that supports three-dimensional virtual scenes. The application can be any one of a virtual reality application, a three-dimensional map program, a strategy game (Simulation Game, SLG), a TPS game (Third-Person Shooter, third-person shooter game), an FPS game (First-Person Shooter, first-person shooter game), a multiplayer online tactical competitive game (Multiplayer Online Battle Arena Games, MOBA), a party casual game, a tower defense game, and a social game. Optionally, the application can be a stand-alone application, such as a stand-alone three-dimensional game program, or a network-connected application.
[0079] Figure 2 FIG2 is a block diagram of an electronic device provided by an exemplary embodiment of the present application. The electronic device 200 includes an operating system 220 and an application 222 .
[0080] The operating system 220 is the underlying software that provides application programs 222 with secure access to the computer's hardware.
[0081] Application 222 is an application that supports virtual scenes. Optionally, application 222 is an application that supports three-dimensional virtual scenes. Application 222 can be any of a virtual reality application, a three-dimensional map application, a SLG game, a TPS game, an FPS game, a MOBA game, a casual party game, a tower defense game, or a social game. Application 222 can be a stand-alone application, such as a stand-alone three-dimensional game program, or a network-based application.
[0082] Figure 3 The computer system 300 includes a first device 330 , a server 340 , and a second device 360 .
[0083] The first device 330 has an application installed and running that supports virtual scenes. This application can be any of a virtual reality application, a three-dimensional map program, a TPS game, an FPS game, a MOBA game, a SLG game, a party game, or a tower defense game. The first device 330 is used by a first user, who uses the first device 330 to control a first virtual object in the virtual scene to perform activities, including but not limited to: adjusting body posture, walking, running, jumping, and attacking. Illustratively, the first virtual object is a first virtual character, such as a simulated or animated character.
[0084] The first device 330 is connected to the server 340 via a wireless network or a wired network.
[0085] Server 340 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 340 provides backend services for applications that support three-dimensional virtual scenes. Optionally, server 340 performs primary computing tasks, while first device 330 and second device 360 perform secondary computing tasks. Alternatively, server 340 performs secondary computing tasks, while first device 330 and second device 360 perform primary computing tasks. Alternatively, server 340, first device 330, and second device 360 utilize a distributed computing architecture for collaborative computing.
[0086] The server 340 controls the second virtual object in the virtual scene to perform an activity, including but not limited to at least one of adjusting body posture, walking, running, jumping, and attacking. Schematically, the second virtual object is a second virtual character, such as a simulated human character or an animated character.
[0087] The second device 360 has an application installed and running that supports the virtual scene. This application can be any of a virtual reality application, a 3D map program, an FPS game, a MOBA game, a SLG game, a party game, or a tower defense game. The second device 360 is used by a second user, who uses the second device 360 to control a third virtual object in the virtual scene to perform activities, including but not limited to: adjusting body posture, walking, running, jumping, and attacking. Illustratively, the third virtual object is a third virtual character, such as a simulated or animated character.
[0088] Optionally, the applications installed on the first device 330 and the second device 360 are the same, or the applications installed on the two devices are the same type of applications on different control system platforms. The first device 330 can generally refer to one of multiple devices, and the second device 360 can generally refer to one of multiple devices. This embodiment uses only the first device 330 and the second device 360 as examples. The first device 330 and the second device 360 can be of the same or different device types. The following embodiments use a desktop computer as an example.
[0089] Those skilled in the art will appreciate that the number of the above-mentioned devices may be greater or lesser. For example, the above-mentioned device may be only one, or the above-mentioned devices may be dozens or hundreds, or a greater number. The embodiments of the present application do not limit the number and type of devices.
[0090] It is worth noting that the aforementioned server 340 can be implemented as a physical server or as a cloud server in the cloud. Cloud technology refers to a hosting technology that unifies hardware, software, network, and other resources within a wide area network (WAN) or local area network (LAN) to enable data computing, storage, processing, and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology, all of which are applied in a cloud computing business model. It can form a resource pool that is used on demand and is flexible and convenient. Cloud computing technology will become a crucial support. Backend services for technical network systems require significant computing and storage resources, such as those for video websites, image websites, and more portals. With the rapid development and application of the internet industry, every item will likely have its own unique identification, requiring transmission to backend systems for logical processing. Data of varying levels will be processed separately, requiring robust system support for all types of industry data, which can only be achieved through cloud computing. Optionally, when server 340 is implemented as a cloud server, the program corresponding to the aforementioned virtual scene can be a cloud game.
[0091] In some embodiments, the method provided in the embodiments of the present application can be applied to cloud gaming scenarios, so that the calculation of data logic during the game process is completed by the cloud server, while the terminal is responsible for the display of the game interface.
[0092] Optionally, the server 340 may also be implemented as a node in a blockchain system.
[0093] In combination with the above-mentioned noun introduction and application scenarios, the information display method provided by the present application is described. The method can be executed by a server or a terminal, or by both a server and a terminal. In the embodiment of the present application, the method is described as being executed by a terminal. Figure 4 As shown, Figure 4 FIG1 is a flow chart of an information display method provided by an exemplary embodiment of the present application. The method includes the following steps.
[0094] Step 410: Display a first virtual object in the virtual scene.
[0095] Schematically, the virtual scene is a scene image displayed by the terminal based on the game process. The virtual scene can be any one of the multiple scenes built into the game.
[0096] Optionally, the virtual scene includes at least one virtual object, where the virtual object is used to represent an object participating in the virtual game. The virtual scene is a scene of the virtual game, and is used for the virtual object to complete various game tasks during the virtual game.
[0097] Among them, the first virtual object is a virtual object controlled by the main control account, and the virtual scene also includes a second virtual object controlled by other game accounts.
[0098] At the beginning of the virtual game, the initial positions of the first virtual object and the second virtual object in the virtual scene are random, and the positions of the first virtual object and the second virtual object are usually different.
[0099] The system assigns tasks to the first virtual object and the second virtual object, such as finding virtual elements, defeating a preset number of hostile virtual objects, reaching a designated location in a virtual scene, etc.
[0100] Step 420: Display virtual element prompt information.
[0101] The virtual element prompt information is used to indicate the position information of the virtual element in the virtual scene.
[0102] Optionally, the virtual element is used to trigger a two-way interactive positioning and corresponding reward mechanism. The player controls the virtual object to go to the location of the virtual element to obtain the virtual element, and then carries the virtual element to a designated location in the virtual scene to obtain the corresponding game reward.
[0103] Optionally, types of virtual elements include but are not limited to the following.
[0104] (1) Object virtual elements: 1. Two-dimensional objects: such as two-dimensional patterns (including but not limited to watermark patterns generated by the system / user-defined), two-dimensional geometric shapes (including but not limited to rectangles, squares, triangles, and circles); 2. Three-dimensional objects: such as three-dimensional cubes (including but not limited to cuboids, cubes, cones, triangular pyramids, and spheres), plant virtual elements (including but not limited to flowers and potted plants in virtual scenes), and obstacle elements (including but not limited to roadblocks, etc.).
[0105] (2) Prop virtual elements: 1. Props with attack functions, such as: the prop virtual element has a long-range attack function, when the virtual object uses the prop virtual element, it can attack the virtual object at a long distance (such as 200 units away); or, the prop virtual element has a short-range attack function, when the virtual object uses the prop virtual element, it can attack the virtual object at a close distance (such as 5 units away); 2. Props with defensive functions, such as: the prop virtual element has a defensive function, when the virtual object uses the prop virtual element, it can reduce 50% of the damage from the hostile virtual object; 3. Props that can obtain rewards, such as: the prop virtual element is accompanied by a task reward mechanism, the virtual object obtains and carries the prop virtual element to the designated location in the virtual scene and successfully performs the task, and the virtual object can obtain a reward.
[0106] (3) Equipment virtual elements: 1. Equipment with attack function; 2. Equipment with defense function; 3. Equipment with other functions, such as, after a virtual object is equipped with the equipment virtual element, it can be invisible in the virtual scene for a preset period of time; or, after a virtual object is equipped with the equipment virtual element, it can increase the movement speed in the virtual scene; or, after a virtual object is equipped with the equipment virtual element, it can directly jump to a specified position in the virtual scene, etc.
[0107] When there is a virtual element in the virtual scene, the position of the virtual element will continue to be perceived by all virtual objects (including the first virtual object and the second virtual object) until the virtual element is carried to the designated task point and the task is completed.
[0108] Optionally, taking a virtual element as a prop virtual element as an example, there is at least one task point in the virtual scene that can decipher the virtual element. If a virtual object carries the virtual element to the task point to achieve deciphering, the virtual object can obtain a corresponding reward.
[0109] For example, there is a certain probability that the virtual element will appear in the virtual scene. The start time of the virtual game is 00:00. The virtual element appears in the virtual scene at the first time 10:00. Then, from the first time 10:00, the position information of the virtual element will be continuously exposed and perceived by all virtual objects (that is, all players).
[0110] Optionally, the virtual object can obtain the location information of the virtual element through the scene map corresponding to the virtual scene. The scene map is used to describe the terrain of the virtual scene and assist the account player to determine the location of the virtual object controlled by the account in the virtual scene.
[0111] Taking the master account as an example, the scene map from the master account's perspective includes location information of virtual elements in the virtual scene, location information of the first virtual object in the virtual scene, and location information of multiple task locations in the virtual scene.
[0112] Among them, during the time period between the start time 00:00 and the first time 10:00, since the virtual element has not appeared in the virtual scene, the location information of the virtual element will not be displayed in the scene map.
[0113] Indicative, such as Figure 5 As shown, Figure 5 It is a schematic diagram of the content displayed on the interface when virtual elements appear in the virtual scene.
[0114] Optionally, taking the perspective of the first virtual object 500 as an example, the first virtual object 500 is located at a random position in the virtual scene 510. When a virtual element appears in the virtual scene 510, virtual element prompt information 520 and an identification graphic 530 corresponding to the virtual element are displayed.
[0115] If the player wants to obtain more specific virtual element prompt information, he can expand the scene map corresponding to the virtual scene and obtain more accurate position information of the virtual element in the virtual scene according to the scene map.
[0116] Indicative, such as Figure 6 As shown, Figure 6 It is a schematic diagram of the location information of virtual elements in a scene map.
[0117] The scene map 600 is used to describe the terrain of the virtual scene. The scene map 600 includes multiple task locations, for example, a first task point 610 and a second task point 620 that have corresponding relationships with virtual elements.
[0118] When a virtual element appears in the virtual scene, an identification graphic 601 corresponding to the virtual element will be displayed in the scene map 600.
[0119] Optionally, there are connecting lines between the identification graphic 601 corresponding to the virtual element and the first task point 610 and the second task point 620 respectively, for indicating the location where the virtual object needs to perform the task after acquiring the virtual element.
[0120] In some embodiments, after triggering the identification graphic 601 corresponding to the virtual element, the introduction information of the virtual element will be displayed, such as the name of the virtual element, the function of the virtual element, the task point of the virtual element, the reward that can be obtained after completing the specified task of the virtual element, etc.
[0121] Step 430: Display distance prompt information when the first virtual object acquires and carries the virtual element.
[0122] The distance prompt information is used to indicate the existence of the second virtual object within a specified distance range of the first virtual object, and the position of the first virtual object is perceived by the second virtual object when carrying virtual elements.
[0123] By displaying distance prompt information, a fairer game mechanism can be provided. When the position information of the first virtual object is perceived by other virtual objects, the first virtual object can also obtain valid information within a certain distance range. Improved the efficiency of players obtaining information .
[0124] Optionally, when the first virtual object acquires and carries a virtual element, distance prompt information is displayed based on a distance interval, where the distance interval is an interval range obtained by dividing the first virtual object into a plurality of different distance thresholds with the first virtual object as the interval center.
[0125] The distance interval includes a first distance interval and a second distance interval. In response to the distance between the second virtual object and the first virtual object being less than or equal to the first distance threshold, distance prompt information is displayed in a style corresponding to the first distance interval; in response to the distance between the second virtual object and the first virtual object being greater than the first distance threshold and less than or equal to the second distance threshold, distance prompt information is displayed in a style corresponding to the second distance interval;
[0126] The first distance threshold is smaller than the second distance threshold, and the second distance threshold is smaller than or equal to the specified distance range.
[0127] Exemplarily, the first distance threshold is 50 unit distances, the second distance threshold is 100 unit distances, and the specified distance range means that the distance to the first virtual object is 150 unit distances.
[0128] Optionally, with the first virtual object as the center of the interval, if the distance between the second virtual object and the first virtual object is less than or equal to 50 unit distances, the distance between the two belongs to the first distance interval, and the distance prompt information is displayed in a style corresponding to the first distance interval.
[0129] Exemplarily, the style corresponding to the first distance interval is the first brightness, that is, the distance prompt information is displayed with the first brightness.
[0130] With the first virtual object as the center of the interval, if the distance between the second virtual object and the first virtual object is less than or equal to 100 unit distances, the distance between the two belongs to the second distance interval, and the distance prompt information is displayed in a style corresponding to the second distance interval.
[0131] Exemplarily, the style corresponding to the second distance interval is the second brightness, that is, the distance prompt information is displayed with the second brightness.
[0132] The first brightness is different from the second brightness.
[0133] For example, when the distance between the first virtual object and the second virtual object belongs to the first distance interval, compared with the second distance interval, it means that the first virtual object and the second virtual object are closer. If the second virtual object intends to interfere with / attack / compete for virtual elements of the first virtual object, the first virtual object will have greater difficulty in dealing with the second virtual object. Therefore, the first brightness can be set to be higher than the second brightness.
[0134] By setting multiple distance intervals and corresponding display styles to display distance prompt information, the distance and danger level between the first virtual object and other virtual objects can be divided, so that Prompt information has focus , to prompt the first virtual object (the main control account player) to respond in time and perform corresponding operations, Improved human-computer interaction efficiency .
[0135] It should be noted that the first distance interval and the second distance interval are merely examples. In some embodiments, multiple distance intervals may be obtained by dividing the distance intervals based on any number of different distance thresholds.
[0136] Optionally, the styles corresponding to different distance intervals may also be expressed as different numbers of prompt elements.
[0137] For example, there are three distance intervals: a first distance interval divided by a first distance threshold (50 unit distances), a second distance interval divided by a second distance threshold (100 unit distances), and a third distance interval divided by a third distance threshold (150 unit distances).
[0138] The first distance interval corresponds to a first number of prompt elements, the second distance interval corresponds to a second number of prompt elements, and the third distance interval corresponds to a third number of prompt elements. The first number, the second number, and the third number correspond to different values respectively.
[0139] like Figure 7 As shown, Figure 7 This is a schematic diagram of displaying distance prompt information based on prompt elements.
[0140] From the perspective of the first virtual object 700, the distance between the first virtual object 700 and the second virtual object (not shown in the figure) is 144 unit distances, that is, it belongs to the third distance interval. The third distance interval corresponds to a prompt element 710. One prompt element 710 is highlighted and used as the target style to display the distance prompt information 720.
[0141] There are three prompt elements 710 in total, and the first distance interval corresponds to three prompt elements 710.
[0142] The second distance interval corresponds to two prompt elements 710 , and the third distance interval corresponds to one prompt element.
[0143] By setting different numbers of prompt elements as target display styles to prompt distance prompt information, compared with setting different brightness for the same type / number of display elements, Can prompt players more intuitively and improve The efficiency with which players acquire information.
[0144] In some embodiments, in order to avoid the distance prompt information being permanently displayed on the terminal screen, the screen is Line cover Block to improve screen utilization and save computing resources The distance prompt information may also be displayed in different ways according to whether there is a second virtual object within the specified distance range of the first virtual object.
[0145] Optionally, in a case where the first virtual object acquires and carries the virtual element, in response to the presence of the second virtual object within a specified distance range of the first virtual object, distance prompt information is highlighted.
[0146] Optionally, when the first virtual object acquires and carries the virtual element, in response to the absence of the second virtual object within the specified distance range of the first virtual object, the displayed distance prompt information is hidden.
[0147] That is, the distance prompt information is displayed only when the second virtual object exists within the specified distance range of the first virtual object. Whether the distance prompt information is displayed changes in real time according to the distance between the first virtual object and the second virtual object.
[0148] Step 440 : Based on the change in the positional relationship between the first virtual object and the second virtual object, update the displayed distance prompt information in real time.
[0149] The distance prompt information corresponds to a plurality of distance ranges, and the distance ranges are used to describe the positional relationship between the first virtual object and the second virtual object.
[0150] Optionally, in response to the range to which the distance between the first virtual object and the second virtual object belongs changing to the target distance range, the distance prompt information is updated in real time with the target brightness, wherein there is an inverse proportional relationship between the target distance range and the target brightness.
[0151] For example, the distance range is divided into 25 unit distances. When the distance between the first virtual object and the second virtual object belongs to the first range of (0, 25) unit distances, the distance prompt information is displayed with the first brightness. When the distance between the first virtual object and the second virtual object belongs to the second range of (25, 50) unit distances, the distance prompt information is displayed with the second brightness, and so on.
[0152] Exemplarily, when the range of the distance between the first virtual object and the second virtual object changes from the first range to the target distance range (second range), the distance prompt information is updated and displayed using the second brightness as the target brightness.
[0153] Since there is an inverse proportional relationship between the target distance range and the target brightness, the second brightness is lower than the first brightness.
[0154] Optionally, in response to the range to which the distance between the first virtual object and the second virtual object belongs changing to the target distance range, the distance prompt information is updated in real time based on a preset number of prompt elements, wherein there is an inverse proportional relationship between the target distance range and the number of prompt elements.
[0155] For example, the distance range is divided into 25 unit distances. When the distance between the first virtual object and the second virtual object belongs to the first range of (0, 25) unit distances, the distance prompt information is updated in real time based on the first number of prompt elements. When the distance between the first virtual object and the second virtual object belongs to the second range of (25, 50) unit distances, the distance prompt information is updated in real time based on the second number of prompt elements, and so on.
[0156] In some embodiments, when a first virtual object is carrying a virtual element to perform a task, it may be interfered with by a second virtual object, for example, the second virtual object may attack the first virtual object. When there is no carrying relationship between the first virtual object and the virtual element, the distance prompt information displayed on the terminal screen is not displayed.
[0157] Optionally, in response to the first virtual object discarding the virtual element, the distance prompt information is canceled from being displayed.
[0158] Optionally, in response to the first virtual object being defeated by the second virtual object, the distance prompt information is canceled.
[0159] Optionally, in response to the first virtual object carrying the virtual element arriving at the target task position in the virtual scene, the distance prompt information is canceled.
[0160] By setting multiple conditions to cancel the display of distance prompt information, it can reduce the player's operating pressure, avoid the player's location information from being continuously exposed, and provide the option to abandon the task at any time. Reduce the continuous display distance Computing resource consumption caused by prompt information .
[0161] It is worth noting that the above-mentioned methods of canceling the display of distance prompt information are only used as examples. In some embodiments, the display of distance prompt information can be canceled by other methods or by triggering other conditions; the unit distance can be any value / unit, such as: 1 meter is 1 unit distance, or 0.5 meters is 1 unit distance, the first distance threshold, the second distance threshold and the third distance threshold can be any value, and this embodiment does not limit this.
[0162] To sum up, the method provided by the present application prompts players of the presence of virtual elements in the virtual scene by displaying the position information of virtual elements. When the first virtual object controlled by the main control account obtains and carries the virtual element, the position of the first virtual object is perceived by other virtual objects in the virtual scene. At the same time, distance prompt information is displayed to prompt the presence of other virtual objects within the specified distance range of the first virtual object, thereby providing effective information to all players, providing a fairer game mode, improving the efficiency of players in obtaining information, enabling players to perform corresponding operations in a timely manner according to the prompt information, and improving the efficiency of human-computer interaction.
[0163] In some embodiments, the virtual scene includes multiple second virtual objects. When the distance prompt information is displayed on the terminal screen, it is necessary to further determine the display method of the distance prompt information based on the distances between the multiple second virtual objects and the first virtual object.
[0164] Figure 8 This is a flowchart of an information display method provided by another exemplary embodiment of the present application, which includes the following steps.
[0165] Step 810: Display a first virtual object in a virtual scene.
[0166] The first virtual object is a virtual object controlled by the main control account, and the virtual scene also includes a second virtual object controlled by other game accounts.
[0167] Optionally, the virtual scene includes one first virtual object and three second virtual objects, namely, a second virtual object A, a second virtual object B, and a second virtual object C.
[0168] At the beginning of the virtual game, the initial positions of the first virtual object and the second virtual object in the virtual scene are random, and the positions of the first virtual object and the second virtual object are usually different.
[0169] The system assigns tasks to the first virtual object and the second virtual object, such as finding virtual elements, defeating a preset number of hostile virtual objects, reaching a designated location in a virtual scene, etc.
[0170] Step 820: Display virtual element prompt information.
[0171] The virtual element prompt information is used to indicate the position information of the virtual element in the virtual scene.
[0172] Optionally, the virtual element is used to trigger a two-way interactive positioning and corresponding reward mechanism. The player controls the virtual object to go to the location of the virtual element to obtain the virtual element, and then carries the virtual element to a designated location in the virtual scene to obtain the corresponding game reward.
[0173] Step 830 : When the first virtual object acquires and carries the virtual element, display distance prompt information based on the distance between the target virtual object and the first virtual object among the plurality of second virtual objects.
[0174] The distance prompt information is used to indicate the existence of the second virtual object within a specified distance range of the first virtual object, and the position of the first virtual object is perceived by the second virtual object when carrying virtual elements.
[0175] The target virtual object refers to a virtual object among the plurality of second virtual objects that meets the prompt information determination requirements with the first virtual object.
[0176] Optionally, prompt information determination requirements include but are not limited to the following types.
[0177] (1) The distance between the second virtual object and the first virtual object is the shortest. For example, if the distances between the second virtual object A, the second virtual object B, and the second virtual object C and the first virtual object are 100 units, 14 units, and 88 units, respectively, then the distance between the second virtual object B and the first virtual object is the shortest, and the second virtual object B is determined as the target virtual object.
[0178] (2) The impact generated when interfering with the first virtual object is the greatest. For example, the levels of the second virtual object A, the second virtual object B, and the second virtual object C are 100, 120, and 80, respectively. A higher level indicates that the virtual object has a higher chance of winning when attacking / competing for virtual elements against the first virtual object. In this case, the second virtual object B has the greatest impact when interfering with the first virtual object, and the second virtual object B is determined as the target virtual object.
[0179] To understand this solution, please refer to Figure 9 , Figure 9 The diagram is a schematic diagram of prompt information when a virtual element is acquired by a first virtual object from the perspective of a second virtual object.
[0180] From the perspective of the second virtual object 900, when a first virtual object (not shown in the figure) obtains a virtual element, a first prompt message 910 and an identification graphic 920 corresponding to the virtual element are displayed. The text content corresponding to the first prompt message 910 is: "The enemy obtains the virtual element", indicating that other virtual objects other than itself (including the first virtual object and other second virtual objects) have obtained the virtual element.
[0181] If the player to whom the second virtual object belongs desires to obtain more specific prompt information, the player may expand the scene map corresponding to the virtual scene and obtain more accurate position information of the virtual element in the virtual scene according to the scene map.
[0182] Indicative, such as Figure 10 As shown, Figure 10 It is a schematic diagram of a scene map from the perspective of a second virtual object.
[0183] When a virtual element appears in the virtual scene, an identification graphic 1001 corresponding to the virtual element is displayed in the scene map 1000. When a first virtual object (not shown) acquires and carries the virtual element to move in the virtual scene, the position information of the first virtual object is exposed to the second virtual object through the position information of the virtual element.
[0184] Therefore, the position and movement trajectory of the identification graphic 1001 corresponding to the virtual element in the scene map 1000 actually represent the position and movement trajectory of the first virtual object carrying the virtual element.
[0185] Optionally, the position information of the virtual element in the virtual scene is updated at a frequency of 5 seconds per time and a prompt is given to the second virtual object.
[0186] Please refer to Figure 10When the logo graphic 1001 corresponding to the virtual element is updated and displayed in the scene map 1000, it is usually accompanied by dynamic special effects such as diffusion (scaling the size of the logo graphic) and breathing (adjusting the display brightness of the logo graphic) to increase the interest of the picture. Compared with the high-frequency real-time update display method, This method can save computing resources.
[0187] Exemplarily, the shortest distance to the first virtual object is used as a requirement for determining the prompt information, and the virtual object closest to the first virtual object among the multiple second virtual objects is determined as the target virtual object.
[0188] In a case where the first virtual object acquires and carries the virtual element, distance prompt information is displayed based on the distance between the target virtual object and the first virtual object.
[0189] The distance prompt information is used to indicate the existence of the second virtual object within a specified distance range of the first virtual object.
[0190] When there are multiple second virtual objects in the virtual scene, if the distance between each second virtual object and the first virtual object is counted to determine the target virtual object or display distance prompt information, a large amount of computing resources will be consumed.
[0191] Therefore, when displaying the distance prompt information, first, based on the specified distance range of the first virtual object, some of the second virtual objects in the multiple second virtual objects are determined to be within the specified distance range, and then the target virtual object is further determined based on the distances between some of the second virtual objects and the first virtual object, and the distance prompt information is displayed. Can reduce Reduce the computing power of the device and reduce the burden on the computer equipment .
[0192] Indicative, such as Figure 11 As shown, Figure 11 It is a schematic diagram of dividing the second virtual object.
[0193] Taking the first virtual object 1101 to obtain virtual elements as an example, the specified distance range 1100 is obtained by taking the first virtual object 1101 as the center and the first distance 1102 as the radius.
[0194] The virtual scene includes three second virtual objects, namely, second virtual object A1121, second virtual object B1122, and second virtual object C1123.
[0195] exist Figure 11 , the second virtual object A 1121 and the second virtual object B 1122 are located within the specified distance range 1100 , and the second virtual object C 1123 is located outside the specified distance range 1100 .
[0196] Therefore, it is only necessary to calculate the distances between the second virtual object A 1121 and the second virtual object B 1122 and the first virtual object 1101 , respectively, to determine the target virtual object.
[0197] For example, the distance between the second virtual object A1121 and the first virtual object 1101 is 40 units, and the distance between the second virtual object B1122 and the first virtual object 1101 is 60 units. Therefore, the distance between the second virtual object A1121 and the first virtual object 1101 is the shortest, and the second virtual object A1121 is used as the target virtual object.
[0198] Optionally, when the first virtual object acquires and carries a virtual element, distance information is displayed based on a distance interval, where the distance interval is a range of intervals centered on the first virtual object and divided by multiple distance thresholds. Each distance interval corresponds to a different target style, and the distance information is displayed in the target style.
[0199] Illustratively, the distance intervals include a first distance interval (0 to 25 unit distances), a second distance interval (25 to 50 unit distances), and a third distance interval (50 to 75 unit distances).
[0200] For example, when the distance between the first virtual object and the target virtual object is 15 units, it means that the distance between the two belongs to the first distance interval, and the distance prompt information is displayed in a style corresponding to the first distance interval.
[0201] Step 840: Based on the change in the positional relationship between the first virtual object and the second virtual object, update the displayed distance prompt information in real time.
[0202] In the process of the first virtual object carrying the virtual element to the designated task point, the second virtual object can sense the position of the first virtual object. Therefore, the distance between the second virtual object and the first virtual object also changes in real time.
[0203] That is, the number of second virtual objects within the specified distance range of the first virtual object, the type of target virtual objects that meet the prompt information determination requirements with the first virtual object, and the distances between the second virtual objects and the first virtual object will all change.
[0204] Exemplarily, when the target virtual object is changed from the second virtual object A to the second virtual object B, distance prompt information is displayed according to the distance between the first virtual object and the second virtual object B.
[0205] To sum up, the method provided by the present application prompts players of the presence of virtual elements in the virtual scene by displaying the position information of virtual elements. When the first virtual object controlled by the main control account obtains and carries the virtual element, the position of the first virtual object is perceived by other virtual objects in the virtual scene. At the same time, distance prompt information is displayed to prompt the presence of other virtual objects within the specified distance range of the first virtual object, thereby providing effective information to all players, providing a fairer game mode, improving the efficiency of players in obtaining information, enabling players to perform corresponding operations in a timely manner according to the prompt information, and improving the efficiency of human-computer interaction.
[0206] In some embodiments, the virtual game is conducted in a team format. In addition to the first virtual object controlled by the master account and the second virtual object controlled by other game accounts, the virtual scene also includes a third virtual object controlled by the master account's teammate account.
[0207] When a virtual object obtains and carries a virtual element, the virtual object's teammate virtual object can assist the virtual object in completing the task. The first virtual object and the third virtual object belong to the same camp, and the first virtual object, the third virtual object, and the second virtual object belong to different camps. After the first virtual object successfully carries the virtual element to the designated task point and successfully interacts to complete the task and obtains the corresponding reward, the third virtual object can also obtain the corresponding reward based on the interaction with the designated task point; in addition, the second virtual object can also grab the virtual element to obtain the reward before the first virtual object has successfully interacted with the designated task point. Figure 12 As shown, Figure 12 It is a flow chart of an information display method in a team form, and the method includes the following steps.
[0208] Step 1210 : When the third virtual object acquires and carries the virtual element, the position information of the third virtual object is displayed.
[0209] After the third virtual object acquires and carries the virtual element, the position information of the third virtual object is sensed by all virtual objects except the third virtual object. Therefore, the first virtual object can also sense the position information of the third virtual object.
[0210] Step 1220: Send an information sharing request to the teammate account.
[0211] The information sharing request is a request initiated by the main control account to the teammate account, and the information sharing request is used to request to obtain the distance prompt information displayed on the terminal screen corresponding to the third virtual object.
[0212] That is, from the perspective of the third virtual object, the terminal screen logged in by the teammate account to which the third virtual object belongs will display its own distance prompt information, which is used to indicate the existence of the second virtual object within the specified range of the third virtual object.
[0213] For a virtual object that acquires and carries virtual elements, its position information will be perceived by other virtual objects, and the virtual object can also obtain some position information about other virtual objects. For other virtual objects that do not acquire virtual elements, their position information cannot be perceived by each other.
[0214] By sending information sharing requests to teammates' accounts, players on the same team can Make full use of limited distance Prompt information , to complete the task in a team-based manner, improving the player's experience. When a player whose position is exposed is performing a task, teammates can remind the player who is performing the task in time based on the shared distance prompt information, so the player who is performing the task does not need to be distracted by the distance prompt information. Improved player operation efficiency and human-computer interaction efficiency .
[0215] Step 1230: Receive information sharing request confirmation information sent by the teammate account.
[0216] When the teammate account agrees to the information sharing request, it will return information about the information sharing request confirmation to the main control account. The information sharing request confirmation information includes the distance prompt information from the perspective of the third virtual object.
[0217] That is, the teammate account agrees to share the distance prompt information from its own perspective with the main control account, so that the main control account player can prompt the teammate account based on the distance prompt information to assist the teammate account player in controlling the third virtual object to complete the task.
[0218] Step 1240 : In response to the distance between the first virtual object and the third virtual object meeting the shared distance threshold requirement, display teammate distance prompt information.
[0219] The teammate distance prompt information is the distance prompt information from the perspective of the third virtual object in step 1230. The teammate distance prompt information is used to indicate the presence of the second virtual object within a specified distance range of the third virtual object.
[0220] Optionally, the sharing distance threshold requirement means that the distance between the first virtual object and the third virtual object does not exceed a preset sharing distance threshold.
[0221] For example, the sharing distance threshold is 50 units. If the distance between the first virtual object and the third virtual object is 100 units, which exceeds the sharing distance threshold, even if the teammate account agrees to the information sharing request, the distance prompt information cannot be shared with the main control account.
[0222] If the distance between the first virtual object and the third virtual object is 20 units, which does not exceed the sharing distance threshold, then when the teammate account agrees to the information sharing request, the distance prompt information can be shared with the main control account.
[0223] In some embodiments, after the master account sends an information sharing request to the teammate account, if the teammate account agrees to the request, the distance prompt information of the teammate account can be immediately shared with the master account. This embodiment does not limit this.
[0224] In some embodiments, the virtual object that acquires and carries the virtual element is still the first virtual object controlled by the master account. The master account can also share its own distance prompt information with the teammate account. Alternatively, different types of operations can be performed on the virtual element, allowing the first virtual object and the third virtual object to cooperate in completing the task, thereby improving the player's efficiency in completing the task.
[0225] Optionally, in response to receiving a copy operation on the virtual element, a copy virtual element corresponding to the virtual element is displayed, wherein the copy virtual element is identical to the virtual element.
[0226] When the third virtual object acquires and carries the replica virtual element, the replica element position information is displayed. The replica element position information is used to indicate the location of the replica virtual element in the virtual scene. The replica element position information is displayed in the same manner as the virtual element prompt information. The position of the third virtual object, when carrying the replica virtual element, is perceived by the first and second virtual objects.
[0227] That is, a copy virtual element that is exactly the same as the virtual element is generated through the copy operation. The appearance and function of the copy virtual element are the same as the virtual element, but if the virtual object carries the copy virtual element to the task point, it will not be able to complete the task / obtain the reward.
[0228] In the scene map corresponding to the virtual scene, two logo graphics corresponding to the virtual elements will appear. This copy operation can confuse other players. Even if the position information of the player carrying the virtual element is exposed, it can still interfere with the judgment of other players. Make the amount of information obtained by both parties tend to be equalWhen there are multiple mission points in a virtual scene, the first virtual object can carry virtual elements to one mission point, and the third virtual object can carry duplicate virtual elements to another mission point. This makes it impossible for the second virtual object controlled by the game account to distinguish the real virtual elements, which can increase the fun of the game process. Improves the efficiency of players in performing tasks .
[0229] Optionally, there is a threshold for the number of times the copy operation is performed, and there is also a threshold for the duration that the copied virtual element can exist in the virtual scene.
[0230] In the case where the third virtual object acquires and carries the duplicate virtual element, in response to the existence duration of the duplicate virtual element being less than the first duration threshold, the duplicate element position information is displayed.
[0231] When the existence duration of the copy virtual element is greater than or equal to the first duration threshold, the display of the copy virtual element and the copy element position information is canceled.
[0232] Exemplarily, the first duration threshold is 50 seconds, that is, the copy virtual element can exist in the virtual scene for a maximum of 50 seconds. When the copy virtual element exists in the virtual scene for 50 seconds, the copy virtual element disappears, and the identification graphic corresponding to the copy virtual element in the scene map also disappears. The location information of the third virtual object carrying the copy virtual element is no longer perceived by other virtual objects.
[0233] In some embodiments, in response to receiving a hiding operation on a virtual element, the virtual element and the virtual element prompt information corresponding to the virtual element are canceled, wherein the position of the first virtual object is not perceived by the second virtual object when the virtual element is hidden. In response to the hiding time of the virtual element being greater than or equal to the second time threshold, the virtual element and the virtual element prompt information are restored to display. That is, the position information of the virtual element in the virtual scene can be temporarily hidden through the hiding operation. To a certain extent, it interferes with the judgment of other players, so that the amount of information obtained by both parties tends to be equal. At the same time, the hiding time is limited, Prevent the game from progressing .
[0234] To sum up, the method provided by the present application prompts players of the presence of virtual elements in the virtual scene by displaying the position information of virtual elements. When the first virtual object controlled by the main control account obtains and carries the virtual element, the position of the first virtual object is perceived by other virtual objects in the virtual scene. At the same time, distance prompt information is displayed to prompt the presence of other virtual objects within the specified distance range of the first virtual object, thereby providing effective information to all players, providing a fairer game mode, improving the efficiency of players in obtaining information, enabling players to perform corresponding operations in a timely manner according to the prompt information, and improving the efficiency of human-computer interaction.
[0235] Figure 13 This is an overall flow chart of an information display method, which includes the following steps.
[0236] S1301: A first virtual object acquires and carries a virtual element.
[0237] The first virtual object is controlled by the master account.
[0238] S1302 : Detect a second virtual object within a specified distance range with the first virtual object as the center.
[0239] If so, the distances between the second virtual object and the first virtual object within the specified distance range are obtained.
[0240] S1303: Display distance prompt information according to the distance between the second virtual object and the first virtual object.
[0241] The second virtual object closest to the first virtual object is determined as the target virtual object, a corresponding target style is determined based on the distance interval to which the distance between the target virtual object and the first virtual object belongs, and distance prompt information is displayed in the target style.
[0242] S1304: Determine whether the first virtual object still carries the virtual element.
[0243] The first virtual object may discard the virtual element in the middle of performing the task.
[0244] S1305: If the first virtual object does not carry the virtual element, the process ends; if the first virtual object still carries the virtual element, step S1306 is executed.
[0245] S1306: The server sends the display mode of the distance prompt information to the client of the master account, and sends the location information of the first virtual object to the client of the opponent account.
[0246] The position of the first virtual object is perceived by the other virtual objects.
[0247] S1307: re-detect at a preset time interval, and execute steps 1302 to 1307 in a loop.
[0248] The preset duration can be arbitrary.
[0249] There may be a variety of virtual elements in a virtual scene, but not every virtual element can trigger a two-way interactive positioning and reward mechanism. Figure 14 This is a flowchart for determining the type of a virtual element, including parts 14-1 and 14-2.
[0250] Part 14-1: The first virtual object acquires and carries the first virtual element. The prop system determines whether the first virtual element is the target virtual element. If the first virtual element is the target virtual element, the two-way interactive positioning mechanism is triggered; if the first virtual element is not the target virtual element, the process ends.
[0251] Part 14-2: The first virtual object discards the first virtual element, and the prop system determines whether the first virtual element is the target virtual element. If the first virtual element is the target virtual element, the two-way interactive positioning mechanism ends; if the first virtual element is not the target virtual element, the process ends and the two-way interactive positioning is maintained.
[0252] Figure 15 This is a schematic diagram of a server sending information to clients with different accounts.
[0253] Server 1500 updates the distance prompt information in real time and determines the location information of the virtual object of the account client 1520 carrying the virtual element. Server 1500 sends the location information of the virtual object of the account client 1520 carrying the virtual element to the account client 1510 that does not carry the virtual element, and sends the updated distance prompt information to the account client 1520 carrying the virtual element.
[0254] The account client 1520 carrying the virtual element will display the distance prompt information, and the account client 1510 not carrying the virtual element will display the scene map to show the location information of the virtual object carrying the virtual element.
[0255] In summary, the method provided in this application can provide players in the game with a fairer game mechanism, thereby improving the efficiency of players in obtaining information and the efficiency of human-computer interaction.
[0256] Figure 16 This is a structural block diagram of an information display device provided by an exemplary embodiment of the present application. Figure 16 As shown, the device includes the following parts.
[0257] A virtual object display module 1610 is configured to display a first virtual object in a virtual scene, where the first virtual object is a virtual object controlled by a master account, and the virtual scene also includes a second virtual object controlled by another game account;
[0258] An information display module 1620 is configured to display virtual element prompt information, wherein the virtual element prompt information is used to indicate position information of the virtual element in the virtual scene;
[0259] The information display module 1620 is further configured to display distance prompt information when the first virtual object acquires and carries the virtual element, the distance prompt information being configured to indicate the presence of the second virtual object within a specified distance range of the first virtual object, and the position of the first virtual object being sensed by the second virtual object when carrying the virtual element;
[0260] The updating and displaying module 1630 is configured to update and display the distance prompt information in real time based on a change in the positional relationship between the first virtual object and the second virtual object.
[0261] In an optional embodiment, the information display module 1620 is further used to display the distance prompt information based on a distance interval when the first virtual object acquires and carries the virtual element. The distance interval is an interval range obtained by dividing the first virtual object as the interval center and using multiple different distance thresholds.
[0262] In an optional embodiment, the distance interval includes a first distance interval and a second distance interval;
[0263] The information display module 1620 is further configured to display the distance prompt information in a format corresponding to the first distance interval in response to the distance between the second virtual object and the first virtual object being less than or equal to a first distance threshold;
[0264] In response to the distance between the second virtual object and the first virtual object being greater than the first distance threshold and less than or equal to a second distance threshold, displaying the distance prompt information in a style corresponding to the second distance interval;
[0265] The first distance threshold is smaller than the second distance threshold, and the second distance threshold is smaller than or equal to the specified distance range.
[0266] In an optional embodiment, the virtual scene includes a plurality of second virtual objects;
[0267] The information display module 1620 is further configured to display the distance prompt information based on the distance between a target virtual object among the multiple second virtual objects and the first virtual object when the first virtual object acquires and carries the virtual element, wherein the target virtual object refers to a virtual object among the multiple second virtual objects that meets the prompt information determination requirements with the first virtual object.
[0268] In an optional embodiment, the information display module 1620 is further configured to, in the case where the first virtual object acquires and carries the virtual element, highlight the distance prompt information in response to the presence of the second virtual object within a specified distance range of the first virtual object; or
[0269] In a case where the first virtual object acquires and carries the virtual element, in response to the second virtual object not existing within a specified distance range of the first virtual object, the distance prompt information is hidden and displayed.
[0270] In an optional embodiment, the distance prompt information corresponds to a plurality of distance ranges, and the distance ranges are used to describe the positional relationship between the first virtual object and the second virtual object;
[0271] The updating display module 1630 is further configured to update and display the distance prompt information in real time with a target brightness in response to the range of the distance between the first virtual object and the second virtual object changing to a target distance range, wherein there is an inverse proportional relationship between the target distance range and the target brightness; or
[0272] In response to the range to which the distance between the first virtual object and the second virtual object belongs changing to the target distance range, the distance prompt information is updated and displayed in real time based on a preset number of prompt elements, wherein there is an inverse proportional relationship between the target distance range and the number of the prompt elements.
[0273] In an optional embodiment, if Figure 17 As shown, the device also includes:
[0274] The display cancellation module 1640 is configured to cancel the display of the distance prompt information in response to the first virtual object discarding the virtual element; or
[0275] In response to the first virtual object being defeated by the second virtual object, canceling the display of the distance prompt information; or,
[0276] In response to the first virtual object carrying the virtual element arriving at the target task position in the virtual scene, the display of the distance prompt information is canceled.
[0277] In an optional embodiment, the virtual scene further includes a third virtual object controlled by a teammate account of the master account; and the apparatus further includes:
[0278] The information sharing display module 1650 is used to display the location information of the third virtual object when the third virtual object obtains and carries the virtual element; send an information sharing request to the teammate account; receive information sharing request confirmation information sent by the teammate account; in response to the distance between the first virtual object and the third virtual object meeting the sharing distance threshold requirement, display teammate distance prompt information, and the teammate distance prompt information is used to indicate the existence of the second virtual object within the specified distance range of the third virtual object.
[0279] In an optional embodiment, the virtual scene further includes a third virtual object controlled by a teammate account of the master account; and the apparatus further includes:
[0280] a copy display module 1660 for displaying a copy virtual element corresponding to the virtual element in response to receiving a copy operation on the virtual element, wherein the copy virtual element is identical to the virtual element;
[0281] When the third virtual object obtains and carries the copy virtual element, the copy element position information is displayed, and the copy element position information is used to indicate the position of the copy virtual element in the virtual scene. The display method of the copy element position information is the same as the display method of the virtual element prompt information, wherein the position of the third virtual object is perceived by the first virtual object and the second virtual object when carrying the copy virtual element.
[0282] In an optional embodiment, the copy display module 1660 is further configured to, when the third virtual object acquires and carries the copy virtual element, display the copy element location information in response to the existence duration of the copy virtual element being less than a first duration threshold;
[0283] In a case where the existence duration of the replica virtual element is greater than or equal to the first duration threshold, the display of the replica virtual element and the replica element position information is canceled.
[0284] In an optional embodiment, the device further comprises:
[0285] The hiding display module 1670 is used to cancel the display of the virtual element and the virtual element prompt information corresponding to the virtual element in response to receiving a hiding operation on the virtual element, wherein the position of the first virtual object is not perceived by the second virtual object when the virtual element is hidden; and resume displaying the virtual element and the virtual element prompt information in response to the hiding time of the virtual element being greater than or equal to a second time threshold.
[0286] To sum up, the information display device provided by the present application can prompt players of the existence of virtual elements in the virtual scene by displaying the position information of virtual elements. When the first virtual object controlled by the main control account obtains and carries the virtual element, the position of the first virtual object is perceived by other virtual objects in the virtual scene. At the same time, distance prompt information is displayed to prompt the existence of other virtual objects within the specified distance range of the first virtual object, thereby providing effective information to all players, providing a fairer game mode, improving the efficiency of players in obtaining information, enabling players to perform corresponding operations in a timely manner according to the prompt information, and improving the efficiency of human-computer interaction.
[0287] It should be noted that the information display device provided in the above embodiment is merely an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the information display device provided in the above embodiment and the information display method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0288] Figure 18 The following is a block diagram of a computer device 1800 according to an exemplary embodiment of the present application. Computer device 1800 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. Computer device 1800 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other similar names.
[0289] Typically, the computer device 1800 includes a processor 1801 and a memory 1802 .
[0290] The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1801 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1801 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0291] Memory 1802 may include one or more computer-readable storage media, which may be non-transitory. Memory 1802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1802 is used to store at least one instruction, which is executed by processor 1801 to implement the information display method provided in the method embodiment of the present application.
[0292] In some embodiments, the computer device 1800 may further include other components, which can be understood by those skilled in the art. Figure 18 The structure shown in the figure does not constitute a limitation on the computer device 1800, and the computer device 1800 may include more or fewer components than shown in the figure, or combine some components, or adopt a different component arrangement.
[0293] Optionally, the computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0294] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the information display method as described in any of the above embodiments of the present application.
[0295] An embodiment of the present application also provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the information display method as described in any of the above embodiments of the present application.
[0296] The present application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the information display method described in any of the above embodiments.
[0297] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0298] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. An information display method, characterized in that: The method comprises: Displaying a first virtual object in a virtual scene, where the first virtual object is a virtual object controlled by a master account, and the virtual scene also includes a second virtual object controlled by another game account; Displaying virtual element prompt information, where the virtual element prompt information is used to indicate position information of the virtual element in the virtual scene; When the first virtual object acquires and carries the virtual element, displaying distance prompt information, the distance prompt information being used to indicate the presence of the second virtual object within a specified distance range of the first virtual object, and the position of the first virtual object being perceived by the second virtual object when carrying the virtual element; Based on the change in the positional relationship between the first virtual object and the second virtual object, the distance prompt information is updated and displayed in real time.
2. The method according to claim 1, characterized in that The displaying of distance prompt information when the first virtual object acquires and carries the virtual element includes: In a case where the first virtual object acquires and carries the virtual element, the distance prompt information is displayed based on a distance interval, where the distance interval is an interval range obtained by dividing the first virtual object into a plurality of different distance thresholds.
3. The method according to claim 2, characterized in that The distance interval includes a first distance interval and a second distance interval; The displaying of the distance prompt information based on the distance level includes: In response to the distance between the second virtual object and the first virtual object being less than or equal to a first distance threshold, displaying the distance prompt information in a style corresponding to the first distance interval; In response to the distance between the second virtual object and the first virtual object being greater than the first distance threshold and less than or equal to a second distance threshold, displaying the distance prompt information in a style corresponding to the second distance interval; The first distance threshold is smaller than the second distance threshold, and the second distance threshold is smaller than or equal to the specified distance range.
4. The method according to any one of claims 1 to 3, characterized in that: The virtual scene includes a plurality of second virtual objects; The displaying of distance prompt information when the first virtual object acquires and carries the virtual element includes: When the first virtual object acquires and carries the virtual element, the distance prompt information is displayed based on the distance between a target virtual object among the multiple second virtual objects and the first virtual object, wherein the target virtual object refers to a virtual object among the multiple second virtual objects that meets the prompt information determination requirements with the first virtual object.
5. The method according to any one of claims 1 to 3, characterized in that: The displaying of distance prompt information when the first virtual object acquires and carries the virtual element includes: In the case where the first virtual object acquires and carries the virtual element, in response to the presence of the second virtual object within a specified distance range of the first virtual object, highlighting the distance prompt information; or In a case where the first virtual object acquires and carries the virtual element, in response to the second virtual object not existing within a specified distance range of the first virtual object, the distance prompt information is hidden and displayed.
6. The method according to any one of claims 1 to 3, characterized in that: The distance prompt information corresponds to a plurality of distance ranges, and the distance ranges are used to describe the positional relationship between the first virtual object and the second virtual object; The updating and displaying of the distance prompt information in real time based on the change in the positional relationship between the first virtual object and the second virtual object includes: In response to the range to which the distance between the first virtual object and the second virtual object belongs changing to a target distance range, updating and displaying the distance prompt information in real time with a target brightness, wherein there is an inverse proportional relationship between the target distance range and the target brightness; or In response to the range to which the distance between the first virtual object and the second virtual object belongs changing to the target distance range, the distance prompt information is updated and displayed in real time based on a preset number of prompt elements, wherein there is an inverse proportional relationship between the target distance range and the number of the prompt elements.
7. The method according to any one of claims 1 to 3, characterized in that: After displaying the distance prompt information when the first virtual object acquires and carries the virtual element, the method further includes: In response to the first virtual object discarding the virtual element, canceling the display of the distance prompt information; or, In response to the first virtual object being defeated by the second virtual object, canceling the display of the distance prompt information; or, In response to the first virtual object carrying the virtual element arriving at the target task position in the virtual scene, the display of the distance prompt information is canceled.
8. The method according to any one of claims 1 to 3, characterized in that: The virtual scene further includes a third virtual object controlled by a teammate account of the master account; The method further comprises: In a case where the third virtual object acquires and carries the virtual element, displaying position information of the third virtual object; Sending an information sharing request to the teammate account; Receiving information sharing request confirmation information sent by the teammate account; In response to the distance between the first virtual object and the third virtual object meeting the shared distance threshold requirement, teammate distance prompt information is displayed, where the teammate distance prompt information is used to indicate the presence of the second virtual object within a specified distance range of the third virtual object.
9. The method according to any one of claims 1 to 3, characterized in that: The virtual scene further includes a third virtual object controlled by a teammate account of the master account; After displaying the distance prompt information when the first virtual object acquires and carries the virtual element, the method further includes: In response to receiving a copy operation on the virtual element, displaying a copy virtual element corresponding to the virtual element, wherein the copy virtual element is identical to the virtual element; When the third virtual object obtains and carries the copy virtual element, the copy element position information is displayed, and the copy element position information is used to indicate the position of the copy virtual element in the virtual scene. The display method of the copy element position information is the same as the display method of the virtual element prompt information, wherein the position of the third virtual object is perceived by the first virtual object and the second virtual object when carrying the copy virtual element.
10. The method according to claim 9, characterized in that The method further comprises: In a case where the third virtual object acquires and carries the replica virtual element, in response to the existence duration of the replica virtual element being less than a first duration threshold, displaying the replica element position information; In a case where the existence duration of the replica virtual element is greater than or equal to the first duration threshold, the display of the replica virtual element and the replica element position information is canceled.
11. The method according to any one of claims 1 to 3, characterized in that: After displaying the distance prompt information when the first virtual object acquires and carries the virtual element, the method further includes: In response to receiving a hiding operation on the virtual element, canceling display of the virtual element and the virtual element prompt information corresponding to the virtual element, wherein the position of the first virtual object is not perceived by the second virtual object when the virtual element is hidden; In response to the hiding time of the virtual element being greater than or equal to a second time threshold, the display of the virtual element and the virtual element prompt information is restored.
12. An information display device, characterized in that: The device comprises: A virtual object display module, configured to display a first virtual object in a virtual scene, where the first virtual object is a virtual object controlled by a master account, and the virtual scene also includes a second virtual object controlled by another game account; An information display module, configured to display virtual element prompt information, wherein the virtual element prompt information is used to indicate position information of the virtual element in the virtual scene; The information display module is further configured to display distance prompt information when the first virtual object acquires and carries the virtual element, the distance prompt information being configured to indicate the presence of the second virtual object within a specified distance range of the first virtual object, and the position of the first virtual object being sensed by the second virtual object when carrying the virtual element; The updating and displaying module is configured to update and display the distance prompt information in real time based on a change in the positional relationship between the first virtual object and the second virtual object.
13. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the information display method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the information display method according to any one of claims 1 to 11.
15. A computer program product, characterized in that The invention comprises a computer program, which implements the information display method according to any one of claims 1 to 11 when the computer program is executed by a processor.