Game object display control method, device and electronic device
By starting the physical engine on the game terminal device and combining multi-terminal status information, weighted processing and interpolation technology are used to solve the problem of unreal collision effect of virtual objects, improving the gaming experience and server load while realizing the virtual objects. Real collision performance.
Patent Information
- Application Number
- CN202110931894.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-13
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-08-13
AI Technical Summary
The prior art cannot effectively simulate the collision effect between virtual objects controlled by multiple terminal devices in games, resulting in visual performance not conforming to physical principles and affecting the gaming experience.
By starting the physical engine on the first terminal device, generating status information after a specified event, and combining the status information provided by the second terminal device, weighting processing and interpolation technology are used to determine the display status of the target object to be determined in the graphical user interface Achieve visual effects that conform to physical principles.
It improves the visual effect experience of objects in the game, makes the collision performance between virtual objects more realistic and unified, reduces server load, and avoids visual effect delay.
Smart Images

Figure CN113633989B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game technology, and in particular to a display control method, device and electronic equipment for a game object. Background Art
[0002] In survival games or other types of games, players control target objects to move or perform other operations in the game scene. The target objects controlled by the players can be virtual characters, virtual vehicles, etc. When multiple players control their respective target objects to move in the same game scene, there may be conflicts and collisions between the target objects. In order to show the visual effects of conflicts and collisions between target objects, one method in the related technology is to start a physics engine on the terminal device, use the physics engine to perform physical simulation of the motion posture of the target object controlled by the terminal device, and render it on the terminal device. However, for the target objects controlled by other terminal devices displayed in the interface, the target object is regarded as an object of infinite mass, and no relevant visual effects are generated after the conflict and collision. The movement of the target object is controlled only based on the snapshot information of the target object sent by other terminal devices. The visual performance of this method is inconsistent with the principles of physics, and the game experience lacks realism. In another method, the physics engine is started on the server, and the terminal device sends relevant information to the server. The server then performs physical simulation of the motion posture of each target object that collides with the object (such as the aforementioned virtual characters, virtual vehicles, etc.). However, this method places greater computing pressure on the server, and also causes delays in the visual effects of the terminal device, affecting the overall gaming experience. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a display control method, device and electronic device for a game object, so that the target object has a visual performance that conforms to objective physical principles and improves the visual effect experience of the object in the game.
[0004] In a first aspect, an embodiment of the present invention provides a display control method for a game object, providing a graphical user interface through a first terminal device, the graphical user interface including at least part of a game scene, at least part of the game scene including a target object, and the target object is controlled by a second terminal device other than the first terminal device; the method includes: in response to a specified event being triggered, generating, through a physics engine on the first terminal device, first state information of the target object after the specified event is triggered; obtaining second state information of the target object displayed in the second terminal device; determining a display state of the target object based on the first state information and the second state information, and displaying the target object in the graphical user interface based on the display state.
[0005] Before the above-mentioned step of generating, through the physical engine on the first terminal device, the first state information of the target object after the specified event is triggered in response to the specified event being triggered, the method also includes: obtaining third state information of the target object displayed in the second terminal device; wherein the third state information includes: state information when the specified event is not triggered; based on the third state information, displaying the target object in the graphical user interface.
[0006] The above-mentioned step of determining the display state of the target object based on the first state information and the second state information includes: dividing the future specified time period after the specified event is triggered into multiple sub-time periods; wherein each sub-time period is set with a weight parameter; for each sub-time period, based on the weight parameter corresponding to the sub-time period, weighted summing processing is performed on the first state information and the second state information in the sub-time period to obtain the display state of the target object.
[0007] The above-mentioned weight parameter includes a weight value of the second state information; the further the sub-time period is from the time point when the designated event is triggered, the greater the weight value of the corresponding second state information.
[0008] The above-mentioned first state information includes: first state sub-information corresponding to each time point in a future specified time period after the specified event is triggered; the second state information includes: second state sub-information corresponding to some time points in the future specified time period after the specified event is triggered; the above-mentioned step of determining the display state of the target object based on the first state information and the second state information includes: interpolating the second state sub-information corresponding to some time points in the second state information to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; for each time point in the future specified time period, weighting the first state sub-information and the second state sub-information corresponding to the time point to obtain the display state of the target object at the time point.
[0009] The above-mentioned step of interpolating the second state sub-information corresponding to some time points in the second state information to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered includes: determining the moving speed of the target object; if the moving speed is lower than a preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generating the second state sub-information corresponding to each time point between the some time points; if the moving speed is higher than or equal to the preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generating the second state sub-information corresponding to each time point after the some time points.
[0010] The above-mentioned step of interpolating the second state sub-information corresponding to some time points in the second state information to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered includes: determining the display delay of the target object; the display delay includes: the time difference when the target object displays the same state on the first terminal device and the second terminal device; if the display delay is greater than a preset delay threshold, based on the second state sub-information corresponding to some time points in the second state information, generating the second state sub-information corresponding to each time point between the some time points; if the display delay is less than or equal to the preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generating the second state sub-information corresponding to each time point after the some time points.
[0011] The above method also includes: in response to a designated event being triggered, reducing the display delay of the target object.
[0012] The above-mentioned specified events include: a target object collides, or it is detected that a target object is about to collide.
[0013] In a second aspect, an embodiment of the present invention provides a display control device for a game object, which provides a graphical user interface through a first terminal device, wherein the graphical user interface includes at least part of a game scene, and at least part of the game scene includes a target object, and the target object is controlled by a second terminal device other than the first terminal device; the device includes: an information generation module, which is used to generate first state information of the target object after the specified event is triggered through a physics engine on the first terminal device in response to a specified event being triggered; an information acquisition module, which is used to acquire second state information of the target object displayed in the second terminal device; and a display control module, which is used to determine the display state of the target object based on the first state information and the second state information, and display the target object in the graphical user interface based on the display state.
[0014] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the display control method of the above-mentioned game object.
[0015] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the display control method of the above-mentioned game object.
[0016] The embodiments of the present invention bring the following beneficial effects:
[0017] In the above-mentioned method, device and electronic device for controlling the display of game objects, the target object in the game scene is controlled by a second terminal device other than the first terminal device; in response to a designated event being triggered, the first state information of the target object after the designated event is triggered is generated through the physics engine on the first terminal device; the second state information displayed by the target object in the second terminal device is obtained; based on the first state information and the second state information, the display state of the target object is determined, and the target object is displayed in the graphical user interface based on the display state. In this method, when the designated event is triggered, the visual effect of the target object is simulated by the physics engine on the first terminal device, and the first state information is generated; when determining the display state of the target object, the first state information and the second state information of the target object in the second device are simultaneously referred to, so that the target object has a performance that conforms to the objective physical principle after the designated event is triggered, and the control method of the target object is relatively unified. This control method of the target object is easy to implement, and improves the visual effect experience of the object in the game.
[0018] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0019] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 A flowchart of a display control method for a game object provided by an embodiment of the present invention;
[0022] Figure 2 A schematic diagram of weighted processing of first state information and second state information provided by an embodiment of the present invention;
[0023] Figure 3 A schematic diagram of synchronizing the state information of a target object in a second terminal device to a first terminal device provided by an embodiment of the present invention;
[0024] Figure 4A schematic diagram of the structure of a display control device for a game object provided by an embodiment of the present invention;
[0025] Figure 5 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0027] First, the nouns involved in this application are introduced:
[0028] The main control terminal is the client controlled by the player. The player controls the virtual object through the main control terminal to perform related operations. The virtual object is displayed in the graphical user interface of the main control terminal, and may also be displayed in the graphical user interfaces of other clients. Relative to the virtual object, other clients are sub-control terminals. The server forwards the snapshot information or synchronization information of the virtual object in the main control terminal to the sub-control terminal, and the sub-control terminal controls the virtual object based on this information. The main control terminal is usually the authority of the game, and chooses to believe the relevant information sent by the main control terminal, but the server will do some cheating checks.
[0029] The secondary control terminal is a client other than the primary control terminal. It creates a copy of the virtual object controlled by the primary control terminal on the secondary control terminal and restores the state of the virtual object controlled by the primary control terminal as much as possible by receiving snapshot information or synchronization information sent by the primary control terminal. It should be noted that a client can be the primary control terminal of a virtual object and the secondary control terminal of other virtual objects at the same time.
[0030] Snapshot information, a collection of information about virtual objects collected by the master end, which usually includes position, orientation, speed, acceleration, angular velocity, timestamp, and player input information in the game.
[0031] Interpolation: The secondary control end interpolates the position and other information of the virtual object in the primary control end at a certain moment in the past based on a set of snapshot information received. With this interpolation method, the state of the virtual object in the secondary control end is usually similar to the state of the virtual object in the primary control end at a certain moment in the past, but there will be a delay.
[0032] Extrapolation: The secondary control end predicts the position information of the virtual object in the master control end at the current or future time based on the last one or more snapshot information received. The position information predicted by extrapolation may be wrong, but if the master control end controls the virtual object to maintain a constant acceleration after sending the last snapshot information, the result predicted by the secondary control end is likely to be relatively accurate.
[0033] TimeOffset: The delay time of the virtual object rendered on the secondary control end relative to the virtual object on the primary control end.
[0034] The states of virtual objects on the main control end and the secondary control end need to be relatively synchronized. In one method, when a virtual object needs to display relatively complex visual effects such as conflict and collision, the physics engine is usually started only on the main control end, and the visual effects of the virtual object are generated and displayed through the physics engine. However, on the secondary control end, the virtual object is set to an infinitely large object, and no visual effects after collision or conflict are generated, such as flying or rolling. The main control end synchronizes the snapshot information of the virtual object to the secondary control end, and the secondary control end controls the position and rotation of the virtual object based on the snapshot information. The visual effects generated by this method do not conform to the objective physical principles, which affects the realism and experience of the game itself.
[0035] In another way, the server starts the physics engine, which generates the visual effects of all virtual objects that collide, and transmits them to each client for display. However, since the server carries the display of virtual monsters, virtual characters, virtual vehicles, and all other units in the game scene, and also needs to carry various gameplays, such as collection and construction, the server has a large amount of tasks to carry. Starting the physics engine on the server to simulate various visual effects will increase the performance load of the server. In addition, after the visual effects of virtual objects are generated on the server and then transmitted to the client for display, there will be a certain display delay.
[0036] Based on the above, the inventors found in the research process that in order not to cause additional performance load to the server and make the visual effect more in line with objective physical principles, a relatively reasonable way is still to start the physics engine on the client. For a certain client, the physics engine started on the client generates the visual effect of the virtual object controlled by the client, and also generates the visual effect of the virtual object controlled by other clients, so as to ensure that when conflicts and collisions occur between virtual objects, the performance of all virtual objects conforms to objective physical principles. However, the problem that this method is prone to cause is that for a certain virtual object, it is not only controlled by the relevant information generated by the physics engine on the secondary control end, but also controlled by the snapshot information from the main control end. This split control method is easy to cause confusion in the control of virtual objects, and it is difficult to implement and maintain. Based on this, this embodiment provides a display control method, device and electronic device for game objects. The technology can be applied to the control of virtual objects in survival games or other types of games, and can be especially applied to the control of virtual objects with relatively fast moving speeds such as virtual vehicles.
[0037] The display control method of the game object in one embodiment of the present disclosure can be run on a terminal device, which can be a local terminal device. Taking the game as an example, the local terminal device stores the game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by the conventional electronic device. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0038] In a possible implementation, an embodiment of the present invention provides a display control method for a game object, providing a graphical user interface through a terminal device, wherein the terminal device may be the local terminal device mentioned above. A graphical user interface is provided through a first terminal device, the graphical user interface including at least part of a game scene, at least part of the game scene including a target object, the target object being controlled by a second terminal device other than the first terminal device; for example, a virtual object controlled by the first terminal device is displayed in the graphical user interface, and the aforementioned target object is closer to the virtual object in the game scene, and therefore is also displayed in the graphical user interface provided by the first terminal device. For the target object, the first terminal device can be understood as a secondary control terminal, and the second terminal device can be understood as a main control terminal.
[0039] See also Figure 1A display control method for a game object is shown, the method comprising the following steps:
[0040] Step S102, in response to the designated event being triggered, generating, through a physical engine on the first terminal device, first state information of the target object after the designated event is triggered;
[0041] The designated event can be pre-set, and the designated event is detected in real time during the game running process. Under normal conditions, the target object is only controlled by the status information sent from the master control end, and the designated event can be understood as a trigger condition that requires the target object to be controlled by the physics engine on the first terminal device. For example, when the target object needs to show relatively complex movements or postures, the physics engine needs to generate relevant information for control.
[0042] In a specific implementation, the above-mentioned specified events include: a target object collides, or it is detected that the target object is about to collide. After a collision between objects, the target object usually has relatively complex states such as flying, rolling, and breaking. In order to simulate the real collision effect, a physical engine needs to be used. To detect whether the target object has collided, a collision detection box of a specified shape can be set with the target object as the center, such as a spherical collision detection box, and the collision detection box is queried at a preset frequency to see whether it is in contact with the collision detection box corresponding to other objects, so as to determine whether the target object has collided. To detect that the target object is about to collide, it can be determined whether the target object is likely to collide with the virtual object based on the speed and direction of the target object, and the direct distance between the target object and other virtual objects. For example, when the distance between the target object and other virtual objects is less than or equal to the preset safety distance, it is determined that the target object is about to collide.
[0043] Before the designated event is triggered, the target object is controlled by the state information sent by the second terminal device, but after the designated event is triggered, the physics engine on the first terminal device begins to generate the state information of the target object, that is, the above-mentioned first state information. In a specific implementation method, before the designated event is triggered, the state of the target object in the physics engine is set to a kinematic state, in which the target object is an object with infinite mass, and even if the target object collides, it does not produce a collision effect in a natural state; after the designated event is triggered, the state of the target object in the physics engine is set to a non-kinematic state, in which the target object collides, and the physics engine is required to simulate the collision effect in a natural state to generate the above-mentioned first state information of the target object, thereby controlling the display effect of the target object in the game scene. When it is detected that the target object will not collide, the target object can be set to a kinematic state again. In specific implementation, the PhysX engine in the physics engine can be used to implement it, and the actor parameters in the PhysX engine are set to a kinematic state.
[0044] The first state information of the target object may include information such as the position of the target object in the game scene, the orientation of the target object, and the posture of the target object. In terms of the time dimension, the first state information may include state information at various time points in a future period of time, that is, the first state information is continuous information in terms of the time dimension, or may only include state information at a plurality of discrete time points with a certain time interval in a future period of time.
[0045] Step S104, obtaining second status information displayed by the target object in the second terminal device;
[0046] It should be noted that the state information displayed by the target object in the second terminal device has been obtained before the aforementioned specified event is triggered; generally, as long as the target object exists in the game scene, the process of obtaining the state information displayed by the target object in the second terminal device will not be interrupted, and will not be affected by whether the specified event is triggered. The second state information here can be understood as the state information displayed by the target object in the second terminal device after the specified event is triggered.
[0047] In order to distinguish, before the designated event is triggered, the state information displayed by the target object in the second terminal device can be used as the third state information; specifically, the third state information displayed by the target object in the second terminal device is obtained; wherein the third state information includes: the state information when the designated event is not triggered; based on the third state information, the target object is displayed in the graphical user interface. Before the designated event is triggered, the physical engine on the first terminal device does not simulate the target object and generate relevant information, and only the third state information displayed by the target object in the second terminal device controls the display state of the target object on the first terminal device.
[0048] The second state information of the target object may include information such as the position of the target object in the game scene, the orientation of the target object, and the posture. The specific content of the second state information usually matches the aforementioned first state information. In terms of the time dimension, the second state information may include state information at various time points in a future period of time, that is, the second state information is continuous information in terms of the time dimension, or it may only include state information at multiple discrete time points with a certain time interval in the future period of time.
[0049] In a specific implementation, the second status information is obtained at specified time intervals, or the second terminal device sends the second status information at specified time intervals; after the first terminal device receives the second status information, it obtains continuous status information in the time dimension by interpolation.
[0050] Step S106: determining a display state of the target object based on the first state information and the second state information, and displaying the target object in the graphical user interface based on the display state.
[0051] In the related art, only the state information displayed by the target object in the second terminal device controls the display state of the target object on the first terminal device; in this embodiment, when the specified event is triggered, the first state information is also obtained through the physical engine on the first terminal device while obtaining the second state information; the display state of the target object can be obtained by comprehensively processing the first state information and the second state information. Specifically, specific weights can be assigned to the first state information and the second state information respectively, and then the first state information and the second state information are mixed to obtain the display state of the target object.
[0052] After the designated event is triggered, the target object needs a period of time to display relatively complex visual effects, such as collision effects. During the period of displaying relatively complex visual effects, the physical engine on the first terminal device simulates and generates and displays the visual effects; and after the visual effects are displayed, in order to reduce the computing pressure of the first terminal device, the target object continues to be controlled only by the state information displayed by the target object in the second terminal device. At the same time, in order to avoid obvious control errors or sudden changes in the state of the target object after the visual effect is displayed, the weight of the second state information can be gradually increased during the period of displaying relatively complex visual effects, so that after the visual effect is displayed, a relatively smooth transition can be made to control the target object only by the second state information.
[0053] In the above-mentioned display control method for game objects, the target object in the game scene is controlled by a second terminal device other than the first terminal device; in response to the designated event being triggered, the first state information of the target object after the designated event is triggered is generated through the physics engine on the first terminal device; the second state information displayed by the target object in the second terminal device is obtained; based on the first state information and the second state information, the display state of the target object is determined, and the target object is displayed in the graphical user interface based on the display state. In this method, when the designated event is triggered, the visual effect of the target object is simulated by the physics engine on the first terminal device, and then the first state information is generated; when determining the display state of the target object, the first state information and the second state information of the target object in the second device are simultaneously referred to, so that the target object has a performance that conforms to the objective physical principle after the designated event is triggered, and the control method of the target object is relatively unified. This control method of the target object is easy to implement and improves the visual effect experience of the object in the game.
[0054] The following describes a specific implementation method for determining the display state of the target object based on the first state information and the second state information.
[0055] The future specified time period after the specified event is triggered is divided into multiple sub-time periods; wherein each sub-time period is set with a weight parameter; for each sub-time period, based on the weight parameter corresponding to the sub-time period, the first state information and the second state information in the sub-time period are weighted and summed to obtain the display state of the target object. The start time of the above-mentioned future specified time period can be determined based on the time when the specified event is triggered, and the duration of the future specified time period can be determined based on the type of the specified event; for example, when the specified event is a collision or an imminent collision of the target object, the duration of the future specified time period can be determined based on the display duration of the collision effect of the target object.
[0056] Multiple sub-time periods are arranged in chronological order, and the weight parameters set for different sub-time periods can be the same or different. Each sub-time period includes multiple time points, and the weight parameters corresponding to the time points in the same sub-time period are the same. For each time point, the first state information and the second state information corresponding to the time point are obtained, and then based on the weight parameter corresponding to the current sub-time period, the first state information and the second state information are weighted and summed to obtain the display state of the template object at the time point.
[0057] When the aforementioned specified time period is over, the target object will be controlled solely by the state information provided by the second terminal device again. In order to achieve a smooth transition, within the specified time period, the weight parameter of each sub-time period includes the weight value of the second state information; the further the sub-time period is from the time point when the specified event is triggered, the greater the weight value of the corresponding second state information. In specific implementation, the weight value of the second state information corresponding to the first sub-time period within the specified time period can be set to 0. At this time, the target object is only controlled by the first state information generated by the physical engine of the first terminal device; in subsequent sub-time periods, the weight value of the second state information is set to gradually increase, for example, 0.2, 0.4, 0.6, etc., respectively. In the last sub-time period, the weight value of the second state information is set to 0.9 or 1, so that the display state of the target object is completely or mainly controlled by the second state information. After the last time period is over, the display state of the target object is completely controlled by the state information provided by the second terminal device, thereby achieving a smooth transition of the display state of the target object and avoiding the unnatural display effect of sudden changes in the display state.
[0058] In another implementation, the weight parameters of each time point in the sub-time period may also be different. For example, the farther the time point is from the time point when the specified event is triggered, the greater the weight value of the corresponding second state information. In specific implementation, some sub-time periods may use fixed weight parameters, that is, the weight parameters of each time point in the same sub-time period are the same, and some sub-time periods may use variable weight parameters, that is, the weight parameters of each time point in the same sub-time period are also different.
[0059] For ease of understanding, Figure 2 An example of weighted processing of the first state information and the second state information is shown. When the specified event is a collision of the target object, the collision occurs at time point t0, and in the sub-time period from t0 to t1, only the first state information generated by the physical engine of the first terminal device controls the display state of the target object, that is, Figure 2In the sub-time period from t1 to t2, the weight of the second state information gradually increases; in the sub-time period from t2 to t3, the weight of the second state information is constant; in the sub-time period from t3 to t4, the weight of the second state information gradually increases until the weight reaches 1, that is, Figure 2 The "100% dead reckoning" status.
[0060] As an example only, the following Table 1 shows that when the target object is a two-wheeled vehicle, Figure 2 The weight of the second state information corresponding to the time points from t0 to t4 is also called the dead reckoning weight; wherein, in the sub-time period from t0 to t1, the weight of the second state information is 0, in the sub-time period from t1 to t2, the weight of the second state information gradually increases to 0.2, in the sub-time period from t2 to t3, the weight of the second state information is constant at 0.2, and in the sub-time period from t3 to t4, the weight of the second state information gradually increases to 1.
[0061] Table 1 Physical mixing parameters of two-wheeled vehicles
[0062]
[0063] In another example, the following Table 2 shows that when the target object is a four-wheel vehicle, Figure 2 The weight of the second state information corresponding to the time point from t0 to t4 is also called the dead reckoning weight; wherein, in the sub-time period from t0 to t1, the weight of the second state information is 0, in the sub-time period from t1 to t2, the weight of the second state information gradually increases to 0.2, in the sub-time period from t2 to t3, the weight of the second state information is constant at 0.2, and in the sub-time period from t3 to t4, the weight of the second state information gradually increases to 1. Unlike the two-wheeled vehicle, the sub-time period from t3 to t4 of the four-wheeled vehicle is 0.8 seconds, while the sub-time period from t3 to t4 of the two-wheeled vehicle is 0.4 seconds.
[0064] Table 2 Physical mixing parameters of four-wheel vehicle
[0065]
[0066] It can be seen from the above embodiments that the first state information includes: the first state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; the second state information includes: the second state sub-information corresponding to some time points in the future specified time period after the specified event is triggered; since the first state information is generated by the physical engine on the first terminal device, the above first state information can be relatively continuous information in the time dimension, that is, the first state information includes the first state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; considering that the second state information needs to be sent by the second terminal device to the first terminal device, in order to reduce the amount of transmitted data, the second state information only includes the second state sub-information corresponding to some time points in the future specified time period; based on this, it is necessary to first process the second state information to obtain the second state sub-information corresponding to other time points, and then based on the first state sub-information and the second state sub-information corresponding to each time point, obtain the display state of the target object at that time point.
[0067] In actual implementation, the second state sub-information corresponding to some time points in the second state information is interpolated to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; specifically, the second state sub-information of the time points before and after the part of the time point can be calculated by a variety of interpolation algorithms based on the second state sub-information corresponding to some time points; then, for each time point in the future specified time period, the first state sub-information and the second state sub-information corresponding to the time point are weighted to obtain the display state of the target object at the time point. For example, if the weight parameter of the second state sub-information corresponding to a certain time point is k, then the display state of the target object at the time point = first state sub-information*(1-k)+second state sub-information*k.
[0068] There are usually two ways to interpolate and calculate the second state sub-information of other time points of the unknown second state sub-information based on some time points of the known second state sub-information. One is to interpolate and calculate the second state sub-information of the time points between some time points based on the second state sub-information corresponding to some time points. This method can also be called interpolation. The second state sub-information obtained by interpolation calculation in this way is more accurate, but has a certain delay, which is suitable for the scene where the display delay between the first terminal device and the second terminal device is long; the other method is to interpolate and calculate the second state sub-information of the time points after some time points based on the second state sub-information corresponding to some time points. This method can also be called extrapolation. The second state sub-information obtained by interpolation calculation in this way has a certain error, but less delay, which is suitable for the scene where the display delay between the first terminal device and the second terminal device is short.
[0069] Based on the above, in this embodiment, it is necessary to determine the interpolation method first, and then perform interpolation calculation to obtain the second state sub-information corresponding to each time point. Specifically, determine the moving speed of the target object; if the moving speed is lower than the preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generate the second state sub-information corresponding to each time point between some time points; that is, in the case where the moving speed of the target object is slow, the second state sub-information corresponding to each time point is calculated by interpolation, so as to ensure that the obtained state information has a high accuracy, so that the running state of the target object on the first terminal device and the second terminal device is consistent; if the moving speed is higher than or equal to the preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generate the second state sub-information corresponding to each time point after some time points; that is, in the case where the moving speed of the target object is fast, the second state sub-information corresponding to each time point is calculated by extrapolation, so as to shorten the delay of the target object on the first terminal device as much as possible, but the error of the state information is large, which may generate some wrong position or collision information.
[0070] In addition to determining the interpolation method based on the moving speed of the target object, it may also be necessary to determine the interpolation method with reference to the display delay of the target object. Specifically, determine the display delay of the target object; the display delay includes: the time difference when the target object displays the same state on the first terminal device and the second terminal device; for example, when the target object is displayed on the first terminal device, it is located at position A in the game scene at 10:00 and is facing B. When the target object is displayed on the second terminal device, it is located at position A in the game scene at 10:01 and is facing B. Then the display delay of the target object is 1 second.
[0071] If the display delay is greater than the preset delay threshold, based on the second state sub-information corresponding to some time points in the second state information, the second state sub-information corresponding to each time point between the partial time points is generated; that is, when the display delay is long, the second state sub-information corresponding to each time point is calculated by interpolation, so as to ensure that the obtained state information has high accuracy and make the running state of the target object on the first terminal device and the second terminal device consistent; if the display delay is less than or equal to the preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, the second state sub-information corresponding to each time point after the partial time point is generated; that is, when the display delay is short, the second state sub-information corresponding to each time point is calculated by extrapolation to shorten the delay of the target object on the first terminal device as much as possible, but the error of the state information is large, which may generate some erroneous position or collision information.
[0072] In other implementations, the interpolation method can be determined by referring to both the moving speed and the display delay of the target object. For example, a calculation formula can be set, the moving speed and the display delay can be input into the formula to obtain a calculation result, and the interpolation method can be determined based on the calculation result, thereby more reasonably determining the interpolation method of the status information.
[0073] When the designated event is that the target object collides or is about to collide, in order to ensure that the collision effect simulated by the physical engine is as accurate as possible, in response to the designated event being triggered, the display delay of the target object is reduced. Before the designated event is triggered, the display delay is usually set to a larger value, such as 100 milliseconds, 200 milliseconds, etc.; after the designated event is triggered, in order to ensure that the collision result of the target object is as accurate as possible, the display delay is usually reduced so that the difference between the display positions of the target object in the first terminal device and the second terminal device is as small as possible; in a specific way, the display delay can be reduced to 0 so that the display positions of the target object in the first terminal device and the second terminal device are consistent, thereby making the collision result more accurate.
[0074] The state information such as the first state information, the second state information, the first state sub-information and the second state sub-information mentioned in the above embodiments may specifically include multiple types of state information. Taking the position information as an example, when the position information is interpolated, an interpolation algorithm such as bilinear interpolation and bicubic interpolation may be used; when the position information is extrapolated, a dead reckoning algorithm may be used. The following is a formula for extrapolation using the dead reckoning algorithm:
[0075]
[0076]
[0077]
[0078]
[0079] Among them, V b is the result calculated by formula (1), which can be understood as a predicted speed mixed with the current speed of the target object and the speed value in the snapshot information sent by the second terminal device last received; V0, P0 represent the current speed and position respectively, P'0, V'0, A'0 represent the position, speed, acceleration in the snapshot information received last time respectively; T t It indicates the length of time since the last snapshot information was received. Indicates the normalized time, introducing a fixed time interval T for the second terminal device to send snapshot information Δ , T ΔIt can also be understood as the time interval between two consecutive snapshots sent by the second terminal device. When network delay occurs, exceeding T Δ hour, Truncated to 1.0; P t is a position 1 calculated using the inferred velocity Vb; P t ' is another position inferred by using the last snapshot information; Qt is the result of fusing the positions Pt and Pt', that is, the position information calculated by extrapolation.
[0080] It should be noted that if P is used t As the position information obtained after interpolation, there will be a problem of sudden change in the direction of the target object. Through fusion, the position and speed of the target object on the first terminal device can be well deflected in the direction indicated by the last snapshot information.
[0081] The aforementioned state information may also include azimuth information. When interpolating the azimuth information, the azimuths in the two snapshot information may be used to calculate the azimuth information by spherical linear interpolation. When extrapolating, the azimuth information may be calculated by the following formula:
[0082] R′ Δt =quat(R′ mag T t ,R′ dir ) (5)
[0083] R t =R′ Δt R0 (6)
[0084] R t ′=R′ Δt R′0 (7)
[0085]
[0086] Among them, R′ Δt is the result of equation (5), which means that T is calculated using the angular velocity in the last snapshot information. t The angle of rotation over time; quat represents quaternion; R′ mag Represents the modulus of the angular velocity quaternion in the last snapshot information, R′ dir The axis representing the angular velocity, R0 is the current orientation quaternion, R t Indicates the prediction of T from the current position t Position after time; R' t Indicates the azimuth angle in the last received snapshot information plus T tThe angle turned during the time, that is, the azimuth angle predicted according to the azimuth angle in the last received snapshot information. t is the azimuth quaternion of the last predicted azimuth information, slerp represents the spherical linear interpolation algorithm, and R′0 represents the azimuth in the last snapshot information.
[0087] For other time parameters, please refer to the description of the above embodiment and will not be repeated here. When , using the above formula, When , it degenerates into formula (9), and the azimuth angle R is directly calculated from the last snapshot information t .
[0088] R t =R′ Δt R′0 (9)
[0089] When the specified event is not triggered, you can refer to Figure 3 The state information of the target object in the second terminal device is synchronized to the first terminal device; for the target object, the second terminal device can also be called the master terminal, and the first terminal device is called the slave terminal. The master terminal mainly synchronizes the state information such as position information and orientation information to the slave terminal. First, the master terminal receives the input command of the player, and the target object on the master terminal is simulated to move by the physical engine on the master terminal; the master terminal synchronizes the snapshot information regularly or when the input command changes; after the server receives the snapshot information, it will do relevant checks, for example, it will do a reasonableness check of the position, such as whether there is a wall penetration; if the check passes, it will be synchronized to the client within the AOI range; after the slave terminal receives the snapshot information, it will cache it locally; in the tick, according to the TimeOffset and the current time, the relevant snapshot is selected for dead reckoning. Among them, AOI (Area Of Interest) can be understood as the area of interest, which is the area that the player sees in real time in the scene, and the AOI area will change with the movement of the target object. The number of times the server reads the state of the game per second is called tick, which can also be understood as the refresh rate of the server.
[0090] In survival games or other types of games, virtual objects such as virtual vehicles have relatively obvious characteristics. For example, virtual vehicles move fast, and a time delay of 100ms on the secondary control end may cause a position error of 2-3m; the movement trajectory of virtual vehicles usually needs to be a smooth curve, while the position synchronization of virtual characters can accept any broken line; virtual vehicles can collide with other virtual characters, non-player characters NPC, virtual static objects or other virtual vehicles in the game scene, resulting in a more complex motion state; when players drive virtual vehicles, they will be very sensitive to the abnormal speed of the vehicle, and it is very delicate and difficult to do it. Based on the above problems, the display control method of the game object in this embodiment adopts the method of calling the physical engine on the terminal device to simulate the vehicle collision effect, and ensures that the position rotation and collision of each client vehicle maintain an acceptable synchronization effect without increasing the server load; the trajectory of vehicle position synchronization is smooth, and the player does not have an obvious feeling of sudden change in direction; at the same time, when the vehicle speed is very fast, it is ensured that there is not much difference between the position of the secondary control end and the main control end.
[0091] In the above-mentioned display control method of game objects, in order to reduce the load on the server, the server only transfers the snapshot information of the main control end to other clients, and does not perform specific physical simulation calculations. It is only a peer-to-peer (P2P) synchronization strategy. Other clients use a collision prediction method. When the target object is about to collide, the secondary control end starts the local physics engine to simulate the physical effect of the collision. In the process of simulating the collision, the snapshot information sent by the main control end is received at the same time. The physical simulation and snapshot results are mixed to ensure that the logical position and orientation of the vehicles of the secondary control end and the main control end are basically consistent.
[0092] In addition, this embodiment uses a navigation recommendation algorithm to complete the position interpolation and prediction of the secondary control terminal, achieving a smooth trajectory of vehicle position synchronization, which brings players a better driving experience. By dynamically adjusting the time offset strategy, when the vehicle speed is fast, starting the position prediction of the secondary control terminal can solve the problem of the vehicle position of the secondary control terminal lagging behind the main control terminal due to delay to a certain extent.
[0093] Corresponding to the above method embodiment, see Figure 4 The structure diagram of a display control device for a game object shown in the figure provides a graphical user interface through a first terminal device, the graphical user interface includes at least part of the game scene, at least part of the game scene includes a target object, and the target object is controlled by a second terminal device other than the first terminal device; the device includes:
[0094] The information generating module 40 is used to generate, in response to the specified event being triggered, first state information of the target object after the specified event is triggered through the physical engine on the first terminal device;
[0095] An information acquisition module 42 is used to acquire second state information displayed by the target object in the second terminal device;
[0096] The display control module 44 is configured to determine a display state of the target object based on the first state information and the second state information, and display the target object in the graphical user interface based on the display state.
[0097] In the above-mentioned display control device for game objects, the target object in the game scene is controlled by a second terminal device other than the first terminal device; in response to the designated event being triggered, the first state information of the target object after the designated event is triggered is generated through the physics engine on the first terminal device; the second state information displayed by the target object in the second terminal device is obtained; based on the first state information and the second state information, the display state of the target object is determined, and the target object is displayed in the graphical user interface based on the display state. In this method, when the designated event is triggered, the visual effect of the target object is simulated by the physics engine on the first terminal device, and then the first state information is generated; when determining the display state of the target object, the first state information and the second state information of the target object in the second device are simultaneously referred to, so that the target object has a performance that conforms to the objective physical principle after the designated event is triggered, and the control method of the target object is relatively unified. This control method of the target object is easy to implement, and improves the visual effect experience of the object in the game.
[0098] The above-mentioned device also includes an object control module, which is used to: obtain the third state information of the target object displayed in the second terminal device; wherein the third state information includes: state information when the specified event is not triggered; based on the third state information, display the target object in the graphical user interface.
[0099] The above-mentioned display control module is also used to: divide the future specified time period after the specified event is triggered into multiple sub-time periods; wherein each sub-time period is set with a weight parameter; for each sub-time period, based on the weight parameter corresponding to the sub-time period, the first state information and the second state information in the sub-time period are weighted and summed to obtain the display state of the target object.
[0100] The above-mentioned weight parameter includes a weight value of the second state information; the further the sub-time period is from the time point when the designated event is triggered, the greater the weight value of the corresponding second state information.
[0101] The above-mentioned first state information includes: the first state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; the second state information includes: the second state sub-information corresponding to some time points in the future specified time period after the specified event is triggered; the above-mentioned display control module is also used to: interpolate the second state sub-information corresponding to some time points in the second state information to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; for each time point in the future specified time period, weighted processing is performed on the first state sub-information and the second state sub-information corresponding to the time point to obtain the display state of the target object at the time point.
[0102] The above-mentioned display control module is also used to: determine the moving speed of the target object; if the moving speed is lower than a preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generate the second state sub-information corresponding to each time point between the partial time points; if the moving speed is higher than or equal to the preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generate the second state sub-information corresponding to each time point after the partial time point.
[0103] The above-mentioned display control module is also used to: determine the display delay of the target object; the display delay includes: the time difference when the target object displays the same state on the first terminal device and the second terminal device; if the display delay is greater than a preset delay threshold, based on the second state sub-information corresponding to some time points in the second state information, generate the second state sub-information corresponding to each time point between the partial time points; if the display delay is less than or equal to the preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generate the second state sub-information corresponding to each time point after the partial time point.
[0104] The above device also includes a delay control module, which is used to reduce the display delay of the target object in response to the triggering of a designated event.
[0105] The above-mentioned specified events include: a target object collides, or it is detected that a target object is about to collide.
[0106] This embodiment also provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the display control method of the game object. The electronic device can be a server or a terminal device.
[0107] See also Figure 5As shown, the electronic device includes a processor 100 and a memory 101, wherein the memory 101 stores machine executable instructions that can be executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the above-mentioned display control method of the game object.
[0108] Further, Figure 5 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .
[0109] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. 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 may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may 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 diagram, but this does not mean that there is only one bus or only one type of bus.
[0110] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 100. The above processor 100 can be a general-purpose 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 devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention 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 may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the above embodiment in combination with its hardware.
[0111] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the display control method of the above-mentioned game object.
[0112] The computer program product of the game object display control method, device, electronic device and storage medium provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.
[0113] 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 aforementioned method embodiment, and will not be repeated here.
[0114] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0115] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0116] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0117] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A display control method for a game object, characterized in that: Providing a graphical user interface through a first terminal device, the graphical user interface including at least part of a game scene, the at least part of the game scene including a target object, and the target object being controlled by a second terminal device other than the first terminal device; the method comprising: In response to a designated event being triggered, generating, by a physics engine on the first terminal device, first state information of the target object after the designated event is triggered, wherein the designated event is a trigger condition requiring the target object to be controlled by the physics engine on the first terminal device, including a collision of the target object, or detecting that the target object is about to collide; Acquire second state information of the target object displayed in the second terminal device, where the second state information is state information of the target object displayed in the second terminal device after the specified event is triggered; Based on the first state information and the second state information, a display state of the target object is determined, and based on the display state, the target object is displayed in the graphical user interface.
2. The method according to claim 1, characterized in that In response to a designated event being triggered, before the step of generating, by a physics engine on the first terminal device, first state information of the target object after the designated event is triggered, the method further includes: Acquire third state information displayed by the target object in the second terminal device; wherein the third state information includes: state information when the specified event is not triggered; Based on the third state information, the target object is displayed in the graphical user interface.
3. The method according to claim 1, characterized in that The step of determining the display state of the target object based on the first state information and the second state information includes: Divide the future specified time period after the specified event is triggered into a plurality of sub-time periods; wherein each of the sub-time periods is provided with a weight parameter; For each of the sub-time periods, based on a weight parameter corresponding to the sub-time period, a weighted sum process is performed on the first state information and the second state information within the sub-time period to obtain a display state of the target object.
4. The method according to claim 3, characterized in that The weight parameter includes a weight value of the second state information; the further the sub-time period is from the time point when the designated event is triggered, the greater the corresponding weight value of the second state information.
5. The method according to claim 1, characterized in that The first state information includes: first state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; the second state information includes: second state sub-information corresponding to some time points in the future specified time period after the specified event is triggered; The step of determining the display state of the target object based on the first state information and the second state information includes: Interpolate the second state sub-information corresponding to some time points in the second state information to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered; For each time point in the future specified time period, weighted processing is performed on the first state sub-information and the second state sub-information corresponding to the time point to obtain the display state of the target object at the time point.
6. The method according to claim 5, characterized in that The step of interpolating the second state sub-information corresponding to some time points in the second state information to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered includes: determining a moving speed of the target object; If the moving speed is lower than a preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, generate second state sub-information corresponding to each time point between the some time points; If the moving speed is higher than or equal to a preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, second state sub-information corresponding to each time point after the some time points is generated.
7. The method according to claim 5, characterized in that The step of interpolating the second state sub-information corresponding to some time points in the second state information to obtain the second state sub-information corresponding to each time point in the future specified time period after the specified event is triggered includes: Determine a display delay of the target object; the display delay includes: a time difference when the target object displays the same state on the first terminal device and the second terminal device; If the display delay is greater than a preset delay threshold, based on the second state sub-information corresponding to some time points in the second state information, generate second state sub-information corresponding to each time point between the some time points; If the display delay is less than or equal to a preset speed threshold, based on the second state sub-information corresponding to some time points in the second state information, second state sub-information corresponding to each time point after the some time points is generated.
8. The method according to claim 7, characterized in that The method further includes: in response to a designated event being triggered, reducing a display delay of the target object.
9. A display control device for a game object, characterized in that: A graphical user interface is provided through a first terminal device, the graphical user interface includes at least part of a game scene, the at least part of the game scene includes a target object, and the target object is controlled by a second terminal device other than the first terminal device; the apparatus includes: an information generating module, configured to generate, in response to a specified event being triggered, first state information of the target object after the specified event is triggered, through a physical engine on the first terminal device, wherein the specified event is a trigger condition requiring the target object to be controlled by the physical engine on the first terminal device, including a collision of the target object, or a detection that the target object is about to collide; An information acquisition module, used to acquire second state information displayed by the target object in the second terminal device, where the second state information is state information displayed by the target object in the second terminal device after the specified event is triggered; The display control module is used to determine a display state of the target object based on the first state information and the second state information, and display the target object in the graphical user interface based on the display state.
10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the display control method of the game object described in any one of claims 1-8.
11. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the display control method for the game object described in any one of claims 1-8.
