Method and device for updating position display effect, electronic equipment and storage medium
By responding to point-reporting events in the game to determine object and attribute information, and directly updating the position display effect, the problem of poor performance and low flexibility in the existing technology is solved, and efficient position display effect management is achieved.
Patent Information
- Application Number
- CN202310222435.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2043-03-02
AI Technical Summary
Existing location display update technologies suffer from poor performance and low flexibility, especially when multiple reporting reasons overlap, which can easily lead to conflicting reporting effects or make calculation difficult.
By responding to the target game's reporting events, the system determines the reported object, the reporting receiver, and their corresponding reporting effect attributes. Based on this information, it updates the position display attributes, avoiding constant monitoring of the game object's state and behavior, and directly updating the final position attributes.
It improves the performance and flexibility of location display updates, avoids game performance degradation, and simplifies the management and debugging process of location display effects.
Smart Images

Figure CN116392820B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data updating, and in particular to a position display effect updating method and device, electronic equipment and a storage medium. BACKGROUND
[0002] In a virtual game, obtaining position information of different players or non-player objects helps to complete a game task. According to different game rules, a target player is notified of a point in the game, so that the target player obtains position information of other players or non-player objects, and the position information is intuitively presented to the target player in a specific effect to help the target player complete a game task.
[0003] The existing position display effect updating technology usually configures a switch in a game setting, and calculates a point notification effect, a point notification object and the like based on different point notification reasons in the game according to the switch. This way needs to monitor the state and behavior of an object at all times, and has a great negative impact on game performance. In addition, in the case of superposition of multiple point notification reasons, the point notification effect and the like are prone to conflict or difficult to calculate. It can be seen that the existing position display effect updating technology has technical problems of poor performance and low flexibility. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a position display effect updating method and device, electronic equipment and a storage medium to improve the performance and flexibility of position display effect updating.
[0005] In a first aspect, the present application provides a position display effect updating method, which comprises: determining at least one notified object, at least one point notification receiving object and at least one point notification effect attribute information corresponding to each notified object in response to a target point notification event trigger of a target game, the point notification effect attribute information being used to indicate position display attribute information of the notified object; updating the position display attribute information of each notified object according to at least one point notification effect attribute information corresponding to each notified object, to obtain target position display attribute information corresponding to each notified object; and updating the position display effect of each notified object for a terminal of each point notification receiving object through the target position display attribute information corresponding to each notified object.
[0006] In a second aspect, an embodiment of the present application provides a position display effect updating device, which comprises: a determination module configured to determine at least one pointed object, at least one point receiving object, and at least one point effect attribute information corresponding to each of the pointed objects in response to a target point event trigger of a target game; an updating module configured to update position display attribute information of each of the pointed objects according to the at least one point effect attribute information corresponding to each of the pointed objects, and obtain target position display attribute information corresponding to each of the pointed objects; and a display module configured to update position display effects of each of the pointed objects on terminals of each of the point receiving objects through the target position display attribute information corresponding to each of the pointed objects.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the position display effect updating method.
[0008] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions, when invoked and executed by a processor, cause the processor to implement the position display effect updating method.
[0009] The embodiments of the present application have the following beneficial effects:
[0010] The position display effect updating method, device, electronic device and storage medium described above determine at least one pointed object, at least one point receiving object, and at least one point effect attribute information corresponding to each of the pointed objects in response to a target point event trigger of a target game, the point effect attribute information is used to indicate position display attribute information of the pointed object, update position display attribute information of each of the pointed objects according to the at least one point effect attribute information corresponding to each of the pointed objects, obtain target position display attribute information corresponding to each of the pointed objects, and update position display effects of each of the pointed objects on terminals of each of the point receiving objects through the target position display attribute information corresponding to each of the pointed objects. In this way, when the point event is triggered, the pointed object, the point receiving object and the point effect attribute information are determined, different point attributes can be flexibly configured based on different point events, and the final position attribute can be directly updated, without calculating point effects that are difficult to superimpose according to different point reasons, and updating of the position display effect triggered by the point event can avoid game performance decline caused by monitoring game objects at all times, thereby improving performance and flexibility of the position display effect updating.
[0011] Other features and advantages of the present application will be set forth in the descriptions that follow, and in part will be apparent from the description, or can be learned by practice of the application. The purposes and other advantages of the present application will be realized and attained by the structures particularly pointed out in the description, claims and drawings.
[0012] In order to make the above objectives, features and advantages of the present application more apparent, the following will describe a preferred embodiment in detail, and make a detailed description with the attached drawings. BRIEF DESCRIPTION OF DRAWINGS
[0013] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or the prior art description. Obviously, the drawings described below are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0014] Figure 1 An embodiment flow chart of the position display effect updating method in the embodiment of the present application;
[0015] Figure 2 Another embodiment flow chart of the position display effect updating method in the embodiment of the present application;
[0016] Figure 3 Another embodiment flow chart of the position display effect updating method in the embodiment of the present application;
[0017] Figure 4 A schematic diagram of a position display effect updating device provided by the embodiment of the present application;
[0018] Figure 5 A schematic diagram of an electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the objectives, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the present application will be described clearly and completely with the drawings. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.
[0020] The terms "first", "second", "third", "fourth" and the like in the description and in the claims of the present application, and above-described drawings, if any, are used to distinguish between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the use of the terms so construed herein can be interchanged, under suitable circumstances, to describe the embodiments of the application described herein in other than the particular order illustrated or described herein. Moreover, the terms "comprising" or "having" and any variations thereof herein are intended to cover a non-exclusive inclusion such that a process, method, system, product, or apparatus that comprises a list of steps or units not necessarily limited to those explicitly stated, but can include other steps or units not expressly listed or inherent to such process, method, product, or apparatus.
[0021] It should be noted that the "reporting point" in the embodiments of the application refers to "updating of the position display effect", therefore, the "target reporting point event" in the embodiments of the application refers to "updating event of the target position display effect", the "reported point object" refers to "updated object of the position display effect", the "reporting point receiving object" refers to "receiving object of the position display effect updating", and the "reporting point effect attribute information" refers to "updating attribute information of the position display effect", and the above-mentioned indications in the embodiments of the application can be replaced with each other.
[0022] For ease of understanding, the specific flow of the embodiments of the application is described below, please refer to Figure 1 One embodiment of the updating method of the position display effect in the embodiments of the application includes:
[0023] Step S10, in response to the target reporting point event trigger of the target game, at least one reported point object, at least one reporting point receiving object, and at least one reporting point effect attribute information corresponding to each reported point object are determined, and the reporting point effect attribute information is used to indicate the position display attribute information of the reported point object;
[0024] In this embodiment, the target game is a game that requires position display effect updating, for example, a Massively Multiplayer Online Role Playing Game (MMORPG), a First-person shooting game (FPS), a Multiplayer Online Battle Arena (MOBA), etc., and the specific type is not limited herein. In an embodiment, the target reporting event is triggered and responded in a game session of a target game, the at least one reported object, the at least one reporting receiving object, and the at least one reporting effect attribute information corresponding to each reported object are all data in the same game session, and based on this, the step S10 comprises: determining the at least one reported object, the at least one reporting receiving object, and the at least one reporting effect attribute information corresponding to each reported object in the current game session in response to the triggering of the target reporting event in the current game session of the target game. It should be noted that the target reporting event is any one of a plurality of preset reporting events, any one of the preset reporting events can be triggered any number of times in a game session, and can be triggered by any game terminal or game server, wherein the game terminal refers to a running / manipulating terminal of the target game, and the game terminal can be a terminal of the reported object, a terminal of the reporting receiving object, or any other target game running / manipulating terminal, and the specific type is not limited herein.
[0025] In this embodiment, before step S10, each preset point reporting event is bound with at least one point reporting effect attribute information, and when step S10 is performed, at least one pointed object, at least one point reporting receiving object, and at least one point reporting effect attribute information corresponding to each pointed object corresponding to the target point reporting event are determined in response to triggering of any target point reporting event in the plurality of preset point reporting events of the target game. For example, in the FPS game, the target point reporting event can be "captured by the camera arranged by the opponent player", and the point reporting effect attribute information bound by the target point reporting event can include "display attribute information of the position icon on the small map", "display attribute information of the text prompt", and "display attribute information of the alarm effect", etc. When any number of players or non-player characters (NPCs) in the target game are captured by the camera arranged by the opponent player, the target point reporting event is triggered, and then the player to which the camera belongs is determined as the point reporting receiving object, all the opponent players or NPCs captured by the camera are determined as the pointed object, and all the point reporting effect attribute information bound by the above target point reporting event is determined as at least one point reporting effect attribute information corresponding to each pointed object, so as to expose the position information and the position display effect of each pointed object on the terminal of the point reporting receiving object after updating the point reporting effect attribute information of each pointed object, which is not limited here.
[0026] In an embodiment, according to the business scene demand or the game rules of the target game, the target point reporting event can also be associated with any event related to the game rules in the target game. Specifically, the target point reporting event is also used to indicate the target game event in the target game. For example, in the MOBA game, the target game event can be the release event of any virtual skill, can also be the interaction (such as the battle) event with any NPC, and can also be other game events which need to trigger the update of the position display effect, which is not limited here.
[0027] It can be understood that during the process of the target game, whether the position display effect is updated is determined by the game behavior / event / operation of the player, and there is great uncertainty. If the state or behavior of each game object (including the pointed object) is monitored at all times, and the position display effect to be updated is determined by analyzing the point reporting reasons of different states or behaviors, the monitoring and analysis will greatly affect the performance of the game, and the simultaneous analysis of multiple point reporting reasons is not conducive to the control of the final position display effect. Therefore, in this embodiment, the update of the position display effect is triggered by the preset point reporting event, and the attribute to be updated when each target point reporting event is triggered is determined by the binding of the point reporting effect attribute information, so as to improve the performance and flexibility of the update of the position display effect.
[0028] In an implementation, the report point effect attribute information can be any information related to the position display effect attribute, i.e., the report point effect attribute information is used to indicate the information of the position display attribute of the reported point object. For example, in the FPS game, the report point effect attribute includes at least one of the following attributes: the attribute information of the visible camp, the attribute of whether to be outlined, the attribute of the outline color, the attribute of whether to pass through the wall, the attribute of whether to be displayed on the target map, the attribute of whether to be marked with the red reason, the attribute of the icon displayed on the map (such as the icon name or the icon storage location), the attribute of whether to display the distance prompt, the attribute of whether to display the flashing effect, the attribute of whether to expose the fuzzy area, the attribute of whether to expose the accurate area, the attribute of whether to display the area marking reason, and the attribute of whether to be affected by the cut-off position information connection, etc. The report point effect attribute information includes the report point effect attribute and the corresponding attribute value, which is not limited here.
[0029] It can be understood that the position display attribute information includes the position display attribute and the corresponding attribute value. In an implementation, according to the business scene demand and the game rule setting of different target games, at least one position display attribute corresponding to each game object or at least one position display attribute corresponding to each type of game object can be set before step S10. When step S10 is executed, at least one reported point object and at least one report point receiving object corresponding to the target report point event are determined from all game objects in response to the target report point event trigger of the target game, and at least one report point effect attribute and the corresponding attribute value corresponding to each reported point object are determined from at least one position display attribute corresponding to each game object, to obtain at least one report point effect attribute information corresponding to each reported point object, or at least one report point effect attribute and the corresponding attribute value corresponding to each reported point object are determined according to the type of each reported point object, to obtain at least one report point effect attribute information corresponding to each reported point object. For example, in the FPS game, each player can be a game object, all players of the enemy camp can be a type of game object, an NPC can be a game object, and a type of NPC can also be a type of game object, which is not limited here.
[0030] Step S20, updating the position display attribute information of each reported point object according to at least one report point effect attribute information corresponding to each reported point object, to obtain target position display attribute information corresponding to each reported point object;
[0031] It can be understood that each reported point object corresponds to a plurality of preset position display attributes, one point reporting effect attribute information is used to indicate a preset position display attribute and the corresponding attribute value, that is, the point reporting effect attribute and the preset position display attribute are in a one-to-one correspondence, the current position display effect of each reported point object is determined by all preset position display attributes and the attribute value corresponding to each position display attribute, and the position display attribute information of the reported point object can be modified / updated through at least one point reporting effect attribute information corresponding to each reported point object, so as to obtain target position display attribute information corresponding to each reported point object, wherein the target position display attribute information can include all preset position display attribute information, or only include the position display attribute information corresponding to the modified / updated point reporting effect attribute information, which is not limited here. For example, assuming that the preset position display attribute information corresponding to a reported point object includes position display attribute information A, position display attribute information B and position display attribute information C, and the point reporting effect attribute information corresponding to the reported point object is determined to include position display attribute information A and position display attribute information B when the target point reporting event is triggered, therefore, the target position display attribute information corresponding to the reported point object can include updated position display attribute information A and position display attribute information B, or can include updated position display attribute information A, position display attribute information B and position display attribute information C, which is not limited here.
[0032] In an embodiment, since the point reporting effect attribute and the preset position display attribute are in a one-to-one correspondence, the point reporting effect attribute information includes the point reporting effect attribute and the corresponding attribute value, and the position display attribute information includes the position display attribute and the corresponding attribute value, therefore, when step S20 is executed, at least one target position display attribute corresponding to each reported point object is determined according to at least one point reporting effect attribute information corresponding to each reported point object, wherein the target position display attribute corresponds to the point reporting effect attribute in the point reporting effect attribute information, and the attribute value of the target position display attribute corresponding to each reported point object is modified / updated to the attribute value of the corresponding point reporting effect attribute in the corresponding point reporting effect attribute information, to obtain the target position display attribute information corresponding to each reported point object.
[0033] Step S30, updating the position display effect of each reported point object on the terminal of each point receiving object through the target position display attribute information corresponding to each reported point object.
[0034] In the embodiment, in order to update the position display effect of the reported point object in the terminal of the reported point receiving object, after obtaining the target position display attribute information corresponding to each reported point object, the position display attribute information corresponding to each reported point object in the terminal of each reported point receiving object is modified to the corresponding target position display attribute information, so that the terminal of each reported point receiving object displays the latest position display attribute information of each reported point object, that is, the latest position display effect. In an embodiment, updating the position display effect of each reported point object in the terminal of each reported point receiving object can be updating the position display attribute information of each reported point object received by each reported point receiving object in the server, and then distributing the updated position display attribute information of each reported point object to the terminal of each reported point receiving object to refresh the position display effect of each reported point object in the terminal of each reported point receiving object; or the target position display attribute information corresponding to each reported point object can be distributed to the terminal of each reported point receiving object, and then the position display attribute information of each reported point object is updated through the terminal to refresh the position display effect of each reported point object in the terminal of each reported point receiving object.
[0035] The above-mentioned embodiment provides a position display effect updating method, which determines the reported point object, the reported point receiving object and the reported point effect attribute information when the reported point event is triggered, can flexibly configure different reported point attributes based on different reported point events, and directly update the final position attribute, without calculating the difficult-to-overlapped reported point effect according to different reported point reasons, and the updating of the position display effect triggered by the reported point event can avoid the game performance decline caused by the constant monitoring of the game object, thereby improving the performance and flexibility of the position display effect updating.
[0036] Please refer to Figure 2 Another embodiment of the position display effect updating method in the embodiment of the application comprises:
[0037] Step S201, in response to an addition instruction of a target state instance in a target game, a target reported point event corresponding to the target state instance is triggered, and the target state instance is used to indicate a target gain effect or a target loss effect;
[0038] It should be noted that the BUFF is a game gain effect, and the DEBUFF is a game loss effect. The addition of the gain effect can increase the attributes and / or abilities of the game object or make the game object enter a certain gain state. On the contrary, the addition of the loss effect can reduce the attributes and / or abilities of the game object or make the game object leave a certain gain state or enter a specific abnormal state. The gain effect and the loss effect in the embodiment are collectively referred to as a state instance. When the target state instance in the target game is added, that is, the target BUFF or the target DEBUFF is added, the target report point event corresponding to the target state instance is triggered, so that the subsequent position display effect update is triggered. It should be noted that not every addition instruction of the BUFF or the DEBUFF in the game can trigger the report point event. Before step S201, a plurality of state instances (i.e., a plurality of preset state instances) are configured to trigger the report point event. When the addition instruction of any one of the plurality of preset state instances in the target game is responded to, the preset state instance corresponding to the addition instruction is the target state instance triggering the target report point event.
[0039] It can be understood that the target state instance is any one of the plurality of preset state instances, and each preset state instance is previously bound to at least one target report point event. When the addition instruction of the target state instance in the target game is responded to, at least one target report point event corresponding to the target state instance is determined, and each target report point event is triggered to perform the subsequent obtaining of at least one reported object, at least one report point receiving object, and at least one report point effect attribute information corresponding to each reported object corresponding to the target state instance through each target report point event.
[0040] In an embodiment, the above step S201 comprises: in response to the addition instruction of the target state instance in the target game, obtaining an identifier corresponding to the target state instance, the identifier being previously bound to the target report point event; and triggering the target report point event corresponding to the target state instance according to the target report point event previously bound to the identifier. In the embodiment, each preset state instance corresponds to a unique identifier, and the target report point event is bound to the preset state instance through the identifier, so that one identifier corresponds to one target state instance and one target report point event. When the addition instruction of the target state instance in the target game is responded to, the target report point event previously bound to the target state instance is determined according to the identifier corresponding to the target state instance, and the target report point event is triggered, which is equivalent to triggering the target report point event corresponding to the target state instance. The state instance in the game is associated and bound to the report point event, and when the state instance is added, the corresponding report point event can be quickly triggered, so that the subsequent position display effect update is quickly performed.
[0041] Step S202, obtaining at least one reported point object, at least one point receiving object, and at least one point effect attribute information corresponding to each reported point object through the target state instance, the point effect attribute information being used to indicate the position display attribute information of the reported point object;
[0042] Step S203, updating the position display attribute information of each reported point object according to the at least one point effect attribute information corresponding to each reported point object, to obtain the target position display attribute information corresponding to each reported point object;
[0043] Step S204, updating the position display effect of each reported point object on the terminal of each point receiving object through the target position display attribute information corresponding to each reported point object.
[0044] In an embodiment, after step S204, the method further includes: receiving the receipt of the terminal of each point receiving object updating the position display effect of each reported point object, and synchronizing the position display effect updating event of all point receiving objects through the receipt. In this embodiment, in order to determine whether the terminal of each point receiving object successfully updates the position display effect of each reported point object, after step S204, the receipt sent back by the terminal of each point receiving object is received, wherein the receipt contains the updating result of the position display effect of each reported point object; after receiving the updating result sent back by the terminal of each point receiving object, a unified broadcast is performed to all terminals of point receiving objects to inform the terminal of each point receiving object whether the position display effect of the reported point object is successfully updated, that is, the position display effect updating event of all point receiving objects is synchronized, so that the terminal of each point receiving object can synchronize the updating of the position display effect.
[0045] In an embodiment, after step S204, the method further includes: in the debugging mode of the target game, in response to the adding instruction of the target state instance, obtaining the adding result of the target state instance; and determining whether the position display effect of each reported point object is successfully updated through the adding result.
[0046] In the embodiment, after the state instance is bound to the report point event, the debugging of the target game can be more convenient, and in the debugging mode of the target game, the BUFF information of the game object can be viewed in real time to determine whether the position display effect of each reported point object is updated successfully, that is, whether the report point for each reported point object is effective. Specifically, in the debugging mode of the target game, the addition of the target state instance is responded to, and the addition result of the target state instance is output in real time; it is judged whether the target report point event information is contained in the addition result, if the target report point event information is contained in the addition result, it is determined that the position display effect of each reported point object is updated successfully; if the target report point event information is not contained in the addition result, it is determined that the position display effect of each reported point object is not updated successfully. The embodiment can make the update and debugging of the position display effect more convenient and efficient.
[0047] The position display effect updating method provided by the above-mentioned embodiment can determine the reported point object, the report point receiving object and the report point effect attribute information when the report point event is triggered, can flexibly configure different report point attributes based on different report point events, and can directly update the final position attribute, without the need to calculate the report point effect which is difficult to superimpose according to different report point reasons, and the update of the position display effect triggered by the report point event can avoid the game performance decline caused by the monitoring of the game object at all times, thereby improving the performance and flexibility of the position display effect updating.
[0048] Referring to Figure 3 Another embodiment of the position display effect updating method in the embodiment includes:
[0049] In step S301, in response to an addition instruction of a target state instance for at least one reported point object in a target game, target report point information sent by a sending terminal of the addition instruction is received through a preset report point manager, the target report point information includes at least one reported point object, at least one report point receiving object, and at least one report point effect attribute information corresponding to each reported point object, and the report point effect attribute information is used to indicate the position display attribute information of the reported point object.
[0050] In this embodiment, in order to centrally manage the update of the location display attribute and the location display effect, the preset report manager is used to uniformly receive the report information, uniformly configure the location display attribute and the report effect attribute, and uniformly distribute the generated location display attribute information, so as to reduce the additional resource overhead caused by excessive scattered calls or triggering of the report information, and reduce the management and debugging difficulty of the report information. When the report effect attribute or the location display attribute needs to be modified, the configuration in the report manager only needs to be modified, which can be applied to all related report events and state instances, and the development efficiency is improved. In this embodiment, the preset report manager can receive the target report information sent by the sending terminal of each adding instruction, and determine at least one reported object, at least one report receiving object, and at least one report effect attribute information corresponding to each reported object in the target report information.
[0051] In step S302, the location display attribute information of each reported object is updated according to the at least one report effect attribute information corresponding to each reported object, and the target location display attribute information corresponding to each reported object is obtained.
[0052] In one embodiment, the above step S302 includes: obtaining, by the preset report manager, the at least one report effect attribute information corresponding to each reported object; and calculating the target location display attribute information corresponding to each reported object according to the at least one report effect attribute information corresponding to each reported object and the original attribute information corresponding to each report effect attribute information in the report manager. In this embodiment, when updating the location display attribute information, the report manager first obtains the at least one report effect attribute information corresponding to each reported object, and then calculates the location display attribute information corresponding to each report effect attribute information according to the original attribute information corresponding to each report effect attribute information in the report manager, to obtain the target location display attribute information corresponding to each reported object. For example, one report effect attribute information corresponding to one reported object includes a report effect attribute A and an attribute value A1 corresponding to the report effect attribute A. Assuming that the original attribute information corresponding to the report effect attribute A in the report manager is B1, the location display attribute corresponding to the report effect attribute A can be A1+B1, that is, the superposition value, or other calculation manners, which are not limited here.
[0053] In step S303, the location display effect of each reported object is updated for the terminal of each report receiving object according to the target location display attribute information corresponding to each reported object.
[0054] In an implementation, the step S303 comprises: distributing, by the preset report point manager, the target position display attribute information corresponding to each reported point object to the terminal of each report point receiving object, so as to update the position display effect of each reported point object by the terminal of each report point receiving object. In the implementation, after the report point manager generates the target position display attribute information corresponding to each reported point object, the report point manager distributes the target position display attribute information corresponding to each reported point object to the terminal of each report point receiving object, so as to update the position display effect of each reported point object by the terminal of each report point receiving object.
[0055] The method for updating the position display effect provided by the implementation can trigger a target report point event by an adding instruction of a gain effect or a loss effect in a target game, and determine a reported point object, a report point receiving object and report point effect attribute information. These information can be bound to the target report point event in advance in the report point manager, so as to improve the centralized management degree of the position display effect, and make it possible to flexibly configure different report point attributes when updating the position display effect. In addition, the updating of the position display effect triggered by the report point event can avoid the game performance decline caused by the constant monitoring of the game object, so as to improve the performance and flexibility of the updating of the position display effect.
[0056] Corresponding to the method implementation, refer to Figure 4 FIG. 1 shows a schematic diagram of an apparatus for updating a position display effect, which comprises: a determination module 40 configured to determine at least one reported point object, at least one report point receiving object and at least one report point effect attribute information corresponding to each reported point object in response to a target report point event trigger of a target game; an updating module 42 configured to update the position display attribute information of each reported point object according to the at least one report point effect attribute information corresponding to each reported point object, so as to obtain target position display attribute information corresponding to each reported point object; and a display module 44 configured to update the position display effect of each reported point object by the terminal of each report point receiving object according to the target position display attribute information corresponding to each reported point object.
[0057] The apparatus for updating the position display effect can determine the reported point object, the report point receiving object and the report point effect attribute information when the report point event is triggered, so as to flexibly configure different report point attributes based on different report point events, directly update the final position attribute, and avoid the game performance decline caused by the constant monitoring of the game object, so as to improve the performance and flexibility of the updating of the position display effect.
[0058] Optionally, the determining module 40 comprises: a responding unit, configured to, in response to an adding instruction of a target state instance in a target game, trigger a target point-in event corresponding to the target state instance, the target state instance being used to indicate a target gain effect or a target loss effect; and an obtaining unit, configured to obtain at least one pointed object, at least one point-receiving object, and at least one point effect attribute information corresponding to each pointed object through the target point-in event.
[0059] Optionally, the responding unit is specifically configured to, in response to the adding instruction of the target state instance in the target game, obtain an identifier corresponding to the target state instance, the identifier being pre-bound with a target point-in event; and trigger the target point-in event corresponding to the target state instance according to the target point-in event pre-bound with the identifier.
[0060] Optionally, the determining module 40 is further configured to, in response to an adding instruction of a target state instance for at least one pointed object in a target game, receive target point-in information sent by a sending terminal of the adding instruction through a preset point-in manager, the target point-in information comprising at least one pointed object, at least one point-receiving object, and at least one point effect attribute information corresponding to each pointed object.
[0061] Optionally, the determining module 40 is further configured to obtain at least one point effect attribute information corresponding to each pointed object through a preset point-in manager; and calculate target position display attribute information corresponding to each pointed object according to the at least one point effect attribute information corresponding to each pointed object and original attribute information corresponding to each point effect attribute information in the point-in manager.
[0062] Optionally, the display module 44 is further configured to distribute the target position display attribute information corresponding to each pointed object to a terminal of each point-receiving object through a preset point-in manager, so as to update a position display effect of each pointed object by the terminal of each point-receiving object.
[0063] Optionally, the apparatus further comprises a receiving module, configured to receive a receipt of the position display effect update of each pointed object by the terminal of each point-receiving object, and synchronize a position display effect update event of all point-receiving objects through the receipt.
[0064] Optionally, the apparatus further comprises a debugging module, configured to, in a debugging mode of the target game, obtain an adding result of the target state instance in response to an adding instruction of the target state instance; and a synchronizing module, configured to determine whether a position display effect of each pointed object is successfully updated through the adding result.
[0065] The embodiment also provides an electronic device including a processor and a memory, the memory storing machine executable instructions capable of being executed by the processor, and the processor executing the machine executable instructions to implement the above-mentioned position display effect updating method. The electronic device can be a server or a terminal device.
[0066] Referring to Figure 5 The electronic device includes a processor 100 and a memory 101 storing machine executable instructions capable of being executed by the processor 100, and the processor 100 executing the machine executable instructions to implement the above-mentioned position display effect updating method.
[0067] Further, Figure 5 The electronic device shown also includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103 and the memory 101 are connected through the bus 102.
[0068] The memory 101 can include a high-speed random access memory (RAM) and can also include a non-volatile memory such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, a wide area network, a local area network, a metropolitan area network, etc. can be used. The bus 102 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or only one type of bus.
[0069] The processor 100 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 100 or the instruction in the form of software. The processor 100 described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. Each method, step and logic block disclosed in the embodiment of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiment of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101, and combines the hardware to complete the steps of the method of the above embodiment, for example:
[0070] In response to the target point event trigger of the target game, at least one pointed object, at least one point receiving object, and at least one point effect attribute information corresponding to each pointed object are determined, the point effect attribute information is used to indicate the position display attribute information of the pointed object; according to the at least one point effect attribute information corresponding to each pointed object, the position display attribute information of each pointed object is updated to obtain the target position display attribute information corresponding to each pointed object; and the position display effect of each pointed object on the terminal of each point receiving object is updated through the target position display attribute information corresponding to each pointed object.
[0071] In the mode, when the point reporting event is triggered, the point reporting object, the point reporting receiving object and the point reporting effect attribute information are determined, different point reporting attributes can be flexibly configured based on different point reporting events, and the final position attribute can be directly updated, without the need to calculate the point reporting effect which is difficult to superimpose according to different point reporting reasons, and the updating of the position display effect triggered by the point reporting event can avoid the game performance decline caused by the monitoring of the game object at all times, thereby improving the performance and flexibility of the position display effect updating.
[0072] Optionally, in response to the target point reporting event trigger of the target game, determining the at least one point reporting object, the at least one point reporting receiving object and the at least one point reporting effect attribute information corresponding to each point reporting object comprises: in response to an addition instruction of a target state instance in the target game, triggering a target point reporting event corresponding to the target state instance, the target state instance being used to indicate a target gain effect or a target loss effect; and obtaining, through the target point reporting event, the at least one point reporting object, the at least one point reporting receiving object and the at least one point reporting effect attribute information corresponding to each point reporting object corresponding to the target state instance.
[0073] Optionally, in response to the addition instruction of the target state instance in the target game, triggering the target point reporting event corresponding to the target state instance comprises: in response to the addition instruction of the target state instance in the target game, obtaining an identifier corresponding to the target state instance, the identifier being pre-bound with the target point reporting event; and triggering the target point reporting event corresponding to the target state instance according to the target point reporting event pre-bound with the identifier.
[0074] Optionally, in response to the target point reporting event trigger of the target game, determining the at least one point reporting object, the at least one point reporting receiving object and the at least one point reporting effect attribute information corresponding to each point reporting object comprises: in response to an addition instruction of a target state instance in the target game, receiving target point reporting information sent by a sending terminal of the addition instruction through a preset point reporting manager, the target point reporting information comprising the at least one point reporting object, the at least one point reporting receiving object and the at least one point reporting effect attribute information corresponding to each point reporting object.
[0075] Optionally, updating, according to the at least one point reporting effect attribute information corresponding to each point reporting object, the position display attribute information of each point reporting object to obtain target position display attribute information corresponding to each point reporting object comprises: obtaining, through a preset point reporting manager, the at least one point reporting effect attribute information corresponding to each point reporting object; and calculating, according to the at least one point reporting effect attribute information corresponding to each point reporting object and original attribute information corresponding to each point reporting effect attribute information in the point reporting manager, the target position display attribute information corresponding to each point reporting object.
[0076] Optionally, the updating of the position display effect of each reported point object on the terminal of each report point receiving object by the target position display attribute information corresponding to each reported point object comprises: distributing the target position display attribute information corresponding to each reported point object to the terminal of each report point receiving object by a preset report point manager, so that the terminal of each report point receiving object updates the position display effect of each reported point object.
[0077] Optionally, after the updating of the position display effect of each reported point object on the terminal of each report point receiving object by the target position display attribute information corresponding to each reported point object, the method further comprises: receiving a receipt of the updating of the position display effect of each reported point object on the terminal of each report point receiving object, and synchronizing the position display effect updating event of all report point receiving objects by the receipt.
[0078] Optionally, the method further comprises: in the debugging mode of the target game, in response to an adding instruction of the target state instance, obtaining an adding result of the target state instance; and determining whether the position display effect of each reported point object is successfully updated by the adding result.
[0079] The embodiment also provides a computer readable storage medium, which stores computer executable instructions. When the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to implement the updating method of the position display effect, for example:
[0080] In response to a target report point event trigger of a target game, at least one reported point object, at least one report point receiving object, and at least one report point effect attribute information corresponding to each reported point object are determined, the report point effect attribute information is used to indicate position display attribute information of the reported point object; the position display attribute information of each reported point object is updated according to the at least one report point effect attribute information corresponding to each reported point object, to obtain target position display attribute information corresponding to each reported point object; and the position display effect of each reported point object on the terminal of each report point receiving object is updated by the target position display attribute information corresponding to each reported point object.
[0081] In this way, when the report point event is triggered, the reported point object, the report point receiving object and the report point effect attribute information are determined, different report point attributes can be flexibly configured based on different report point events, and the final position attribute can be directly updated, without the need to calculate difficult-to-overlay report point effects according to different report point reasons, and the updating of the position display effect triggered by the report point event can avoid the game performance decline caused by the constant monitoring of the game object, thereby improving the performance and flexibility of the position display effect updating.
[0082] Optionally, the determining the at least one pointee object, the at least one pointee receiver, and the at least one point effect attribute information corresponding to each pointee object in response to the target point event trigger of the target game comprises: triggering a target point event corresponding to a target state instance in response to an adding instruction of the target state instance in the target game, the target state instance being used to indicate a target gain effect or a target loss effect; and obtaining the at least one pointee object, the at least one pointee receiver, and the at least one point effect attribute information corresponding to each pointee object through the target point event.
[0083] Optionally, the triggering the target point event corresponding to the target state instance in response to the adding instruction of the target state instance in the target game comprises: obtaining an identifier corresponding to the target state instance in response to the adding instruction of the target state instance in the target game, the identifier being pre-bound to the target point event; and triggering the target point event corresponding to the target state instance according to the target point event pre-bound to the identifier.
[0084] Optionally, the determining the at least one pointee object, the at least one pointee receiver, and the at least one point effect attribute information corresponding to each pointee object in response to the target point event trigger of the target game comprises: receiving target point information sent by a sending terminal of the adding instruction through a preset point manager in response to an adding instruction of a target state instance of the at least one pointee object in the target game, the target point information comprising the at least one pointee object, the at least one pointee receiver, and the at least one point effect attribute information corresponding to each pointee object.
[0085] Optionally, the updating the position display attribute information of each pointee object according to the at least one point effect attribute information corresponding to each pointee object to obtain target position display attribute information corresponding to each pointee object comprises: obtaining the at least one point effect attribute information corresponding to each pointee object through a preset point manager; and calculating the target position display attribute information corresponding to each pointee object according to the at least one point effect attribute information corresponding to each pointee object and original attribute information corresponding to each point effect attribute information in the point manager.
[0086] Optionally, the updating the position display effect of each pointee object on the terminal of each pointee receiver through the target position display attribute information corresponding to each pointee object comprises: distributing the target position display attribute information corresponding to each pointee object to the terminal of each pointee receiver through a preset point manager, so that the terminal of each pointee receiver updates the position display effect of each pointee object.
[0087] Optionally, after the position display effect of each reported point object is updated for each point receiving terminal according to the target position display attribute information corresponding to each reported point object, the method further includes: receiving a receipt of the position display effect update of each reported point object by each point receiving terminal, and synchronizing the position display effect update event of all point receiving terminals through the receipt.
[0088] Optionally, the method further includes: in the debugging mode of the target game, in response to an addition instruction of the target state instance, obtaining an addition result of the target state instance; and determining whether the position display effect of each reported point object is successfully updated according to the addition result.
[0089] The position display effect updating method and device, the electronic device, and the computer program product of the storage medium provided in the embodiments of the present application include a computer readable storage medium storing program codes, the program codes include instructions for executing the method described in the foregoing method embodiments, and the specific implementation can be referred to the method embodiments, which will not be described here.
[0090] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0091] In addition, in the description of the embodiments of the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connection", and "connecting" should be understood in a broad sense, for example, can be fixed connection, can also be detachable connection, or integral connection; can be mechanical connection, can also be electrical connection; can be direct connection, can also be indirect connection through an intermediate medium, and can be internal communication of two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0092] The functions, if realized in the form of software function units and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or the part of the technical solutions that essentially contribute to the prior art or the part of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various storage medium that can store program codes.
[0093] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second", "third" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.
[0094] Finally, it should be noted that the above embodiments are only specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, and are not limiting. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily think of changes to the technical solutions recorded in the foregoing embodiments within the technical range disclosed by the present application, or make equivalent replacements to some technical features. The modification, change or replacement does not make the corresponding technical solution deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method of updating a position display effect, characterized by, The method comprises: in response to a target point event trigger of a target game, determining at least one pointed object, at least one point receiving object, and at least one point effect attribute information corresponding to each of the pointed objects, the point effect attribute information being used to indicate position display attribute information of the pointed object, and the point being an update of the position display effect; updating the position display attribute information of each of the pointed objects according to the at least one point effect attribute information corresponding to each of the pointed objects, to obtain target position display attribute information corresponding to each of the pointed objects; updating the position display effect of each of the pointed objects on the terminal of each of the point receiving objects through the target position display attribute information corresponding to each of the pointed objects.
2. The method of claim 1, wherein, The method comprises: in response to an addition instruction of a target state instance in a target game, triggering a target point event corresponding to the target state instance, the target state instance being used to indicate a target gain effect or a target loss effect; obtaining at least one pointed object, at least one point receiving object, and at least one point effect attribute information corresponding to each of the pointed objects through the target point event.
3. The method of claim 2, wherein, The method comprises: in response to an addition instruction of a target state instance in a target game, obtaining an identifier corresponding to the target state instance, the identifier being pre-bound with a target point event; triggering a target point event corresponding to the target state instance according to the target point event pre-bound with the identifier.
4. The method of claim 1, wherein, The method comprises: in response to an addition instruction of a target state instance in a target game, obtaining an identifier corresponding to the target state instance, the identifier being pre-bound with a target point event; 5. The method of claim 1, wherein, triggering a target point event corresponding to the target state instance according to the target point event pre-bound with the identifier. The method comprises: in response to an addition instruction of a target state instance in a target game, obtaining an identifier corresponding to the target state instance, the identifier being pre-bound with a target point event; triggering a target point event corresponding to the target state instance according to the target point event pre-bound with the identifier. The method comprises: in response to an addition instruction of a target state instance in a target game, obtaining an identifier corresponding to the target state instance, the identifier being pre-bound with a target point event; triggering a target point event corresponding to the target state instance according to the target point event pre-bound with the identifier. The method comprises: in response to an addition instruction of a target state instance in a target game, obtaining an identifier corresponding to the target state instance, the identifier being pre-bound with a target point event; triggering a target point event corresponding to the target state instance according to the target point event pre-bound with the identifier. The method comprises: in response to an addition instruction of a target state instance in a target game, obtaining an identifier corresponding to the target state instance, the identifier being pre-bound with a target point event; triggering a target point event corresponding to the target state instance according to the target point event pre-bound with the identifier.
6. The method of claim 1, wherein, The position display effect updating of each of the reported point objects on the terminal of each of the report point receiving objects comprises: The target position display attribute information corresponding to each of the reported point objects is distributed to the terminal of each of the report point receiving objects by a preset report point manager, so that the position display effect of each of the reported point objects is updated on the terminal of each of the report point receiving objects.
7. The method of claim 1, wherein, After the position display effect updating of each of the reported point objects on the terminal of each of the report point receiving objects, the method further comprises: The receipt of the position display effect updating of each of the reported point objects on the terminal of each of the report point receiving objects is received, and the position display effect updating event of all the report point receiving objects is synchronized through the receipt.
8. The method according to any one of claims 1-7, characterized in that, The method further comprises: In the debugging mode of the target game, the adding result of the target state instance is obtained in response to an adding instruction of the target state instance; Whether the position display effect of each of the reported point objects is successfully updated is determined through the adding result.
9. A device for updating the position display effect, characterized in that, The device comprises: A determination module is configured to determine at least one reported point object, at least one report point receiving object, and at least one report point effect attribute information corresponding to each of the reported point objects in response to a target report point event trigger of a target game, the report point being an update of a position display effect; An updating module is configured to update the position display attribute information of each of the reported point objects according to the at least one report point effect attribute information corresponding to each of the reported point objects, to obtain target position display attribute information corresponding to each of the reported point objects; A display module is configured to update the position display effect of each of the reported point objects on the terminal of each of the report point receiving objects through the target position display attribute information corresponding to each of the reported point objects.
10. An electronic device, comprising: The processor executes the machine executable instructions to implement the position display effect updating method of any one of claims 1-8.
11. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer executable instructions, and the computer executable instructions, when called and executed by the processor, cause the processor to implement the position display effect updating method of any one of claims 1-8.
Citation Information
Patent Citations
Mark point location display method, device, terminal and computer readable storage medium
CN108465240A
Method and electronic device for controlling virtual object
CN115120974A