Method and apparatus for summoning virtual pet character, device, medium, and program product

By dynamically determining the summoning position of the virtual pet character based on specified elements within the field of view in a virtual scene, the problem of cumbersome summoning process and positional deviation is solved, thereby improving summoning efficiency and human-computer interaction.

WO2026031816A1PCT designated stage Publication Date: 2026-02-12TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/103722
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-07
Filing Date
2025-06-26
Publication Date
2026-02-12

AI Technical Summary

Technical Problem

In existing technologies, the process of summoning virtual pet characters is cumbersome and prone to positional deviations, resulting in low summoning efficiency and low human-computer interaction efficiency.

Method used

Based on specified elements within the current view range of the main virtual object, the summoning position of the virtual pet character is dynamically determined, avoiding reliance on manual operation by the player.

Benefits of technology

It improves the display flexibility and human-computer interaction efficiency of virtual pet characters, and lowers the threshold for summoning operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025103722_12022026_PF_FP_ABST
    Figure CN2025103722_12022026_PF_FP_ABST
Patent Text Reader

Abstract

A method and apparatus for summoning a virtual pet character, a device, a medium, and a program product. The method comprises: displaying a master virtual object in a virtual scene (210); receiving a character summoning operation (220); and in response to the character summoning operation, displaying a summoned first virtual pet character at a first position within a current field-of-view range (230).
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment, medium and program product for calling virtual pet role

[0001] The present application claims priority from the Chinese patent application No. 202411083416.4 filed on August 7, 2024 and entitled "Method, device, equipment, medium and program product for calling virtual pet role", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the field of human-computer interaction, in particular to a method, device, equipment, medium and program product for calling a virtual pet role. BACKGROUND

[0003] In current game applications, players can realize a game process with interest by calling a virtual pet role (such as a virtual pet, a virtual mount, etc.).

[0004] In related technologies, when a master virtual object is equipped with a calling prop for calling a virtual pet role, a player can trigger a role calling control and manually select a calling position in a virtual scene during the process of controlling the master virtual object, and call the virtual pet role at the calling position by throwing the calling prop to the calling position.

[0005] The above calling process is relatively cumbersome. Due to the complexity of the virtual scene, there is a deviation between the position where the virtual pet role appears and the manually selected position, which makes the calling efficiency of the virtual pet role low and the human-computer interaction efficiency in the game process low. SUMMARY

[0006] Embodiments of the present application provide a method, device, equipment, medium and program product for calling a virtual pet role, which can determine a first position more suitable for calling a virtual pet role from a current visual angle range based on a specified element in the current visual angle range that affects the result of calling a role, so as to call and display a first virtual pet role at the first position, thereby avoiding the need for manual operation of a player to determine the calling position of a virtual pet role, and improving the display flexibility of a virtual pet role and the human-computer interaction efficiency. The technical solution is as follows.

[0007] In one aspect, a method for calling a virtual pet role is provided, which is executed by a computer device, and the method comprises:

[0008] displaying a master virtual object in a virtual scene, the master virtual object having a calling ability for the virtual pet role, the virtual pet role including a pet role captured by the master virtual object in the virtual scene;

[0009] receiving a role summoning operation, the role summoning operation being used to summon a first virtual pet role, the first virtual pet role being a virtual pet role selected as a servant of the master virtual object;

[0010] in response to the role summoning operation, displaying the summoned first virtual pet role at a first position within a current perspective range, the first position being dynamically determined based on an element position of at least one specified element within the current perspective range, the specified element being a virtual element within the current perspective range that affects a role summoning result of the first virtual pet role.

[0011] In another aspect, a virtual pet role summoning apparatus is provided, the apparatus comprising:

[0012] a display module configured to display a master virtual object in a virtual scene, the master virtual object having a role summoning capability for virtual pet roles, the virtual pet roles including pet roles captured by the master virtual object in the virtual scene;

[0013] a receiving module configured to receive a role summoning operation, the role summoning operation being used to summon a first virtual pet role, the first virtual pet role being a virtual pet role selected as a servant of the master virtual object;

[0014] the display module is further configured to, in response to the role summoning operation, display the summoned first virtual pet role at a first position within a current perspective range, the first position being dynamically determined based on an element position of at least one specified element within the current perspective range, the specified element being a virtual element within the current perspective range that affects a role summoning result of the first virtual pet role.

[0015] In another aspect, a computer device is provided, the computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a code set or an instruction set, the at least one instruction, the at least one program, the code set or the instruction set being loaded and executed by the processor to implement a virtual pet role summoning method as described in any of the above embodiments of the present application.

[0016] In another aspect, a computer readable storage medium is provided, the storage medium having stored therein at least one instruction, at least one program, a code set or an instruction set, the at least one instruction, the at least one program, the code set or the instruction set being loaded and executed by a processor to implement a virtual pet role summoning method as described in any of the above embodiments of the present application.

[0017] In another aspect, a computer program product or computer program is provided, which includes computer instructions 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 to cause the computer device to perform the method for calling a virtual pet role according to any one of the above embodiments.

[0018] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects:

[0019] When the role calling operation for calling the first virtual pet role is received, the first position is dynamically determined according to the element position of the at least one specified element in the current visual angle range, so that the first virtual pet role selected as a servant is displayed at the first position. At least one specified element in the visual angle range that affects the role calling result of the first virtual pet role is used as a consideration factor when calling the virtual pet role, so that the first position more suitable for calling the first virtual pet role is dynamically selected by means of the element position of the specified element in the virtual scene, the selection efficiency of the first position is improved, the calling position of the virtual pet role can be determined without relying on manual operation of the player, the display flexibility of the virtual pet role is improved, the operation threshold for calling the virtual pet role is reduced, and the human-computer interaction efficiency is greatly improved. BRIEF DESCRIPTION OF DRAWINGS

[0020] FIG. 1 is a structural block diagram of a calling system provided by an example embodiment of the present application;

[0021] FIG. 2 is a flowchart of a calling method of a virtual pet role provided by an example embodiment of the present application;

[0022] FIG. 3 is a flowchart of determining a first position based on calling matching data and displaying a first virtual pet role provided by an example embodiment of the present application;

[0023] FIG. 4 is a schematic diagram of selecting a plurality of candidate positions provided by an example embodiment of the present application;

[0024] FIG. 5 is a schematic diagram of determining calling matching data corresponding to a plurality of candidate positions provided by an example embodiment of the present application;

[0025] FIG. 6 is a flowchart of selecting a first virtual pet role provided by an example embodiment of the present application;

[0026] FIG. 7 is a flowchart of displaying a first virtual pet role at a calling indication element provided by an example embodiment of the present application;

[0027] FIG. 8 is a schematic diagram of displaying a virtual light column as a calling indication element provided by an example embodiment of the present application;

[0028] FIG. 9 is a schematic diagram of selecting a first position based on a position evaluation score according to an example embodiment of the present application;

[0029] FIG. 10 is a schematic diagram of an interface displaying a first virtual pet role according to an example embodiment of the present application;

[0030] FIG. 11 is a flowchart of displaying a first virtual pet role in a highlighted area according to an example embodiment of the present application;

[0031] FIG. 12 is a schematic diagram of an interface displaying a highlighted area according to an example embodiment of the present application;

[0032] FIG. 13 is a schematic diagram of determining calling matching data in a highlighted area according to an example embodiment of the present application;

[0033] FIG. 14 is a schematic diagram of an interface displaying a first virtual pet role in a first position in a highlighted area according to an example embodiment of the present application;

[0034] FIG. 15 is a schematic diagram of a calling flow according to an example embodiment of the present application;

[0035] FIG. 16 is a structural block diagram of a calling device of a virtual pet role according to an example embodiment of the present application;

[0036] FIG. 17 is a structural block diagram of a terminal according to an example embodiment of the present application. DETAILED DESCRIPTION

[0037] Virtual scene: a virtual scene displayed (or provided) by an application running on a terminal.

[0038] Virtual model: a model used to simulate a real scene in a virtual scene.

[0039] Virtual role / virtual object: a movable object in a virtual scene.

[0040] In the embodiments of the present application, a calling method of a virtual pet role is introduced, which can determine a first position more suitable for calling a virtual pet role from a current visual range of a master virtual object based on a specified element in the current visual range that affects the calling result of the role, so as to display a first virtual pet role at the first position, thereby avoiding the dependence on manual operation of a player to determine the calling position of the virtual pet role, and improving the display flexibility of the virtual pet role and the human-computer interaction efficiency. The calling method of the virtual pet role provided in the embodiments of the present application can be applied to various virtual scenes such as online game scenes, virtual reality scenes, virtual tour guide scenes, virtual assistant scenes, etc., which are not limited in the embodiments of the present application.

[0041] It should be noted that the application can display a prompt interface, a pop-up window or output voice prompt information before and during the collection of relevant data of the user, which prompts the user that the relevant data of the user is currently being collected, so that the application only starts to perform the relevant steps of obtaining the relevant data of the user after obtaining the confirmation operation of the user to the prompt interface or the pop-up window, otherwise (i.e. without obtaining the confirmation operation of the user to the prompt interface or the pop-up window), ending the relevant steps of obtaining the relevant data of the user, that is, not obtaining the relevant data of the user. In other words, all the user data collected by the application is collected with the consent and authorization of the user, and the collection, use and processing of the relevant user data need to comply with the relevant laws, regulations and standards of the relevant region.

[0042] The calling system involved in the embodiments of the application will be described. The calling method of the virtual pet role provided by the embodiments of the application can be implemented by a terminal alone, or can be implemented by interaction between a terminal and a server. The embodiments of the application do not limit this. By way of example, the calling method of the virtual pet role implemented by interaction between a terminal and a server will be described.

[0043] By way of example, with reference to FIG. 1, the calling system involves a terminal 110 and a server 120, and the terminal 110 and the server 120 are connected through a communication network 130.

[0044] In some embodiments, a game application is installed in the terminal 110, and a master virtual object in a virtual scene is displayed during the running of the game application.

[0045] The master virtual object has a calling ability for a virtual pet role, and the virtual pet role includes a pet role captured by the master virtual object in the virtual scene. For example, the virtual pet role 1 is a pet role captured by the master virtual object from a place A in the virtual scene, such as a virtual puppy; the virtual pet role 2 is a pet role captured by the master virtual object from a place B in the virtual scene, such as a virtual monster, etc.

[0046] In some embodiments, the terminal 110 receives a role calling operation.

[0047] The role calling operation is used to call a first virtual pet role, and the first virtual pet role is a virtual pet role selected as a slave of the master virtual object. For example, a virtual pet role is selected as the first virtual pet role from a plurality of captured virtual pet roles based on the selection of the player, and the role calling operation is received to call the first virtual pet role.

[0048] In some embodiments, the terminal 110 displays the first virtual pet role summoned in a first position within the current visual angle range in response to the role summoning operation. The first position is dynamically determined based on the element position of at least one specified element within the current visual angle range. Illustratively, after the terminal 110 receives the role summoning operation, the current visual angle range is automatically determined, such as determining the current visual angle range with the first visual angle as the master virtual object, or determining the current visual angle range with the third visual angle, etc. Then the first position is dynamically determined based on the element position of at least one specified element within the current visual angle range.

[0049] The specified element is a virtual element within the current visual angle range that affects the role summoning result of the first virtual pet role, such as a role summoning success result, a role summoning failure result, etc. It also includes a role summoning auxiliary result (such as summoning the first virtual pet role to assist the master virtual object in mining resources, launching a virtual battle, etc.), a role summoning defense result (such as summoning the first virtual pet role to defend the master virtual object from attacks by other virtual objects, etc.).

[0050] For example, the specified element is a virtual resource, and the position closest to the virtual resource within the current visual angle range is taken as the first position, so as to efficiently mine the virtual resource by displaying the first virtual pet role at the first position.

[0051] Optionally, after receiving the role summoning operation, the terminal 110 sends request information to the server 120 through the communication network 130 to request the server 120 to issue a role animation corresponding to the first virtual pet role. The terminal 110 receives the role animation issued by the server 120 through the communication network 130, and renders and displays the first virtual role animation at the first position, so as to display the summoned first virtual pet role at the first position on the screen of the terminal 110; or, after receiving the role summoning operation, the terminal 110 sends request information including position information corresponding to the first position to the server 120 through the communication network 130 to request the server 120 to issue a role rendering animation for rendering and displaying the first virtual pet role at the first position. The terminal 110 receives the role rendering animation issued by the server 120 through the communication network 130, so as to display the summoned first virtual pet role at the first position on the screen of the terminal 110, etc.

[0052] In some embodiments, the terminal 110 can control the first virtual pet role to perform an exploration activity in the virtual scene in response to receiving the role control operation; or the terminal 110 can automatically control the first virtual pet role to perform an exploration activity in the virtual scene in the case of successfully summoning the first virtual pet role, etc. Illustratively, the terminal 110 automatically controls the first virtual pet role to perform an exploration activity in the virtual scene; or the terminal 110 controls the first virtual pet role to perform an exploration activity in the virtual scene based on the operation (role control operation) of the player, etc.

[0053] For example: the terminal 110 automatically controls the first virtual pet role to collect virtual resources in the virtual scene; or the terminal 110 controls the first virtual pet role to build a virtual house in the virtual scene based on the operation of the player, etc.

[0054] It is worth noting that the above-mentioned terminal includes but is not limited to a mobile terminal such as a mobile phone, a tablet computer, a portable laptop computer, a smart voice interaction device, a smart home appliance, and a vehicle-mounted terminal, and can also be implemented as a desktop computer, etc.; the above-mentioned server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server.

[0055] In combination with the above-mentioned name introduction and application scenario, the method for summoning a virtual pet role provided by the present application is described, which is taken as an example of being applied to a terminal, as shown in FIG. 2, and the method includes the following steps 210 to 230.

[0056] Step 210: display a master virtual object in a virtual scene.

[0057] Optionally, the virtual scene is a scene displayed when an application runs on the terminal; or the virtual scene is a scene displayed by projection. The virtual scene can be a simulation scene of a real scene, a semi-simulation semi-fictional scene, or a purely fictional scene. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. Illustratively, the master virtual object is a virtual role manually controlled by the player, such as a virtual hero in the virtual scene. The master virtual object has a summoning capability for the virtual pet role.

[0058] Illustratively, the master virtual object participates in a virtual match or performs a single-player or multi-player virtual task in the virtual scene, in the virtual scene, not only the player-controlled master virtual object exists, but also a virtual pet role capable of interacting with the master virtual object exists, the design of the virtual pet role can simulate a real animal or role-playing, so that the player experiences a sense of companionship in the virtual scene, thereby helping the virtual pet role to assist the master virtual object to participate in the virtual match and / or complete the virtual task, etc. The summoning ability is an ability for summoning the virtual pet role, and the process of summoning the virtual pet role can better assist the master virtual object through the virtual pet role.

[0059] Optionally, the summoning ability is an ability pre-configured for the master virtual object (e.g., the master virtual object having the virtual pet role has the summoning ability by default); or the summoning ability is an ability obtained when the master virtual object reaches a pre-set condition (e.g., the summoning ability is unlocked when the object level of the master virtual object reaches a pre-set level, or the master virtual object enters a pre-set area to obtain the summoning ability); or the summoning ability is an ability obtained when the master virtual object holds a summoning prop, etc. Here, the way of obtaining the summoning ability is not limited.

[0060] Optionally, the implementation mode of the summoning ability includes at least one of the following: (1) summoning a virtual pet role pre-captured into a virtual backpack to the virtual scene; (2) summoning a virtual pet role active at a certain position in the virtual scene to another position. Here, the implementation mode of the summoning ability is not limited.

[0061] Optionally, the virtual pet role includes a pet role captured by the master virtual object in the virtual scene.

[0062] Optionally, the virtual pet role is a virtual role captured by the master virtual object in the virtual scene. For example, the virtual pet roles are scattered at multiple positions in the virtual scene, and the master virtual object captures the virtual pet role by virtual interaction between the virtual pet roles. Illustratively, the player controls the master virtual object to capture the virtual pet role in the virtual scene by means of virtual battle, search, bait placement, virtual snare layout, fishing, etc. between the master virtual object and the virtual pet role, such as the player controls the master virtual object to layout a virtual snare at a region 1 in the virtual scene, and when the virtual pet role steps into the region 1, the virtual pet role is captured, etc.

[0063] In step 220, a role summoning operation is received.

[0064] Illustratively, during the game process, the terminal can receive a player-initiated character summoning operation, such as taking a click operation of the player on the character summoning control as a character summoning operation, or taking a long press operation of the player on the character summoning control as a character summoning operation (for example, starting a long press operation is regarded as starting to execute a character summoning operation, and ending a long press operation is regarded as completing a character summoning operation), or taking a trigger operation of the player on the interface to perform a specified gesture as a character summoning operation (for example, an operation of the player drawing a circle on the interface as a character summoning operation), or taking a selection operation of the player opening a virtual backpack and selecting a virtual pet character as a character summoning operation, and the like. Here, the manner of the character summoning operation is not limited.

[0065] The character summoning operation is used to summon a first virtual pet character, and the first virtual pet character is a virtual pet character selected as a slave of the master virtual object. Illustratively, the character summoning operation is directed to the first virtual pet character, and the first virtual pet character can be summoned by performing the character summoning operation, so that the first virtual pet character can perform a virtual activity in the virtual scene.

[0066] Optionally, the master virtual object captures a plurality of virtual pet characters, and a first virtual pet character is selected from the plurality of virtual pet characters in advance. When a character summoning operation such as a click operation or a long press operation is received, the first virtual pet character selected in advance is summoned by default.

[0067] Optionally, the master virtual object captures a plurality of virtual pet characters, and a selection operation on the first virtual pet character is taken as a character summoning operation to summon the first virtual pet character.

[0068] Optionally, the master virtual object captures a plurality of virtual pet characters, and a long press operation on the character summoning control is taken as a character summoning operation. When the long press operation is displayed based on the long press operation, the long press operation is ended when a pointer of the character summoning control is directed to a first virtual pet character in the plurality of virtual pet characters, and the long press operation is taken as a character summoning operation to summon the first virtual pet character.

[0069] Optionally, the master virtual object captures a plurality of virtual pet characters, and a drag operation on the character summoning control is taken as a character summoning operation. When the plurality of virtual pet characters are displayed based on the drag operation, the drag operation is taken as a character summoning operation to summon a first virtual pet character dragged to the first virtual pet character in the plurality of virtual pet characters.

[0070] It is worth noting that the above character summoning operation and the first virtual pet character are only illustrative examples of a pointing relationship, and the first virtual pet character can be a single virtual pet character or a plurality of virtual pet characters, and the embodiments of the present application are not limited in this regard.

[0071] Illustratively, based on the role summoning operation directed to the first virtual pet role, the first virtual pet role is taken as a servant of the master virtual object to assist the master virtual object to perform virtual activities in the virtual scene more efficiently.

[0072] Optionally, as the servant of the master virtual object, the first virtual pet role follows the master virtual object to perform virtual activities in the virtual scene; and / or, the first virtual pet role performs virtual instructions issued by the master virtual object in the virtual scene (such as: cultivating virtual land, collecting virtual resources, etc.); and / or, the first virtual pet role protects the master virtual object in the virtual scene (such as: defending against attacks of enemy virtual objects and / or attacking enemy virtual objects), etc. Here, the virtual activities performed by the selected first virtual pet role are not limited.

[0073] At step 230, in response to the role summoning operation, the summoned first virtual pet role is displayed at the first position within the current visual range.

[0074] Illustratively, under the role summoning operation, the current visual range is determined, and the first position is determined from the current visual range, so that the summoned first virtual pet role is displayed at the first position.

[0075] Optionally, the current visual range is a visual range corresponding to the master virtual object. For example: when the virtual scene is displayed in the first-person perspective, the current visual range is a range determined based on the position and orientation of the master virtual object together; when the virtual scene is displayed in the third-person perspective, the current visual range is also a range determined based on the position and orientation of the master virtual object together, but it may also take into account the position and viewing angle of the virtual camera observing the master virtual object, etc. But generally speaking, the current visual range is a range determined based on the position and orientation of the master virtual object. In addition, on the basis of the current visual range, the first position for displaying the summoned first virtual pet role also needs to be determined from it. Among them, the first position is dynamically determined based on the element position of at least one specified element within the current visual range.

[0076] Among them, the specified element is a virtual element within the current visual range that affects the role summoning result of the first virtual pet role.

[0077] Illustratively, a large number of virtual elements are displayed in advance in the virtual scene, and the virtual elements are at least one of a plurality of elements such as virtual objects (non-player characters or other player-controlled objects, etc.), virtual pet roles, virtual obstacles (such as virtual buildings, virtual walls, etc.), virtual terrains, virtual resources, etc.

[0078] Optionally, the specified element is a virtual element existing in the virtual scene, and the specified element includes at least one of the following virtual elements.

[0079] (1) Virtual resource

[0080] Illustratively, the specified element is a virtual resource in the virtual scene, and the virtual resource is a resource that can be exploited in the virtual scene, such as a virtual mine, a virtual water resource, a virtual forest, etc. Alternatively, according to the position of the virtual resource in the virtual scene, a position closest to the virtual resource within the current view range is determined as the first position, such as a position closest to the virtual mine.

[0081] (2) Virtual object (master virtual object, other virtual object)

[0082] Illustratively, the other virtual object includes at least one of an enemy virtual object and a teammate virtual object, the teammate virtual object is a virtual object in the same virtual camp as the master virtual object, and the enemy virtual object is a virtual object in a different virtual camp from the master virtual object. Alternatively, taking the specified element as an enemy virtual object in the virtual scene as an example, a position 5 meters away from the enemy virtual object within the current view range is determined as the first position according to the position of the enemy virtual object in the virtual scene.

[0083] (3) Other virtual pet role

[0084] Illustratively, the other virtual pet role includes at least one of a virtual pet role captured by the master virtual object (a virtual pet role other than the first virtual pet role) and a virtual pet role captured by the other virtual object. Alternatively, taking the specified element as a virtual pet role 1 captured by the master virtual object as an example, a position closest to the virtual pet role 1 within the current view range is determined as the first position according to the position of the virtual pet role 1 in the virtual scene.

[0085] (4) Virtual place

[0086] Illustratively, the virtual place is a space area with a specific meaning in the virtual scene, such as a virtual hospital, a virtual park, a virtual office building, etc. Alternatively, taking the specified element as a virtual office building as an example, an entrance position of the virtual office building within the current view range is determined as the first position according to the position of the virtual office building in the virtual scene.

[0087] (5) Virtual obstacle

[0088] Illustratively, the virtual obstacle is a virtual element in the virtual scene that has a blocking or hindering effect, such as a virtual wall, a virtual fence, etc. Alternatively, taking the specified element as a virtual wall as an example, an arbitrary position outside the virtual wall within the current view range is determined as the first position according to the position of the virtual wall in the virtual scene.

[0089] (6) virtual terrain

[0090] Illustratively, the virtual terrain is used to describe the flatness of the virtual ground in the virtual scene, such as steep terrain, flat terrain, etc. Alternatively, taking the specified element as the virtual terrain for example, according to the position distribution of the virtual terrain in the virtual scene, any point position on the virtual ground corresponding to the flat terrain in the current view range is taken as the first position, etc.

[0091] It is worth noting that the above specified elements are only illustrative examples, which can be used alone or in combination, such as the specified elements being virtual obstacles and virtual resources in the virtual scene, according to the respective positions of the virtual obstacles and virtual resources in the virtual scene, excluding the positions where the virtual obstacles are located in the current view range and taking the position closest to the virtual resource as the first position, etc. This is not limited here.

[0092] The element position is the position information of the position of the virtual element in the virtual scene, which can usually be represented by element position coordinates, which are usually determined based on the scene coordinate system (such as global coordinate system or local coordinate system, etc.) corresponding to the virtual scene; usually, each virtual element in the virtual scene has its own element position coordinates (i.e. element position). In the process of calling the first virtual pet role based on the role calling operation, first determine the current view range of the master virtual object, and then determine the virtual elements that will affect the role calling result of the first virtual pet role as specified elements from the current view range.

[0093] Alternatively, from the perspective of whether the role calling is successful, the role calling result is, such as the role calling success result (i.e. the virtual pet role can be successfully called), the role calling failure result (i.e. the virtual pet role cannot be successfully called).

[0094] Alternatively, from the perspective of the role of the role calling, the role calling result is also, such as the role calling auxiliary result (i.e. the purpose of calling the virtual pet role is to assist the master virtual object, such as assisting the master virtual object to participate in the virtual battle, or assisting the master virtual object to mine virtual resources, etc.), the role calling defense result (i.e. the purpose of calling the virtual pet role is to defend the virtual attack of other virtual objects on the master virtual object, etc.). The above role calling result is only an illustrative example, and any result that can affect the calling of the virtual pet role can be called as the role calling result, which is not limited here.

[0095] In one optional embodiment, the first virtual pet role is controlled to perform an exploration activity in the virtual scene.

[0096] Illustratively, in the case of displaying the first virtual pet role in the first position, it is considered that the first virtual pet role is successfully summoned at the first position, so the first virtual pet role can be automatically controlled to perform an exploration activity in the virtual scene; or, the first virtual pet role is controlled to perform an exploration activity in the virtual scene based on the role control operation of the player, etc.

[0097] The exploration activity is a virtual activity performed by the first virtual pet role in the virtual scene, and the exploration activity includes at least one of a resource mining activity, a house building activity, a farm management activity, a virtual battle activity, an adventure and treasure hunting activity, a social interaction activity, and various virtual activities, which are not limited by the embodiments of the present application.

[0098] In summary, at least one specified element in the field of view range that affects the role summoning result of the first virtual pet role is taken as a consideration factor when summoning the virtual pet role, so that a more suitable first position for summoning the first virtual pet role is dynamically selected by means of the element position of the specified element in the virtual scene, the selection efficiency of the first position is improved, the summoning position of the virtual pet role is determined by relying on manual operation of the player, the display flexibility of the virtual pet role is improved, the operation threshold of summoning the virtual pet role is reduced, and the human-computer interaction efficiency is greatly improved.

[0099] In an optional embodiment, a plurality of candidate positions are selected in the current field of view range, and when the first position at which the summoned first virtual pet role is displayed is determined based on the role summoning operation, the first position is selected from the plurality of candidate positions according to the summoning matching data corresponding to the plurality of candidate positions respectively. Illustratively, as shown in FIG. 3, the embodiment shown in FIG. 2 can also be implemented as steps 310 to 340; and the step 230 shown in FIG. 2 can also be implemented as steps 330 to 340.

[0100] Step 310, display a master virtual object in a virtual scene.

[0101] The master virtual object has a summoning capability for virtual pet roles, and the virtual pet roles include pet roles captured by the master virtual object in the virtual scene.

[0102] The summoning capability is a capability for summoning virtual pet roles, and through the process of summoning virtual pet roles, the master virtual object can be better assisted by the virtual pet role.

[0103] Optionally, the virtual pet role is a virtual role captured by the master virtual object in the virtual scene. For example, the virtual pet role is distributed at a plurality of positions in the virtual scene, and the master virtual object captures the virtual pet role by performing virtual interaction (such as virtual attack, search, and virtual trap setting) between the master virtual object and the virtual pet role.

[0104] Optionally, the virtual pet role is a virtual role captured by a team virtual object in the same virtual camp as the master virtual object in the virtual scene. For example, the master virtual object and at least one team virtual object form a virtual camp, and the virtual pet role can be captured by the team virtual object in the virtual camp. In the same virtual camp, different team virtual objects can share at least one captured virtual pet role, such as the master virtual object borrowing a virtual pet role A captured by a team virtual object, and the like.

[0105] Optionally, the virtual pet role is a virtual role captured by a team virtual object in the same virtual camp as the master virtual object in the virtual scene. For example, the master virtual object and at least one team virtual object form a virtual camp, and the virtual pet role can be captured by the team virtual object in the virtual camp. In the same virtual camp, different team virtual objects can share at least one captured virtual pet role, such as the master virtual object borrowing a virtual pet role A captured by a team virtual object, and the like.

[0106] Optionally, the virtual pet role is a virtual role captured by a team virtual object in the same virtual camp as the master virtual object in the virtual scene. For example, the master virtual object and at least one team virtual object form a virtual camp, and the virtual pet role can be captured by the team virtual object in the virtual camp. In the same virtual camp, different team virtual objects can share at least one captured virtual pet role, such as the master virtual object borrowing a virtual pet role A captured by a team virtual object, and the like.

[0107] It is worth noting that the above virtual pet role acquisition method is only an illustrative example, and the embodiments of the present application are not limited thereto.

[0108] Step 320, receiving a role summoning operation.

[0109] Illustratively, there is a role summoning control for casting a summoning ability on the game interface, and a click operation of the player on the role summoning control is taken as a role summoning operation; or a long press operation of the player on the role summoning control is taken as a role summoning operation, and the like. The role summoning operation is used to summon a first virtual pet role, which is a virtual pet role selected as a slave of the master virtual object.

[0110] Illustratively, the role summoning operation is directed to the first virtual pet role, and the first virtual pet role can be summoned by casting the role summoning operation to assist the master virtual object in activities through the first virtual pet role.

[0111] Optionally, the host virtual object captures a plurality of virtual pet roles, and a first virtual pet role is pre-selected from the plurality of virtual pet roles, and the first virtual pet role pre-selected is summoned by default when the role summoning operation is received.

[0112] At step 330, in response to the role summoning operation, the summoning matching data corresponding to the plurality of candidate positions in the current visual range is obtained.

[0113] Illustratively, in the case of the role summoning operation, the position summoned by the first virtual pet role needs to be determined, i.e., the first position for displaying the first virtual pet role is determined.

[0114] Optionally, the current visual range corresponding to the host virtual object under the role summoning operation is determined, and one of the plurality of candidate positions in the current visual range is selected as the first position for displaying the first virtual pet role.

[0115] Illustratively, a plurality of positions in the current visual range are randomly selected as the plurality of candidate positions, or a plurality of positions in the current visual range are selected according to a position selection rule as the plurality of candidate positions, etc.

[0116] In an optional embodiment, in response to the role summoning operation, the plurality of candidate positions are selected from the current visual range based on a position selection rule.

[0117] The position selection rule is used to represent the sparsity between the plurality of candidate positions.

[0118] Illustratively, the sparsity is used to describe the distance relationship between the plurality of candidate positions; when the position selection rule represents that the plurality of candidate positions are relatively sparse, the number of candidate positions selected from the current visual range based on the position selection rule is relatively small; when the position selection rule represents that the plurality of candidate positions are relatively dense, the number of candidate positions selected from the current visual range based on the position selection rule is relatively large. The position selection rule includes at least one of a first selection rule configured by default and a second selection rule determined based on a rule configuration operation.

[0119] Illustratively, the first selection rule configured by default is a rule pre-configured by the system when selecting the candidate positions, such as the first selection rule representing that 50 candidate positions are selected from the current visual range; or the first selection rule representing that a preset network is laid in the current visual range to determine the plurality of candidate positions, etc.

[0120] Illustratively, the second selection rule is a rule customized based on the rule configuration operation, such as a second selection rule determined based on the rule configuration operation representing selecting 10 candidate positions from the current perspective range; or the second selection rule representing determining a smaller number of candidate positions in the current perspective range using a relatively sparse network.

[0121] The above describes the content of determining multiple candidate positions through the position selection rule under the character summoning operation. The design of the position selection rule can select part of the position points in the current perspective range, which helps to improve the accuracy of the character summoning operation under the character summoning operation, and if the candidate positions are displayed on the interface, it also helps the player to understand the game strategy layout more clearly. Even if the candidate positions selected by the position selection rule are not displayed on the interface, the design of the position selection rule improves the selection efficiency of the candidate positions, provides a more flexible and comprehensive response mode, and facilitates to improve the human-computer interaction efficiency of selecting the summoned position based on the character summoning operation.

[0122] In addition, the position selection rule can be a default first selection rule to ensure the selection efficiency of the candidate positions and avoid the problem that the candidate positions cannot be selected and the first position cannot be determined, which is suitable for a wide range of application scenarios where the player does not have specific needs; the position selection rule can also be a rule customized based on the rule configuration operation of the player, thereby providing a more personalized implementation for the player, improving the selection flexibility of the candidate positions, meeting more complex application scenarios, and ensuring the human-computer interaction efficiency.

[0123] Optionally, in response to receiving the rule configuration operation, a plurality of configuration options are displayed.

[0124] Among them, the configuration option is used to adjust the position sparsity when selecting the candidate position based on the character summoning operation; the position sparsity is in a positive proportional relationship with the number of candidate positions. For example: the configuration option includes 3, which are: sparse, medium, and dense; or the configuration option is a configuration box, and the sparsity is adjusted by dragging the configuration control on the configuration box, etc. The display of the configuration option is not limited here.

[0125] In some embodiments, in response to receiving a selection operation on a first configuration option in the plurality of configuration options, a first sparsity corresponding to the first configuration option is taken as a second selection rule.

[0126] Illustratively, each configuration option corresponds to a sparsity, and the sparsity represents the degree of sparsity; the greater the sparsity, the greater the degree of sparsity, and the fewer the number of selected candidate positions; the smaller the sparsity, the smaller the degree of sparsity, and the greater the number of selected candidate positions, etc.

[0127] For example, taking the above three configuration options as an example, if the configuration option "sparse" is selected, it means that the first density is "sparse", so the number of candidate positions is less; if the configuration option "dense" is selected, it means that the first density is "dense", so the number of candidate positions is more. Or, taking the above configuration box as an example, if the configuration control is dragged to the leftmost side of the configuration box (such as corresponding to the most sparse), it means that the first density is "most sparse", so the number of candidate positions is the least, if the configuration control is dragged to the rightmost side of the configuration box (such as corresponding to the most dense), it means that the first density is "most dense", so the number of candidate positions is the most, etc. Illustratively, based on the selection operation of the above configuration options, the first density corresponding to the selected first configuration option is determined as the second selection rule customized.

[0128] Optionally, when the first selection rule and the second selection rule are used in combination, the first selection rule and the second selection rule can be pre-set to be applicable to sub-regions respectively; for example, the first selection rule is applicable to sub-region 1 in the current view range; the second selection rule is applicable to sub-region 2 in the current view range, sub-region 1 and sub-region 2 are independent of each other, thereby providing more diversified selection methods for candidate positions, which are not limited here.

[0129] The above describes the content of determining the second selection rule as the position selection rule through the rule configuration operation. In the process of the player performing the rule configuration operation, a plurality of configuration options are displayed, so that the player can selectively adjust the sparsity of the grid to affect the sparsity of the candidate position, improve the individualization degree, and avoid the problem that the default configuration of the candidate position does not meet the player's expectation. Improve the operation flexibility of the player based on the game demand, protect the operation experience of the player, and improve the human-computer interaction efficiency.

[0130] In some embodiments, in response to the character summoning operation, a sector region is determined as the current view range based on the orientation and position of the master virtual object.

[0131] Illustratively, the current view range is usually associated with the master virtual object. When the current view range is determined based on the character summoning operation, the orientation and position of the master virtual object in the virtual scene are first determined. The orientation is the facing direction of the master virtual object, and the position is the position information of the master virtual object in the virtual scene, which can be realized in the form of position coordinates.

[0132] Optionally, taking the position of the master virtual object as the starting point and the orientation of the master virtual object as the center line of the sector, a sector region surrounded by a preset radius is obtained as the current view range.

[0133] Illustratively, the element position of the master virtual object is the starting point of the fan-shaped sector, the preset radius is a preset radius, such as 5 m, 10 m, etc., and the orientation of the master virtual object is the center of the fan-shaped sector, i.e., the center of the divided fan-shaped angle; so that the fan-shaped region can be obtained as the current view range. The current view range is a two-dimensional plane range in the virtual environment, which is a plane range located on the virtual ground.

[0134] Optionally, a vertebral region surrounded by the preset radius can also be obtained as the current view range by taking the position of the master virtual object as the starting point and taking the orientation of the master virtual object as the vertebral midline, at this time, the current view range is a three-dimensional space range in the virtual environment. The dimension of the current view range is not limited here.

[0135] In some embodiments, the grid size determined based on the position selection rule divides the fan-shaped region to obtain a plurality of grid regions as a plurality of candidate positions.

[0136] Illustratively, taking the grid size of the position selection rule as an example, the larger the grid size, the sparser the region division, and the smaller the grid size, the denser the region division; the position selection rule can be the above-mentioned default first selection rule or the above-mentioned self-defined second selection rule, which is not limited here.

[0137] Optionally, if the grid size is used to divide the fan-shaped region as the current view range, a plurality of grid regions in the current view range can be obtained, and a plurality of candidate positions in the current view range can be determined through the plurality of grid regions.

[0138] Illustratively, the grid center of the grid region is taken as the candidate position; or a preset region boundary point in the grid region is taken as the candidate position (such as taking the upper left corner point of the grid region as the candidate position), etc. The larger the grid size, the larger the area of the grid region, and the fewer the number of candidate positions; the smaller the grid size, the smaller the area of the grid region, and the more the number of candidate positions.

[0139] The above describes the content of selecting candidate positions when the position selection rule is implemented in the grid size division manner. Based on the role calling operation, a fan-shaped region determined by the orientation and position of the comprehensive master virtual object is taken as the current visual angle range, the grid size division of the fan-shaped region is performed according to the position selection rule, and then a plurality of grid regions divided in the fan-shaped region are taken as candidate positions respectively. If the interface presents the division process of the fan-shaped region and the grid size, the player can clearly see the uniformly distributed and clearly marked candidate positions in the current visual field range, the interface display richness is enhanced, and the player can obtain a smooth and accurate operation experience. In addition, even if the interface does not display the division process of the grid size, the uniform distribution of the candidate positions can be ensured through the grid regions, the phenomenon of too concentrated or too dispersed candidate positions is avoided, the rationality and efficiency of the candidate positions are improved, and the accuracy and appropriateness of the first position selection are further ensured.

[0140] In some embodiments, when the plurality of grid regions exist in the first grid region including a virtual element, the first grid region is discarded; and the plurality of candidate positions are obtained through the second grid region outside the first grid region.

[0141] Illustratively, there may be a grid region including a virtual element in the plurality of grid regions, that is, the grid region falls on the virtual element in the virtual scene; for example, the grid region falls on a virtual object (a teammate virtual object or an enemy virtual object), or the grid region falls on a virtual obstacle, or the grid region falls on another virtual pet role, etc.; at this time, the grid region is not suitable for calling the first virtual pet role, that is, it is not suitable for selecting a candidate position, so the first grid region including the virtual element is discarded.

[0142] The grid regions in the plurality of grid regions except the discarded first grid region are referred to as second grid regions, and the second grid regions include a plurality of grid regions; the candidate positions are obtained from the plurality of grid regions in the second grid regions to obtain a plurality of candidate positions.

[0143] As shown in FIG. 4, it is a schematic diagram of selecting a plurality of candidate positions. The position of the master virtual object 410 is taken as the starting point, the orientation of the master virtual object 410 is taken as the center line of the fan-shaped region, and a preset radius is taken as the radius of the fan-shaped region, so as to obtain a fan-shaped region 420 as the current visual angle range; wherein the current visual angle range includes part of a virtual obstacle 430 and an enemy virtual object 440. The grid size determined by the position selection rule is used to divide the fan-shaped region 420, and a plurality of grid regions shown in FIG. 4 are obtained. The grid regions in the plurality of grid regions which do not include virtual elements (the virtual obstacle 430 and the enemy virtual object 440) are taken as a candidate position, or the centers of the grid regions in the plurality of grid regions which do not include virtual elements are taken as a candidate position, and then a plurality of candidate positions 450 shown in FIG. 4 are obtained.

[0144] In the above, there can be a grid region on the boundary of the fan-shaped region 420 which is selected as a candidate position; there can also be a grid region inside the fan-shaped region 420 but the boundary point of the selected candidate position is outside the fan-shaped region 420. This is only an illustrative example, and the embodiments of the present application do not limit this.

[0145] In the above, the calling matching data is determined based on the positional relationship of the candidate position relative to the specified element.

[0146] Illustratively, after selecting multiple candidate positions, each candidate position is analyzed individually to determine the positional relationship of each candidate position relative to the specified element, thereby determining the calling matching data corresponding to the multiple candidate positions respectively.

[0147] Optionally, the closer the distance between the candidate position and a certain specified element, the greater the value of the calling matching data; the closer the distance between the candidate position and another specified element, the smaller the value of the calling matching data, etc. For example: the closer the distance between the candidate position and the enemy virtual object, the greater the value of the calling matching data; the closer the distance between the candidate position and the virtual obstacle, the smaller the value of the calling matching data, etc.

[0148] In the above, for each candidate position, the positional relationship between the candidate position and at least one specified element is analyzed to comprehensively determine the calling matching data. For example: for candidate position 1, the positional relationship between candidate position 1 and the enemy virtual object is analyzed to obtain data A, the positional relationship between candidate position 2 and the virtual obstacle is analyzed to obtain data B, and the sum of data A and data B is taken as the matching calling data corresponding to candidate position 1, etc.

[0149] In an optional embodiment, in response to the character calling operation, based on the positional relative relationship between the candidate position and the specified element, the gain effect of calling the first virtual pet character at the candidate position is evaluated to obtain a position evaluation score corresponding to the multiple candidate positions respectively as the calling matching data.

[0150] Illustratively, in analyzing the call matching data corresponding to each of the plurality of candidate positions, for each candidate position, based on the positional relative relationship between the candidate position and the specified element within the current visual range, the gain effect of calling the first virtual pet role at the candidate position is evaluated. The gain effect is the effect of the first virtual pet role assisting the master virtual object. For example: for candidate position 1, if it is evaluated that the virtual obstacles on the side are not conducive to calling the first virtual pet role when calling the first virtual pet role at candidate position 1, the strength of the gain effect is low; if it is evaluated that there are enemy virtual objects on the side when calling the first virtual pet role at candidate position 1, the enemy virtual objects can be targeted after calling the first virtual pet role, then the strength of the gain effect is higher, etc.

[0151] Optionally, for any one candidate position, when evaluating the gain effect of calling the first virtual pet role at the candidate position, the positional relative relationship between the candidate position and at least one specified element is analyzed, so as to comprehensively obtain the position evaluation score as the call matching data by at least one specified element for the gain effect of calling the first virtual pet role at the candidate position.

[0152] The strength of the gain effect and the numerical value of the position evaluation score are in a positive proportional relationship. For example: the higher the strength of the gain effect, the higher the position evaluation score; the lower the strength of the gain effect, the lower the position evaluation score.

[0153] The above describes the content of evaluating the gain effect by the positional relative relationship between the candidate position and the specified element to obtain the position evaluation score as the call matching data. The specified element is a virtual element that affects the role calling result. The positional relative relationship between each candidate position and the specified element is analyzed to determine whether the virtual pet role will be disturbed by the specified element when called at each candidate position. The gain effect is quantified by the position evaluation score, so that the determination of the gain effect is more accurate and intuitive, thereby helping the player to efficiently and targetedly select the best calling position as the first position, increasing the decision depth, ensuring that the position evaluation score of the position with better gain effect is also higher, and improving the overall operation experience and human-computer interaction efficiency.

[0154] In some embodiments, for any one first candidate position in the plurality of candidate positions, the position evaluation score includes at least one of the following.

[0155] (1) Based on a first distance between the first candidate position and the master virtual object, a first distance score is obtained.

[0156] The first distance and the first distance score are in an inverse proportional relationship, and the specified element includes the master virtual object.

[0157] Illustratively, in the case that the specified element includes the host virtual object, if the position evaluation score is analyzed, the relative position relationship between the first candidate position and the host virtual object needs to be analyzed, such as determining a first distance between the first candidate position and the host virtual object; taking the case that the closer the first distance, the stronger the gain effect (inverse proportional relationship) as an example, the shorter the first distance between the first candidate position and the host virtual object, the higher the first distance score, and the more helpful the first candidate position is to summon the first virtual pet role.

[0158] (2) Obtain a second distance score based on a second distance between the first candidate position and other virtual objects.

[0159] Wherein, the second distance and the second distance score are in an inverse proportional relationship, and the specified element includes other virtual objects.

[0160] Illustratively, in the case that the specified element includes other virtual objects, if the position evaluation score is analyzed, the relative position relationship between the first candidate position and the other virtual objects needs to be analyzed, such as determining a second distance between the first candidate position and the enemy virtual object or the teammate virtual object; taking the case that the closer the second distance, the stronger the gain effect (inverse proportional relationship) as an example, the shorter the second distance between the first candidate position and the enemy virtual object or the teammate virtual object, the higher the second distance score, and the more helpful the first candidate position is to summon the first virtual pet role.

[0161] Optionally, the second distance score corresponding to the enemy virtual object can be set to be larger, and the second distance score corresponding to the teammate virtual object can be set to be smaller (i.e., more inclined to summon the first virtual pet role at a position close to the enemy virtual object); or, the second distance score corresponding to the enemy virtual object can be set to be smaller, and the second distance score corresponding to the teammate virtual object can be set to be larger (i.e., more inclined to summon the first virtual pet role at a position close to the teammate virtual object), etc., which are not limited here.

[0162] (3) Obtain a third distance score based on a third distance between the first candidate position and other virtual pet roles.

[0163] Optionally, the third distance and the third distance score are in an inverse proportional relationship, and the specified element includes other virtual pet roles.

[0164] Illustratively, in the case that the specified element includes other virtual pet roles, if the position evaluation score is analyzed, the relative position relationship between the first candidate position and the other virtual pet roles needs to be analyzed, such as determining a third distance between the first candidate position and the other virtual pet roles.

[0165] For example, the closer the third distance, the stronger the gain effect (inverse proportional relationship), the shorter the third distance between the first candidate position and other virtual pet roles, the higher the third distance score, the more conducive the first candidate position to the summoning of the first virtual pet role (tending to summon the first virtual pet role near other virtual pet roles); or for example, the closer the third distance, the weaker the gain effect (proportional relationship), the shorter the third distance between the first candidate position and other virtual pet roles, the lower the third distance score, the less conducive the first candidate position to the summoning of the first virtual pet role (tending to summon the first virtual pet role away from other virtual pet roles), etc.

[0166] (4) Obtain an obstacle score based on the hindering effect of the virtual obstacle at the first candidate position on the summoning of the first virtual pet role.

[0167] Wherein, the hindering effect and the obstacle score are in inverse proportional relationship, and the specified element includes the virtual obstacle.

[0168] Illustratively, in the case where the specified element includes the virtual obstacle, if the position evaluation score is analyzed, the hindering effect of the virtual obstacle at the first candidate position on the summoning of the first virtual pet role needs to be analyzed, i.e. whether the virtual obstacle at the first candidate position interferes with the role summoning process. If yes, the lower the obstacle score, such as the obstacle score being -1, -4, 0, 1, etc. (i.e. can be positive, can be negative, and can be 0); if no, the higher the obstacle score, such as the obstacle score being 3, 5, etc.

[0169] (5) Obtain a terrain score based on the influence degree of the virtual terrain at the first candidate position on the summoning of the first virtual pet role.

[0170] Wherein, the influence degree and the terrain score are in inverse proportional relationship, and the specified element includes the virtual terrain.

[0171] Illustratively, in the case where the specified element includes the virtual terrain, if the position evaluation score is analyzed, the influence degree of the virtual terrain at the first candidate position on the summoning of the first virtual pet role needs to be analyzed, i.e. whether the virtual terrain at the first candidate position affects the role summoning process. If yes (such as steep terrain), the lower the terrain score, such as the terrain score being -1, 0, 1, etc. (i.e. can be positive, can be negative, and can be 0); if no (such as flat terrain), the higher the terrain score, such as the terrain score being 2, 5, etc.

[0172] (6) Obtain a resource mining score based on the mining difficulty of the first virtual pet role mining virtual resources at the first candidate position.

[0173] Wherein, the mining difficulty and the resource mining score are in inverse proportional relationship, and the specified element includes the virtual resource.

[0174] Illustratively, in the case that the specified element includes a virtual resource, if the position evaluation score is analyzed, it is necessary to analyze the mining difficulty of the virtual resource for the summoned first virtual pet role at the first candidate position, i.e., to predict whether the first virtual pet role can effectively mine the virtual resource at the first candidate position. The lower the mining difficulty (e.g., the virtual resource is a soil mine and the first virtual pet role is good at mining soil mines), the higher the resource mining score; the higher the mining difficulty (e.g., the virtual resource is a soil mine and the first virtual pet role is good at farming and not good at collecting resources; or, the virtual resource is a soil mine and the first virtual pet role is good at mining wood), the lower the resource mining score, etc.

[0175] (7) Obtain a place score based on the matching degree between the first virtual pet role and the virtual place at the first candidate position.

[0176] Wherein, the matching degree and the place score are in a positive proportional relationship, and the specified element includes a virtual place.

[0177] Illustratively, in the case that the specified element includes a virtual place, if the position evaluation score is analyzed, it is necessary to analyze the matching degree between the summoned first virtual pet role and the virtual place on the side at the first candidate position, i.e., to predict whether the first virtual pet role can effectively utilize the virtual place at the first candidate position. The lower the matching degree (e.g., the virtual place is a farm and the first virtual pet role is good at virtual attack), the lower the place score; the higher the matching degree (e.g., the virtual place is a farm and the first virtual pet role is good at farming), the higher the place score, etc.

[0178] It is worth noting that at least one of the above scores (first distance score, second distance score, third distance score, obstacle score, terrain score, resource mining score, place score) can be used as the position evaluation score, i.e., a single score can be used as the position evaluation score, and the sum of multiple scores can also be used as the position evaluation score (e.g., the resource mining score is 6, the terrain score is -1, and the sum of the scores is 5, which is used as the position evaluation score, etc.), which is not limited here.

[0179] As shown in FIG. 5, a schematic diagram for determining the call matching data corresponding to the plurality of candidate positions is shown. Taking the distance close to the virtual obstacle 510 as the standard for measuring the hindering effect, the obstacle score near the virtual obstacle 510 is-5; taking the first distance score as an example, the smaller the first distance close to the master virtual object 520 is, the larger the first distance score is, the first distance score includes 3, 2, 1(three different first distance scores are obtained by dividing three areas by the arc line in FIG. 5); taking the second distance score as an example, the second distance score is 3, which is determined based on the second distance close to the enemy virtual object 530; and the plurality of position evaluation scores are obtained as the call matching data by comprehensively considering the obstacle score-5, the first distance score including 3, 2, 1, and the second distance score 3.

[0180] For example, as shown in the candidate position 541, based on the obstacle score-5 and the first distance score 1, the position evaluation score corresponding to the candidate position 541 is-4; as shown in the candidate position 542, based on the second distance score 3 and the first distance score 1, the position evaluation score corresponding to the candidate position 542 is 4, and the like, which will not be described herein.

[0181] The above describes several schematic ways of obtaining the position evaluation score, and the position evaluation score is at least one of the first distance score, the second distance score, the third distance score, the obstacle score, the terrain score, the resource mining score, and the place score. The different scores described above are determined from different angles to analyze the position relative relationship between the candidate position and the different specified elements, so that the position evaluation score can be obtained as comprehensively and accurately as possible, so as to more carefully evaluate the advantages and disadvantages of each candidate position, and optimize the position selection effect. Further, the virtual pet role is called at the first position determined based on the position evaluation score, which can better assist the master virtual object to achieve the corresponding operation purpose, such as better mining of virtual resources, more efficient attack on other virtual objects, and the like, which not only greatly improves the operation experience of the player, but also facilitates to improve the operation efficiency of the player in controlling the master virtual object to perform different activities in the virtual scene.

[0182] It is worth noting that the above score values and score types are all illustrative examples, and the embodiments of the present application are not limited thereto.

[0183] In step 340, a candidate position whose call matching data meets the first matching requirement is determined as the first position, and a first virtual pet role is displayed at the first position.

[0184] The first matching requirement is a condition requirement based on the call matching data constraint candidate position function. Alternatively, the first matching requirement is a pre-set matching requirement, such as a pre-set matching data threshold; or, the first matching requirement is a flexible matching requirement based on the object level of the host virtual object, such as a matching data interval with a numerical increase as the object level increases.

[0185] After obtaining the call matching data corresponding to each of the plurality of candidate positions, each call matching data is compared with the first matching requirement, and the candidate position meeting the first matching requirement is taken as the first position to display the first virtual pet role at the first position.

[0186] In an optional embodiment, the candidate position corresponding to the maximum position evaluation score is determined as the first position.

[0187] Illustratively, taking the position evaluation score as the call matching data, the candidate position corresponding to the maximum position evaluation score is taken as the first position.

[0188] Alternatively, when there are at least two candidate positions corresponding to the maximum position evaluation score, any one of the at least two candidate positions is taken as the first position; or, the at least two candidate positions are all taken as the first position; or, the center point of the position region surrounded by the at least two candidate positions is taken as the first position, etc.

[0189] As shown in FIG. 5, after obtaining the position evaluation score corresponding to each of the plurality of candidate positions, it is determined that the maximum position evaluation score is 4, and a candidate position corresponding to 4 is randomly selected as the first position, such as candidate position 542 as the first position, etc.

[0190] In an optional embodiment, the candidate position with a position evaluation score exceeding a first score threshold is taken as the first position.

[0191] Illustratively, the first score threshold is a condition for evaluating the position evaluation score. Alternatively, the first score threshold is a pre-set score threshold, such as pre-setting the first score threshold to be 5, comparing the position evaluation score corresponding to each of the plurality of candidate positions with the first score threshold, and taking the candidate position with a position evaluation score exceeding 5 as the first position. Alternatively, the first score threshold can also be a score threshold determined based on the object position corresponding to the host virtual object, such as the first score threshold being 3 when the host virtual object is in region A, the first score threshold being 5 when the host virtual object is in region B, etc., which is not limited here.

[0192] Alternatively, when there are a plurality of candidate positions with a position evaluation score exceeding the first score threshold, one or more candidate positions are randomly selected from the plurality of candidate positions as the first position, etc.

[0193] After the first position is determined, a first virtual pet character targeted by the character summoning operation is displayed at the first position.

[0194] The above describes the content of determining the first position based on the position evaluation score. If the candidate position with the maximum position evaluation score is taken as the first position, the selection of the first position has uniqueness and stronger pertinence, avoiding the selection burden of the player selecting the first position, and the best first position can be found to summon the virtual pet character with the help of the intuitive and quantified position evaluation score, improving the player experience and the player operation efficiency. On the other hand, if the candidate positions meeting the conditions are selected as the first position through the first score threshold, a minimum score standard can be defined to exclude the candidate positions that do not meet the requirements significantly, flexibly adapt to different scenarios or player needs, better optimize the implementation effect of the first position, improve the player's character summoning experience, ensure that the selection of the first position has stronger pertinence, and optimize the resource utilization rate of character selection.

[0195] In an optional embodiment, in response to the character summoning operation, in the case that there is a second virtual pet character in the current visual range, a moving animation of the second virtual pet character moving to the first position is displayed.

[0196] Among them, the second virtual pet character is at least one of the following virtual pet characters.

[0197] (1) The second virtual pet character is in the first virtual camp with the master virtual object.

[0198] Illustratively, the character summoning operation can not only summon the virtual pet character in the virtual backpack to the virtual scene, but also summon the virtual pet character in the virtual scene that is not at the first position to the first position in the virtual scene. When there is a second virtual pet character in the current visual range, and the second virtual pet character is in the first virtual camp with the master virtual object, such as: the second virtual pet character is a virtual pet character captured by the master virtual object itself, or the second virtual pet character is a virtual pet character captured by a teammate virtual object of the master virtual object, that is, it is considered to be in the same first virtual camp, at this time, the second virtual pet character can be summoned to the first position.

[0199] (2) The master virtual object is in the first virtual camp, the second virtual pet character is in the second virtual camp, and the first team level of the first virtual camp is higher than the second team level of the second virtual camp.

[0200] Illustratively, when there is a second virtual pet role in the current view range, even if the second virtual pet role is in a different virtual camp from the master virtual object, if the first team level of the first virtual camp is higher than the second team level of the second virtual camp, the master virtual object can compete for the ownership of the second virtual pet role, and call the second virtual pet role obtained after the competition to the first position.

[0201] The team level includes the level of the virtual camp itself, or the team level includes the level of the virtual team leader in the virtual camp, or the team level includes the average of multiple levels of all team virtual objects (including the master virtual object) in the virtual camp, and the like, which are not limited here.

[0202] Optionally, when the master virtual object does not capture the virtual pet role, the second virtual pet role can be called to the first position based on the role calling operation, or when the master virtual object preferentially selects not to use the captured virtual pet role, the second virtual pet role can be called to the first position based on the role calling operation, and the like.

[0203] The above introduces the content that the second virtual pet role moves to the first position, and the second virtual pet role is the virtual pet role called to the first position. By considering the camp and team level of the virtual pet role, the interactivity and strategy depth in the game can be enhanced. The process ensures the dynamic response between the behavior of the virtual pet role in the game and the operation of the player, provides a more immersive picture effect, improves the strategy and play richness of the game, and improves the human-computer interaction efficiency.

[0204] In an optional embodiment, the first virtual pet role is controlled to perform an exploration activity in the virtual scene.

[0205] Illustratively, the first virtual pet role can be automatically controlled to perform an exploration activity in the virtual scene, or the first virtual pet role can be controlled to perform an exploration activity in the virtual scene based on the role control operation of the player, and the like.

[0206] It is worth noting that the above is only an illustrative example, and the embodiments of the present application are not limited thereto.

[0207] In the embodiments of the present application, the content of obtaining the calling matching data corresponding to the candidate position and selecting the first position is introduced. Based on the position selection rule, a plurality of candidate positions are selected from the current perspective range, and then the position relationship of each candidate position relative to the specified element is analyzed, and the calling matching data corresponding to the plurality of candidate positions is obtained. The calling matching data can reflect the gain effect of calling the first virtual pet role at the candidate position to a certain extent, so that the first position suitable for calling the first virtual pet role can be more accurately and appropriately selected from the plurality of candidate positions by means of the calling matching data, the determination effect and determination accuracy of the first position are improved, and the human-computer interaction efficiency is improved.

[0208] In an optional embodiment, the first virtual pet role as the selected virtual pet role can be a virtual pet role manually selected by the player, or a virtual pet role automatically selected from a plurality of candidate virtual pet roles preselected after receiving the role calling operation. Illustratively, as shown in FIG. 6, the embodiment shown in FIG. 2 can further include steps 611 to 622.

[0209] Step 611, receiving a pet selection operation.

[0210] The pet selection operation is used to select the first virtual pet role from at least one virtual pet role possessed by the master virtual object; the at least one virtual pet role is a virtual pet role captured from the virtual scene based on the pet capturing operation.

[0211] Illustratively, the master virtual object obtains the at least one virtual pet role by capturing, and can save the virtual pet role in the virtual backpack.

[0212] The pet selection operation is realized based on the selection operation of the first virtual pet role from the at least one virtual pet role possessed by the master virtual object in the virtual backpack; or, the at least one virtual pet role is preselected from the virtual backpack as a candidate virtual pet role (the candidate virtual pet role is a virtual pet role capable of realizing the calling function, and the virtual pet role in the virtual backpack cannot be called based on the calling function), and the selection operation of the first virtual pet role from the at least one candidate virtual pet role possessed and selected realizes the pet selection operation, etc.

[0213] In some embodiments, the pet selection operation is realized before the role calling operation.

[0214] The above describes the content of selecting the first virtual pet role to be summoned through the pet selection operation. The process combines the pet selection operation with the summoning process, enhancing the interactivity and strategy of the game. In the case of expanding the pet lineup by the player capturing virtual pet roles, the first virtual pet role that needs to cooperate with it to interact in the virtual scene can be selected through the pet selection operation, improving the play diversity in the game process, enhancing the playability and immersion of the game, and also improving the accuracy of virtual pet role selection.

[0215] In an optional embodiment, at least one role identifier corresponding to at least one virtual pet role is displayed in response to receiving the role summoning operation. Illustratively, in the case of implementing the pet selection operation after the role summoning operation, the role identifiers corresponding to the at least one virtual pet role owned are displayed in response to receiving the role summoning operation, and the at least one virtual pet role is a virtual pet role that can be summoned based on the summoning ability (or a virtual pet role that cannot be summoned based on the summoning ability is in an unselectable state, etc.).

[0216] In an optional embodiment, a selection operation on a first role identifier in the at least one role identifier is received as the pet selection operation, and the first role identifier is the role identifier corresponding to the first virtual pet role.

[0217] Illustratively, if a selection operation is performed on the first role identifier, it is considered that the pet selection operation is implemented, and the first virtual pet role corresponding to the first role identifier is selected as the virtual pet role selected by the pet selection operation.

[0218] The above describes the content of selecting the summoned virtual pet role by selecting the role identifier. Through the one-to-one correspondence between the role identifier and the virtual pet role, the player can more intuitively and quickly select and manage the virtual pet role, simplifying the player's interaction complexity, making the role selection more efficient and accurate, and also ensuring that the player's selection is accurate, improving the smoothness of user experience and the intuitiveness of operation, enhancing the player's control of the virtual pet role, and ensuring the accuracy of the operation.

[0219] Step 612, in response to the role summoning operation, displaying the summoned first virtual pet role at a first position within the current field of view.

[0220] Among them, the first position is dynamically determined based on the element position of at least one specified element within the current field of view.

[0221] Illustratively, the first virtual pet role selected by the pet selection operation is displayed at the first position based on the role summoning operation.

[0222] Step 621, selecting a first virtual pet role from the plurality of virtual pet roles based on a matching degree between the first position and the plurality of virtual pet roles.

[0223] The plurality of virtual pet roles are virtual pet roles within a capability summoning range of a summoning capability of the master virtual object. Illustratively, the master virtual object has a summoning capability, which is a capability of summoning virtual pet roles in the virtual scene; the capability summoning range is a range covered by the summoning capability; and the virtual pet roles within the capability summoning range can be subjected to a corresponding summoning process based on the summoning capability.

[0224] Optionally, the capability summoning range includes a certain spatial range in the virtual scene, and the capability summoning range refers to a three-dimensional spatial range in this case. The capability summoning range can be pre-set in the game, can be obtained from the virtual scene based on the task completion of the master virtual object (for example, R1 area in the virtual scene is taken as the capability summoning range when task R is completed), or can be determined automatically based on the object position of the master virtual object (for example, the area within a 1-meter radius around the object position of the master virtual object is taken as the capability summoning range), and the like.

[0225] Optionally, the capability summoning range includes a role range of the virtual pet role, for example, the capability summoning range is irrelevant to the three-dimensional spatial range of the virtual scene, and represents the role range of the virtual pet role that can be summoned. For example, the capability summoning range is the virtual pet role possessed by the master virtual object; or the capability summoning range is the virtual pet role possessed by the virtual camp where the master virtual object is located (for example, the capability summoning range includes the virtual pet role possessed by the friendly virtual object); or the capability summoning range is the virtual pet role possessed by the enemy virtual camp that is eliminated by the master virtual object (for example, the capability summoning range includes the virtual pet role possessed by the eliminated enemy virtual object D), and the like.

[0226] It is worth noting that the capability summoning range is implemented in the form of a three-dimensional spatial range and a role range only as an illustrative example, and the above capability summoning range can be used alternatively or in combination, which is not limited herein.

[0227] Illustratively, after the first position is dynamically determined based on the element position of the at least one specified element within the current visual angle range, the first position is matched with the plurality of virtual pet roles that can be summoned by the master virtual object based on the capability summoning range corresponding to the summoning capability; the capability summoning range includes both the role range of the virtual pet role that can be summoned (for example, the virtual pet role possessed by the master virtual object in advance) and the three-dimensional spatial range that can be summoned (for example, the virtual pet role within the A area can be summoned), and the like. The matching degree corresponding to each of the plurality of virtual pet roles is obtained based on the matching process.

[0228] In an optional embodiment, the first location is matched with the plurality of virtual pet roles based on the role attributes corresponding to the plurality of virtual pet roles respectively and the location parameters of the first location, to obtain a matching degree corresponding to the plurality of virtual pet roles respectively.

[0229] The role attributes include at least one of an auxiliary attribute, a suppression attribute, and a collection attribute of the virtual pet role, and the location attributes include at least one of a location parameter between the candidate location and the virtual object, an obstacle parameter, a terrain parameter, a resource parameter, and an additional assignment parameter. Illustratively, the auxiliary attribute represents an auxiliary intensity of the virtual pet role to the host virtual object at the first location (such as an auxiliary intensity of 20% in virtual attack and / or an auxiliary intensity of 10% in virtual magic, etc.); the suppression attribute represents a suppression intensity of the virtual pet role to the enemy virtual object at the first location (such as reducing the speed of the enemy virtual object to 50%, etc.); and the collection attribute represents a collection intensity of the virtual pet role to the virtual resource at the first location (such as collecting the virtual resource within 3 minutes, etc.).

[0230] Illustratively, the location parameter includes at least one of a location condition between the first location and the host virtual object, other virtual objects, and other virtual pet roles; the obstacle parameter represents an influence degree of the virtual obstacle at the first location on the summoned virtual pet role; the terrain parameter represents an influence degree of the virtual terrain at the first location on the summoned virtual pet role; the resource parameter represents a mining difficulty of the summoned virtual pet role to the resource at the first location; and the additional assignment parameter represents an influence degree of various other resources at the first location on the summoned virtual pet role, etc.

[0231] Optionally, the role attributes of the plurality of virtual pet roles and the location parameters of the first location are comprehensively compared to realize the matching process and obtain the plurality of matching degrees. For example, the resource parameter of the first location represents that there is a virtual soil mine with a total amount of 9 kg; the collection attribute corresponding to the virtual pet role 1 represents that the speed of collecting the virtual soil mine is 3 kg / min, and the collection attribute corresponding to the virtual pet role 2 represents that the speed of collecting the virtual soil mine is 4 kg / min, so the matching degree of the virtual pet role 2 is higher than that of the virtual pet role 1.

[0232] In an optional embodiment, at least one virtual pet role with a matching degree meeting a second matching requirement is taken as the first virtual pet role.

[0233] The second matching requirement is a condition for analyzing the matching degree, for example, the second matching requirement is a pre-set matching degree threshold; or the second matching requirement is a pre-set rule (for example, an average of multiple matching degrees, etc.); or the second matching degree is information determined based on the object level of the master virtual object, which is not limited here.

[0234] Illustratively, the at least one virtual pet role with the largest matching degree is taken as the first virtual pet role; or the at least one virtual pet role with a matching degree higher than a pre-set matching threshold is taken as the first virtual pet role, etc.

[0235] The above describes the content of matching the first position with the virtual pet role to determine the matching degree. In the matching process, the relationship between the first position and the virtual object is analyzed in multiple dimensions, which ensures the high consistency between the virtual pet role and the first position, avoids the mismatching situation, improves the interactivity in the virtual scene, facilitates the meeting of the player's needs (such as resource mining needs, attack needs, etc.) through the way of calling the virtual pet role to the first position, and improves the human-computer interaction efficiency. Meanwhile, the virtual pet role with the matching degree meeting the second matching requirement is selected to be called, which can optimize the role selection efficiency, avoid redundant selection or resource waste, and make the interactive operation more accurate and efficient.

[0236] Step 622: displaying the called first virtual pet role at the first position.

[0237] Illustratively, the first virtual pet role is automatically selected based on the matching process, so that the called first virtual pet role is displayed at the first position.

[0238] It is worth noting that the above is only an illustrative example, and the embodiments of the present application are not limited in this regard.

[0239] In the embodiments of the present application, the method for selecting the first virtual pet role is introduced. Not only can the first virtual pet role to be called be manually selected by the player through the pet selection operation, improving the pertinence of the role calling, but also the first virtual pet role can be automatically selected from the multiple virtual pet roles captured by the master virtual object based on the matching degree between the first position and the multiple virtual pet roles, so as to perform a more targeted exploration process on the first position by the first virtual pet role, thereby improving the flexibility of the role calling while reducing the operation threshold, improving the interestingness of the game and the human-computer interaction efficiency.

[0240] In an alternative embodiment, before displaying the first virtual pet character at the first location, a summoning instruction element is displayed at the first location based on the character summoning operation, and the first virtual pet character is displayed at the first location where the summoning instruction element is displayed. Illustratively, as shown in FIG. 7, the step 230 shown in FIG. 2 can also be implemented as steps 710-720.

[0241] At step 710, in response to the character summoning operation, a summoning instruction element is displayed at the first location within the current perspective range.

[0242] The summoning instruction element is used to prompt the summoning of the virtual pet character.

[0243] Illustratively, the summoning instruction element can be considered as a character summoning special effect, representing that a certain waiting time is required for the character summoning process. Alternatively, the summoning instruction element can also be turned off based on a manual setting by the player, and the display of the summoning instruction element is not limited herein.

[0244] In an alternative embodiment, in response to the character summoning operation, a virtual light column is displayed at the first location within the current perspective range as the summoning instruction element. Illustratively, the virtual light column is an illustrative element special effect, such as a virtual light column vertically emitted from a virtual ground at the first location to a virtual sky, or a virtual light column standing at a first height from the virtual ground at the first location, such as the first height being a pre-set height or the first height being a height determined based on the rarity of the first virtual pet character (e.g., the more rare the first virtual pet character, the greater the first height, etc.).

[0245] As shown in FIG. 8, an illustrative diagram of displaying a virtual light column as a summoning instruction element.

[0246] Wherein the host virtual object 810 is active in the virtual scene, and if the first location is determined, a virtual light column 820 is displayed at the first location.

[0247] In an alternative embodiment, in response to the character summoning operation, a virtual curtain is displayed at the first location within the current perspective range as the summoning instruction element.

[0248] Illustratively, the virtual curtain is another illustrative element special effect, such as the virtual curtain can be in a closed state, or in an open state, etc. In addition, other virtual identifiers, virtual arrows, etc. can also be used as the summoning instruction element, which is not limited herein.

[0249] In an optional embodiment, in response to the role summoning operation, the gain effect of summoning the first virtual pet role at the candidate position is evaluated based on the positional relative relationship between the candidate position and the specified element, and position evaluation scores respectively corresponding to the plurality of candidate positions are obtained as the summoning matching data; and the first position is determined from the plurality of candidate positions based on the position evaluation scores.

[0250] Optionally, the candidate position corresponding to the maximum position evaluation score is taken as the first position.

[0251] Illustratively, when there are a plurality of maximum position evaluation scores, candidate positions respectively corresponding to the plurality of maximum position evaluation scores are determined, one of the candidate positions is randomly selected as the first position, and the summoning indication element (such as a virtual light column) is displayed at the first position; or, a position region is enclosed based on the candidate positions corresponding to the maximum position evaluation scores, one position is randomly selected from the position region as the first position, and the summoning indication element (such as a virtual light column) is displayed at the first position, and the summoning indication element can also be displayed at the position region, the center of the summoning indication element is located at the first position, etc.

[0252] As shown in FIG. 9, which includes a master virtual object 910, a virtual obstacle 920, and other virtual objects 930; the position evaluation scores respectively corresponding to the plurality of candidate positions are determined based on the distribution of the specified element, such as scores of -5, 2, 4, 1, etc. The position evaluation scores can be displayed on the terminal interface, or can only be analyzed in the background without being displayed on the terminal interface, which is not limited here. As shown in FIG. 9, the maximum position evaluation score is 4, corresponding to two candidate positions, one of the two candidate positions can be randomly selected as the first position, such as randomly selecting the candidate position 940 as the first position.

[0253] Step 720, displaying the first virtual pet role at the first position where the summoning indication element is displayed.

[0254] Illustratively, after the summoning indication element is displayed, the summoned first virtual pet role is displayed at the first position where the summoning indication element is located.

[0255] Optionally, in the case where the display duration of the summoning indication element reaches a preset duration, the summoned first virtual pet role is displayed at the first position where the summoning indication element is located. For example: the preset duration is 2 seconds, when the display duration of the summoning indication element reaches 2 seconds, the summoned first virtual pet role is displayed at the first position, and the summoning indication element can be regarded as the time required for summoning.

[0256] The virtual light column 820 shown in FIG. 8 is taken as the calling indication element; the first virtual pet character is displayed at the first position where the virtual light column 820 is located, and an interface schematic diagram as shown in FIG. 10 is displayed, wherein the first virtual pet character 1010 is displayed at the first position where the calling indication element is previously displayed.

[0257] It is worth noting that the above is only an illustrative example, and the embodiments of the present application do not limit this.

[0258] In the embodiments of the present application, the content of displaying the first virtual pet character after displaying the calling indication element is introduced. The calling indication element plays a prompt effect on the calling of the first virtual pet character, reminding the player that the first virtual pet character can be called at the first position, and also corresponds to the case that the character calling exists for a certain time length, improving the picture display effect and picture display richness of the character calling, and improving the authenticity of the game. In addition, the calling indication element also provides clear operation feedback for the player, ensuring that the virtual pet character being called and the calling indication element can be presented smoothly and without delay, ensuring the utilization efficiency of computing resources, and helping to improve the human-computer interaction efficiency.

[0259] The calling indication element is implemented in the form of a virtual light column, a virtual curtain, etc., so that a more lively and visually striking calling indication element can be displayed at the first position based on the character calling operation, specifically prompting the first position where the virtual pet character is about to be called, while avoiding the interference of other interface elements with the operation experience of the player, thereby ensuring the operation efficiency of the player performing the operation.

[0260] In an optional embodiment, before displaying the first virtual pet character at the first position, a highlight area is displayed in the current field of view range based on the character calling operation, and the first virtual pet character is displayed at the first position in the highlight area. Illustratively, as shown in FIG. 11, the step 230 shown in the above FIG. 2 can also be implemented as steps 1110 to 1120.

[0261] Step 1110, in response to the character calling operation, a highlight area is displayed in the current field of view range.

[0262] The highlight area is used to represent the character calling range of the first virtual pet character, and the character calling range is the range in which the first virtual pet character is effectively called to the virtual scene and controlled by the host virtual object. The character calling range is a three-dimensional space range in the virtual scene determined based on the current field of view range.

[0263] Illustratively, the highlight area is a special effect area displayed in the virtual scene, and the highlight area can be circular, rectangular, spherical, irregularly shaped, etc., which is not limited here.

[0264] Optionally, the range in which the first virtual pet role can be summoned is further refined by the highlight area in the current visual angle range, and the first virtual pet role is displayed not only in the current visual angle range, but also in the highlight area in the current visual angle range.

[0265] In an optional embodiment, in the case of receiving the role summoning operation, the highlight area is displayed in the current visual angle range in response to receiving the position selection operation.

[0266] The position selection operation is used to select the area display position of the highlight area in the current visual angle range.

[0267] Optionally, the position selection operation is an operation received at the same time as the role summoning operation. For example, the current game is a computer game that can be operated by a touch screen and an external device together, and the role summoning operation is a long-press operation on the role summoning control. During the long-press operation, the position selection operation is realized by dragging the mouse, and the highlight area is displayed in the current visual angle range.

[0268] Optionally, the position selection operation is an operation received within a preset operation time length of the role summoning operation. For example, the role summoning operation is a click operation on the role summoning control, and the preset operation time length is 3 seconds. If the position selection operation such as dragging the mouse or sliding the terminal screen is received within 3 seconds, the highlight area will be displayed in the current visual angle range.

[0269] In some embodiments, in response to the position selection operation being directed to the first display position in the current visual angle range, a preset circular area is displayed as the highlight area with the first display position as the center.

[0270] Optionally, if the position selection operation is directed to the first display position in the current visual angle range, a preset circular area is displayed as the highlight area based on the first display position as the center and a preset display radius as the radius of the circular area, such as displaying a blue circular area as the highlight area, or displaying a red circular area as the highlight area, and the like.

[0271] In some embodiments, in response to the position selection operation being directed to the first display position in the current visual angle range, a preset rectangular area is displayed as the highlight area with the first display position as the center, or an irregular area is displayed as the highlight area with the first display position as the center of gravity, and the like. The color, shape, and other appearance styles of the highlight area are not limited here.

[0272] As shown in FIG. 12, it is an interface schematic diagram for displaying the highlight area. After the player performs the role summoning operation, the player can move the glowing highlight area 1210 on the virtual ground by dragging the mouse, and the highlight area 1210 is located in the current visual angle range of the master virtual object 1220.

[0273] In some embodiments, in response to receiving the position selection operation for circumscribing the custom area in the virtual scene, the custom area is displayed as a highlighted area, i.e., the custom area is displayed in a highlighted form.

[0274] Illustratively, the position selection operation can be implemented not only by selecting a certain display position (such as a certain position point), but also by circumscribing a certain independent area in the virtual scene, such as drawing a circle in the virtual scene to obtain a circular area, an elliptical area, or the like as the selected custom area, or drawing an irregularly shaped area in the virtual scene as the custom area, and the like. After the custom area is selected, it is presented in a highlighted form, i.e., the content of the highlighted area is displayed based on the position selection operation.

[0275] The above describes determining the content of the highlighted area based on the position selection operation. In the case of receiving the character summoning operation, the position selection operation can be used to limit the area for summoning the virtual pet character. The selected area is not only within the current field of view, but also selected by the player, which guarantees the player's autonomy and the accuracy of the area selection, and avoids the situation of player's misoperation or invalid selection. In addition, the area determined based on the position selection operation is displayed in a highlighted form, which visualizes the effective summoning position selected by the player, enhances the operation fault tolerance and the player's control feeling, and guarantees that the virtual pet character can still be summoned in real time and efficiently in a complex scene.

[0276] In addition, the above also describes determining the content of the highlighted area based on the position selection operation. If the position selection operation is directed to the first display position, a preset circular area or a preset rectangular area, or the like can be displayed based on the first display position as the highlighted area, which avoids the limitation of simply summoning the first virtual pet character at the first display position, and the highlighted area can assist the player in summoning the first virtual pet character at a more appropriate position. In addition, the position selection operation can also be implemented as a custom area selected by the player, which guarantees the personalized features of the player during the process of summoning the virtual pet character, and helps to improve the human-computer interaction efficiency.

[0277] In an optional embodiment, in the case of enabling the first summoning function, in response to the character summoning operation, a highlighted area is displayed within the current field of view. The first summoning function is a function of selecting a character summoning range for summoning the first virtual pet character within the current field of view.

[0278] Optionally, the first summoning function is a function built in the setting control. By enabling the first summoning function in the setting control during the game process, the highlighted area can be displayed within the current field of view, or by enabling the first summoning function through the setting control before the game starts, the highlighted area can be displayed within the current field of view, and the like.

[0279] The above describes the first calling function as a condition for determining the calling range of the character. If the first calling function is enabled, the player can select a certain area as the area for calling the virtual pet character based on the character calling operation within the visual range, and the high area will be displayed in a highlighted form (i.e., a highlighted area). The highlighted form of display enables the user to observe the available calling area in a timely manner, improves the clarity and intuitiveness of the operation process. In addition, this way of selecting a highlighted area to call a virtual pet character also improves the accuracy and smoothness of the interaction, allowing the player to have a higher degree of freedom in the virtual scene, reducing the confusion caused by the unclear character calling range, greatly optimizing the interactivity of the character calling operation, effectively reducing the waste of computing resources, and ensuring the real-time and accuracy of the player's operation, thereby providing a better user experience.

[0280] Step 1120, displaying the first virtual pet character called at a first position within the highlighted area.

[0281] Illustratively, after determining the highlighted area, the first virtual pet character called can be displayed at a first position within the highlighted area. The first position is determined based on the positional relationship between the at least one candidate position within the highlighted area and the specified element.

[0282] In an optional embodiment, at least one candidate position within the highlighted area is determined.

[0283] Illustratively, the at least one candidate position is a candidate position within the highlighted area, such as a candidate position selected from a plurality of candidate positions within the current visual range based on the highlighted area; or, at least one candidate position is randomly selected from within the highlighted area; or, at least one candidate position is selected from within the highlighted area based on a position selection rule, etc.

[0284] In an optional embodiment, based on the positional relationship between the at least one candidate position and the specified element, the gain effect of calling the first virtual pet character at the at least one candidate position is evaluated, and the calling matching data corresponding to the at least one candidate position is obtained. Illustratively, the specified element includes at least one of a plurality of virtual elements such as virtual obstacles, virtual resources, virtual terrain, virtual objects, etc. The positional relationship between each candidate position and at least one specified element is analyzed to evaluate the gain effect of calling the first virtual pet character at the candidate position, and the calling matching data corresponding to the at least one candidate position is obtained.

[0285] Optionally, the gain effect of calling the first virtual pet role at each candidate position is evaluated to obtain a position evaluation score corresponding to each candidate position respectively as the calling matching data. The content of obtaining the position evaluation score can refer to step 330 described above, and will not be described here.

[0286] Optionally, the calling matching data in the highlighted area can be based on the calling matching data in the current view range described above, or can be data determined based on the positional relationship between the candidate positions in the highlighted area and the virtual elements, which is not limited here. As shown in FIG. 13, the highlighted area 1320 is determined in the current view range of the master virtual object 1310, and the position evaluation scores corresponding to the plurality of candidate positions in the highlighted area 1320 are obtained by performing score evaluation on the plurality of candidate positions respectively, such as 1, 3, and 5. The position evaluation scores can be displayed on the terminal interface, or can only be used as background data for reference without being displayed on the terminal interface, which is not limited here.

[0287] In an optional embodiment, the first position is determined based on the calling matching data, and the first virtual pet role that is called is displayed at the first position. Illustratively, the candidate position corresponding to the maximum calling matching data is taken as the first position, and the first virtual pet role that is called is displayed at the first position. For example, taking the position evaluation scores as the calling matching data, the candidate position corresponding to the maximum position evaluation score is taken as the first position, as shown in FIG. 13, the candidate position 1330 corresponding to the maximum position evaluation score 5 is taken as the first position, and the like.

[0288] As shown in FIG. 14, it is an interface schematic diagram of displaying the first virtual pet role at the first position in the highlighted area. Based on the analysis of the calling matching data, the first virtual pet role 1420 is displayed at the first position of the highlighted area 1410.

[0289] The above describes that the calling matching data obtained by evaluating the gain effect through the positional relative relationship is taken as the information for determining the first position. This kind of mode intelligently realizes the calling process of the virtual pet role. The calling matching data determined by the gain effect helps the player to select a more suitable first position from the highlighted area, so as to ensure that the calling of the virtual pet role not only meets the player's demand, but also maximizes its effect. This kind of automatic analysis process improves the accuracy of determining the first position, facilitates the player to make more strategic decisions according to the virtual scene, reduces the operation complexity, so that the player can more accurately control the calling and deployment of the virtual pet role, and improves the immersion and user experience of the game.

[0290] It is worth noting that the above is only a schematic example, and the embodiments of the present application are not limited thereto.

[0291] In the embodiments of the present application, the content of selecting a highlight area and displaying a first virtual pet role at a first position in the highlight area is introduced. By starting the highlight area, the manual selection process of the player can be introduced in the process of automatically determining the first position, and the selection accuracy of the first position is refined. The operation threshold is reduced while providing a certain autonomy for the game process of the player, which helps to make the selection of the first position more in line with the game mentality of the player, improve the flexibility of the game, the rationality of the use of computing resources and the resource utilization rate, and improve the human-computer interaction efficiency.

[0292] In an optional embodiment, the calling method of the virtual pet role described above can also be called a scheme for calling a virtual pet role based on the selection of a point by the lens orientation. As shown in FIG. 15, it is a schematic diagram of a calling process, which includes the following steps.

[0293] Step 1510, the player presses the calling key.

[0294] Illustratively, the calling key is a role calling control for implementing a role calling operation to call the first virtual pet role. Based on the triggering of the calling key, a calling signal is received, and thus the calling process is started.

[0295] Step 1520, the client performs grid dotting.

[0296] Illustratively, the client can be understood as a terminal running a game, or a game application installed on the terminal. The grid dotting is performed by the client, that is, a candidate position selection process is performed by taking a preset grid size as a position selection rule.

[0297] Optionally, the client divides a sector area according to the orientation of the virtual camera, and provides configurations such as sector size, angle, grid size, etc. According to the preset configurations (position selection rule), the sector area is divided into a plurality of small grid areas, and each small grid area corresponds to a candidate position.

[0298] Step 1530, scoring the point.

[0299] Illustratively, a plurality of points (candidate positions) are obtained after dotting, and the client provides preset configurations, such as a distance score (first distance score) from the master virtual object, a virtual barrier score (obstacle score), an enemy unit score (such as a second distance score), and a friendly unit score. Each small grid area is judged and scored to obtain a position evaluation score corresponding to each candidate position.

[0300] Step 1540, determining whether the player starts the precise calling.

[0301] The precise calling is used to represent whether the first calling function is enabled to display the highlight area. If the first calling function is enabled, it means that the player can select the calling range of the first virtual pet role in the current view range.

[0302] Optionally, if the player enables the precise calling (Yes), the following steps 1551-1554 are performed; if the player does not enable the precise calling (No), the following steps 1561-1563 are performed.

[0303] Step 1551, display the highlight area, which can be dragged by the player.

[0304] Illustratively, if the player enables the precise calling, such as enabling the first calling function in the setting control, a glowing area is displayed as the highlight area in the current view range, such as generating a glowing area at the mouse position of the player. When the player moves the mouse or performs other dragging operations, the highlight area will move in the dragging direction. The highlight area will always move along the virtual ground.

[0305] Step 1552, score the highlight area additionally.

[0306] Illustratively, the additional scoring starts when the position of the highlight area remains unchanged for a certain period of time, such as 2 seconds. The client additionally scores the highlight area, such as evaluating the gain effect of calling the first virtual pet role at different positions in the highlight area to obtain a position evaluation score.

[0307] Step 1553, the player releases the calling key to start calling.

[0308] Illustratively, when the player releases the calling key, the client sends a calling protocol to the server to request calling the first virtual pet role.

[0309] Step 1554, generate the first virtual pet role at the point with the highest score in the highlight area.

[0310] Illustratively, after the server returns the calling protocol, the client generates the summoned object (the first virtual pet role) at the point with the highest score in the highlight area, i.e., displays it at the first position.

[0311] Step 1561, display a virtual light column at the highest scoring point.

[0312] Illustratively, if the player does not enable the precise calling, the highest scoring point in the current view range is evaluated, such as determining the candidate position corresponding to the maximum position evaluation score, taking the point as the first position, and displaying a virtual light column at the first position.

[0313] Optionally, the virtual light column will dynamically adjust its displayed position according to changes in objective conditions (such as the player camera view, the position of the enemy virtual object, etc.), ensuring that it is always displayed on the highest-scoring, i.e., optimal, summoning position.

[0314] Step 1562, the player releases the summoning key to start summoning.

[0315] Illustratively, when the player releases the summoning key, the client sends a summoning protocol to the server to request summoning of the first virtual pet role.

[0316] Step 1563, the first virtual pet role is generated at the position of the virtual light column.

[0317] Illustratively, after the server returns the summoning protocol, the client generates the summoned object (the first virtual pet role) at the first position where the virtual light column is displayed.

[0318] It is worth noting that the above is only an illustrative example, and the embodiments of the present application are not limited in this regard.

[0319] In the embodiments of the present application, the time and effort required by the player to summon the virtual pet role are greatly reduced. According to statistics, when the precise summoning is turned on (the first summoning function), the player's summoning process is shortened by more than 50%; when the precise summoning option is turned off, the player's summoning process is shortened by more than 90%. The player does not need to invest too much effort to quickly summon the virtual pet role, and the occurrence rate of non-ideal positions caused by virtual terrain obstruction during the summoning process is also greatly reduced, and the virtual pet role can quickly enter the virtual battle, resource mining, etc. process. The player's summoning fluency and player experience satisfaction are improved, and good results are achieved.

[0320] FIG. 16 is a structural block diagram of a virtual pet role summoning device provided by an example embodiment of the present application, as shown in FIG. 16, the device includes the following parts:

[0321] The display module 1610 is configured to display a master virtual object in a virtual scene, the master virtual object having a summoning capability for a virtual pet role, the virtual pet role including a pet role captured by the master virtual object in the virtual scene;

[0322] The receiving module 1620 is configured to receive a role summoning operation, the role summoning operation being used to summon a first virtual pet role, the first virtual pet role being a virtual pet role selected as a slave of the master virtual object;

[0323] The display module 1610 is further configured to display the first virtual pet role that is called in a first position in the current visual angle range in response to the role calling operation, and the first position is dynamically determined based on an element position of at least one specified element in the current visual angle range, and the specified element is a virtual element in the current visual angle range that affects the role calling result of the first virtual pet role.

[0324] In an optional embodiment, the receiving module 1620 is further configured to, in response to the role calling operation, acquire calling matching data corresponding to a plurality of candidate positions in the current visual angle range respectively, and the calling matching data is data determined based on a positional relationship of the candidate positions relative to the specified element; determine a candidate position whose calling matching data meets a first matching requirement as the first position, and display the first virtual pet role at the first position.

[0325] In an optional embodiment, the receiving module 1620 is further configured to, in response to the role calling operation, evaluate a gain effect of calling the first virtual pet role at a candidate position based on a positional relative relationship between the candidate position and the specified element, to obtain a position evaluation score corresponding to the plurality of candidate positions respectively as the calling matching data; the gain effect is an effect of assisting the host virtual object by the first virtual pet role, and an intensity of the gain effect is in a positive proportional relationship with a numerical value of the position evaluation score.

[0326] In an optional embodiment, for a first candidate position in the plurality of candidate positions, the position evaluation score includes at least one of:

[0327] acquiring a first distance score based on a first distance between the first candidate position and the host virtual object, the first distance and the first distance score being in an inverse proportional relationship, and the specified element including the host virtual object;

[0328] acquiring a second distance score based on a second distance between the first candidate position and other virtual objects, the second distance and the second distance score being in an inverse proportional relationship, and the specified element including the other virtual objects in the virtual scene except the host virtual object;

[0329] acquiring a third distance score based on a third distance between the first candidate position and other virtual pet roles, the third distance and the third distance score being in an inverse proportional relationship, and the specified element including the other virtual pet roles in the virtual scene except the first virtual pet role;

[0330] obtain an obstacle score based on an obstacle effect of a virtual obstacle at the first candidate position on calling the first virtual pet role, the obstacle effect and the obstacle score being in inverse proportion, the specified element including the virtual obstacle;

[0331] obtain a terrain score based on an influence degree of a virtual terrain at the first candidate position on calling the first virtual pet role, the influence degree and the terrain score being in inverse proportion, the specified element including the virtual terrain;

[0332] obtain a resource mining score based on a mining difficulty of the first virtual pet role mining the virtual resource at the first candidate position, the mining difficulty and the resource mining score being in inverse proportion, the specified element including the virtual resource;

[0333] obtain a place score based on a matching degree between the first virtual pet role and a virtual place at the first candidate position, the matching degree and the place score being in direct proportion, the specified element including the virtual place.

[0334] In an optional embodiment, the receiving module 1620 is further configured to determine a candidate position corresponding to a maximum position evaluation score as the first position; or determine a candidate position with a position evaluation score exceeding a first score threshold as the first position.

[0335] In an optional embodiment, the display module 1610 is further configured to display, in response to the role calling operation, a calling instruction element at a first position within the current field of view, the calling instruction element being used to prompt calling of a virtual pet role; and display the first virtual pet role at the first position where the calling instruction element is displayed.

[0336] In an optional embodiment, the display module 1610 is further configured to display, in response to the role calling operation, a virtual light column as the calling instruction element at a first position within the current field of view; or display, in response to the role calling operation, a virtual curtain as the calling instruction element at a first position within the current field of view.

[0337] In an optional embodiment, the display module 1610 is further configured to display, in response to the role calling operation, a highlight area within the current field of view, the highlight area being used to represent a role calling range of the first virtual pet role; and display the first virtual pet role that is called at a first position within the highlight area, wherein the first position is a position determined based on a position relative relationship between at least one candidate position within the highlight area and the specified element.

[0338] In an optional embodiment, the display module 1610 is further configured to, in response to receiving the position selection operation, display the highlighted area in the current visual angle range in the case that the character calling operation is received.

[0339] In an optional embodiment, the display module 1610 is further configured to, in response to the position selection operation being directed to a first display position in the current visual angle range, display a preset circular area as the highlighted area with the first display position as the center.

[0340] In an optional embodiment, the display module 1610 is further configured to, in response to the character calling operation, display a highlighted area in the current visual angle range in the case that a first calling function is enabled. The first calling function is a function of selecting a character calling range in the current visual angle range for calling the first virtual pet character.

[0341] In an optional embodiment, the display module 1610 is further configured to determine at least one candidate position in the highlighted area, evaluate a gain effect of calling the first virtual pet character at the at least one candidate position based on a position relative relationship between the at least one candidate position and the specified element, obtain calling matching data corresponding to the at least one candidate position respectively, determine the first position based on the calling matching data, and display the called first virtual pet character at the first position.

[0342] In an optional embodiment, the receiving module 1620 is further configured to receive a pet selection operation, the pet selection operation being used for selecting the first virtual pet character from at least one virtual pet character possessed by the master virtual object. The at least one virtual pet character is a virtual pet character captured from the virtual scene based on a pet capturing operation.

[0343] In an optional embodiment, the receiving module 1620 is further configured to display at least one character identifier corresponding to the at least one virtual pet character in the case that the character calling operation is received, and receive a selection operation on a first character identifier in the at least one character identifier as the pet selection operation. The first character identifier is a character identifier corresponding to the first virtual pet character.

[0344] In an optional embodiment, the receiving module 1620 is further configured to, in response to the character summoning operation, select a plurality of candidate positions from the current view range based on a position selection rule, the position selection rule being used to represent a density of the selected plurality of candidate positions, and the position selection rule comprising at least one of a first selection rule configured by default and a second selection rule determined based on a rule configuration operation.

[0345] In an optional embodiment, the receiving module 1620 is further configured to, in response to the character summoning operation, determine a sector area as the current view range based on an orientation and a position of the host virtual object, and divide the sector area based on a grid size determined based on the position selection rule to obtain a plurality of grid areas as the plurality of candidate positions.

[0346] In an optional embodiment, the receiving module 1620 is further configured to, in response to receiving the rule configuration operation, display a plurality of configuration options for adjusting a position sparsity when selecting the candidate positions based on the character summoning operation, the position sparsity being in a positive proportional relationship with a number of the candidate positions, and in response to receiving a selection operation on a first configuration option in the plurality of configuration options, set a first density corresponding to the first configuration option as the second selection rule.

[0347] In an optional embodiment, the receiving module 1620 is further configured to, in response to the character summoning operation, determine the first position from the current view range, and select the first virtual pet character from a plurality of virtual pet characters based on a matching degree between the first position and the plurality of virtual pet characters, the plurality of virtual pet characters being virtual pet characters within a summoning range of the summoning capability, and display the summoned first virtual pet character at the first position.

[0348] In an optional embodiment, the receiving module 1620 is further configured to match the first position with the plurality of virtual pet characters based on respective character attributes of the plurality of virtual pet characters and a position parameter of the first position, obtain a respective matching degree of the first position and the plurality of virtual pet characters, the character attributes comprising at least one of an auxiliary attribute, a counter attribute, and a collection attribute of the virtual pet character, and the position parameter comprising at least one of a position parameter, an obstacle parameter, a terrain parameter, a resource parameter, and an additional assignment parameter between the candidate position and the virtual object, and set at least one virtual pet character meeting a second matching requirement as the first virtual pet character.

[0349] In an optional embodiment, the receiving module 1620 is further configured to, in response to the role calling operation, display a moving animation of a second virtual pet role moving to the first position, if the second virtual pet role exists in the current visual angle range; the second virtual pet role includes at least one of the following virtual pet roles: the second virtual pet role is in the same first virtual camp as the host virtual object; or, the host virtual object is in a first virtual camp, and the second virtual pet role is in a second virtual camp, and a first team level of the first virtual camp is higher than a second team level of the second virtual camp.

[0350] In summary, the at least one specified element affecting the role calling result of the first virtual pet role in the visual angle range is taken as a consideration factor when calling the virtual pet role, so that a more suitable first position for calling the first virtual pet role is dynamically selected according to the element position of the specified element in the virtual scene, the selection efficiency of the first position is improved, the operation threshold for calling the virtual pet role is reduced, the display flexibility of the virtual pet role is improved, and the human-computer interaction efficiency is greatly improved.

[0351] It should be noted that: the virtual pet role calling device provided in the above embodiments is only exemplified by the division of the above functional modules, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the virtual pet role calling device and the virtual pet role calling method provided in the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be repeated here.

[0352] FIG. 17 shows a structural block diagram of an electronic device 1700 according to an example embodiment of the present application. The electronic device 1700 can be a portable mobile terminal, such as a smartphone, a car terminal, a tablet computer, an MP3 player, an MP4 player, a notebook computer, or a desktop computer. The electronic device 1700 can also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names. Generally, the electronic device 1700 includes a processor 1701 and a memory 1702. The processor 1701 can include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The memory 1702 can include one or more computer-readable storage media, which can be non-transitory.

[0353] In some embodiments, the electronic device 1700 further includes one or more sensors. The one or more sensors include, but are not limited to, a proximity sensor, a gyroscope sensor, and a pressure sensor. The proximity sensor, also referred to as a distance sensor, is usually disposed on the front panel of the electronic device 1700. The gyroscope sensor can detect the body orientation and rotation angle of the electronic device 1700, and the gyroscope sensor can cooperate with the acceleration sensor to collect 3D actions of the user on the electronic device 1700. The pressure sensor can be disposed on the side frame of the electronic device 1700 and / or the lower layer of the display screen.

[0354] In some embodiments, the electronic device 1700 further includes other component parts, and those skilled in the art can understand that the structure shown in FIG. 17 does not constitute a limitation on the electronic device 1700, and can include more or fewer components than shown, or combine certain components, or use different component arrangements.

Claims

A method for calling a virtual pet role, executed by a computer device, the method comprising: displaying a master virtual object in a virtual scene, the master virtual object having a calling capability for a virtual pet role, the virtual pet role comprising a pet role captured by the master virtual object in the virtual scene; receiving a role calling operation for calling a first virtual pet role, the first virtual pet role being a virtual pet role selected as a slave of the master virtual object; in response to the role calling operation, displaying the called first virtual pet role at a first position within a current field of view range, the first position being dynamically determined based on an element position of at least one specified element within the current field of view range, the specified element being a virtual element within the current field of view range that affects a role calling result of the first virtual pet role. The method of claim 1, wherein, The response to the role calling operation includes: in response to the role calling operation, obtaining calling matching data corresponding to a plurality of candidate positions within the current field of view range respectively, the calling matching data being data determined based on a positional relationship of the candidate positions relative to the specified element; determining a candidate position whose calling matching data meets a first matching requirement as the first position, and displaying the first virtual pet role at the first position. The method according to claim 1 or 2, wherein The response to the role calling operation includes: in response to the role calling operation, based on a positional relative relationship between the candidate positions and the specified element, evaluating a gain effect of calling the first virtual pet role at a candidate position to obtain a position evaluation score corresponding to the plurality of candidate positions respectively as the calling matching data; the gain effect is an effect of assisting the master virtual object by the first virtual pet role, and the strength of the gain effect is in a positive proportional relationship with the numerical value of the position evaluation score. The method according to any one of claims 1 to 3, wherein For a first candidate position in the plurality of candidate positions, the position evaluation score includes at least one of: based on a first distance between the first candidate position and the master virtual object, obtaining a first distance score, the first distance and the first distance score being in an inverse proportional relationship, and the specified element comprising the master virtual object; based on a second distance between the first candidate position and other virtual objects, obtaining a second distance score, the second distance and the second distance score being in an inverse proportional relationship, and the specified element comprising the other virtual objects in the virtual scene except the master virtual object; based on a third distance between the first candidate position and other virtual pet roles, obtaining a third distance score, the third distance and the third distance score being in an inverse proportional relationship, and the specified element comprising the other virtual pet roles in the virtual scene except the first virtual pet role; obtain an obstacle score based on an obstacle effect of a virtual obstacle at the first candidate position on calling the first virtual pet role, the obstacle effect and the obstacle score being in inverse proportion, the specified element including the virtual obstacle; obtain a terrain score based on an influence degree of a virtual terrain at the first candidate position on calling the first virtual pet role, the influence degree and the terrain score being in inverse proportion, the specified element including the virtual terrain; obtain a resource mining score based on a mining difficulty of the first virtual pet role mining the virtual resource at the first candidate position, the mining difficulty and the resource mining score being in inverse proportion, the specified element including the virtual resource; obtain a site score based on a matching degree between the first virtual pet role and a virtual site at the first candidate position, the matching degree and the site score being in positive proportion, the specified element including the virtual site. The method according to any one of claims 1 to 4, wherein The determining the candidate position that meets the first matching requirement as the first position according to the calling matching data comprises: determining the candidate position corresponding to the maximum position evaluation score as the first position; or determining the candidate position whose position evaluation score exceeds a first score threshold as the first position. The method according to any one of claims 1 to 5, wherein The displaying the first virtual pet role that is called in the first position within the current visual angle range in response to the role calling operation comprises: displaying a calling instruction element in the first position within the current visual angle range in response to the role calling operation, the calling instruction element being used to prompt calling a virtual pet role; displaying the first virtual pet role in the first position where the calling instruction element is displayed. The method according to any one of claims 1 to 6, wherein The displaying a calling instruction element in the first position within the current visual angle range in response to the role calling operation comprises: displaying a virtual light column as the calling instruction element in the first position within the current visual angle range in response to the role calling operation; or displaying a virtual curtain as the calling instruction element in the first position within the current visual angle range in response to the role calling operation. The method according to any one of claims 1 to 7, wherein The displaying the first virtual pet role that is called in the first position within the current visual angle range in response to the role calling operation comprises: displaying a highlight area in the current visual angle range in response to the role calling operation, the highlight area being used to represent a role calling range of the first virtual pet role; displaying the first virtual pet role that is called in the first position within the highlight area, wherein the first position is a position determined based on a position relative relationship between at least one candidate position within the highlight area and the specified element. The method according to any one of claims 1 to 8, wherein The displaying a highlight area in the current visual angle range in response to the role calling operation comprises: displaying the highlight area in the current visual angle range in response to receiving a position selection operation in a case that the role calling operation is received, the position selection operation being used to select a region display position of the highlight area in the current visual angle range. The method according to any one of claims 1 to 9, wherein The method further comprises: displaying the highlight region in the current visual angle range in response to receiving the position selection operation, including: The method according to any one of claims 1 to 10, wherein displaying a preset circular region as the highlight region with the first display position as the center in response to receiving the position selection operation pointing to the first display position in the current visual angle range. The method further comprises: The method according to any one of claims 1 to 11, wherein displaying the highlight region in the current visual angle range in response to receiving the character summoning operation, including: displaying the highlight region in the current visual angle range in response to receiving the character summoning operation in the case of starting a first summoning function; the first summoning function is a function of selecting a character summoning range in the current visual angle range for summoning the first virtual pet character. The method further comprises: displaying the first virtual pet character summoned at the first position in the highlight region, including: The method according to any one of claims 1 to 12, wherein determining at least one candidate position in the highlight region; evaluating a gain effect of summoning the first virtual pet character at the at least one candidate position based on a position relative relationship between the at least one candidate position and the specified element, to obtain summoning matching data corresponding to the at least one candidate position respectively; The method according to any one of claims 1 to 13, wherein determining the first position based on the summoning matching data, and displaying the first virtual pet character summoned at the first position. The method further comprises: receiving a pet selection operation for selecting the first virtual pet character from at least one virtual pet character owned by the master virtual object; the at least one virtual pet character is a virtual pet character captured from the virtual scene based on a pet capturing operation. The method according to any one of claims 1 to 14, wherein The method further comprises: displaying at least one character identifier corresponding to the at least one virtual pet character in the case of receiving the character summoning operation; receiving a selection operation on a first character identifier in the at least one character identifier as the pet selection operation; the first character identifier is a character identifier corresponding to the first virtual pet character. The method according to any one of claims 1 to 15, wherein The method further comprises: selecting a plurality of candidate positions from the current visual angle range based on a position selection rule in response to the character summoning operation; the position selection rule is used to represent the density of the plurality of candidate positions selected. The position selection rule includes at least one of a first selection rule configured by default and a second selection rule determined based on a rule configuration operation. The method according to any one of claims 1 to 16, wherein The method further comprises: determining a fan-shaped region as the current visual angle range based on an orientation and a position of the master virtual object in response to the character summoning operation; dividing the fan-shaped region based on a grid size determined based on the position selection rule to obtain a plurality of grid regions as the plurality of candidate positions. The method further comprises: displaying a plurality of configuration options in response to receiving the rule configuration operation, the configuration options being used to adjust a position sparsity degree when the candidate positions are selected based on the character summoning operation; the position sparsity degree is in a positive proportional relationship with the number of the candidate positions. In response to receiving a selection operation for a first configuration option of the plurality of configuration options, a first density corresponding to the first configuration option is taken as the second selection rule. The method according to any one of claims 1 to 17, wherein The first virtual pet role is displayed at the first position within the current visual angle range in response to the role summoning operation, including: In response to the role summoning operation, the first position is determined from the current visual angle range; The first virtual pet role is selected from a plurality of virtual pet roles based on a matching degree between the first position and the plurality of virtual pet roles, the plurality of virtual pet roles being virtual pet roles within a capability summoning range of the summoning capability; The first virtual pet role is displayed at the first position. The method according to any one of claims 1 to 18, wherein The first virtual pet role is selected from a plurality of virtual pet roles based on a matching degree between the first position and the plurality of virtual pet roles, including: The first position and the plurality of virtual pet roles are matched based on role attributes respectively corresponding to the plurality of virtual pet roles and a position parameter of the first position, the role attributes including at least one of an auxiliary attribute, a suppression attribute, and a collection attribute of the virtual pet role, and the position parameter including at least one of a position parameter between a candidate position and a virtual object, an obstacle parameter, a terrain parameter, a resource parameter, and an additional assignment parameter; At least one virtual pet role with a matching degree meeting a second matching requirement is taken as the first virtual pet role. The method according to any one of claims 1 to 19, wherein The method further includes: In response to the role summoning operation, in a case where a second virtual pet role exists within the current visual angle range, displaying the second virtual pet role moving to the first position; The second virtual pet role includes at least one of the following virtual pet roles: The second virtual pet role and the master virtual object are in a first virtual camp; or, The master virtual object is in a first virtual camp, and the second virtual pet role is in a second virtual camp, a first team level of the first virtual camp being higher than a second team level of the second virtual camp. A virtual pet role summoning device, the device including: A display module configured to display a master virtual object in a virtual scene, the master virtual object having a summoning capability for virtual pet roles, the virtual pet roles including pet roles captured by the master virtual object in the virtual scene; A receiving module configured to receive a role summoning operation, the role summoning operation being used to summon a first virtual pet role, the first virtual pet role being a virtual pet role selected as a slave of the master virtual object; and A selecting module configured to select the first virtual pet role from a plurality of virtual pet roles based on a matching degree between the first position and the plurality of virtual pet roles, the plurality of virtual pet roles being virtual pet roles within a capability summoning range of the summoning capability. The display module is further configured to display the first virtual pet character that is called in a first position within a current view range in response to the character calling operation, the first position being dynamically determined based on an element position of at least one specified element within the current view range, the specified element being a virtual element within the current view range that affects a character calling result of the first virtual pet character. A computer device, comprising a processor and a memory, the memory storing at least one program, the at least one program being loaded and executed by the processor to implement the method for calling a virtual pet character according to any one of claims 1 to 20. A computer readable storage medium, the storage medium storing at least one program, the at least one program being loaded and executed by a processor to implement the method for calling a virtual pet character according to any one of claims 1 to 20. A computer program product, comprising computer instructions, the computer instructions being executed by a processor to implement the method for calling a virtual pet character according to any one of claims 1 to 20.

Citation Information

Patent Citations

  • Exploration method and device in virtual world, equipment, medium and program product

    CN116920398A

  • Capture information display method and device based on virtual world, equipment and medium

    CN117618901A

  • Video game processing apparatus and video game processing program

    US20140128154A1