Display method and device of interaction area, equipment, medium and program product

By adding a sector-shaped area with a smaller radius and a larger fan angle to the virtual scene as an interactive indication area, the problem of poor indication accuracy of the interactive effective area between virtual objects is solved, and the interactive realism of virtual objects and human-computer is improved Interaction efficiency.

CN119303300APending Publication Date: 2025-01-14TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310861557.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-12
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the prior art, the effective area indicator accuracy of the interaction between virtual objects is poor, resulting in players needing to frequently adjust the position of virtual objects, reducing the frequency of human-computer interaction and increasing computer data overhead.

Method used

Display the interaction indication area between the first and second virtual objects in the virtual scene. By adding a sector area with a smaller radius and a larger sector angle on the original sector area, ensure that the virtual objects interact on the side as well. It can accurately indicate the interactive area.

Benefits of technology

It improves the accuracy of area indication, enhances the realism of virtual object interaction in virtual scenes, reduces the frequency for players to adjust the position of virtual objects, and improves the efficiency of human-computer interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119303300A_ABST
    Figure CN119303300A_ABST
Patent Text Reader

Abstract

The invention discloses an interaction area display method and device, equipment, a medium and a program product, and relates to the field of animation output. The method comprises the following steps: displaying a first virtual object and a second virtual object in a virtual scene; in response to the received position moving operation on the first virtual object, displaying a position moving animation; in the process of displaying the position moving animation, in response to the situation that interaction conditions are met between the first position where the first virtual object is located and the second position where the second virtual object is located, an interaction indication area is displayed at the designated positions of the first virtual object and the second virtual object. According to the technical scheme, the fan-shaped area with the small radius and the large fan-shaped angle is added on the basis of the original fan-shaped area to serve as the interaction indication area, so that the interaction indication area can also indicate the interaction area in the lateral interaction process of the two virtual objects, and the area indication accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of animation output, and in particular to a display method, device, equipment, medium and program product for an interactive area. Background Art

[0002] With the rapid development of computer technology and the diversification of terminals, electronic games are becoming increasingly popular. In electronic games, virtual scenes are usually displayed on terminals, and players can perform role activities in the virtual scenes by controlling virtual objects and virtual objects controlled by other accounts.

[0003] In the related art, taking the first virtual object and the second virtual object as an example, when the first virtual object and the second virtual object interact with each other, a fan-shaped area is usually displayed in the direction of the second virtual object facing the first virtual object as the effective interaction area between the first virtual object and the second virtual object.

[0004] However, in the related art, simply setting a fan-shaped area between two virtual objects as the effective interaction area will result in a situation where the first virtual object is outside the effective interaction area but can interact with the second virtual object, resulting in poor accuracy of area indication, making it impossible for the virtual objects to interact accurately according to the displayed effective interaction area, requiring players to frequently adjust the positions of virtual objects, resulting in a low frequency of human-computer interaction, which in turn increases the data overhead of the computer. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment, medium and program product for displaying an interactive area, which can improve the accuracy of area indication. The technical solution is as follows.

[0006] In one aspect, a method for displaying an interactive area is provided, the method comprising:

[0007] Displaying a first virtual object and a second virtual object in a virtual scene, wherein the first virtual object and the second virtual object interact with each other in the virtual scene;

[0008] In response to receiving a position movement operation on the first virtual object, displaying a position movement animation, wherein the position movement animation is an animation for controlling the first virtual object to move in the virtual scene;

[0009] During the process of displaying the position movement animation, in response to the first position of the first virtual object and the second position of the second virtual object meeting the interaction condition, an interaction indication area is displayed at a specified position of the second virtual object, and the interaction indication area is used to indicate an effective area for the first virtual object to interact with the second virtual object. The interaction indication area includes a first fan-shaped area and a second fan-shaped area, a first radius of the first fan-shaped area is greater than a second radius of the second fan-shaped area, and a first fan-shaped angle of the first fan-shaped area is less than a second fan-shaped angle of the second fan-shaped area.

[0010] In another aspect, a display device for an interactive area is provided, the device comprising:

[0011] A display module, configured to display a first virtual object and a second virtual object in a virtual scene, wherein the first virtual object and the second virtual object interact with each other in the virtual scene;

[0012] A receiving module, configured to receive a position movement operation on the first virtual object;

[0013] The display module is further used to display a position movement animation, where the position movement animation is an animation for controlling the first virtual object to move in the virtual scene;

[0014] The display module is also used to display an interaction indication area at a specified position of the second virtual object in response to an interaction condition being met between a first position of the first virtual object and a second position of the second virtual object during display of the position movement animation, wherein the interaction indication area is used to indicate an effective area for interaction between the first virtual object and the second virtual object, and the interaction indication area includes a first fan-shaped area and a second fan-shaped area, a first radius of the first fan-shaped area is greater than a second radius of the second fan-shaped area, and a first fan-shaped angle of the first fan-shaped area is less than a second fan-shaped angle of the second fan-shaped area.

[0015] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a method for displaying an interactive area as described in any of the above-mentioned embodiments of the present application.

[0016] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a method for displaying an interactive area as described in any of the above-mentioned embodiments of the present application.

[0017] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the display method of the interactive area described in any of the above embodiments.

[0018] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0019] In the process of displaying the first virtual object and the second virtual object, when the first virtual object is controlled to move by receiving the position movement operation of the first virtual object, when the first position of the first virtual object and the second position of the second virtual object meet the interaction condition, the first fan-shaped area and the second fan-shaped area are displayed at the designated positions of the first virtual object and the second virtual object as the interaction indication area, wherein the first radius of the first fan-shaped area is greater than the second radius of the second fan-shaped area, and the first fan-shaped angle of the first fan-shaped area is less than the second fan-shaped angle of the second fan-shaped area. That is, when the two virtual objects meet the interaction condition during the movement, a fan-shaped area with a smaller radius and a larger fan-shaped angle is added to the original fan-shaped area as the interaction indication area, so that when the first virtual object and the second virtual object interact sideways (that is, the first virtual object is located on the side of the second virtual object), the interaction indication area can also indicate the interactive area, thereby improving the accuracy of the area indication, further improving the realism of the interaction of virtual objects in the virtual scene, reducing the frequency of players adjusting the positions of virtual objects, and improving the efficiency of human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 It is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;

[0022] Figure 2 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application;

[0023] Figure 3 is a flow chart of a method for displaying an interactive area provided by an exemplary embodiment of the present application;

[0024] Figure 4 is a flow chart of a method for displaying an interactive area provided by another exemplary embodiment of the present application;

[0025] Figure 5 is a display schematic diagram of an interactive indication area provided by an exemplary embodiment of the present application;

[0026] Figure 6 is an interactive animation schematic diagram provided by an exemplary embodiment of the present application;

[0027] Figure 7 is a flow chart of a method for displaying an interactive area provided by an exemplary embodiment of the present application;

[0028] Figure 8 is a schematic diagram of indicating status display provided by an exemplary embodiment of the present application;

[0029] Fig. 9 is a system architecture diagram provided by another exemplary embodiment of the present application;

[0030] Fig.10 is a schematic diagram of a fan-shaped area output process provided by an exemplary embodiment of the present application;

[0031] Fig.11 is a structural diagram of a display device of an interactive area provided by an exemplary embodiment of the present application;

[0032] Fig.12 is a structural diagram of a display device of an interactive area provided by another exemplary embodiment of the present application;

[0033] Fig.13 It is a structural block diagram of a terminal provided by another exemplary embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0036] First, a brief introduction is given to the terms involved in the embodiments of the present application.

[0037] Virtual environment: refers to the virtual environment displayed (or provided) when the application is running on the terminal. The virtual environment can be a simulation of the real world, a semi-simulation and semi-fictitious three-dimensional environment, or a purely fictitious three-dimensional environment. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. The following embodiments are described by taking the virtual environment as a two-dimensional virtual environment as an example, but are not limited to this.

[0038] Virtual objects: refers to movable objects in a virtual environment. The movable objects can be virtual chess pieces, virtual characters, virtual animals, cartoon characters, etc., such as people, animals, plants, oil drums, walls, stones, etc. displayed in a virtual environment. Optionally, virtual objects are three-dimensional models created based on animation skeleton technology. Each virtual object has its own shape and volume in the virtual environment and occupies a part of the space in the virtual environment.

[0039] First, the implementation environment of this application is introduced. Figure 1 A schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is given. The implementation environment includes: a terminal 110 , a server 120 and a communication network 130 , wherein the terminal 110 and the server 120 are connected via the communication network 130 .

[0040] The terminal 110 has a target application 111 installed and running, wherein the target application 111 is an application supporting a two-dimensional virtual environment or a three-dimensional virtual environment. The target application 111 may be any one of a virtual reality application, a three-dimensional map program, an auto chess game, a strategy game, a puzzle game, a massively multiplayer online role-playing game (MMORPG), a third-person shooting game (TPS), a first-person shooting game (FPS), a multiplayer online tactical competitive game (MOBA), a multiplayer gunfight survival game, and a sports competitive game. In an achievable manner, the target application 111 may be a stand-alone application, such as a stand-alone strategy game program, or a network-connected application.

[0041] Optionally, when the target application 111 is implemented as a stand-alone application, the terminal displays a virtual scene screen, which includes a first virtual object controlled by the terminal, and the virtual scene also includes a second virtual object. When the terminal receives a position movement operation on the first virtual object, the terminal obtains first rendering data corresponding to the pre-stored position movement operation according to the position movement operation, and renders the virtual scene screen according to the first rendering data, thereby displaying the position movement animation corresponding to the first virtual object. In the process of displaying the position movement of the first virtual object, when the first position of the first virtual object in the virtual scene and the second position of the second virtual object in the virtual scene meet the interaction condition, the terminal reads the second rendering data corresponding to the interaction indication area from the pre-stored indication area folder, thereby rendering the virtual scene screen according to the second rendering data, and displays the interaction indication area including the first fan-shaped area and the second fan-shaped area at the specified positions of the first virtual object and the second virtual object (it is worth noting that the above situation is not in Figure 1 .

[0042] Optionally, when the target application 111 is implemented as a network-connected application, Figure 1As shown, the current target application 111 is implemented as a sports game, and the current terminal 110 displays a virtual scene screen, which includes a first virtual object controlled by a first account logged in by the terminal 110, and a second virtual object, wherein the first virtual object and the second virtual object interact in the virtual scene. When the terminal 110 receives a position movement operation, it outputs a position movement request to the server 120, and the position movement request is used to request the server 120 to control the first virtual object to move in the virtual scene.

[0043] When the server 120 receives the position movement request, it reads the first rendering data corresponding to the position movement animation from the folder of the pre-stored movement animation according to the position movement request, and feeds the first rendering data as the position movement result back to the terminal 110. After receiving the position movement result, the terminal 110 renders the virtual scene screen according to the first rendering data in the position movement result, thereby displaying the animation of the first virtual object moving in the virtual scene.

[0044] In the process of displaying the movement of the first virtual object, when the server 120 detects that the first position of the first virtual object and the second position of the second virtual object meet the interaction condition, the second rendering data corresponding to the interactive indication area is obtained from the pre-stored indication area folder and fed back to the terminal 110 as the area display result.

[0045] After receiving the area display result fed back by the server 120, the terminal 110 renders the virtual scene image according to the second rendering data in the area display result, thereby displaying an interactive indication area including the first fan-shaped area and the second fan-shaped area at the designated positions of the first virtual object and the second virtual object.

[0046] The above-mentioned terminal 110 may be optional, and the terminal may be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a smart TV, a smart car, and other terminal devices, which are not limited to the embodiments of the present application.

[0047] The server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Optionally, the server 120 undertakes the main computing work, and the terminal 110 undertakes the secondary computing work; or, the server 120 undertakes the secondary computing work, and the terminal 110 undertakes the main computing work; or, the server 120 and the terminal 110 adopt a distributed computing architecture for collaborative computing.

[0048] It is worth noting that the above-mentioned servers can be independent physical servers, or they can be server clusters or distributed systems composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0049] Among them, cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.

[0050] In some embodiments, the above server can also be implemented as a node in a blockchain system.

[0051] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions.

[0052] Figure 2 The electronic device 200 includes an operating system 220 and an application 222 .

[0053] The operating system 220 is the underlying software that provides application programs 222 with secure access to the computer's hardware.

[0054] Application 222 is an application that supports a virtual environment. Optionally, application 222 is an application that supports a three-dimensional virtual environment. The application 222 can be any one of a virtual reality application, a three-dimensional map program, a massively multiplayer online role-playing game (MMORPG), a third-person shooter game (TPS), a first-person shooter game (FPS), a multiplayer online tactical competitive game (MOBA), a multiplayer gunfight survival game, a social game, a puzzle game, a strategy game, and a sports competitive game. The application 222 can be a stand-alone application, such as a stand-alone game program, or a network-connected application.

[0055] In combination with the above introduction, the display method of the interactive area provided by the present application is described. The method can be executed by a server or a terminal, or can be executed by a server and a terminal together. In the embodiment of the present application, the method is executed by a terminal as an example. Figure 3 As shown, the method includes the following steps.

[0056] Step 310: Display a first virtual object and a second virtual object in a virtual scene.

[0057] The first virtual object and the second virtual object interact in the virtual scene.

[0058] Illustratively, the current terminal runs a target application, and a first account is logged in during the running of the target application. Therefore, the first virtual object is a virtual object controlled by the first account.

[0059] Optionally, the second virtual object is also a virtual object controlled by the first account; or, the second virtual object is a virtual object controlled by a second account logged in by another terminal; or, the second virtual object is a non-player character (NPC), which is not limited.

[0060] When the second virtual object is an NPC, the action of the associated virtual object in the virtual scene is controlled by artificial intelligence (AI).

[0061] In some embodiments, the first virtual object and the second virtual object perform various types of interactions in the virtual scene, such as playing a virtual game, completing a designated task together, performing a designated action together, etc.

[0062] Optionally, the first virtual object and the second virtual object are virtual objects of different types; or, the first virtual object and the second virtual object are virtual objects of the same type.

[0063] In one example, taking the target application as a basketball competitive application, the first virtual object is a defensive player, the second virtual object is an offensive player holding the ball, and the first virtual object and the second virtual object play a virtual basketball game in a virtual scene.

[0064] Step 320: In response to receiving a position movement operation on the first virtual object, display a position movement animation.

[0065] The position movement animation is an animation for controlling the movement of the first virtual object in the virtual scene.

[0066] In some embodiments, the position movement operation refers to an operation for controlling the first virtual object to move in the virtual scene.

[0067] Optionally, the position moving operation may include at least one of the following operation modes:

[0068] 1. A position movement control is displayed in the virtual scene screen, and the position movement control is triggered and moved, which is used as a position movement operation;

[0069] 2. Drag the first virtual object in the virtual scene screen as a position movement operation;

[0070] 3. A position coordinate input area is displayed on the screen of the virtual scene. When the position coordinates of the first virtual object after the movement in the virtual scene are input in the position coordinate input area, the input position coordinates are regarded as the position movement operation.

[0071] Optionally, the position movement operation is mainly to set the moving direction, moving speed, moving distance, etc. of the first virtual object.

[0072] Step 330 , during the display of the position movement animation, in response to the first position of the first virtual object and the second position of the second virtual object meeting the interaction condition, displaying an interaction indication area at the designated positions of the first virtual object and the second virtual object.

[0073] Among them, the interaction indication area is used to indicate the effective area for the first virtual object to interact with the second virtual object, and the interaction indication area includes a first fan-shaped area and a second fan-shaped area. The first radius of the first fan-shaped area is greater than the second radius of the second fan-shaped area, and the first fan-shaped angle of the first fan-shaped area is less than the second fan-shaped angle of the second fan-shaped area.

[0074] Illustratively, the interaction condition refers to the condition set for the first virtual object and the second virtual object to be able to interact.

[0075] Optionally, the interaction condition includes at least one of the following condition types:

[0076] 1. The distance between the first position of the first virtual object in the virtual scene and the second position of the second virtual object in the virtual scene reaches a preset distance threshold;

[0077] 2. The first interaction type corresponding to the first virtual object and the second interaction type corresponding to the second virtual object meet the attack and defense interaction conditions. For example, if the first virtual object is a defensive player and the second virtual object is an offensive player, then the first virtual object and the second virtual object meet the attack and defense interaction conditions.

[0078] 3. The first virtual object and the second virtual object belong to different game camps. For example, the first camp and the second camp play a virtual game in a virtual scene, wherein the first virtual object belongs to the first camp and the second virtual object belongs to the second camp;

[0079] 4. The first virtual object and / or the second virtual object completes a designated task.

[0080] It is worth noting that the above-mentioned types of interaction conditions are merely illustrative examples and are not limited to these in the embodiments of the present application.

[0081] In some embodiments, the interaction indication area means that the first virtual object and the second virtual object can interact in the area. If at least one of the first virtual object and the second virtual object is located outside the interaction indication area, the first virtual object and the second virtual object cannot interact with each other. That is, when the interaction indication area is displayed at the designated position of the first virtual object and the second virtual object, it means that the first virtual object and the second virtual object can currently interact in the virtual scene. When the interaction indication area is not displayed at the designated position of the first virtual object and the second virtual object, the first virtual object and the second virtual object cannot interact in the virtual scene.

[0082] Optionally, there is an overlapping portion between the first fan-shaped area and the second fan-shaped area included in the interaction indication area; or, there is no overlapping portion between the first fan-shaped area and the second fan-shaped area included in the interaction indication area.

[0083] Optionally, the first sector-shaped area and the second sector-shaped area correspond to the same position of the center of a circle; or, the position of the center of a circle corresponding to the first sector-shaped area is different from the position of the center of a circle corresponding to the second sector-shaped area.

[0084] Optionally, when the interaction condition between the first virtual object and the second virtual object is met, the first fan-shaped area and the second fan-shaped area are displayed simultaneously as interaction indication areas; or, when the interaction condition between the first virtual object and the second virtual object is met, the first fan-shaped area is displayed first, and then the second fan-shaped area is displayed; or, when the interaction condition between the first virtual object and the second virtual object is met, the second fan-shaped area is displayed first, and then the first fan-shaped area is displayed; or, when the interaction condition between the first virtual object and the second virtual object is met, the first fan-shaped area is displayed first, and then the first fan-shaped area is canceled and the second fan-shaped area is displayed.

[0085] Optionally, the first sector-shaped area and the second sector-shaped area are displayed with the first virtual object / the second virtual object as the center of the circle, that is, the first sector-shaped area and the second sector-shaped area correspond to the same center of the circle; or, the first sector-shaped area is displayed with the first virtual object as the first center of the circle, and the second sector-shaped area is displayed with the second virtual object as the second center of the circle; or, the first sector-shaped area is displayed with the second virtual object as the first center of the circle, and the second sector-shaped area is displayed with the first virtual object as the second center of the circle.

[0086] Optionally, when the positions corresponding to the first virtual object and the second virtual object respectively meet the interaction conditions, the position of the displayed interaction indication area varies with the orientation of the first virtual object and / or the second virtual object, that is, the display position of the interaction indication area corresponds to the orientation of the first virtual object and / or the second virtual object.

[0087] In summary, the display method of the interactive area provided by the embodiment of the present application, in the process of displaying the first virtual object and the second virtual object, when the first virtual object is controlled to move by receiving the position movement operation of the first virtual object, when the first position of the first virtual object and the second position of the second virtual object meet the interactive conditions, the first fan-shaped area and the second fan-shaped area are displayed at the designated positions of the first virtual object and the second virtual object as the interactive indication area, wherein the first radius of the first fan-shaped area is greater than the second radius of the second fan-shaped area, and the first fan-shaped angle of the first fan-shaped area is less than the second fan-shaped angle of the second fan-shaped area. That is, when the two virtual objects meet the interactive conditions during the movement process, a fan-shaped area with a smaller radius and a larger fan-shaped angle is added to the original fan-shaped area as the interactive indication area, so that when the first virtual object and the second virtual object interact sideways (that is, the first virtual object is located on the side of the second virtual object), the interactive indication area can also indicate the interactive area, which improves the accuracy of the area indication, and further improves the realism of the virtual objects interacting in the virtual scene, reduces the frequency of players adjusting the positions of virtual objects, and improves the efficiency of human-computer interaction.

[0088] In some embodiments, the display mode of the interaction indication area is determined according to the distance between the first virtual object and the second virtual object. For example, please refer to Figure 4 , which shows a display method of an interactive area provided by an exemplary embodiment of the present application, that is, step 330 also includes steps 331 to 333, or includes steps 334 and 335, and step 330 also includes steps 340 and 350, such as Figure 4 As shown, the method includes the following steps.

[0089] Optionally, the interaction conditions include a variety of different types of conditional situations, each of which is described in detail below.

[0090] First, the interaction condition is determined based on the distance between the first location and the second location.

[0091] Step 331 : in the process of displaying the position movement animation, obtaining a first position of the first virtual object in the virtual scene.

[0092] In some embodiments, a world coordinate system is established in the virtual scene.

[0093] Illustratively, in the process of controlling the movement of the first virtual object, the first position coordinates of the first virtual object in the world coordinate system in the virtual scene are obtained in real time, wherein the first position coordinates can be realized as two-dimensional coordinates or three-dimensional coordinates.

[0094] Step 332: Obtain a second position of the second virtual object in the virtual scene.

[0095] Optionally, the second virtual object also moves during the process of the first virtual object moving; or, the second virtual object is stationary during the process of the first virtual object moving.

[0096] Illustratively, while obtaining the first position of the first virtual object in real time, the second position coordinates of the second virtual object in the world coordinate system in the virtual scene are also obtained in real time. The second position coordinates can be implemented as two-dimensional coordinates or three-dimensional coordinates.

[0097] Step 333: In response to the first position being within the first interaction range corresponding to the second position, displaying an interaction indication area at designated positions of the first virtual object and the second virtual object.

[0098] Illustratively, the first interaction range is a range preset for determining whether to display the interaction indication area.

[0099] Optionally, the corresponding first interaction range is set with the second position as the starting point; or, the corresponding first interaction range can also be set with the first position as the starting point.

[0100] Optionally, the range of the first interaction range is larger than the range of the interaction indication area; or, the range of the first interaction range is equal to the range of the interaction indication area.

[0101] For illustration, please refer to Figure 5 , which shows a display schematic diagram of an interactive indication area provided by an exemplary embodiment of the present application, such as Figure 5 As shown, a virtual scene screen 500 is displayed, which includes a first virtual object 501 and a second virtual object 502. When the first position of the first virtual object 501 is located within the first interaction range of the second virtual object 502, an interaction indication area 510 is displayed, which includes a first fan-shaped area 511 and a second fan-shaped area 512.

[0102] In some embodiments, in response to the first position being within a second interactive range corresponding to the second position, the first fan-shaped area is displayed; in response to the first position being within a third interactive range corresponding to the second position, the first fan-shaped area is canceled and the second fan-shaped area is displayed.

[0103] In another feasible situation, when the first fan-shaped area and the second fan-shaped area are displayed at different times, when the first position is within a second interactive range corresponding to the second position, the first fan-shaped area is displayed, and when the first position is within a third interactive range corresponding to the second position, the first fan-shaped area is cancelled and the second fan-shaped area is displayed, that is, the third interactive range is smaller than the second interactive range.

[0104] Second, the interaction conditions are determined based on the interaction type.

[0105] Step 334, obtaining a first interaction type corresponding to the first virtual object, and obtaining a second interaction type corresponding to the second virtual object.

[0106] In a schematic diagram, the interaction type refers to the interactive ability of the pre-set virtual object in the virtual scene. Taking the target application as a basketball competitive application as an example, the interaction type indicates the offensive and defensive ability of the virtual object in the virtual scene to play basketball, including at least one of the offensive and defensive ability types such as receiving the ball, dribbling, pick-and-roll, shooting, double-teaming, passing, blocking, stealing, etc.

[0107] In a feasible case, taking the first virtual object as an example, the first virtual object can correspond to a variety of different offensive and defensive capabilities, and the offensive and defensive capabilities corresponding to the first virtual object and the second virtual object in the process of interaction at the current moment are obtained. For example: the offensive and defensive capabilities corresponding to the first virtual object include dribbling, pick-and-roll, shooting, etc. At the current moment, the first virtual object is a ball-holding player and is ready to shoot, so the offensive and defensive capabilities of the first virtual object are shooting. The method for determining the offensive and defensive capabilities of the second virtual object is the same as that of the first virtual object.

[0108] In some embodiments, the first interaction type is determined according to the interaction action currently performed by the first virtual object. For example, the first virtual object is currently performing a shooting action, so the first interaction type is shooting.

[0109] In some embodiments, the second interaction type is determined according to the interaction action currently performed by the second virtual object. For example, the second virtual object is currently performing a steal action, so the second interaction type is defense.

[0110] Step 335 , in response to the first interaction type and the second interaction type meeting the attack and defense interaction condition, displaying an interaction indication area at designated positions of the first virtual object and the second virtual object.

[0111] In some embodiments, the attack and defense interaction condition refers to that one of the interaction types between the first virtual object and the second virtual object belongs to the attack type, and the other interaction type belongs to the defense type. For example, the first interaction type of the first virtual object is shooting, so the first interaction type belongs to the attack type, and the second interaction type of the second virtual object is stealing, so the second interaction type belongs to the defense type.

[0112] Step 340: display the interactive animation between the first virtual object and the second virtual object.

[0113] Illustratively, the interactive animation refers to an animation showing the first virtual object and the second virtual object interacting in the interactive indication area during the process of displaying the interactive indication area.

[0114] For illustration, please refer to Figure 6 , which shows an interactive animation schematic diagram provided by an exemplary embodiment of the present application, such as Figure 6 As shown, a virtual scene screen 600 is currently displayed, which includes a first virtual object 601 and a second virtual object 602, and an interaction indication area, wherein the interaction indication area includes a first fan-shaped area 611 and a second fan-shaped area 612. When the first virtual object 601 moves to the left side of the second virtual object 602, it is currently located in the second fan-shaped area 612 but not in the first fan-shaped area 611. However, at this time, the first virtual object 601 and the second virtual object 02 can still interact.

[0115] Step 350 : During the interactive animation of the first virtual object and the second virtual object, in response to the distance between the first position and the second position being within a second radius, displaying a regional rotation animation of a second sector-shaped region.

[0116] The area rotation animation refers to an animation in which the second sector-shaped area rotates as the first virtual object moves.

[0117] In some embodiments, as the first virtual object interacts around the second virtual object, when the first virtual object moves to the side of the second virtual object and does not belong to the second sector-shaped area, if the distance between the first virtual object and the second virtual object is less than the second radius, the second sector-shaped area is displayed to move with the movement of the first virtual object, ultimately ensuring that the first virtual object can be located within the second sector-shaped area.

[0118] In summary, the display method of the interactive area provided by the embodiment of the present application, in the process of displaying the first virtual object and the second virtual object, when the first virtual object is controlled to move by receiving the position movement operation of the first virtual object, when the first position of the first virtual object and the second position of the second virtual object meet the interactive conditions, the first fan-shaped area and the second fan-shaped area are displayed at the designated positions of the first virtual object and the second virtual object as the interactive indication area, wherein the first radius of the first fan-shaped area is greater than the second radius of the second fan-shaped area, and the first fan-shaped angle of the first fan-shaped area is less than the second fan-shaped angle of the second fan-shaped area. That is, when the two virtual objects meet the interactive conditions during the movement process, a fan-shaped area with a smaller radius and a larger fan-shaped angle is added to the original fan-shaped area as the interactive indication area, so that when the first virtual object and the second virtual object interact sideways (that is, the first virtual object is located on the side of the second virtual object), the interactive indication area can also indicate the interactive area, which improves the accuracy of the area indication, and further improves the realism of the virtual objects interacting in the virtual scene, reduces the frequency of players adjusting the positions of virtual objects, and improves the efficiency of human-computer interaction.

[0119] In this embodiment, by presetting a first interactive range, whether to display the interactive indication area is determined according to the relationship between the first position, the second position and the first interactive range, thereby improving the display accuracy of the interactive indication area.

[0120] In this embodiment, whether to display the interaction indication area is determined based on the relationship between the interaction type corresponding to the virtual object and the attack and defense interaction conditions, which can ensure that the first virtual object and the second virtual object can perform attack and defense interaction when the interaction indication area is displayed.

[0121] In this embodiment, the first sector area and the second sector area are switched for display according to the distance between the first position and the second position, so that the two sector areas can be displayed alternately, saving rendering resources and reducing computer data overhead.

[0122] In this embodiment, the additional area rendering function enables the first virtual object to interact with the second virtual object within the second fan-shaped area by rotating the second fan-shaped area when the first virtual object is located to the side of the second virtual object but outside the second fan-shaped area, thereby expanding the effective range of interaction.

[0123] In some embodiments, the fan-shaped area is determined according to the fan-shaped output formula. For example, please refer to Figure 7 , which shows a flow chart of a method for displaying an interactive area provided by an exemplary embodiment of the present application, that is, step 330 also includes step 3311, such as Figure 7As shown, the method includes the following steps.

[0124] Step 3311: Display a first sector-shaped area and a second sector-shaped area with a second position corresponding to the second virtual object as the center of the circle.

[0125] In some embodiments, the first virtual object is a defensive object, the second virtual object is an offensive object, and the first virtual object is used to interfere with the offensive process of the second virtual object.

[0126] Schematically, taking an application in a basketball competition application as an example, a first virtual object and a second virtual object play a basketball game in a virtual scene, wherein the first virtual object is the defensive player of the own team, and the second virtual object is the offensive player of the opponent holding the ball. Therefore, during the basketball game between the first virtual object and the second virtual object, the first virtual object defends the second virtual object and interferes with the second virtual object's shooting.

[0127] It is worth noting that, in another feasible case, the first position of the first virtual object may be used as the center of the circle to display the first sector area and the second sector area.

[0128] In some embodiments, a pre-set fan output formula is obtained; a first fan parameter and a second fan parameter are obtained, the first fan parameter corresponds to the first fan area, and the second fan parameter corresponds to the second fan area; the first fan parameter is substituted into the fan output formula to output the first fan area; the second fan parameter is substituted into the fan output formula to output the second fan area.

[0129] In this embodiment, a set of fan-shaped output formulas for outputting fan-shaped areas is first pre-set, and two sets of different parameter values ​​are set according to the parameters involved in the fan-shaped output formulas, and the two sets of different parameter values ​​are respectively substituted into the fan-shaped output formulas to output two different fan-shaped areas, as the first fan-shaped area and the second fan-shaped area. The fan-shaped output formulas can refer to the following code content.

[0130]

[0131] Among them, x, y, and z represent the center position of the sector area, the sector angle, and the sector radius length respectively.

[0132] Among them, l represents the length of the sector radius, p represents the sector pi of the sector area, redius represents the sector radius of the sector area, and c represents the sector circumference of the sector area.

[0133] In some embodiments, in response to the first position being within the first interaction range corresponding to the second position and outside the interaction indication area, the interaction indication area is displayed in a first indication state; in response to the first virtual object moving into the interaction indication area, the interaction indication area is displayed and switched from the first indication state to the second indication state.

[0134] In this embodiment, when the first virtual object is not yet in the interaction indication area (but is within the first interaction range), the first indication state corresponding to the interaction indication area is displayed, indicating that there are no other virtual objects except the second virtual object in the current interaction indication area; when the first virtual object is in the interaction indication area, the first indication state in the interaction indication area is switched to the second indication state, indicating that there are other virtual objects in the current interaction indication area that interact with the second virtual object.

[0135] For illustration, please refer to Figure 8 , which shows a schematic diagram of indicating status display provided by an exemplary embodiment of the present application, such as Figure 8 As shown, the virtual scene screen 800 is currently displayed, which includes an interaction indication area 810. When the first virtual object is within the first interaction range of the second virtual object but outside the interaction indication area, the interaction indication area is displayed to correspond to the first indication state 820 (blank state); when the first virtual object is within the interaction indication area, the interaction indication area is displayed to correspond to the second indication state 830 (diagonal state).

[0136] In some embodiments, in response to the first virtual object being located within the first sector-shaped area, a first area identifier corresponding to the first sector-shaped area is displayed, and a second area identifier corresponding to the second sector-shaped area is displayed.

[0137] In another feasible situation, the first fan-shaped area and the second fan-shaped area display different area identifiers. When the first virtual object is located in the first fan-shaped area, the first area identifier in the first fan-shaped area is displayed, and the second area identifier in the second fan-shaped area is displayed at the same time. When the second virtual object moves into the second fan-shaped area, the first area identifier in the second fan-shaped area is displayed, and the second area identifier in the first fan-shaped area is displayed.

[0138] In some embodiments, in response to the first virtual object being at an edge of the interaction indication area, an edge contour line of the interaction indication area is highlighted.

[0139] In this embodiment, taking the first virtual object as an example, when the first virtual object is located at the edge of the interaction indication area, the edge contour line of the interaction indication area is highlighted to prompt that the first virtual object is about to enter the interaction indication area.

[0140] In summary, the display method of the interactive area provided by the embodiment of the present application, in the process of displaying the first virtual object and the second virtual object, when the first virtual object is controlled to move by receiving the position movement operation of the first virtual object, when the first position of the first virtual object and the second position of the second virtual object meet the interactive conditions, the first fan-shaped area and the second fan-shaped area are displayed at the designated positions of the first virtual object and the second virtual object as the interactive indication area, wherein the first radius of the first fan-shaped area is greater than the second radius of the second fan-shaped area, and the first fan-shaped angle of the first fan-shaped area is less than the second fan-shaped angle of the second fan-shaped area. That is, when the two virtual objects meet the interactive conditions during the movement process, a fan-shaped area with a smaller radius and a larger fan-shaped angle is added to the original fan-shaped area as the interactive indication area, so that when the first virtual object and the second virtual object interact sideways (that is, the first virtual object is located on the side of the second virtual object), the interactive indication area can also indicate the interactive area, which improves the accuracy of the area indication, and further improves the realism of the virtual objects interacting in the virtual scene, reduces the frequency of players adjusting the positions of virtual objects, and improves the efficiency of human-computer interaction.

[0141] In this embodiment, when the first virtual object is located inside / outside the interactive indication area, different types of indication states of the interactive indication area are displayed, thereby improving the accuracy of the area indication.

[0142] In this embodiment, when the first virtual object is located in one of the two sector-shaped areas, the two sector-shaped areas respectively display different area identifiers, thereby improving the accuracy of the area indication.

[0143] In some embodiments, a basketball competitive application is used as an example for illustration. Fig. 9 , which shows a system architecture diagram provided by an exemplary embodiment of the present application, such as Fig. 9 As shown, the system architecture includes interface presentation 910 , position determination 920 , and game logic 930 .

[0144] In the interface presentation 910, the fan-shaped graphics drawing of the interactive indication area is controlled by vertex shader parameters. During the interaction between the first virtual object and the second virtual object, judgment is made based on the respective corresponding positions of the first virtual object and the second virtual object. That is, whether the first virtual object is in the interactive indication area affects the interface presentation 910 and the character behavior calling logic in the game logic 930, as well as the character value determination logic.

[0145] Character behavior call logic: refers to the logic of which action execution animation resource the virtual character should play based on the specified operation, character behavior status, and the physical parameters of the current character on the basketball court after the player completes the specified operation.

[0146] Schematically, different physical parameters are pre-set for different interaction types. For example, for shooting, the set physical parameters include the distance between the position coordinates corresponding to the virtual object and the projection of the basket on the virtual field; for stealing, the set physical parameters are the angle between the orientation of the virtual object during the stealing process and the displacement of the virtual object.

[0147] Character numerical judgment logic: refers to the results of the actions executed by virtual objects during the interaction process. This type of judgment method requires the interaction type of the first virtual object itself, the interaction type of the second virtual object, and the physical parameters on the court to participate in the calculation.

[0148] For illustration, please refer to Fig.10 , which shows a schematic diagram of a fan-shaped area output process provided by an exemplary embodiment of the present application, such as Fig.10 As shown, after obtaining the sector shape 1010 according to the sector output formula in the above embodiment, it is also necessary to show the edge contour of the entire sector area. A smooth transition (smoothstep) calculation is performed according to the d value in the above sector output formula to obtain a variable with a center value of 1 and an edge value of 0, and the edge contour effect of two sectors is simultaneously generated by controlling the variable 1020. In order to cut off the redundant contour lines, the sector function is continued to be used to draw two small sector areas as masks for the interactive indication area. Finally, in order to achieve the color gradient effect in the sector area, the circle function is used to control the overall transparent transition effect of the sector area, and finally a schematic diagram of the sector area 1030 is obtained. Among them, the color gradient effect can refer to the following code content.

[0149]

[0150] In summary, the display method of the interactive area provided by the embodiment of the present application, in the process of displaying the first virtual object and the second virtual object, when the first virtual object is controlled to move by receiving the position movement operation of the first virtual object, when the first position of the first virtual object and the second position of the second virtual object meet the interactive conditions, the first fan-shaped area and the second fan-shaped area are displayed at the designated positions of the first virtual object and the second virtual object as the interactive indication area, wherein the first radius of the first fan-shaped area is greater than the second radius of the second fan-shaped area, and the first fan-shaped angle of the first fan-shaped area is less than the second fan-shaped angle of the second fan-shaped area. That is, when the two virtual objects meet the interactive conditions during the movement process, a fan-shaped area with a smaller radius and a larger fan-shaped angle is added to the original fan-shaped area as the interactive indication area, so that when the first virtual object and the second virtual object interact sideways (that is, the first virtual object is located on the side of the second virtual object), the interactive indication area can also indicate the interactive area, which improves the accuracy of the area indication, and further improves the realism of the virtual objects interacting in the virtual scene, reduces the frequency of players adjusting the positions of virtual objects, and improves the efficiency of human-computer interaction.

[0151] Fig.11 is a structural block diagram of a display device of an interactive area provided by an exemplary embodiment of the present application, such as Fig.11 As shown, the device includes the following parts:

[0152] A display module 1110, configured to display a first virtual object and a second virtual object in a virtual scene, wherein the first virtual object and the second virtual object interact with each other in the virtual scene;

[0153] A receiving module 1120 is configured to receive a position movement operation on the first virtual object;

[0154] The display module 1110 is further used to display a position movement animation, where the position movement animation is an animation for controlling the first virtual object to move in the virtual scene;

[0155] The display module 1110 is also used to display an interaction indication area at a specified position of the second virtual object in response to an interaction condition being met between a first position of the first virtual object and a second position of the second virtual object during display of the position movement animation, wherein the interaction indication area is used to indicate an effective area for interaction between the first virtual object and the second virtual object, and the interaction indication area includes a first fan-shaped area and a second fan-shaped area, a first radius of the first fan-shaped area is greater than a second radius of the second fan-shaped area, and a first fan-shaped angle of the first fan-shaped area is less than a second fan-shaped angle of the second fan-shaped area.

[0156] In some embodiments, the display module 1110 is also used to obtain the first position of the first virtual object in the virtual scene during the process of displaying the position movement animation; obtain the second position of the second virtual object in the virtual scene; in response to the first position being within the first interaction range corresponding to the second position, display the interaction indication area at the designated positions of the first virtual object and the second virtual object.

[0157] In some embodiments, Fig.12 , the device further comprises:

[0158] An acquisition module 1130, configured to acquire a first interaction type corresponding to the first virtual object, and acquire a second interaction type corresponding to the second virtual object;

[0159] The display module 1110 is further configured to display the interaction indication area at designated positions of the first virtual object and the second virtual object in response to the first interaction type and the second interaction type meeting the attack and defense interaction conditions.

[0160] In some embodiments, the display module 1110 is also used to display the first fan-shaped area in response to the first position being within a second interactive range corresponding to the second position; and to cancel the display of the first fan-shaped area and display the second fan-shaped area in response to the first position being within a third interactive range corresponding to the second position.

[0161] In some embodiments, the first virtual object is a defensive object, the second virtual object is an offensive object, and the first virtual object is used to interfere with the offensive process of the second virtual object;

[0162] The display module 1110 is further configured to display the first sector-shaped area and the second sector-shaped area with the second position corresponding to the second virtual object as the center of the circle.

[0163] In some embodiments, the acquisition module 1130 is used to acquire a preset fan-shaped output formula; acquire a first fan-shaped parameter and a second fan-shaped parameter, wherein the first fan-shaped parameter corresponds to the first fan-shaped area, and the second fan-shaped parameter corresponds to the second fan-shaped area;

[0164] The output module 1140 is used to substitute the first sector parameter into the sector output formula to output the first sector area; and substitute the second sector parameter into the sector output formula to output the second sector area.

[0165] In some embodiments, the display module 1110 is also used to display that the interaction indication area is in a first indication state in response to the first position being within the first interaction range corresponding to the second position and outside the interaction indication area; and to display that the interaction indication area switches from the first indication state to the second indication state in response to the first virtual object moving into the interaction indication area.

[0166] In some embodiments, the display module 1110 is further configured to display a first region identifier corresponding to the first sector-shaped region and a second region identifier corresponding to the second sector-shaped region in response to the first virtual object being located within the first sector-shaped region.

[0167] In some embodiments, the display module 1110 is also used to display an interactive animation between the first virtual object and the second virtual object; during the display of the interactive animation between the first virtual object and the second virtual object, in response to the distance between the first position and the second position being within the second radius, a regional rotation animation of the second fan-shaped area is displayed, and the regional rotation animation refers to an animation in which the second fan-shaped area rotates as the first virtual object moves.

[0168] In some embodiments, the display module 1110 is further configured to highlight an edge contour line of the interaction indication area in response to the first virtual object being at an edge of the interaction indication area.

[0169] In summary, the display device of the interactive area provided by the embodiment of the present application, in the process of displaying the first virtual object and the second virtual object, when the first virtual object is controlled to move by receiving the position movement operation of the first virtual object, when the first position of the first virtual object and the second position of the second virtual object meet the interactive condition, the first fan-shaped area and the second fan-shaped area are displayed at the designated positions of the first virtual object and the second virtual object as the interactive indication area, wherein the first radius of the first fan-shaped area is greater than the second radius of the second fan-shaped area, and the first fan-shaped angle of the first fan-shaped area is less than the second fan-shaped angle of the second fan-shaped area. That is, when the two virtual objects meet the interactive condition during the movement process, a fan-shaped area with a smaller radius and a larger fan-shaped angle is added to the original fan-shaped area as the interactive indication area, so that when the first virtual object and the second virtual object interact sideways (that is, the first virtual object is located on the side of the second virtual object), the interactive indication area can also indicate the interactive area, which improves the accuracy of the area indication, and further improves the realism of the interaction of virtual objects in the virtual scene, reduces the frequency of players adjusting the positions of virtual objects, and improves the efficiency of human-computer interaction.

[0170] It should be noted that the display device of the interactive area provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the display device of the interactive area provided in the above embodiment and the display method embodiment of the interactive area belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0171] Fig.13 The structure block diagram of a terminal 1300 provided by an exemplary embodiment of the present application is shown. The terminal 1300 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, a laptop computer or a desktop computer. The terminal 1300 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0172] Typically, the terminal 1300 includes a processor 1301 and a memory 1302 .

[0173] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0174] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, which is used to be executed by the processor 1301 to implement the control method based on virtual games provided in the method embodiment of the present application.

[0175] In some embodiments, the terminal 1300 also includes other components, which can be understood by those skilled in the art. Fig.13 The structure shown in the figure does not constitute a limitation on the terminal 1300, and the terminal 1300 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0176] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, which can be a computer-readable storage medium contained in the memory in the above embodiments; or a computer-readable storage medium that exists independently and is not assembled in the terminal. The computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the display method of the interactive area described in any of the above embodiments.

[0177] Optionally, the computer readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0178] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0179] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for displaying an interactive area, characterized in that: The method comprises: Displaying a first virtual object and a second virtual object in a virtual scene, wherein the first virtual object and the second virtual object interact with each other in the virtual scene; In response to receiving a position movement operation on the first virtual object, displaying a position movement animation, wherein the position movement animation is an animation for controlling the first virtual object to move in the virtual scene; During the process of displaying the position movement animation, in response to the first position of the first virtual object and the second position of the second virtual object meeting the interaction condition, an interaction indication area is displayed at the designated positions of the first virtual object and the second virtual object, and the interaction indication area is used to indicate the effective area for the first virtual object to interact with the second virtual object, and the interaction indication area includes a first fan-shaped area and a second fan-shaped area, a first radius of the first fan-shaped area is greater than a second radius of the second fan-shaped area, and a first fan-shaped angle of the first fan-shaped area is less than a second fan-shaped angle of the second fan-shaped area.

2. The method according to claim 1, characterized in that In the process of displaying the position movement animation, in response to the first position of the first virtual object and the second position of the second virtual object meeting an interaction condition, displaying an interaction indication area at a designated position of the first virtual object and the second virtual object comprises: In the process of displaying the position movement animation, obtaining a first position of the first virtual object in the virtual scene; Acquire a second position of the second virtual object in the virtual scene; In response to the first position being within a first interaction range corresponding to the second position, the interaction indication area is displayed at designated positions of the first virtual object and the second virtual object.

3. The method according to claim 1, characterized in that The method further comprises: Obtaining a first interaction type corresponding to the first virtual object, and obtaining a second interaction type corresponding to the second virtual object; In response to the first interaction type and the second interaction type meeting the attack and defense interaction condition, the interaction indication area is displayed at the designated positions of the first virtual object and the second virtual object.

4. The method according to claim 1, characterized in that: In response to the first position of the first virtual object and the second position of the second virtual object meeting an interaction condition, displaying an interaction indication area at designated positions of the first virtual object and the second virtual object includes: In response to the first position being within a second interactive range corresponding to the second position, displaying the first sector area; In response to the first position being within a third interactive range corresponding to the second position, the first sector-shaped area is canceled and the second sector-shaped area is displayed.

5. The method according to any one of claims 1 to 4, characterized in that: The first virtual object is a defensive object, the second virtual object is an offensive object, and the first virtual object is used to interfere with the offensive process of the second virtual object; The displaying the interaction indication area at the designated positions of the first virtual object and the second virtual object includes: The first sector-shaped area and the second sector-shaped area are displayed with the second position corresponding to the second virtual object as the center of the circle.

6. The method according to claim 5, characterized in that Before displaying the first sector-shaped area and the second sector-shaped area with the second position corresponding to the second virtual object as the center of the circle, the method further includes: Get the preset sector output formula; Acquire a first sector parameter and a second sector parameter, wherein the first sector parameter corresponds to the first sector area, and the second sector parameter corresponds to the second sector area; Substituting the first sector parameter into the sector output formula to output the first sector area; Substitute the second sector parameters into the sector output formula to output the second sector area.

7. The method according to any one of claims 2 to 4, characterized in that: In response to the first position being within a first interaction range corresponding to the second position, displaying the interaction indication area at designated positions of the first virtual object and the second virtual object includes: In response to the first position being within the first interaction range corresponding to the second position and being outside the interaction indication area, displaying that the interaction indication area is in a first indication state; After displaying the interaction indication area at the designated positions of the first virtual object and the second virtual object in response to the first position being within the first interaction range corresponding to the second position, the method further includes: In response to the first virtual object moving into the interaction indication area, displaying the interaction indication area is switched from a first indication state to a second indication state.

8. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the first virtual object being located within the first sector-shaped area, a first area identifier corresponding to the first sector-shaped area is displayed, and a second area identifier corresponding to the second sector-shaped area is displayed.

9. The method according to any one of claims 1 to 4, characterized in that: After displaying the interaction indication area at the designated positions of the first virtual object and the second virtual object, the method further includes: displaying an interactive animation between the first virtual object and the second virtual object; During the interactive animation process of displaying the first virtual object and the second virtual object, in response to the distance between the first position and the second position being within the second radius, a regional rotation animation of the second fan-shaped area is displayed, wherein the regional rotation animation refers to an animation in which the second fan-shaped area rotates as the first virtual object moves.

10. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the first virtual object being at an edge of the interaction indication area, an edge contour line of the interaction indication area is highlighted.

11. A display device for an interactive area, characterized in that: The device comprises: A display module, configured to display a first virtual object and a second virtual object in a virtual scene, wherein the first virtual object and the second virtual object interact with each other in the virtual scene; A receiving module, configured to receive a position movement operation on the first virtual object; The display module is further used to display a position movement animation, where the position movement animation is an animation for controlling the first virtual object to move in the virtual scene; The display module is also used to display an interaction indication area at a specified position of the second virtual object in response to an interaction condition being met between a first position of the first virtual object and a second position of the second virtual object during display of the position movement animation, wherein the interaction indication area is used to indicate an effective area for interaction between the first virtual object and the second virtual object, and the interaction indication area includes a first fan-shaped area and a second fan-shaped area, a first radius of the first fan-shaped area is greater than a second radius of the second fan-shaped area, and a first fan-shaped angle of the first fan-shaped area is less than a second fan-shaped angle of the second fan-shaped area.

12. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the display method of the interactive area according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for displaying an interactive area according to any one of claims 1 to 10.

14. A computer program product, characterized in that It comprises computer instructions, and when the computer instructions are executed by a processor, the method for displaying an interactive area according to any one of claims 1 to 10 is implemented.