Virtual object display method and device in game, storage medium and equipment
Patent Information
- Application Number
- CN202310440165.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-21
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-04-21
AI Technical Summary
[0006]本公开的目的在于提供一种游戏中虚拟对象显示方法及装置、计算机可读存储介质及电子设备,可以解决难以识别双方虚拟游戏对象的问题
[0015]本公开的一种实施例提供的游戏中虚拟对象显示方法中,可以在第一虚拟游戏对象对应的终端设备的图形用户界面中,通过第一形态显示第一虚拟游戏对象,在第二虚拟游戏对象对应的终端设备的图形用户界面中,通过第二形态显示第一虚拟游戏对象。一方面,玩家在进行游玩时,可以较为容易的分辨我方阵营的虚拟游戏对象以及敌方阵营的虚拟游戏对象,能够减少或者避免误伤我方虚拟游戏对象,且能够精准的攻击敌方虚拟游戏对象;另一方面,无需花费较多注意力区分敌我虚拟游戏对象,避免对游戏对局产生不利影响,且能够将注意力集中在攻击敌方虚拟游戏对象上,避免玩家疲劳,降低了玩家的游玩成本。
Smart Images

Figure CN116459522B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of game technology, and more specifically, to a method for displaying virtual objects in a game, a device for displaying virtual objects in a game, a computer-readable storage medium, and an electronic device. Background Technology
[0002] With the development of terminal devices and the gaming industry, a large number of games of different themes have emerged to meet the needs of players. In some MOBA (Multiplayer Online Battle Arena) games, players are divided into two teams, and the two teams compete against each other on randomly distributed game maps, with the team ultimately achieving victory.
[0003] In related technologies, the virtual game objects controlled by players are usually the same from the perspectives of different game factions. That is, the form of a certain virtual game object is the same from the perspective of players in the friendly faction and players in the enemy faction.
[0004] However, in some games, the virtual game objects controlled by players can damage those controlled by friendly players. Since the virtual game objects appear identical from the perspectives of different factions, distinguishing between friendly and enemy virtual game objects can be difficult. Players may accidentally damage virtual game objects controlled by friendly players, causing those objects to be injured, or reducing the attribute values of certain virtual equipment (such as armor). Players need to devote some attention to differentiating friend from foe, which can negatively impact the game and cause player fatigue, thus increasing the game's cost.
[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] The purpose of this disclosure is to provide a method and apparatus for displaying virtual objects in a game, a computer-readable storage medium and an electronic device, which can solve the problem of difficulty in identifying virtual game objects between two parties.
[0007] Other features and advantages of this disclosure will become apparent from the following detailed description, or may be learned in part from practice of this disclosure.
[0008] According to a first aspect of this disclosure, a method for displaying virtual objects in a game is provided, characterized in that a virtual game scene and virtual game objects therein are displayed through a graphical user interface of a terminal device, wherein the virtual game objects are virtual game objects controlled by the terminal device, and the method includes: displaying a first virtual game object in a first form in the graphical user interface of a terminal device corresponding to a first faction; and displaying the first virtual game object in a second form in the graphical user interface of a terminal device corresponding to a second faction; wherein the first faction and the second faction are opposing factions, and the first form and the second form are different.
[0009] According to a second aspect of this disclosure, a device for displaying virtual objects in a game is provided, characterized in that it displays a virtual game scene and virtual game objects therein through a graphical user interface of a terminal device, wherein the virtual game objects are virtual game objects controlled by the terminal device, and the device includes: a first form display module, used to display a first virtual game object in a first form in the graphical user interface of a terminal device corresponding to a first faction; and a second form display module, used to display the first virtual game object in a second form in the graphical user interface of a terminal device corresponding to a second faction; wherein the first faction and the second faction are opposing factions, and the first form and the second form are different.
[0010] According to a third aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the virtual object display method in a game as described in the first aspect of the above embodiments.
[0011] According to a fourth aspect of this disclosure, an electronic device is provided, comprising:
[0012] One or more processors; and
[0013] A memory for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the virtual object display method in the game as described in the first aspect of the above embodiments.
[0014] The technical solutions provided in this disclosure may have the following beneficial effects:
[0015] In one embodiment of this disclosure, a method for displaying virtual objects in a game can be provided. The first virtual game object can be displayed in a first form within the graphical user interface of the terminal device corresponding to the first virtual game object, and in a second form within the graphical user interface of the terminal device corresponding to the second virtual game object. On one hand, players can more easily distinguish between virtual game objects belonging to their own faction and those of the enemy faction, reducing or avoiding accidental attacks on friendly virtual game objects and enabling precise attacks on enemy virtual game objects. On the other hand, players do not need to expend excessive attention distinguishing between friendly and enemy virtual game objects, avoiding adverse effects on the game and allowing them to focus on attacking enemy virtual game objects, thus preventing player fatigue and reducing the game's cost.
[0016] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0018] Figure 1 This schematically illustrates a flowchart of a method for displaying virtual objects in a game according to an exemplary embodiment of the present disclosure;
[0019] Figure 2 This schematically illustrates a flowchart of a first virtual game object displayed in a second form in an exemplary embodiment of this disclosure;
[0020] Figure 3 This schematically illustrates a flowchart of an exemplary embodiment of the present disclosure, in which a single form corresponding to the first target angle range is determined as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object when the connection line is located within the first target angle range;
[0021] Figure 4 This schematically illustrates a flowchart of obtaining the second target angle range where the connection is located and displaying the first virtual game object through the second target single form corresponding to the second target angle range in an exemplary embodiment of this disclosure;
[0022] Figure 5 This schematically illustrates a flowchart of a graphical user interface of a terminal device corresponding to a first target single form, displayed in an exemplary embodiment of the present disclosure;
[0023] Figure 6 This schematic diagram illustrates the composition of a virtual object display device in a game according to an exemplary embodiment of the present disclosure;
[0024] Figure 7 The schematic diagram illustrates a structural schematic of a computer system suitable for implementing an electronic device according to exemplary embodiments of the present disclosure. Detailed Implementation
[0025] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., may be employed. In other instances, well-known structures, methods, apparatuses, implementations, materials, or operations are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0026] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, or in one or more software-hardened modules, or in different network and / or processor devices and / or microcontroller devices.
[0027] With the development of terminal devices and the gaming industry, a large number of games of different themes have emerged to meet the needs of players. In some MOBA (Multiplayer Online Battle Arena) games, players are divided into two teams, and the two teams compete against each other on randomly distributed game maps, with the team ultimately achieving victory.
[0028] In related technologies, the virtual game objects controlled by players are usually the same from the perspectives of different game factions. That is, the form of a certain virtual game object is the same from the perspective of players in the friendly faction and players in the enemy faction.
[0029] However, in some games, the virtual game objects controlled by players can damage those controlled by friendly players. Since the virtual game objects appear identical from the perspectives of different factions, distinguishing between friendly and enemy virtual game objects can be difficult. Players may accidentally damage virtual game objects controlled by friendly players, causing those objects to be injured, or reducing the attribute values of certain virtual equipment (such as armor). Players need to devote some attention to differentiating friend from foe, which can negatively impact the game and cause player fatigue, thus increasing the game's cost.
[0030] refer to Figure 1 The diagram illustrates a flowchart of a method for displaying virtual objects in a game according to this exemplary embodiment, which may include the following steps:
[0031] Step S110: In the graphical user interface of the terminal device corresponding to the first virtual game object, the first virtual game object is displayed in a first form; wherein, the first virtual game object belongs to the first faction;
[0032] Step S120: In the graphical user interface of the terminal device corresponding to the second virtual game object, the first virtual game object is displayed in a second form; wherein, the second virtual game object belongs to the second faction, and the first form is different from the second form.
[0033] In one embodiment of this disclosure, a method for displaying virtual objects in a game can be provided. The first virtual game object can be displayed in a first form within the graphical user interface of the terminal device corresponding to the first virtual game object, and in a second form within the graphical user interface of the terminal device corresponding to the second virtual game object. On one hand, players can more easily distinguish between virtual game objects belonging to their own faction and those of the enemy faction, reducing or avoiding accidental attacks on friendly virtual game objects and enabling precise attacks on enemy virtual game objects. On the other hand, players do not need to expend excessive attention distinguishing between friendly and enemy virtual game objects, avoiding adverse effects on the game and allowing them to focus on attacking enemy virtual game objects, thus preventing player fatigue and reducing the game's cost.
[0034] In one embodiment of this disclosure, the method for displaying virtual objects in a game can run on a local terminal device or a server. When the method for displaying virtual objects in a game runs on a server, it can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0035] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and execution of virtual object display methods in the game are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses game screen data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0036] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0037] In one possible implementation, this invention provides a method for displaying virtual objects in a game, which provides a graphical user interface through a terminal device. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system.
[0038] In one exemplary embodiment of this disclosure, the game in the solution can include various types of games, such as TPS (Third-Person Shooter), FPS (First-Person Shooter), RPG (Role-Playing Game), ACT (Action Game), SLG (Strategy Game), FTG (Fighting Game), SPG (Sports Game), RCG (Racing Game), AVG (Adventure Game), etc. As long as the scene involves perspective adjustment, the game screen display solution of this disclosure can be applied. It should be noted that this disclosure does not specifically limit the type of game.
[0039] Below, we will combine Figure 1The embodiments will provide a more detailed description of steps S110 to S120 of the virtual object display method in the game in this exemplary embodiment.
[0040] Step S110: In the graphical user interface of the terminal device corresponding to the first virtual game object, the first virtual game object is displayed in a first form; wherein, the first virtual game object belongs to the first faction;
[0041] In one example embodiment of this disclosure, the first virtual game object can be displayed in a first form within the graphical user interface (GUI) of the terminal device corresponding to the first virtual game object. Specifically, at least a portion of the virtual game scene and virtual game objects located within the virtual game scene can be displayed through the GUI of the terminal device. The virtual game objects are controlled by the terminal device. The game includes a first faction and a second faction, which are opposing factions and are in the same match. When the game starts, the first virtual game object can be displayed in the GUI of the terminal device corresponding to the first virtual game object in a first form. Specifically, the GUI of the terminal device corresponding to the first virtual game object, and the first virtual game object belonging to the first faction, means that the virtual game object controlled by the terminal device belongs to the first faction, and the first virtual game object can be displayed in the GUI of the terminal device in a first form.
[0042] In one example embodiment of this disclosure, the virtual game object has a form, which may include the shape, state, form, style, etc., of the virtual game object displayed in the game scene.
[0043] It should be noted that this disclosure does not impose any special restrictions on the specific types of virtual game objects or the specific forms of the first form.
[0044] Step S120: In the graphical user interface of the terminal device corresponding to the second virtual game object, the first virtual game object is displayed in a second form.
[0045] In one example embodiment of this disclosure, during gameplay, the first virtual game object is displayed in a second form within the graphical user interface (GUI) of the terminal device corresponding to the second virtual game object. The first and second factions are opposing factions, and the first and second forms differ. Specifically, the GUI of the terminal device corresponding to the second faction, and the second virtual game object belonging to the second faction, means that the virtual game object controlled by that terminal device belongs to the second faction, and the first virtual game object can be displayed in the second form on that terminal device. In other words, for the same virtual game object (the first virtual game object), different forms are used to display it in the GUIs of terminal devices corresponding to virtual game objects of different factions. The first virtual game object is displayed in the first form within the GUI of the terminal device corresponding to the first virtual game object, while it is displayed in the second form within the GUI of the terminal device corresponding to the second virtual game object.
[0046] Furthermore, in the game, there can be multiple factions, which can be hostile to each other. The scheme disclosed herein can be used to display the same virtual game object in different forms in the graphical user interface of the terminal device corresponding to the virtual game object of different factions.
[0047] In one example embodiment of this disclosure, the first virtual game object is displayed in a first form in the graphical user interface of the terminal device corresponding to the third virtual game object. The third virtual game object belongs to a first faction. Specifically, the third virtual game object can be a virtual game object of the same faction as the first virtual game object; that is, for virtual game objects belonging to the same faction, the first virtual game object can be displayed in the same form in the graphical user interface of the terminal device corresponding to these virtual game objects.
[0048] In one example embodiment of this disclosure, a first position of a first virtual game object in a virtual game scene can be obtained, a second position of a second virtual game object in the virtual game scene can be obtained, and a second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object can be determined based on the first and second positions. The first virtual game object is then displayed using the second form. (Refer to...) Figure 2 As shown, displaying the first virtual game object in the second form includes the following steps S210 to S230:
[0049] Step S210: Obtain the first position of the first virtual game object in the virtual game scene, and obtain the second position of the second virtual game object in the virtual game scene;
[0050] In one example embodiment of this disclosure, when determining the second form to be displayed in the graphical user interface of the terminal device corresponding to the first virtual game object in the second virtual game object, the first position of the first virtual game object in the virtual game scene can be obtained first, and the second position of the second virtual game object in the virtual game scene can be obtained. Specifically, during the game, the game can be played through the terminal device corresponding to the first virtual game object, and the first virtual game object can be controlled to perform game actions in the game scene through the terminal device corresponding to the first virtual game object, thus obtaining the first position of the first virtual game object in the virtual game scene; during the game, the game can be played through the terminal device corresponding to the second virtual game object, and the second virtual game object can be controlled to perform game actions in the virtual game scene through the terminal device corresponding to the second virtual game object, thus obtaining the second position of the second virtual game object in the virtual game scene.
[0051] For example, the game scene has a world coordinate system, which can obtain the coordinates of the first virtual game object in the game scene and determine the first position of the first virtual game object in the virtual game scene based on the coordinates; it can also obtain the coordinates of the second virtual game object in the game scene and determine the second position of the second virtual game object in the virtual game scene based on the coordinates.
[0052] It should be noted that this disclosure does not impose any special limitations on the specific methods for obtaining the first position of the first virtual game object in the virtual game scene and the second position of the second virtual game object in the virtual game scene.
[0053] Step S220: Determine the second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object based on the first position and the second position;
[0054] Step S230: Display the first virtual game object in the second form.
[0055] In one example embodiment of this disclosure, after obtaining the first position of the first virtual game object in the virtual game scene and the second position of the second virtual game object in the virtual game scene, the second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object can be determined based on the first position and the second position, and the first virtual game object can be displayed through the second form.
[0056] For example, when the second virtual game object is to the left of the first virtual game object, the second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object is form A; when the second virtual game object is directly to the right of the first virtual game object, the second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object is form B.
[0057] It should be noted that this disclosure does not impose any special limitations on the specific form of the second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object, which is determined based on the first position and the second position.
[0058] Through the aforementioned steps S210-S230, the first position of the first virtual game object in the virtual game scene can be obtained, and the second position of the second virtual game object in the virtual game scene can be obtained. Based on the first and second positions, the second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object is determined, and the first virtual game object is displayed through the second form. Through the embodiments of this disclosure, the second form of the first virtual game object can be determined based on the positions of the first and second virtual game objects. As the position of the second virtual game object changes, the second form of the first virtual game object is adjusted, which can enrich the gameplay and enhance the recognizability of the first virtual game object.
[0059] In one example embodiment of this disclosure, the first form is a multi-form coexistence state, which corresponds to multiple single forms. The second form is a first target single form, which is one of the multiple single forms. Specifically, the multi-form coexistence state corresponds to multiple single forms. When a virtual game object is displayed through the multi-form coexistence state, the multi-form coexistence state can display the features of multiple single forms. Alternatively, when a virtual game object is displayed through the multi-form coexistence state, the features of multiple single forms may not be displayed.
[0060] Furthermore, when virtual game objects are displayed in a multi-form coexistence state, the characteristics of multiple single forms may not be displayed. This can indicate that the multi-form coexistence state is unrelated to the multiple single forms in terms of form, or that the multi-form coexistence state is related to the multiple single forms.
[0061] Furthermore, the multi-form coexistence state is composed of multiple single forms corresponding to the multi-form coexistence state. Specifically, combining multiple single forms can include splicing multiple single forms together; or, combining multiple single forms can also include merging multiple single forms.
[0062] Specifically, in the graphical user interface of the terminal device corresponding to the second virtual game object, the first virtual game object is displayed in a second form, wherein the second form is one of the multiple single forms corresponding to the multi-form coexistence state.
[0063] For example, in the graphical user interface of the terminal device corresponding to the first virtual game object, the first virtual game object is displayed in a multi-form coexistence state. The multi-form coexistence state corresponds to three single forms: single form A, single form B, and single form C. In the graphical user interface of the terminal device corresponding to the second virtual game object, the first virtual game object can be displayed through one of single form A, single form B, and single form C.
[0064] It should be noted that this disclosure does not impose any special limitations on the specific forms of the multi-form coexistence state or the specific forms corresponding to the multi-form coexistence state.
[0065] In one example embodiment of this disclosure, a line connecting the first position and the second position can be determined. When the line is within a first target angle range, the single form corresponding to the first target angle range is determined as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object. (Refer to...) Figure 3 As shown, when the connecting line is within the first target angle range, determining the single form corresponding to the first target angle range as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object may include the following steps S310 to S320:
[0066] Step S310: Determine the line connecting the first position and the second position;
[0067] In one exemplary embodiment of this disclosure, after determining the first position of the first virtual game object in the virtual game scene and the second position of the second virtual game object in the virtual game scene, a connection between the first position and the second position can be determined. Specifically, a connection can be generated between the first position of the first virtual game object in the virtual game scene and the second position of the second virtual game object in the virtual game scene, and this connection can be determined as the connection between the first position and the second position.
[0068] It should be noted that this disclosure does not impose any special limitations on the specific method of determining the connection between the first position and the second position.
[0069] Step S320: When the connection line is within the first target angle range, the single form corresponding to the first target angle range is determined as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0070] In one example embodiment of this disclosure, after obtaining the line connecting the first position and the second position through the above steps, when the line is located within a first target angle range, the single form corresponding to the first target angle range is determined as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object. The multi-form coexistence state has multiple first angle ranges, each first angle range corresponding to a single form, and the multiple first angle ranges include the first target angle range. Specifically, it can be determined in which angle range of the first virtual game object the line falls. If the line falls within the first target angle range of the multiple angle ranges, then the single form corresponding to the first target angle range can be determined as the first target single form to be displayed, which is the second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0071] For example, the first virtual game object has 4 angle ranges, each occupies 90°, and each angle range corresponds to a single form. When the line is between 90° and 180°, the 90° to 180° range is determined as the first target angle range, and the angle range corresponds to a single form A, which can be determined as the first target single form.
[0072] It should be noted that this disclosure does not impose any special limitations on the specific method by which the single form corresponding to the first target angle range is determined as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0073] Through the aforementioned steps S310-S320, the line connecting the first position and the second position can be determined. When the line is within the first target angle range, the single form corresponding to the first target angle range is determined as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object. Through the embodiments of this disclosure, the form displayed by the virtual game object can be determined according to the relative positions between different virtual game objects, which can enrich gameplay, improve the player's gaming experience, easily distinguish between friendly and enemy virtual game objects, and reduce the cost of playing.
[0074] In one example embodiment of this disclosure, a first virtual game object can be displayed through a second target single form when the form attributes corresponding to the first target single form meet preset conditions. The second target single form is included among multiple single forms. Specifically, the form attributes corresponding to the first target single form can be used to indicate the relevant attributes of the first target single form when the first virtual game object is in that form. For example, the form attributes corresponding to the first target single form may include the corresponding health points, mana points, item quantity, and equipment durability.
[0075] It should be noted that this disclosure does not impose any special restrictions on the specific types of morphological attributes.
[0076] In one example embodiment of this disclosure, after displaying the first virtual game object in the terminal device corresponding to the second faction through the above steps using the first target single form, if the form attribute of the first target single form meets the preset conditions corresponding to the form attribute, the first virtual game object can be displayed through the second target single form. Specifically, the second target single form is a single form among multiple single forms (excluding the first target single form) corresponding to multiple angle ranges. When the form attribute of the first target single form meets the preset conditions, the device can switch from the first target single form to the second target single form.
[0077] For example, the form attribute is health points. Each individual form has health points. When the health points corresponding to the first target individual form are 0, the first virtual game object is displayed through the second target individual form.
[0078] It should be noted that this disclosure does not impose any special restrictions on the specific types of morphological attributes or the specific content of the preset conditions.
[0079] In one example embodiment of this disclosure, the first target angle range can be deleted, and the first target angle range can be evenly divided into multiple first angle ranges excluding the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges. The second target angle range where the connecting line is located is obtained, and the first virtual game object is displayed in the second target single form corresponding to the second target angle range. (Refer to...) Figure 4 As shown, obtaining the second target angle range where the connecting line is located, and displaying the first virtual game object through the second target single form corresponding to the second target angle range, may include the following steps S410 to S420:
[0080] Step S410: Delete the first target angle range and divide the first target angle range equally into multiple first angle ranges other than the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges;
[0081] In one example embodiment of this disclosure, when the shape attribute corresponding to the first target single shape meets the preset conditions through the above steps, the first target angle range can be deleted, and the first target angle range can be evenly divided into multiple first angle ranges excluding the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges. Specifically, the first virtual game object corresponds to multiple angle ranges. When the first target single shape corresponding to the first target angle range meets the preset conditions, it means that the first target single shape cannot meet the requirements and needs to be switched to other single shapes. At this time, the first target angle range corresponding to the first target single shape can be deleted first, and the first target angle range can be evenly divided into multiple angle ranges excluding the first target angle range. After the even division, the first target angle range is deleted, and the multiple angle ranges excluding the first target angle range are increased into multiple second angle ranges.
[0082] For example, the first virtual game object has four angle ranges, each of which is 90°. That is, the first target angle range is 90°. When the shape attribute corresponding to the first target single shape meets the preset conditions, the first target angle range can be deleted, and the 90° corresponding to the first target angle range can be evenly distributed to the other three angle ranges, so that the other three angle ranges can be expanded into multiple second angle ranges, each of which is 120°.
[0083] It should be noted that this disclosure does not impose any special limitations on the specific method of dividing the first target angle range into multiple first angle ranges other than the first target angle range.
[0084] Step S420: Obtain the second target angle range where the connection line is located, and display the first virtual game object in the second target single form corresponding to the second target angle range.
[0085] In one example embodiment of this disclosure, after expanding to obtain multiple second angle ranges, the second target angle range where the connecting line is located can be obtained, and the first virtual game object can be displayed through the second target single form corresponding to the second target angle range. Specifically, when the first position of the first virtual game object in the virtual game scene and the second position of the second virtual game object in the virtual game scene do not change, the connecting line does not change. Since the first target angle range is deleted and multiple second angle ranges are expanded, it can be determined which second angle range the connecting line is located in, and the second angle range where the connecting line is located is determined as the second target angle range. The first virtual game object is displayed through the second target single form corresponding to the second target angle range.
[0086] Specifically, the second target single form corresponding to the second target angle range can be the single form corresponding to the angle range before the second target angle range is expanded; or, after expanding multiple angle ranges, multiple second angle ranges can be assigned new single forms, and the single form corresponding to the second target angle range is determined as the second target single form corresponding to the second target angle range.
[0087] It should be noted that this disclosure does not impose any special limitations on the specific method by which the first virtual game object is displayed in a single form corresponding to the second target angle range.
[0088] Through the above steps S410-S420, the first target angle range can be deleted, and the first target angle range can be evenly divided into multiple first angle ranges excluding the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges. The second target angle range where the connecting line is located is obtained, and the first virtual game object is displayed through the second target single form corresponding to the second target angle range. Through the embodiments of this disclosure, when a single form being displayed meets a preset condition, the angle range corresponding to that single form is deleted, thereby switching to another single form. Displaying different single forms in the game scene can enrich the gameplay and enhance the player's gaming experience.
[0089] In one example embodiment of this disclosure, the orientation of a second virtual game object can be obtained, and the second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object can be determined based on the orientation of the second virtual game object. The first form is a multi-form coexistence state, corresponding to multiple single forms; the second form is a first target single form, which is one of the multiple single forms; the multi-form coexistence state has multiple first angle ranges, each first angle range corresponding to a single form. Specifically, the orientation of the second virtual game object and the position of the first virtual game object can be obtained. When the orientation of the second virtual game object points to the position of the first virtual game object, a line connecting the second virtual game object to the first virtual game object is obtained. When the line is within a first target angle range (multiple first angle ranges include the first target angle range), the single form corresponding to the first target angle range is determined as the first target single form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0090] In one example embodiment of this disclosure, when the morphological attributes corresponding to multiple single forms meet preset conditions, the first virtual game object enters a waiting state. Specifically, the waiting state may include the first virtual game object being temporarily unable to perform some or all game operations and needing to wait for a certain period of time before continuing the game, or waiting for a certain period of time before ending the game. The first virtual game object corresponds to multiple single forms, and when the morphological attributes of all single forms meet the preset conditions, the first virtual game object is controlled to enter the waiting state.
[0091] For example, the form attribute corresponding to a single form is health. When the first virtual game object is attacked by other virtual game objects in turn, causing the health of all single forms of the first virtual game object to reach zero, the first virtual game object enters the resurrection state (waiting state).
[0092] It should be noted that this disclosure does not impose any special restrictions on the specific form of the waiting state.
[0093] In one example embodiment of this disclosure, when the first virtual game object is controlled to enter a waiting state through the above steps, the form attributes corresponding to multiple single forms can be restored after the waiting time has elapsed. Specifically, restoring the form attributes corresponding to multiple single forms may include restoring the form attributes corresponding to multiple single forms to all states, or it may include restoring the form attributes corresponding to multiple single forms to some states.
[0094] For example, the form attribute corresponding to a single form is health points. After the first virtual game object enters the resurrection state (waiting state) and the waiting time has elapsed, the health points of the multiple single forms corresponding to the first virtual game object can be restored. For example, the health points of each single form can be restored to 100%, or the health points of each single form can be restored to 50%.
[0095] It should be noted that this disclosure does not impose any special restrictions on the specific methods for restoring the morphological attributes corresponding to multiple single forms.
[0096] In one exemplary embodiment of this disclosure, multiple form attributes corresponding to single forms can be displayed in the graphical user interface of the terminal device corresponding to the first virtual game object, and the form attributes corresponding to the first target single form can be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object. (Refer to...) Figure 5 As shown, the form attributes corresponding to the first target single form can be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object, including the following steps S510 to S520:
[0097] Step S510: In the graphical user interface of the terminal device corresponding to the first virtual game object, display the shape attributes corresponding to multiple single shapes.
[0098] In one example embodiment of this disclosure, the first virtual game object can be displayed in the graphical user interface of the terminal device corresponding to the first virtual game object through a first form, and the first form is a multi-form coexistence state, which corresponds to multiple single forms. The form attributes corresponding to multiple single forms can be displayed in the graphical user interface of the terminal device corresponding to the first virtual game object.
[0099] For example, if the form attribute corresponding to a single form is health points, multiple health points corresponding to single forms can be displayed in the graphical user interface of the terminal device corresponding to the first virtual game object.
[0100] Step S520: In the graphical user interface of the terminal device corresponding to the second virtual game object, the shape attributes corresponding to the first target single shape are displayed.
[0101] In one example embodiment of this disclosure, the first virtual game object can be displayed in a second form in the graphical user interface of the terminal device corresponding to the second virtual game object. The second form is a first target single form, which is one of a plurality of single forms. The form attributes corresponding to the first target single form can be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0102] For example, if the form attribute corresponding to the first target's single form is health points, the health points corresponding to the first target's single form can be displayed in the graphical user interface of the terminal device corresponding to the second faction.
[0103] Furthermore, when switching to displaying the first virtual game object through the second target single form through the above steps, the life value corresponding to the second target single form can be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0104] Through the aforementioned steps S510-S520, multiple single-form attribute types can be displayed in the graphical user interface of the terminal device corresponding to the first virtual game object, and the single-form attribute type of the first target can be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object. Through the embodiments of this disclosure, different form attributes can be displayed from the perspectives of different factions, enriching the gameplay. Furthermore, players can clearly distinguish whether a virtual game object belongs to the enemy or their own side based on the display style of the form attributes, reducing the player's gaming cost.
[0105] In one embodiment of this disclosure, a method for displaying virtual objects in a game can be provided. The first virtual game object can be displayed in a first form within the graphical user interface of the terminal device corresponding to the first virtual game object, and in a second form within the graphical user interface of the terminal device corresponding to the second virtual game object. On one hand, players can more easily distinguish between virtual game objects belonging to their own faction and those of the enemy faction, reducing or avoiding accidental attacks on friendly virtual game objects and enabling precise attacks on enemy virtual game objects. On the other hand, players do not need to expend excessive attention distinguishing between friendly and enemy virtual game objects, avoiding adverse effects on the game and allowing them to focus on attacking enemy virtual game objects, thus preventing player fatigue and reducing the game's cost.
[0106] It should be noted that the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0107] Furthermore, in an exemplary embodiment of this disclosure, a device for displaying virtual objects in a game is also provided. (See also...) Figure 6 As shown, a virtual object display device 600 in a game includes: a first form display module 610 and a second form display module 620.
[0108] The first form display module is used to display the first virtual game object in a first form in the graphical user interface of the terminal device corresponding to the first virtual game object; wherein the first virtual game object belongs to the first faction. The second form display module is used to display the first virtual game object in a second form in the graphical user interface of the terminal device corresponding to the second virtual game object; wherein the second virtual game object belongs to the second faction, and the first form and the second form are different.
[0109] In one exemplary embodiment of this disclosure, based on the foregoing scheme, the apparatus further includes: a third form display module, used to display the first virtual game object in a first form in the graphical user interface of the terminal device corresponding to the third virtual game object; wherein the third virtual game object belongs to the first camp.
[0110] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the device further includes: a position acquisition unit, configured to acquire a first position of the first virtual game object in a virtual game scene and acquire a second position of the second virtual game object in the virtual game scene; a second form determination unit, configured to determine, based on the first position and the second position, a second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object; and a second form display unit, configured to display the first virtual game object in the second form.
[0111] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first form is a multi-form coexistence state, which corresponds to multiple single forms, and the second form is a first target single form, which is one of the multiple single forms.
[0112] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, a second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object is determined according to a first position and a second position. The multi-form coexistence state has multiple first angle ranges, each first angle range corresponding to each single form. The device further includes: a connection determining unit, used to determine the connection between the first position and the second position; and a first target range determining unit, used to determine the single form corresponding to the first target angle range as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object when the connection is located within the first target angle range; wherein, the multiple first angle ranges include the first target angle range.
[0113] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first target single form corresponds to a form attribute, and the device further includes: a second target single form switching unit, used to display the first virtual game object through the second target single form when the form attribute corresponding to the first target single form meets a preset condition; wherein, the second target single form is included among the multiple single forms.
[0114] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the device further includes: a second angle range expansion unit, configured to delete the first target angle range and divide the first target angle range equally into multiple first angle ranges excluding the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges; and a second target single-form display unit, configured to acquire the second target angle range where the connecting line is located and display the first virtual game object through the second target single form corresponding to the second target angle range; wherein, the multiple second angle ranges include the second target angle range.
[0115] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, each single form corresponds to a form attribute, and the device further includes: a preset condition judgment unit, used to allow the first virtual game object to enter a waiting state when the form attributes corresponding to multiple single forms meet preset conditions.
[0116] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the waiting state corresponds to a waiting time, and the device further includes: a morphological attribute recovery unit, used to recover the morphological attributes corresponding to multiple single morphologies after the waiting time has elapsed.
[0117] In an exemplary embodiment of this disclosure, based on the foregoing solution, the apparatus further includes: a first form attribute display unit, configured to display multiple form attributes corresponding to single forms in the graphical user interface of the terminal device corresponding to the first virtual game object; and a second form attribute display unit, configured to display the form attributes corresponding to the first target single form in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0118] One embodiment of this disclosure provides a virtual object display device for games. This device can display a first virtual game object in a first form within the graphical user interface of the terminal device corresponding to a first virtual game object, and in a second form within the graphical user interface of the terminal device corresponding to a second virtual game object. On one hand, players can more easily distinguish between virtual game objects belonging to their own faction and those of the enemy faction, reducing or avoiding accidental attacks on friendly virtual game objects and enabling precise attacks on enemy virtual game objects. On the other hand, players do not need to expend excessive attention distinguishing between friendly and enemy virtual game objects, avoiding adverse effects on the game, and can concentrate on attacking enemy virtual game objects, preventing player fatigue and reducing the game's cost.
[0119] Since the functional modules of the virtual object display device in the example embodiments of this disclosure correspond to the steps of the virtual object display method in the example embodiments described above, for details not disclosed in the device embodiments of this disclosure, please refer to the embodiments of the virtual object display method in the game described above.
[0120] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0121] Furthermore, in an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method for displaying virtual objects in a game is also provided.
[0122] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be embodied in the following forms: a completely hardware embodiment, a completely software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."
[0123] The following reference Figure 7 To describe an electronic device 700 according to such an embodiment of the present disclosure. Figure 7 The electronic device 700 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0124] like Figure 7 As shown, the electronic device 700 is manifested in the form of a general-purpose computing device. The components of the electronic device 700 may include, but are not limited to: at least one processing unit 710, at least one storage unit 720, a bus 730 connecting different system components (including storage unit 720 and processing unit 710), and a display unit 740.
[0125] The storage unit stores program code, which can be executed by the processing unit 710 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. For example, the processing unit 710 can perform actions such as... Figure 1 Step S110: The first virtual game object is displayed in a first form in the graphical user interface of the terminal device corresponding to the first virtual game object; wherein the first virtual game object belongs to the first faction; Step S120: The first virtual game object is displayed in a second form in the graphical user interface of the terminal device corresponding to the second virtual game object; wherein the second virtual game object belongs to the second faction, and the first form and the second form are different.
[0126] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first virtual game object is displayed in a first form in the graphical user interface of the terminal device corresponding to the third virtual game object; wherein the third virtual game object belongs to the first camp.
[0127] In one exemplary embodiment of this disclosure, based on the aforementioned scheme, displaying a first virtual game object in a second form includes: obtaining a first position of the first virtual game object in a virtual game scene, obtaining a second position of a second virtual game object in the virtual game scene; determining, based on the first position and the second position, a second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object; and displaying the first virtual game object in the second form.
[0128] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first form is a multi-form coexistence state, which corresponds to multiple single forms, and the second form is a first target single form, which is one of the multiple single forms.
[0129] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, a second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object is determined according to the first position and the second position. The multi-form coexistence state has multiple first angle ranges, each first angle range corresponding to each single form, including: determining the line between the first position and the second position; when the line is located in the first target angle range, determining the single form corresponding to the first target angle range as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object; wherein, the multiple first angle ranges include the first target angle range.
[0130] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first target single form corresponds to a form attribute, and the method further includes: when the form attribute corresponding to the first target single form meets a preset condition, displaying the first virtual game object through the second target single form; wherein, the second target single form is included among the multiple single forms.
[0131] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, displaying a first virtual game object through a second target single form includes: deleting a first target angle range, dividing the first target angle range equally into multiple first angle ranges excluding the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges; obtaining the second target angle range where the connecting line is located, and displaying the first virtual game object through the second target single form corresponding to the second target angle range; wherein, the multiple second angle ranges include the second target angle range.
[0132] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, each single form corresponds to a form attribute, and the method further includes: when the form attributes corresponding to multiple single forms meet preset conditions, the first virtual game object enters a waiting state.
[0133] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the waiting state corresponds to a waiting time, and the method further includes: after the waiting time has elapsed, restoring the morphological attributes corresponding to multiple single forms.
[0134] In an exemplary embodiment of this disclosure, based on the foregoing scheme, the method further includes: displaying multiple morphological attributes corresponding to single forms in the graphical user interface of the terminal device corresponding to the first virtual game object; and displaying the morphological attributes corresponding to the first target single form in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0135] One embodiment of this disclosure provides an electronic device that can display a first virtual game object in a first form within the graphical user interface of a terminal device corresponding to a first virtual game object, and in a second form within the graphical user interface of a terminal device corresponding to a second virtual game object. On one hand, when playing, players can more easily distinguish between virtual game objects belonging to their own faction and those belonging to the enemy faction, reducing or avoiding accidental attacks on friendly virtual game objects and enabling precise attacks on enemy virtual game objects. On the other hand, players do not need to spend excessive attention distinguishing between friendly and enemy virtual game objects, avoiding adverse effects on the game, and can concentrate on attacking enemy virtual game objects, preventing player fatigue and reducing the player's gaming cost.
[0136] Storage unit 720 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 721 and / or cache memory 722, and may further include a read-only memory (ROM) 723.
[0137] The storage unit 720 may also include a program / utility 724 having a set (at least one) of program modules 725, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0138] Bus 730 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.
[0139] Electronic device 700 can also communicate with one or more external devices 770 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 700, and / or with any device that enables electronic device 700 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 750. Furthermore, electronic device 700 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 760. As shown, network adapter 760 communicates with other modules of electronic device 700 via bus 730. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0140] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0141] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of this disclosure may also be implemented as a program product including program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure.
[0142] In one exemplary embodiment of this disclosure, a computer-readable signal medium is provided, which can display at least a portion of a virtual game scene and virtual game objects located within the virtual game scene through a graphical user interface of a terminal device. The virtual game objects are controlled by the terminal device. The game includes a first faction and a second faction, which are opposing factions and are in the same match. The method includes: displaying the first virtual game object in a first form in the graphical user interface of the terminal device corresponding to the first virtual game object; wherein the first virtual game object belongs to the first faction; and displaying the first virtual game object in a second form in the graphical user interface of the terminal device corresponding to the second virtual game object; wherein the second virtual game object belongs to the second faction, and the first form and the second form are different.
[0143] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first virtual game object is displayed in a first form in the graphical user interface of the terminal device corresponding to the third virtual game object; wherein the third virtual game object belongs to the first camp.
[0144] In one exemplary embodiment of this disclosure, based on the aforementioned scheme, displaying a first virtual game object in a second form includes: obtaining a first position of the first virtual game object in a virtual game scene, obtaining a second position of a second virtual game object in the virtual game scene; determining, based on the first position and the second position, a second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object; and displaying the first virtual game object in the second form.
[0145] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first form is a multi-form coexistence state, which corresponds to multiple single forms, and the second form is a first target single form, which is one of the multiple single forms.
[0146] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, a second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object is determined according to the first position and the second position. The multi-form coexistence state has multiple first angle ranges, each first angle range corresponding to each single form, including: determining the line between the first position and the second position; when the line is located in the first target angle range, determining the single form corresponding to the first target angle range as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object; wherein, the multiple first angle ranges include the first target angle range.
[0147] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the first target single form corresponds to a form attribute, and the method further includes: when the form attribute corresponding to the first target single form meets a preset condition, displaying the first virtual game object through the second target single form; wherein, the second target single form is included among the multiple single forms.
[0148] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, displaying a first virtual game object through a second target single form includes: deleting a first target angle range, dividing the first target angle range equally into multiple first angle ranges excluding the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges; obtaining the second target angle range where the connecting line is located, and displaying the first virtual game object through the second target single form corresponding to the second target angle range; wherein, the multiple second angle ranges include the second target angle range.
[0149] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, each single form corresponds to a form attribute, and the method further includes: when the form attributes corresponding to multiple single forms meet preset conditions, the first virtual game object enters a waiting state.
[0150] In an exemplary embodiment of this disclosure, based on the aforementioned scheme, the waiting state corresponds to a waiting time, and the method further includes: after the waiting time has elapsed, restoring the morphological attributes corresponding to multiple single forms.
[0151] In an exemplary embodiment of this disclosure, based on the foregoing scheme, the method further includes: displaying multiple morphological attributes corresponding to single forms in the graphical user interface of the terminal device corresponding to the first virtual game object; and displaying the morphological attributes corresponding to the first target single form in the graphical user interface of the terminal device corresponding to the second virtual game object.
[0152] One embodiment of this disclosure provides a computer-readable signal medium that can display a first virtual game object in a first form in the graphical user interface of a terminal device corresponding to a first virtual game object, and in a second form in the graphical user interface of a terminal device corresponding to a second virtual game object. On the one hand, when playing, players can more easily distinguish between virtual game objects belonging to their own faction and those belonging to the enemy faction, reducing or avoiding accidental damage to their own virtual game objects and enabling precise attacks on enemy virtual game objects. On the other hand, players do not need to spend much attention distinguishing between friendly and enemy virtual game objects, avoiding adverse effects on the game, and can concentrate on attacking enemy virtual game objects, preventing player fatigue and reducing the player's gaming cost.
[0153] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0154] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0155] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing devices can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0156] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0157] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
Claims
1. A method for displaying virtual objects in a game, characterized in that, The method involves displaying at least a portion of a virtual game scene and virtual game objects within that scene through a graphical user interface on a terminal device. These virtual game objects are controlled by the terminal device. The game includes a first faction and a second faction, which are opposing factions and are in the same match. In the graphical user interface of the terminal device corresponding to the first virtual game object, the first virtual game object is displayed in a first form; wherein, the first virtual game object belongs to the first faction; In the graphical user interface of the terminal device corresponding to the second virtual game object, the first virtual game object is displayed in a second form; Among them, the second virtual game object belongs to the second faction, and the first form is different from the second form; The step of displaying the first virtual game object in a second form includes: Obtain the first position of the first virtual game object in the virtual game scene, and obtain the second position of the second virtual game object in the virtual game scene; determine the second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object based on the first position and the second position; display the first virtual game object through the second form.
2. The method according to claim 1, characterized in that, The method further includes: In the graphical user interface of the terminal device corresponding to the third virtual game object, the first virtual game object is displayed in a first form. The third virtual game object belongs to the first faction.
3. The method according to claim 1, characterized in that, The first form is a multi-form coexistence state, which corresponds to multiple single forms. The second form is a first target single form, which is one of the multiple single forms.
4. The method according to claim 3, characterized in that, The step of determining the second form to be displayed by the first virtual game object in the graphical user interface of the terminal device corresponding to the second virtual game object based on the first position and the second position, wherein the multi-form coexistence state has multiple first angle ranges, each first angle range corresponding to each of the single forms, including: Determine the line connecting the first position and the second position; When the connecting line is within the first target angle range, the single form corresponding to the first target angle range is determined as the first target single form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object. The plurality of first angle ranges include the first target angle range.
5. The method according to claim 4, characterized in that, The first target single form corresponds to a form attribute, and the method further includes: When the shape attribute corresponding to the first target single shape meets the preset conditions, the first virtual game object is displayed through the second target single shape. Among them, the second target single form is included in the plurality of single forms.
6. The method according to claim 5, characterized in that, The step of displaying the first virtual game object through the second target single form includes: Delete the first target angle range and divide the first target angle range equally into multiple first angle ranges other than the first target angle range, so that the multiple first angle ranges are expanded into multiple second angle ranges; Obtain the second target angle range where the connecting line is located, and display the first virtual game object through the second target single form corresponding to the second target angle range; The plurality of second angle ranges include the second target angle range.
7. The method according to claim 3, characterized in that, The single form corresponds to a form attribute, and the method further includes: When the morphological attributes corresponding to the multiple single forms meet the preset conditions, the first virtual game object enters a waiting state.
8. The method according to claim 7, characterized in that, The waiting state corresponds to a waiting time, and the method further includes: After the waiting time has elapsed, the morphological attributes corresponding to the multiple single forms are restored.
9. The method according to claim 3, characterized in that, The method further includes: In the graphical user interface of the terminal device corresponding to the first virtual game object, the form attributes corresponding to the multiple single forms are displayed; The graphical user interface of the terminal device corresponding to the second virtual game object displays the shape attributes corresponding to the first target single shape.
10. A device for displaying virtual objects in a game, characterized in that, The device displays at least a portion of a virtual game scene and virtual game objects within the virtual game scene through a graphical user interface on a terminal device. The virtual game objects are controlled by the terminal device. The game includes a first faction and a second faction, which are opposing factions and are in the same match. The device comprises: The first form display module is used to display the first virtual game object in a first form in the graphical user interface of the terminal device corresponding to the first virtual game object; wherein the first virtual game object belongs to the first faction; The second form display module is used to display the first virtual game object in a second form in the graphical user interface of the terminal device corresponding to the second virtual game object; wherein the second virtual game object belongs to the second faction, and the first form is different from the second form; The device further includes: A location acquisition unit is used to acquire the first position of the first virtual game object in the virtual game scene and to acquire the second position of the second virtual game object in the virtual game scene; The second form determination unit is used to determine, based on the first position and the second position, the second form to be displayed in the graphical user interface of the terminal device corresponding to the second virtual game object; The second form display unit displays the first virtual game object in a second form.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 9.
12. An electronic device, characterized in that, include: One or more processors; as well as A memory for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Game information prompting method and device, readable storage medium and electronic equipment
CN113426114A
Information processing method and device, equipment and storage medium
CN114377383A