Method, device, storage medium and electronic device for displaying firearm item damage values
By setting up signal receivers and display devices in the live gun battle game, the damage value caused by gun props to other players is displayed in real time, which solves the problem that players cannot know the damage value of the attack and improves the transparency and fairness of the game.
Patent Information
- Application Number
- CN202210760579.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2042-06-29
AI Technical Summary
In the existing live gun battle game, players cannot know the damage caused by the attack in real time when attacking other players, resulting in the inability to determine whether to eliminate the opponent.
By setting up a signal receiver on the game player, receiving the signals released by the gun props, determining the damage value and source direction, and displaying the damage value on the display device, real-time display is achieved.
Enables attackers to see the damage value caused intuitively, thereby clarifying whether the opponent is eliminated and improving the transparency and fairness of the game.
Smart Images

Figure CN115228076B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a method and device for displaying firearm item damage values, a computer-readable storage medium, and an electronic device. Background Art
[0002] In recent years, with the development of technology, online games such as first person shooting game (FPS) and role-playing game (RPG) have become popular. Not satisfied with games in virtual scenes, real-life gunfight games have emerged.
[0003] In the prior art, real-life gunfights often use an attack mode in which firearms props emit signals. Game players often need to wear special helmets and clothing. When a player uses a firearm prop to release a signal and hits another player's helmet or clothing, there will be a damage record. After receiving a certain amount of damage, the player will be eliminated.
[0004] During the research and practice of the prior art, the inventor of the present application found that in the prior art, when attacking other players, it is impossible to know the damage value caused by attacking other players, resulting in the player being unable to know whether to eliminate other players. Summary of the invention
[0005] The embodiment of the present application provides a method and device for displaying the damage value of a firearm prop, which can display the damage value caused by attacking other players, so that players can know whether to eliminate other players.
[0006] To solve the above technical problems, the present application provides the following technical solutions:
[0007] A method for displaying damage values of firearm props, comprising:
[0008] Receiving a signal released by a firearm prop through a signal receiver arranged on an offline game player, determining a firearm prop damage value caused by the firearm prop and a firearm prop source direction of the firearm prop;
[0009] Obtaining a receiver position of the signal receiver in the offline game space;
[0010] The firearm item damage value is displayed at the receiver position toward the direction of the firearm item source through a display device arranged in the offline game space.
[0011] A firearm item damage value display device, characterized by comprising:
[0012] The first determination module is used to receive a signal released by a firearm prop through a signal receiver arranged on an offline game player, and determine a firearm prop damage value caused by the firearm prop and a firearm prop source direction of the firearm prop;
[0013] A first acquisition module, used to acquire a receiver position of the signal receiver in an offline game space;
[0014] The first display module is used to display the firearm item damage value at the receiver position toward the direction of the firearm item source through a display device arranged in the offline game space.
[0015] In some embodiments, the device further comprises:
[0016] The second determination module is used to determine the firearm prop position of the firearm prop in the direction of the firearm prop source in real time through a thermal sensing device set on the offline game player;
[0017] A calculation module, used for calculating the distance value between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop;
[0018] The first display module includes:
[0019] A first determination submodule, configured to determine a target display size of the damage value based on the distance value;
[0020] The display submodule is used to display the firearm item damage value of the target display size at the receiver position toward the direction of the firearm item source through a display device arranged in the offline game space.
[0021] In some embodiments, the second determining module includes:
[0022] The second determination submodule is used to determine in real time a candidate position in the source direction of the firearm prop that is within the target temperature range through a thermal sensing device installed on the offline game player;
[0023] A judgment submodule, used to judge whether the number of the candidate position is one, and obtain a judgment result;
[0024] The third determining submodule is used to determine the firearm prop position of the firearm prop in the source direction of the firearm prop based on the judgment result.
[0025] In some embodiments, the third determining submodule is used to:
[0026] If the judgment result is that the number of the candidate positions is one, the candidate position is determined as the firearm prop position of the firearm prop in the source direction of the firearm prop.
[0027] In some embodiments, the third determining submodule is further used to:
[0028] If the judgment result is that the number of the candidate positions is not one, determining the candidate firearm props corresponding to each candidate position;
[0029] A target firearm prop that has released a signal within a preset time period is screened out from the candidate firearm props, and the position of the target firearm prop is determined as the firearm prop position of the firearm prop in the direction from which the firearm prop comes.
[0030] In some embodiments, the device further comprises:
[0031] A third determination module is used to determine the current direction of the firearm prop based on the source direction of the firearm prop and the current firearm prop position if a change in the firearm prop position of the firearm prop is detected;
[0032] The fourth determination module is used to determine the current direction as the source direction of the firearm prop, and execute the step of calculating the distance value between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop.
[0033] In some embodiments, the device further comprises:
[0034] A judging module, used to judge whether the distance value is greater than a preset distance value;
[0035] A prohibition module is used to prohibit triggering the display device to display the firearm item damage value at the receiver position in the direction of the firearm item source if the distance value is greater than a preset distance value.
[0036] A computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for a processor to load to execute the steps in the above-mentioned method for displaying firearm item damage values.
[0037] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned method for displaying firearm item damage values when executing the program.
[0038] The embodiment of the present application receives the signal released by the firearm props through the signal receiver set on the offline game player, determines the firearm prop damage value caused by the firearm props and the firearm prop source direction of the firearm props; obtains the receiver position of the signal receiver in the offline game space; and displays the firearm prop damage value at the receiver position in the direction of the firearm prop source through the display device set in the offline game space. In this way, the display device displays the firearm prop damage value in the direction of the firearm prop source at the receiver position, so that the attacking player can intuitively see the firearm prop damage value caused, so that the player can know whether to eliminate other players. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0040] Figure 1a A system diagram of a method for displaying firearm item damage values provided in an embodiment of the present application.
[0041] Figure 1b A flowchart of a method for displaying firearm item damage values provided in an embodiment of the present application.
[0042] Figure 1c A schematic diagram of the principle of determining the current direction of a firearm prop provided in an embodiment of the present application.
[0043] Figure 1d A schematic diagram of displaying the damage values of firearm props in an offline game scenario provided in an embodiment of the present application.
[0044] Figure 2 A schematic diagram of the structure of a firearm item damage value display device provided in an embodiment of the present application.
[0045] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0047] See also Figure 1a , Figure 1a A system diagram of a method for displaying the numerical value of firearm prop damage provided by an embodiment of the present application, the system may include configuration props 1000, a display device 2000, a network 3000, and a server 4000. Configuration props 1000 include firearm props for releasing signals and signal receivers set in helmets and protective gear, and such props are configured on offline game players. Display device 2000 is a device that can be displayed at any position in an offline game space, such as a VR player. Among them, network 3000 can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc.
[0048] Specifically, the system may not include the server 4000, and the configuration prop 1000 is connected to the display device 2000 via the network 3000. The specific system architecture is not limited here.
[0049] The embodiment of the present application provides a method for displaying the damage value of a firearm item. The method is executed by the server 4000 in a system architecture including the configuration item 1000, the display device 2000, the network 3000 and the server 4000, and is executed by the display device 2000 in a system architecture including only the configuration item 1000, the display device 2000 and the network 3000. Which electronic device is executed is determined by the system architecture. Figure 1a As shown, a signal receiver arranged on an offline game player receives a signal released by a firearm prop, determines the firearm prop damage value caused by the firearm prop and the firearm prop source direction of the firearm prop; obtains the receiver position of the signal receiver in the offline game space; and displays the firearm prop damage value in the direction of the firearm prop source at the receiver position through a display device 2000 arranged in the offline game space.
[0050] It should be noted that Figure 1a The system diagram of the method for displaying firearm prop damage values shown is merely an example. The firearm prop damage value display system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art will appreciate that with the evolution of the firearm prop damage value display system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.
[0051] In this embodiment, the description will be made from the perspective of a firearm item damage value display device, which can be specifically integrated into an electronic device having a storage unit and a microprocessor installed therein and having computing capabilities.
[0052] See also Figure 1b , Figure 1b A flowchart of a method for displaying the damage value of a firearm item provided in an embodiment of the present application. The method for displaying the damage value of a firearm item includes:
[0053] In step 101, a signal receiver provided on an offline game player receives a signal released by a firearm prop to determine a firearm prop damage value caused by the firearm prop and a firearm prop source direction of the firearm prop.
[0054] Among them, when a firearm prop releases a signal to a signal receiver set in a helmet or protective gear, the signal receiver will determine the direction of the source of the weapon firearm prop, that is, the direction of the source of the signal firearm prop, and the firearm prop damage value caused by the firearm prop.
[0055] Specifically, the direction of the source of the firearm prop can be obtained by using ultra-wideband technology (Ultra Wide Band, UWB) indoor positioning in advance, and then measuring the angle of the signal according to the angle-of-arrival (AOA) ranging algorithm. The method for determining the direction of the source of the firearm prop is not limited to the above method, and can also be determined by other methods, which are not limited here. The method for determining the damage value of the firearm prop can be to determine the landing point of the signal released by the firearm prop on the helmet or protective gear, and determine the target damage area corresponding to the landing point; based on the correspondence between the damage area and the damage value, determine the target damage value corresponding to the target damage area, that is, the damage value of the firearm prop.
[0056] In step 102, the receiver position of the signal receiver in the offline game space is obtained.
[0057] Among them, since the signal receiver is connected to an electronic device such as a server or a display device through a network, the receiver position of the signal receiver can be synchronized to the electronic device so that the electronic device can obtain the receiver position in real time, which can prevent offline game players from carrying helmets or protective gear equipped with signal receivers out of the offline game space.
[0058] In some embodiments, after the step of obtaining the receiver position of the signal receiver in the offline game space, the method further includes:
[0059] (1) determining the position of the firearm prop in the direction of the firearm prop's source in real time by means of a thermal sensing device disposed on the offline game player;
[0060] (2) Calculating the distance between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop.
[0061] Among them, since the signal receiver can only determine in which direction the attacking player is from the attacked player, but the signal receiver cannot determine the position of the attacking player in the direction, in order to calculate the distance between the attacking player and the attacked player, the thermal sensing device configured on the offline game player can be used to perform thermal sensing detection on the direction of the source of the firearm props determined by the signal receiver, thereby determining the position of the firearm props in the direction of the source of the firearm props. And according to the obtained receiver position and firearm prop position, the distance between the attacking player and the attacked player is calculated.
[0062] Specifically, for a signal receiver that can directly determine the position of a firearm prop through a signal released by the firearm prop, it is not necessary to determine the firearm position of the firearm prop through a thermal sensing device, thereby reducing the equipment worn by offline game players.
[0063] In some embodiments, the step of determining in real time the position of the firearm prop in the direction of the firearm prop's source by means of a thermal sensing device disposed on the offline game player includes:
[0064] (1.1) determining in real time a candidate position in the direction of the source of the firearm prop that is within the target temperature range through a thermal sensing device installed on the offline game player;
[0065] (1.2) determining whether the number of the candidate positions is one, and obtaining a determination result;
[0066] (1.3) Determine the firearm prop position of the firearm prop in the direction of the firearm prop source based on the judgment result.
[0067] Among them, the method of performing thermal sensing detection by the thermal sensing device can be: detecting the direction of the source of the firearm props, because the player's body heat is higher than the temperature of the offline game environment, it can be detected that it is within the target temperature range, which is the temperature generated by the player's body, and the position within the target temperature range is determined as the candidate position. The target temperature range is a temperature range that matches the human body temperature, for example: 35.0° to 38.0°, etc., which is not limited here.
[0068] Specifically, in a team-based game, players in the same team usually act together, so when detecting the direction of the source of the firearms and props, one or more players may be detected, and different methods of determining the position of the firearms and props may exist for different situations. Therefore, it is determined whether the number of the candidate positions is one, and a determination result is obtained; based on the determination result, the position of the firearms and props in the direction of the source of the firearms and props is determined.
[0069] In some embodiments, the step of determining the position of the firearm prop in the direction of the firearm prop's source based on the judgment result includes:
[0070] If the judgment result is that the number of the candidate positions is one, the candidate position is determined as the firearm prop position of the firearm prop in the source direction of the firearm prop.
[0071] Among them, when the judgment result is that the number of the candidate positions is one, that is, one player is detected, the candidate position can be directly determined as the firearm prop position of the firearm prop in the direction of the firearm prop source.
[0072] In some embodiments, the method further comprises:
[0073] (1.1) If the determination result is that the number of the candidate positions is not one, determining the candidate firearm props corresponding to each candidate position;
[0074] (1.2) Filter out target firearm props that have released signals within a preset time period from candidate firearm props, and determine the position of the target firearm prop as the firearm prop position of the firearm prop in the direction of the firearm prop's source.
[0075] Among them, for the case where the number of candidate positions is not one, that is, multiple players are detected, the candidate firearm props corresponding to each candidate position can be determined. Since the firearm props are also connected to the electronic device, the target firearm props that have released signals within a preset time period can be screened out from the candidate firearm props. The preset time period can be 3 seconds, etc., which is not limited here, so that the position of the target firearm prop is determined as the firearm prop position of the firearm prop in the direction of the firearm prop source.
[0076] In some embodiments, the method further comprises:
[0077] (1) if it is detected that the position of the firearm prop has changed, determining the current direction of the firearm prop based on the source direction of the firearm prop and the current position of the firearm prop;
[0078] (2) Determine the current direction as the direction of the firearm prop's source, and perform a step of calculating the distance value between the signal receiver and the firearm prop based on the receiver position and the firearm prop's position.
[0079] When a change in the position of the firearm prop is detected, the current direction of the firearm prop can be determined according to the original source direction of the firearm prop determined by the signal receiver and the current position of the firearm prop. The current direction is determined as the source direction of the firearm prop, and the step of calculating the distance value between the signal receiver and the firearm prop is performed according to the receiver position and the firearm prop position.
[0080] Specifically, Figure 1c As shown, Figure 1c A schematic diagram of the principle of determining the current direction of a firearm prop provided in an embodiment of the present application. l1 is the original source direction of the firearm prop determined by the signal receiver, point A is the position of the attacked player, and point B is the current position of the firearm prop after the position of the firearm prop changes. The distance l2 formed by point B to l1 can be calculated, and the distance l3 formed by point B to point A can be calculated, so as to know the angle value of the angle α formed by l3 and l1. On the basis of the known source direction of the firearm prop, combined with the angle value of the angle α, the current direction of the firearm prop can be determined.
[0081] In step 103, the firearm item damage value is displayed at the receiver position toward the direction of the firearm item source by a display device arranged in the offline game space.
[0082] Among them, after knowing the source direction of the firearm prop, the damage value of the firearm prop and the position of the receiver, the firearm prop damage value can be displayed at the receiver position toward the source direction of the firearm prop through the display device in the offline game space.
[0083] Specifically, Figure 1d As shown, Figure 1d A schematic diagram of displaying the firearm item damage value in an offline game scene provided by an embodiment of the present application. The number "32" is the firearm item damage value, which is displayed by the display device in the offline game space, and the display position of the number "32" is the receiver position, and the display direction is toward the direction of the attacking user.
[0084] In some embodiments, the step of displaying the damage value at the receiver position in the direction of the source of the firearm prop by a display device disposed in the offline game space includes:
[0085] (1) determining a target display size of the damage value based on the distance value;
[0086] (2) Displaying the firearm item damage value of the target display size in the direction of the firearm item source at the receiver position through a display device set in the offline game space.
[0087] Among them, in order to avoid the problem that the damage value of the gun prop cannot be seen clearly due to the long distance between the attacking player and the attacked player, after obtaining the distance value, the target display size corresponding to the calculated distance value can be determined according to the mapping relationship between the distance value and the display size, and the gun prop damage value of the target display size can be displayed at the receiver position in the direction of the source of the gun prop through a display device set in the offline game space.
[0088] In some embodiments, after the step of calculating the distance value between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop, the method further includes:
[0089] (1) determining whether the distance value is greater than a preset distance value;
[0090] (2) If the distance value is greater than a preset distance value, it is prohibited to trigger the display device to display the firearm item damage value at the receiver position in the direction of the firearm item source.
[0091] Among them, a preset distance value can also be set, for example, 10 meters. When the calculated distance value is greater than the preset distance value, it is considered that the attacking player and the attacked player are too far apart, and it is prohibited to trigger the display device to display the firearm item damage value at the receiver position in the direction of the firearm item source, that is, the firearm item damage value is not displayed.
[0092] As can be seen from the above, the embodiment of the present application receives the signal released by the firearm props through the signal receiver set on the offline game player, determines the firearm prop damage value caused by the firearm props and the firearm prop source direction of the firearm props; obtains the receiver position of the signal receiver in the offline game space; and displays the firearm prop damage value at the receiver position in the direction of the firearm prop source through the display device set in the offline game space. In this way, the display device displays the firearm prop damage value in the direction of the firearm prop source at the receiver position, so that the attacking player can intuitively see the firearm prop damage value caused, so that the player can know whether to eliminate other players.
[0093] In order to facilitate better implementation of the firearm prop damage value display method provided in the embodiment of the present application, the embodiment of the present application also provides a device based on the firearm prop damage value display method. The meanings of the terms are the same as those in the firearm prop damage value display method, and the specific implementation details can refer to the description in the method embodiment.
[0094] See also Figure 2 , Figure 2 The structural schematic diagram of the firearm prop damage value display device provided in an embodiment of the present application is applied to an electronic device, wherein the firearm prop damage value display device may include a first determination module 201, a first acquisition module 202, and a first display module 203, etc.
[0095] The first determination module 201 is used to receive a signal released by a firearm prop through a signal receiver arranged on an offline game player, and determine the firearm prop damage value caused by the firearm prop and the firearm prop source direction of the firearm prop;
[0096] A first acquisition module 202 is used to acquire a receiver position of the signal receiver in an offline game space;
[0097] The first display module 203 is used to display the firearm item damage value at the receiver position toward the direction of the firearm item source through a display device arranged in the offline game space.
[0098] In some embodiments, the device further comprises:
[0099] The second determination module is used to determine the firearm prop position of the firearm prop in the direction of the firearm prop source in real time through a thermal sensing device set on the offline game player;
[0100] A calculation module, used for calculating the distance value between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop;
[0101] The first display module 203 includes:
[0102] A first determination submodule, configured to determine a target display size of the damage value based on the distance value;
[0103] The display submodule is used to display the firearm item damage value of the target display size at the receiver position toward the direction of the firearm item source through a display device arranged in the offline game space.
[0104] In some implementations, the second determining module includes:
[0105] The second determination submodule is used to determine in real time a candidate position in the source direction of the firearm prop that is within the target temperature range through a thermal sensing device installed on the offline game player;
[0106] A judgment submodule, used to judge whether the number of the candidate position is one, and obtain a judgment result;
[0107] The third determining submodule is used to determine the firearm prop position of the firearm prop in the source direction of the firearm prop based on the judgment result.
[0108] In some implementations, the third determining submodule is used to:
[0109] If the judgment result is that the number of the candidate positions is one, the candidate position is determined as the firearm prop position of the firearm prop in the source direction of the firearm prop.
[0110] In some implementations, the third determining submodule is further configured to:
[0111] If the judgment result is that the number of the candidate positions is not one, determining the candidate firearm props corresponding to each candidate position;
[0112] A target firearm prop that has released a signal within a preset time period is screened out from the candidate firearm props, and the position of the target firearm prop is determined as the firearm prop position of the firearm prop in the direction from which the firearm prop comes.
[0113] In some embodiments, the device further comprises:
[0114] A third determination module is used to determine the current direction of the firearm prop based on the source direction of the firearm prop and the current firearm prop position if a change in the firearm prop position of the firearm prop is detected;
[0115] The fourth determination module is used to determine the current direction as the source direction of the firearm prop, and execute the step of calculating the distance value between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop.
[0116] In some embodiments, the device further comprises:
[0117] A judging module, used to judge whether the distance value is greater than a preset distance value;
[0118] A prohibition module is used to prohibit triggering the display device to display the firearm item damage value at the receiver position in the direction of the firearm item source if the distance value is greater than a preset distance value.
[0119] As can be seen from the above, the embodiment of the present application uses the first determination module 201 to receive the signal released by the firearm props through the signal receiver set on the offline game player, and determine the firearm prop damage value caused by the firearm props and the firearm prop source direction of the firearm props; the first acquisition module 202 is used to obtain the receiver position of the signal receiver in the offline game space; the first display module 203 is used to display the firearm prop damage value at the receiver position toward the firearm prop source direction through the display device set in the offline game space. In this way, the display device displays the firearm prop damage value at the receiver position toward the firearm prop source direction, so that the attacking player can intuitively see the firearm prop damage value caused, so that the player can know whether to eliminate other players.
[0120] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0121] Accordingly, an embodiment of the present application further provides an electronic device, which may be a display device or a server, such as Figure 3 As shown, Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 2000 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be understood by those skilled in the art that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0122] The processor 401 is the control center of the electronic device 2000. It uses various interfaces and lines to connect the various parts of the entire electronic device 2000, executes various functions of the electronic device 2000 and processes data by running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, thereby monitoring the electronic device 2000 as a whole.
[0123] In the embodiment of the present application, the processor 401 in the electronic device 2000 will load instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 will run the application programs stored in the memory 402 to implement various functions:
[0124] The signal released by the firearm prop is received by a signal receiver installed on the offline game player, and the firearm prop damage value caused by the firearm prop and the firearm prop source direction of the firearm prop are determined; the receiver position of the signal receiver in the offline game space is obtained; and the firearm prop damage value is displayed in the direction of the firearm prop source at the receiver position through a display device installed in the offline game space.
[0125] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0126] Optional, such as Figure 3 As shown, the electronic device 2000 further includes: a touch screen 403, an input unit 404 and a power supply 405. The processor 401 is electrically connected to the touch screen 403, the input unit 404 and the power supply 405 respectively. Those skilled in the art can understand that Figure 3 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0127] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display device (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 401, and can receive the command sent by the processor 401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 404 to realize the input function.
[0128] In the embodiment of the present application, the processor 401 executes the game application to generate a graphical user interface on the touch screen 403. The virtual scene on the graphical user interface includes at least one skill control area, and the skill control area includes at least one skill control. The touch screen 403 is used to present the graphical user interface and receive operation instructions generated by the user acting on the graphical user interface.
[0129] The input unit 404 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0130] The power supply 405 is used to supply power to various components of the electronic device 2000. Optionally, the power supply 405 can be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 405 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0131] although Figure 3 Not shown, the electronic device 2000 may also include a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0132] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0133] As can be seen from the above, the electronic device provided in this embodiment receives the signal released by the firearm props through the signal receiver set on the offline game player, determines the firearm prop damage value caused by the firearm props and the firearm prop source direction of the firearm props; obtains the receiver position of the signal receiver in the offline game space; and displays the firearm prop damage value at the receiver position in the direction of the firearm prop source through the display device set in the offline game space. In this way, the display device displays the firearm prop damage value at the receiver position in the direction of the firearm prop source, so that the attacking player can intuitively see the firearm prop damage value caused, so that the player can know whether to eliminate other players.
[0134] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0135] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any skill control method provided in the embodiment of the present application. For example, the computer program can execute the following steps:
[0136] The signal released by the firearm prop is received by a signal receiver installed on the offline game player, and the firearm prop damage value caused by the firearm prop and the firearm prop source direction of the firearm prop are determined; the receiver position of the signal receiver in the offline game space is obtained; and the firearm prop damage value is displayed in the direction of the firearm prop source at the receiver position through a display device installed in the offline game space.
[0137] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0138] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0139] Since the computer program stored in the storage medium can execute the steps in any method for displaying the damage value of a firearm prop provided in the embodiments of the present application, the beneficial effects that can be achieved by any method for displaying the damage value of a firearm prop provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0140] The above is a detailed introduction to a method, device, storage medium and electronic device for displaying the numerical value of firearm prop damage provided by the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for displaying the damage value of a firearm prop, characterized in that: include: Receiving a signal released by the firearm prop through a signal receiver arranged on an offline game player, determining a firearm prop damage value caused by the firearm prop and a firearm prop source direction of the firearm prop; Obtaining a receiver position of the signal receiver in the offline game space; Determine the position of the firearm prop in the direction of the firearm prop's source in real time by using a thermal sensing device installed on the offline game player; Calculate the distance between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop; Based on the distance value, determining a target display size of the damage value; The firearm item damage value of the target display size is displayed at the receiver position toward the direction of the firearm item source through a display device arranged in the offline game space.
2. The method for displaying firearm item damage values according to claim 1, characterized in that: The step of determining the position of the firearm prop in the direction of the firearm prop source in real time by using a thermal sensing device disposed on the offline game player comprises: The candidate position in the direction of the source of the firearm prop that is within the target temperature range is determined in real time by a thermal sensing device installed on the offline game player; Determine whether the number of the candidate positions is one, and obtain a determination result; The firearm prop position of the firearm prop in the direction from which the firearm prop comes is determined based on the judgment result.
3. The method for displaying firearm item damage values according to claim 2, characterized in that: The step of determining the position of the firearm prop in the direction of the firearm prop's source based on the judgment result comprises: If the judgment result is that the number of the candidate positions is one, the candidate position is determined as the firearm prop position of the firearm prop in the source direction of the firearm prop.
4. The method for displaying firearm item damage values according to claim 3, characterized in that: The method further comprises: If the determination result is that the number of the candidate positions is not one, determining the candidate firearm props corresponding to each candidate position; A target firearm prop that has released a signal within a preset time period is screened out from the candidate firearm props, and the position of the target firearm prop is determined as the firearm prop position of the firearm prop in the direction from which the firearm prop comes.
5. The method for displaying firearm item damage values according to claim 1, characterized in that: The method further comprises: If it is detected that the position of the firearm prop changes, the current direction of the firearm prop is determined based on the source direction of the firearm prop and the current position of the firearm prop; The current direction is determined as the direction of the source of the firearm prop, and a step of calculating the distance value between the signal receiver and the firearm prop is performed according to the position of the receiver and the position of the firearm prop.
6. The method for displaying firearm item damage values according to claim 1, characterized in that: After the step of calculating the distance value between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop, the method further includes: Determining whether the distance value is greater than a preset distance value; If the distance value is greater than the preset distance value, it is prohibited to trigger the display device to display the firearm item damage value at the receiver position in the direction of the firearm item source.
7. A firearm item damage value display device, characterized in that: include: The first determination module is used to receive a signal released by a firearm prop through a signal receiver arranged on an offline game player, and determine a firearm prop damage value caused by the firearm prop and a firearm prop source direction of the firearm prop; The first acquisition module is used to acquire the receiver position of the signal receiver in the offline game space; and to determine the firearm prop position of the firearm prop in the source direction of the firearm prop in real time through a thermal sensing device set on the offline game player; Calculate the distance between the signal receiver and the firearm prop according to the position of the receiver and the position of the firearm prop; A first display module, used to determine a target display size of the damage value based on the distance value; The firearm item damage value of the target display size is displayed at the receiver position toward the direction of the firearm item source through a display device arranged in the offline game space.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, which are suitable for loading by a processor to execute the steps in the method for displaying firearm item damage values as described in any one of claims 1 to 6.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the method for displaying firearm item damage values as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Live RPG system
CN102542174A
Live gunfight game system based on AR imaging
CN109126118A