Virtual scene interaction method and device, equipment, storage medium and program product

By displaying virtual cards carrying virtual characters and skills in the virtual scene of the card game, the problem of low correlation between virtual characters and skills is solved, and high strategic and efficient interaction is achieved.

CN120094205APending Publication Date: 2025-06-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311665844.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-05
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

In card games, the correlation between virtual characters and virtual skills is low, resulting in players spending a higher learning cost to learn card combination strategies, thereby reducing interaction efficiency.

Method used

By displaying virtual cards carrying virtual characters and virtual skills in the card area of ​​the virtual scene, controlling virtual characters' movement and release skills in response to player operations, simplifying player operations and reducing learning costs.

Benefits of technology

The high strategy of each virtual card is achieved, allowing players to control virtual characters and release virtual skills by just one virtual card, reducing the learning cost of card combination strategies and improving interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120094205A_ABST
    Figure CN120094205A_ABST
Patent Text Reader

Abstract

The invention provides a virtual scene interaction method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: displaying at least one virtual card in a card area of a virtual scene, wherein the virtual card carries a virtual character and at least one virtual skill associated with the virtual character; in response to a role control instruction triggered based on a target virtual card, controlling a target virtual role carried by the target virtual card to move to a target position in an interaction area of the virtual scene; and in response to a skill release instruction triggered based on the target virtual card, controlling the target virtual character to release the associated target virtual skill. Through the application, the interaction efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to human-computer interaction technology, and in particular to a virtual scene interaction method, device, equipment, storage medium and program product. Background Art

[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has various typical application scenarios. For example, in the virtual scene of games, it can simulate the real battle process between virtual characters.

[0003] Taking card games with virtual scenes as an example, in card games, players usually have a set of cards, each card represents a virtual character or virtual skill. During the game, players need to formulate strategies by combining and using different cards to achieve the goal of defeating opponents; however, the correlation between virtual characters and virtual skills in this game mode is low, requiring players to spend a high learning cost to learn card combination strategies, resulting in low interaction efficiency. Summary of the invention

[0004] The embodiments of the present application provide a virtual scene interaction method, device, electronic device, computer-readable storage medium and computer program product, which can reduce the learning cost of card combination strategies and improve interaction efficiency.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a virtual scene interaction method, including:

[0007] Displaying at least one virtual card in a card area of ​​a virtual scene, wherein the virtual card carries a virtual character and at least one virtual skill associated with the virtual character;

[0008] In response to a character control instruction triggered by a target virtual card, controlling a target virtual character carried by the target virtual card to move to a target position in an interactive area of ​​the virtual scene;

[0009] In response to a skill release instruction triggered based on the target virtual card, the target virtual character is controlled to release the associated target virtual skill.

[0010] The embodiment of the present application provides an interactive device for a virtual scene, including:

[0011] A card display module, used to display at least one virtual card in a card area of ​​a virtual scene, wherein the virtual card carries a virtual character and at least one virtual skill associated with the virtual character;

[0012] A character control module, configured to control a target virtual character carried by the target virtual card to move to a target position in an interactive area of ​​the virtual scene in response to a character control instruction triggered by the target virtual card;

[0013] The skill control module is used to control the target virtual character to release the associated target virtual skill in response to a skill release instruction triggered based on the target virtual card.

[0014] In the above scheme, before controlling the target virtual character carried by the target virtual card to move to the target position in the interactive area of ​​the virtual scene, the device also includes: an instruction receiving module, which is used to receive a character control instruction in response to a trigger operation on the target virtual card when the card type currently belonging to the target virtual card is a character card; accordingly, after controlling the target virtual character carried by the target virtual card to move to the target position in the interactive area of ​​the virtual scene, the device also includes: a card transformation module, which is used to control the card type currently belonging to the target virtual card to be transformed from a character card to a skill card, and the skill card is used to trigger the skill release instruction.

[0015] In the above scheme, the card display module is further used to display a target virtual card in at least one virtual card in a card display area of ​​the virtual scene using a first style, wherein the first style is used to indicate that the card type to which the target virtual card currently belongs is a character card; the card transformation module is further used to display the target virtual card using a second style, wherein the second style is used to indicate that the card type to which the target virtual card currently belongs is transformed from the character card to a skill card.

[0016] In the above scheme, the card transformation module is also used to control the target virtual card to undergo a shape change, or to control the target virtual card to undergo a card face flip; wherein the shape change or the card face flip is used to indicate that the card type to which the target virtual card currently belongs has changed, and the card type change includes changing from a character card to a skill card.

[0017] In the above scheme, the card transformation module is also used to control the card frame to merge in response to the target virtual character leaving the card frame of the target virtual card, wherein the card type of the target virtual card before the merger is a character card; as the target virtual character moves to the target position, the merging progress of the card frame is adjusted so that the merging progress corresponds to the distance of the target virtual character relative to the target position; in response to the target virtual character moving to the target position and being placed at the target position, the merged card frame is reorganized until it is restored to the target virtual card, wherein the card type of the restored target virtual card is a skill card.

[0018] In the above scheme, the device also includes: an identification display module, which is used to display the character identification of the target virtual character in the card face area of ​​the target virtual card during the process of controlling the card frame to merge, and the character identification is used to indicate that the card type currently belonging to the target virtual card is a character card; in response to the merged card frame being restored to the target virtual card, a skill identification is displayed in the card face area, and the skill identification is used to indicate that the card type currently belonging to the target virtual card is a skill card.

[0019] In the above scheme, the device also includes: a special effect display module, which is used to display a change special effect during the process of merging the card frames or during the process of reorganizing the merged card frames; wherein the change special effect is used to indicate that the card type to which the target virtual card belongs is changing.

[0020] In the above scheme, after the target virtual character is controlled to release the associated target virtual skill, the card transformation module is also used to control the card type currently belonging to the target virtual card to be restored from the skill card to the character card in response to the card recovery condition being met, and the character card is used to trigger the character control instruction; wherein the card recovery condition includes at least one of the following: the target virtual character dies, the number of releases of the target virtual skill reaches the target number, and the duration after the card type to which the target virtual card belongs is changed from the character card to the skill card reaches the target duration.

[0021] In the above scheme, the character control module is also used to control the target virtual character carried by the target virtual card to be in an operable state in response to a selection operation on the target virtual card; and to control the target virtual character to move to the target position indicated by the character control instruction in response to a character control instruction triggered by a drag operation on the target virtual character, wherein the target position is a release position corresponding to the drag operation in the interactive area of ​​the virtual scene.

[0022] In the above scheme, before controlling the target virtual character to move to the target position indicated by the character control instruction, the device also includes: an indication display module, used to display placement position indication information in the interactive area of ​​the virtual scene; wherein the placement position indication information is used to indicate the placeable position for the target virtual character to trigger the release of the drag operation.

[0023] In the above scheme, the skill control module is also used to display a skill indicator at the associated position of the target virtual character in response to a trigger operation on the target virtual card, and the skill indicator is used to indicate the scope of action of the target virtual skill associated with the target virtual character; in response to the target virtual card being dragged to the associated position and releasing the drag operation on the target virtual card at the associated position, a skill release instruction is received; in response to the skill release instruction, the target virtual character is controlled to release the target virtual skill at the associated position.

[0024] In the above scheme, after displaying at least one virtual card in the card area of ​​the virtual scene, the device also includes: a control selection module, which is used to display character controls and skill controls in response to a selection operation on a target virtual card; wherein the character controls are used to trigger the character control instructions, and the skill controls are used to trigger the skill control instructions.

[0025] In the above scheme, before controlling the target virtual character to release the associated target virtual skill, the device also includes: an instruction receiving module, which is used to display at least two candidate virtual skills associated with the target virtual character in response to a trigger operation on the target virtual card when the number of virtual skills associated with the target virtual character is at least two; and receive a skill release instruction for instructing the release of the target virtual skill in response to a selection operation on the target virtual skill.

[0026] In the above scheme, the skill control module is also used to obtain influencing parameters for influencing the release priority of each virtual skill when the number of virtual skills associated with the target virtual character is at least two, wherein the influencing parameters include at least one of the following: the effective range of action corresponding to the release of the virtual skill, the matching degree between the virtual skill and the current interaction progress of the target virtual character; based on the influencing parameters, calling the neural network model to perform release priority prediction processing to obtain the release priority of each virtual skill; controlling the target virtual character to release the target virtual skill with the highest release priority.

[0027] In the above scheme, after controlling the target virtual character to release the associated target virtual skill, the device also includes: a skill cooling module, which is used to control the target virtual skill associated with the target virtual card to be in a cooling state, and when the cooling is completed, controls the target virtual skill to be restored from the cooling state to the activated state.

[0028] In the above scheme, after controlling the target virtual character to release the associated target virtual skill, the skill control module is also used to control the target virtual character to release other associated virtual skills in response to a trigger operation on the target virtual card when the number of virtual skills associated with the target virtual character is at least two, and the other virtual skills are different from the target virtual skills.

[0029] An embodiment of the present application provides an electronic device, including:

[0030] A memory for storing computer executable instructions or computer programs;

[0031] The processor is used to implement the virtual scene interaction method provided in the embodiment of the present application when executing the computer executable instructions or computer programs stored in the memory.

[0032] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program for implementing the virtual scene interaction method provided in the embodiment of the present application when executed by a processor.

[0033] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the virtual scene interaction method provided in the embodiment of the present application is implemented.

[0034] The embodiments of the present application have the following beneficial effects:

[0035] By applying the embodiments of the present application, at least one virtual card is displayed in the card area of ​​the virtual scene. Since a virtual card carries a virtual character and at least one virtual skill associated with the virtual character, that is, the virtual character and the virtual skill associated with the virtual character are integrated into one virtual card, each virtual card itself has a higher strategy. Therefore, the player only needs to operate one virtual card (such as a target virtual card) to control the interaction of the target virtual character carried by it in the virtual scene, and can control the target virtual character to release its associated target virtual skill, which can reduce the learning cost of card combination strategy and improve interaction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 11 is a schematic diagram of the architecture of the virtual scene interactive system 100 provided in an embodiment of the present application;

[0037] Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;

[0038] Figure 3 It is a flowchart of a virtual scene interaction method provided in an embodiment of the present application;

[0039] Figure 4 is a control schematic diagram of a virtual character provided in an embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of instruction triggering provided in an embodiment of the present application;

[0041] Figure 6 is a schematic diagram of the transformation of card types provided in an embodiment of the present application;

[0042] Figure 7 It is a schematic diagram of skill release provided in an embodiment of the present application;

[0043] Figure 8 It is a schematic diagram of skill release provided in an embodiment of the present application;

[0044] Fig. 9 It is a flowchart of a virtual scene interaction method provided in an embodiment of the present application;

[0045] Fig.10 is a schematic diagram of the transformation of card types provided in an embodiment of the present application;

[0046] Fig.11 is a schematic diagram of a card type conversion method provided in an embodiment of the present application;

[0047] Fig.12 is a schematic diagram of the transformation of card types provided in an embodiment of the present application;

[0048] Fig.13 It is a schematic diagram of the transformation of card types provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0050] It is understandable that in the embodiments of the present application, when data related to user information (such as user trigger operations, team attributes or role characteristics, etc.) is involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0051] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0052] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0053] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0055] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0056] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.

[0057] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0058] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.

[0059] 4) Virtual characters. In card games, virtual characters are images of various people and objects carried by virtual cards that can interact in virtual scenes, or movable objects in virtual scenes. The movable objects can be virtual people, virtual animals, cartoon characters, etc., such as people and animals displayed in virtual scenes. A virtual character can be a virtual image in the virtual scene that represents the user. The virtual scene can include multiple virtual characters, each of which corresponds to a virtual card. It has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene. A virtual character can also be a game character controlled by a user (or player).

[0060] 5) Virtual skills: various special functions that can assist virtual characters in interacting with enemy characters in virtual scenes. There are many types of virtual skills, such as attack skills that assist virtual characters in attacking enemy characters, or defensive skills that assist virtual characters in defending against enemy characters, or skills that cause damage to enemy characters, enhance the attributes of the virtual character or friendly characters, etc.

[0061] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for interacting with a virtual scene, which can improve the interaction efficiency. The exemplary application of the electronic device provided by the embodiments of the present application is described below. The electronic device provided by the embodiments of the present application can be implemented as various types of user terminals such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smart phones, smart speakers, smart watches, smart TVs, and vehicle-mounted terminals, and can also be implemented as servers. Below, an exemplary application when the device is implemented as a terminal will be described.

[0062] See also Figure 1 , Figure 1It is a schematic diagram of the architecture of the interactive system 100 of the virtual scene provided in an embodiment of the present application. To support an exemplary application, the terminal (terminal 400-1 and terminal 400-2 are shown as examples) is connected to the server 200 via the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0063] In some embodiments, the terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, etc., but is not limited thereto. A client is provided on the terminal, and the server 200 is a background server corresponding to the client. It may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0064] In actual application, the terminal displays at least one virtual card in the card area of ​​the virtual scene, wherein each virtual card carries a virtual character and at least one virtual skill associated with the virtual character; in response to a character control instruction triggered based on a target virtual card, a character control request is sent to the server 200; in response to the character control request, the server 200 obtains the target virtual character carried by the target virtual card, and returns the target virtual character to the terminal; the terminal controls the target virtual character to move to the target position in the interactive area of ​​the virtual scene; in response to a skill release instruction triggered based on the target virtual card, a skill control request is sent to the server 200; in response to the skill control request, the server 200 obtains the target virtual skill associated with the target virtual character, and returns the target virtual skill to the terminal, and the terminal controls the target virtual character to release the associated target virtual skill.

[0065] See also Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application, taking the electronic device 500 as Figure 1 For example, the terminal in Figure 2The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .

[0066] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0067] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiment of the present application is intended to include any suitable type of memory. The memory 550 optionally includes one or more storage devices that are physically far away from the processor 510.

[0068] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0069] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic businesses and processing hardware-based tasks; a network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.

[0070] In some embodiments, the interactive device of the virtual scene provided in the embodiments of the present application can be implemented in software. The interactive device of the virtual scene provided in the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes. Figure 2An interactive device 555 of a virtual scene stored in a memory 550 is shown, which may be software in the form of a program or plug-in, and includes a series of modules, including a card display module 5551, a character control module 5552, and a skill control module 5553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0071] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the virtual scene interaction method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), programmable logic devices (Programmable Logic Device, PLD), complex programmable logic devices (Complex Programmable Logic Device, CPLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other electronic components.

[0072] In some embodiments, the terminal or server can implement the interactive method of the virtual scene provided by the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be commands, machine instructions or software instructions at the microprogram level. The computer program can be a native program or software module in the operating system; it can be a local application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a game APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0073] As mentioned above, the virtual scene interaction method provided in the embodiment of the present application can be implemented by various types of electronic devices, for example, Figure 1 The terminal and the server 200 in the embodiment can be executed by either one of them separately, or by Figure 1 The terminal and server 200 in the embodiment cooperate to execute. Figure 1 The example of the terminal in the embodiment of the present application executing the virtual scene interaction method provided by the embodiment of the present application is described. Figure 3 , Figure 3 is a flowchart of the interactive method of the virtual scene provided in the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.

[0074] Step 101: The terminal displays at least one virtual card in a card area of ​​a virtual scene, wherein the virtual card carries a virtual character and at least one virtual skill associated with the virtual character.

[0075] In actual applications, a client that supports virtual scenes is installed on the terminal (for example, when the virtual scene is a card game, the corresponding client can be a card game APP). When the user opens the client installed on the terminal and the terminal runs the client, the interface of the virtual scene can be displayed in the client. The interface of the virtual scene includes an interactive area and a card area, wherein the card area is used to display at least one virtual card, and the interactive area is used for interaction with the virtual characters carried by the virtual cards.

[0076] At the beginning of each round, players can reasonably choose a deck containing multiple virtual cards according to their own camps and strategies. Alternatively, when initializing the virtual scene, the virtual scene generates a deck containing multiple virtual cards for each player. The virtual cards in the deck are displayed in the card area. One virtual card corresponds to one virtual character and at least one virtual skill associated with the virtual character, that is, the virtual character and the virtual skills associated with the virtual character are integrated into one virtual card. The card types to which a virtual card belongs include role cards and skill cards.

[0077] Step 102: In response to a character control instruction triggered by a target virtual card, control a target virtual character carried by the target virtual card to move to a target position in an interactive area of ​​the virtual scene.

[0078] In some embodiments, the terminal may respond to a character control instruction triggered based on a target virtual card to control the target virtual character carried by the target virtual card to move to a target position in an interactive area of ​​the virtual scene in the following manner: in response to a selection operation on the target virtual card, control the target virtual character carried by the target virtual card to be in an operable state; in response to a character control instruction triggered by a drag operation on the target virtual character, control the target virtual character to move to the target position indicated by the character control instruction, wherein the target position is a release position corresponding to the drag operation in the interactive area of ​​the virtual scene.

[0079] Among them, the target virtual card is any virtual card of at least one virtual card in the card area. Since the virtual skill depends on the existence of the virtual character, when the virtual card is selected and displayed in the card area, the current card type to which it belongs defaults to is the character card, that is, when the user chooses to use the target virtual card, the default card type of the target virtual card is the character card, that is, the terminal responds to the trigger operation on the target virtual card, controls the target virtual character carried by the target virtual card to be in an operable state (the target virtual character in the operable state can be dragged to the interactive area), and when the user drags the target virtual character to the target position in the interactive area and releases the dragging operation on the target virtual character at the target position, the terminal receives the corresponding character control instruction, and responds to the character control instruction to control the target virtual character to move to the target position.

[0080] In some embodiments, before controlling the target virtual character to move to the target position indicated by the character control instruction, the terminal may also display placement position indication information in the interactive area of ​​the virtual scene; wherein the placement position indication information is used to indicate the placement position for the target virtual character to trigger the release of the drag operation.

[0081] Here, in the process of dragging the target virtual character to move, placement position indication information is displayed in the interactive area of ​​the virtual scene to indicate the placeable area or placeable position where the target virtual character can be placed, thereby guiding the user in the dragging direction and distance of the target virtual character, so as to trigger the release of the dragging operation on the target virtual character at the appropriate position, and place the target virtual character at the appropriate position, so as to control the target virtual character at the appropriate position to interact in the interactive area, such as attacking other virtual characters.

[0082] See also Figure 4 , Figure 4 404. This is a control schematic diagram of a virtual character provided in an embodiment of the present application. The terminal displays multiple virtual cards in a card area 401. When a user selects a target virtual card and drags a target virtual character 402 carried by the target virtual card to an interactive area in a virtual scene, placement position indication information 403 is displayed in the interactive area of ​​the virtual scene to indicate a placeable area or placeable position where the target virtual character 402 can be released, such as a target position 404. When the target virtual character is dragged to the target position 404 and the dragging operation on the target virtual character is released at the target position 404 (such as the user releasing the target virtual character), the target virtual character 402 can be placed at the target position 404 to control the target virtual character 402 at the target position 404 to perform interactive operations, such as attacking other virtual characters.

[0083] In some embodiments, after the terminal displays at least one virtual card in the card area of ​​the virtual scene, in response to a selection operation on the target virtual card, the terminal displays a character control and a skill control; wherein the character control is used to trigger a character control instruction, and the skill control is used to trigger a skill control instruction.

[0084] See also Figure 5 , Figure 5 501, a target virtual card (such as a target virtual card in a card area triggered by a user) 502, and a skill control 503 for the user to select. The target virtual card 502 triggers the target control instruction, and the skill control instruction is triggered by the skill control 503. For example, when the user triggers the target virtual card 502, the terminal receives the target virtual card carried by the target virtual card in response to the trigger operation. In the case where the target virtual card carried by the target virtual card is located in the interactive area of ​​the virtual scene, when the user triggers the skill control 503, the terminal receives the target virtual skill associated with the target virtual card in response to the trigger operation. In this way, the purpose of controlling the virtual character and the virtual skill through a virtual card can be achieved without changing the card type to which the virtual card belongs.

[0085] Step 103: In response to a skill release instruction triggered based on the target virtual card, control the target virtual character to release the associated target virtual skill.

[0086] Here, since the target virtual card carries both the target virtual character and the virtual skills corresponding to the target virtual character, after controlling the target virtual character to move to the interactive area for interaction, the target virtual character can be controlled through the target virtual card to release its associated target virtual skills, such as controlling the target virtual character to cause damage to the enemy character by releasing the target virtual skills, or enhancing the attributes of itself or friendly characters (such as health points, combat effectiveness, etc.).

[0087] In some embodiments, before controlling the target virtual character carried by the target virtual card to move to the target position in the interactive area of ​​the virtual scene, when the card type of the target virtual card currently belongs to is a character card, the terminal receives a character control instruction in response to a trigger operation on the target virtual card; accordingly, after controlling the target virtual character carried by the target virtual card to move to the target position in the interactive area of ​​the virtual scene, the terminal can control the card type of the target virtual card currently to be changed from a character card to a skill card, wherein the skill card is used to trigger a skill release instruction.

[0088] Here, since the target virtual card carries both the target virtual character and the virtual skills corresponding to the target virtual character, before the target virtual character is dragged out from the target virtual card, the default card type of the target virtual card is a character card. At this time, when the user triggers the target virtual card, the character control instruction can be triggered. In response to the character control instruction, the terminal can control the target virtual character to move to the target position in the interactive area. After the target virtual character is dragged out from the target virtual card and placed at the target position in the interactive area, the card type of the target virtual card can be controlled to change from a character card to a skill card, and the skill release instruction can be triggered through the target virtual card (i.e., skill card).

[0089] In some embodiments, the terminal may display at least one virtual card in a card area of ​​a virtual scene in the following manner: in the card display area of ​​the virtual scene, a target virtual card in at least one virtual card is displayed in a first style, wherein the first style is used to indicate that the card type to which the target virtual card currently belongs is a character card; correspondingly, the terminal may control the card type to which the target virtual card currently belongs to be changed from a character card to a skill card in the following manner: the target virtual card is displayed in a second style, wherein the second style is used to indicate that the card type to which the target virtual card currently belongs is changed from a character card to a skill card.

[0090] In actual applications, the display style of a virtual card is related to the card type to which it currently belongs. For example, when the target virtual card currently belongs to a character card, the target virtual card is displayed in a first style. When the target virtual card currently belongs to a skill card, the target virtual card is displayed in a second style. The first style is different from the second style, such as different display logos (i.e., different logos are displayed on the target virtual card, which are used to indicate the current card type), different display colors, different display brightness, different display forms, etc.

[0091] In some embodiments, the terminal can control the target virtual card to change its shape, or control the target virtual card to flip its face; wherein the shape change or the flipping of the face is used to indicate that the card type to which the target virtual card currently belongs has changed, and the change in card type includes the transformation from a character card to a skill card.

[0092] In actual applications, the change in the card type of the target virtual card can be reflected by changing its own shape or flipping the card face. For example, a target virtual card in a first shape indicates that its current card type is a character card, and a target virtual card in a second shape different from the first shape indicates that its current card type is a skill card. For another example, the virtual card changes its card type by flipping back and forth. Assuming that the front of the target virtual card indicates that its current card type is a character card, the back of the target virtual card may indicate that its current card type is a skill card.

[0093] In some embodiments, the terminal may control the target virtual card to change its form in the following manner: in response to the target virtual character detaching from the card frame of the target virtual card, controlling the card frame to merge, wherein the card type of the target virtual card before the merge is a character card; as the target virtual character moves toward the target position, adjusting the merging progress of the card frame so that the merging progress corresponds to the distance of the target virtual character relative to the target position; in response to the target virtual character moving to the target position and being placed at the target position, reorganizing the merged card frame until it is restored to the target virtual card, wherein the card type of the restored target virtual card is a skill card.

[0094] Here, taking the role card as an example, when the user drags the target virtual character out of the target virtual card and makes the target virtual character leave the card frame under the dragging operation, the card frame of the target virtual card is controlled to merge, such as controlling the card frame to tighten (i.e. controlling the distance between the two parallel card frames in the target virtual card to become smaller). As the target virtual character moves toward the target position, the merging progress of the card frame is adjusted so that the merging progress corresponds to the distance of the target virtual character relative to the target position. The merging progress is used to feedback the degree of merging of the card frame. For example, the closer the distance between the target virtual character and the target position is, the greater the merging progress of the card frame is (i.e. the greater the degree of merging is, such as the smaller the distance between the two parallel card frames in the target virtual card is). When the target virtual character is controlled to move to the target position, the merging progress of the card frame is adjusted. When the target virtual character is positioned and the target virtual character is placed at the target position (such as releasing the drag operation on the target virtual character, placing the target virtual character at the target position, and the distance between the target virtual character and the target position after placement is 0), the card frame merging is completed (that is, the two parallel card frames in the target virtual card overlap), and then the merged card frame begins to be reorganized, such as gradually unfolding the two overlapping parallel card frames, so that the distance between the two overlapping parallel card frames gradually increases, until it is restored to the original distance before the card frames of the target virtual card are merged, that is, it is restored to the target virtual card (the card size is the same as before the merger). At this time, the card type to which the target virtual card belongs is changed from a role card to a skill card, and the skill release instruction can be triggered by the skill card (that is, the target virtual card) to control the target virtual character to release the associated target virtual skill.

[0095] See also Figure 6 , Figure 6 6 is a schematic diagram of the transformation of the card type provided by the embodiment of the present application. Assuming that the current card type of the target virtual card 601 is a role card, when the user drags the target virtual character 602 out of the target virtual card 601 to make the target virtual character 602 out of the card frame, the control card frame starts to merge (such as the distance between the two vertically parallel card frames becomes smaller). As the target virtual character 602 moves to the target position 603 in the interactive area of ​​the virtual scene, the card frame merging progress is increased (that is, the distance between the two vertically parallel card frames gradually becomes smaller). When the target virtual character 602 moves to the target position 603 and is successfully placed at the target position 603, the merging progress of the card frame is completed, and then the merged card frame is reorganized, such as gradually expanding the two overlapping parallel card frames, so that the distance between the two overlapping parallel card frames gradually increases until it is restored to the original distance before the card frame of the target virtual card is merged, thereby realizing the transformation of the card type to which the target virtual card belongs from a role card to a skill card.

[0096] In some embodiments, when the terminal controls the card frame to merge, the character identification of the target virtual character can be displayed in the card area of ​​the target virtual card, wherein the character identification is used to indicate that the current card type of the target virtual card is a character card; in response to the merged card frame being restored to the target virtual card, a skill identification is displayed in the card area, and the skill identification is used to indicate that the current card type of the target virtual card is a skill card.

[0097] In actual application, taking the case where the card type of the target virtual card before the card frame is merged is a character card, during the process of merging the card frame of the target virtual card (i.e., the card type of the target virtual card is changed), the character identification of the target virtual character can be displayed in the card area of ​​the target virtual card, where the character identification includes but is not limited to: a character type identification, a character portrait, and a race symbol of the race to which the character belongs, such as Figure 6 The race symbol of the character to which the target virtual card belongs is displayed to indicate that before the card frames are merged, the card type of the target virtual card is still a character card; after the card frames of the target virtual card are merged and the merged card frames are reorganized and restored to the target virtual card, the face area of ​​the target virtual card is displayed as follows: Figure 6 The skill identifier shown indicates that the current card type of the target virtual card is a skill card, completing the transformation from a role card to a skill card.

[0098] In some embodiments, the terminal may display a change effect during the merging of card frames or during the reorganization of merged card frames; wherein the change effect is used to indicate that the card type to which the target virtual card belongs is changing.

[0099] Here, during the process of merging card frames, or during the process of reorganizing the merged card frames, that is, during the process of changing the card type to which the target virtual card belongs, the terminal can display a change effect to indicate that the card type to which the target virtual card belongs is changing. In this way, the user can intuitively understand the change progress of the card type to which the target virtual card belongs, enriching the display content.

[0100] In some embodiments, after the terminal controls the target virtual character to release the associated target virtual skill, in response to the card recovery condition being met, the terminal controls the current card type of the target virtual card to be restored from a skill card to a character card, and the character card is used to trigger the character control instruction; wherein the card recovery condition includes at least one of the following: the target virtual character dies, the number of releases of the target virtual skill reaches the target number, and the duration after the card type of the target virtual card is changed from a character card to a skill card reaches the target duration.

[0101] Here, after the card type of the target virtual card is changed from a character card to a skill card, when the card recovery condition is met, the card type of the target virtual card can be controlled to be restored from a skill card to a character card. It can be understood that on this basis, the card type of the target virtual card can also be controlled to be changed from a character card to a skill card, that is, the card type of the target virtual card can be controlled to be cyclically changed between character cards and skill cards to adapt to current interaction needs.

[0102] In actual applications, since the target virtual skill associated with the target virtual character depends on the target virtual character to be released, that is, the target virtual skill depends on the existence of the target virtual character, when the target virtual character dies during the interaction process, the card type of the target virtual card can be controlled to be restored from a skill card to a character card, that is, the death of the target virtual character is used as a card recovery condition for restoring the card type of the target virtual card from a skill card to a character card.

[0103] When the card recovery condition is related to the number of times a virtual skill is released, when the number of times the target virtual character is controlled to release the target virtual skill reaches the target number (which can be set according to actual needs, such as set to 3), the card recovery condition can be considered to be met. In addition, since a virtual character can be associated with multiple virtual characters, after the target virtual character is placed in the interaction area (that is, the card type of the target virtual card is changed from a character card to a skill card), the total number of times the target virtual character is controlled to release virtual skills (which can be the same virtual skill or different virtual skills) can be counted. When the total number reaches the target number, the card recovery condition can be considered to be met.

[0104] In addition, since the card type to which the same virtual card belongs can be cyclically transformed between a role card and a skill card, the cyclic transformation can be a periodic transformation, wherein the transformation period can be a fixed period or a non-fixed period determined according to the progress of the interaction, that is, when the card recovery condition includes that the duration after the card type to which the target virtual card belongs is transformed from a role card to a skill card reaches a target duration, the target duration can be a fixed duration (such as set to 5 seconds, that is, the card type is changed every 5 seconds), or a non-fixed duration (such as after the card type to which the target virtual card belongs is restored from a role card to a skill card, when the duration of the skill card reaches a first target duration (the first target duration is set according to the progress of the interaction, such as set to 3 seconds), the skill card is transformed into a role card, and when the duration of the role card reaches a second target duration (the second target duration is also set according to the progress of the interaction, and may be different from the first target duration, such as set to 5 seconds), the role card is transformed into a skill card, and this cycle is repeated to achieve the transformation between different card types belonging to the same virtual card.

[0105] After the card type of the target virtual card is restored from a skill card to a role card, the above process (such as step 102-step 103) can be repeated, that is, the target virtual character is placed in the interactive area in the virtual scene through the role card, that is, after the target virtual character is placed in the interactive area, the card type of the target virtual card is controlled to be changed from a role card to a skill card, and the target virtual character is controlled to release the associated virtual skill through the skill card; in this way, by controlling a virtual card, dual control of the virtual character and the virtual skill can be achieved, which can reduce the learning cost of the card combination strategy and improve the interaction efficiency.

[0106] In some embodiments, the terminal may control the target virtual character to release the associated target virtual skill in response to a skill release instruction triggered based on a target virtual card in the following manner: in response to a trigger operation on the target virtual card, a skill indicator is displayed at an associated position of the target virtual character, the skill indicator being used to indicate the scope of action of the target virtual skill associated with the release of the target virtual character; in response to the target virtual card being dragged to the associated position and releasing the drag operation on the target virtual card at the associated position, a skill release instruction is received; in response to the skill release instruction, the target virtual character is controlled to release the target virtual skill at the associated position.

[0107] See also Figure 7 , Figure 7 701, and the target virtual character 702 is located in the interactive area of ​​the virtual scene. The terminal displays a skill indicator 703 at the associated position of the target virtual character 702 (such as the surrounding position of the target virtual character, such as 5 meters to the upper right) to indicate the scope of the skill release (such as the skill release direction, the target object that can be affected after the skill is released). Based on the guidance of the skill indicator, the user can decide to trigger the skill release instruction. When deciding to trigger the skill release instruction, the user can drag the target virtual card (that is, the skill card) to the position of the skill indicator (that is, the associated position mentioned above) and then release it. The terminal responds to this series of operations (such as dragging operation, release operation), receives the skill release instruction, and responds to the skill release instruction to control the target virtual character to release the target virtual skill at the associated position.

[0108] It should be noted that in actual applications, the skill release instruction can be triggered without going through the above series of operations. For example, when the user triggers (such as clicking or double-clicking, etc.) the target virtual card (that is, the skill card), the terminal responds to the trigger operation, and can receive the skill release instruction. In response to the skill release instruction, it controls the target virtual character to release the target virtual skill at the associated position, that is, the skill release instruction can be triggered by one-click triggering, thereby improving the interaction efficiency.

[0109] In some embodiments, before the terminal controls the target virtual character to release the associated target virtual skill, when the number of virtual skills associated with the target virtual character is at least two, it can also display at least two candidate virtual skills associated with the target virtual character in response to a trigger operation on the target virtual card; in response to a selection operation on the target virtual skill, a skill release instruction for instructing the release of the target virtual skill is received.

[0110] See also Figure 8 , Figure 8 This is a skill release schematic diagram provided in an embodiment of the present application. Since the same virtual character can be associated with multiple virtual skills, when the user triggers the target virtual card (i.e., skill card) 801, the terminal responds to the trigger operation and displays at least two candidate virtual skills associated with the target virtual character for the user to select, such as candidate virtual skill 1, candidate virtual skill 2, and candidate virtual skill 3. In response to the selection operation for the target virtual skill (such as candidate virtual skill 2), a skill release instruction is received, and the skill release instruction is used to instruct the release of the target virtual skill (i.e., candidate virtual skill 2). In response to the skill release instruction, the target virtual character is controlled to release the target virtual skill (i.e., candidate virtual skill 2); in this way, the user can choose the virtual skill suitable for the current time to release according to actual needs, which improves the targetedness of the skill release and thereby improves the interaction efficiency.

[0111] It should be noted that when displaying multiple candidate virtual skills for users to choose from, when the selection priorities corresponding to the candidate virtual skills are different, each candidate virtual skill can also be displayed in a corresponding display style according to the selection priority corresponding to each candidate virtual skill. That is, for candidate virtual skills with different selection priorities, different display styles (such as different display orders, different display colors, different display brightness, different display fonts, etc.) are used to display each candidate virtual skill, or candidate virtual skills with higher selection priorities are highlighted, so as to facilitate users to select the required candidate virtual skills, which is conducive to improving the targeted release of skills and interaction efficiency.

[0112] In some embodiments, the terminal can control the target virtual character to release the target virtual skill associated with it in the following manner: when the number of virtual skills associated with the target virtual character is at least two, obtain an influencing parameter for influencing the release priority of each virtual skill, wherein the influencing parameter includes at least one of the following: the effective range of action corresponding to the release of the virtual skill, the degree of match between the virtual skill and the current interaction progress of the target virtual character; based on the influencing parameter, call a neural network model to perform release priority prediction processing to obtain the release priority of each virtual skill; control the target virtual character to release the target virtual skill with the highest release priority among all virtual skills.

[0113] Here, since the same virtual character can be associated with multiple virtual skills, that is, when the target virtual character is associated with multiple virtual skills, the terminal responds to the trigger operation on the target virtual card (that is, the skill card), obtains the release priority corresponding to each virtual skill, and controls the target virtual character to automatically release the target virtual skill with the highest release priority among the multiple associated virtual skills (that is, the release priority of the target virtual skill is higher than the release priority of other virtual skills in at least two virtual skills except the target virtual skill), so as to improve the targeted release and interaction efficiency of the skill release.

[0114] When obtaining the release priority corresponding to each virtual skill, first obtain the influencing parameters that affect the release priority of each virtual skill, wherein the larger the effective action range corresponding to the release of the virtual skill, the greater the release priority of the corresponding virtual skill; the matching degree between the virtual skill and the current interaction progress of the target virtual character, wherein the matching degree is used to characterize the urgency of the target virtual character to release the virtual skill. Generally, the greater the matching degree, the greater the release priority of the corresponding virtual skill; after obtaining the influencing parameters, input the influencing parameters into the trained neural network model for prediction processing to obtain the release priority corresponding to each virtual skill, which can make the prediction more accurate.

[0115] Before applying the neural network model, it is necessary to train the initial neural network model, and then put the trained neural network model into use to combine the influencing parameters and predict the release priority corresponding to the virtual skill through artificial intelligence technology. Among them, the neural network model is trained through virtual skill samples, the influencing parameters corresponding to the virtual skill samples, and the release priority annotated by the virtual skill samples. For example, based on the virtual skill samples, the matching degree associated with the virtual skill samples, and the release priority annotated by the virtual skill samples, the initial neural network model is called for prediction processing to obtain the predicted release priority. After determining the value of the loss function of the neural network model through the predicted release priority and the annotated release priority, it can be determined whether the value of the loss function exceeds the preset threshold. When the value of the loss function exceeds the preset threshold, the error signal of the neural network model is determined based on the loss function, and the error signal is back-propagated in the neural network model, and the model parameters of each layer are updated during the propagation process.

[0116] Among them, the embodiments of the present application do not limit the model structure of the neural network model. For example, the neural network model can be a convolutional neural network, a deep neural network, etc.; it is not limited to the form of the loss function, for example, it can be a cross entropy loss function, an L2 loss function, etc.

[0117] Here, back propagation is explained. The training sample data is input into the input layer of the neural network model, passes through the hidden layer, and finally reaches the output layer and outputs the result. This is the forward propagation process of the neural network model. Since there is an error between the output result of the neural network model and the actual result, the error between the output result and the actual value is calculated, and the error is backpropagated from the output layer to the hidden layer until it propagates to the input layer. In the process of back propagation, the value of the model parameter is adjusted according to the error, that is, the loss function is constructed according to the error between the output result and the actual value, and the partial derivatives of the loss function with respect to the model parameters are calculated layer by layer to generate the gradient of the loss function with respect to the model parameters of each layer. Since the direction of the gradient indicates the direction of error expansion, the gradient of the model parameters is inverted and summed with the original parameters of each layer model. The summed result is used as the updated model parameters of each layer, thereby reducing the error caused by the model parameters, and the above process is continuously iterated until convergence.

[0118] In some embodiments, after the terminal controls the target virtual character to release the associated target virtual skill, the target virtual skill associated with the target virtual card can be controlled to be in a cooling state, and when the cooling is completed, the target virtual skill is controlled to be restored from the cooling state to the activated state.

[0119] Here, after the terminal controls the target virtual skill to release the target virtual skill once, the target virtual skill is controlled to be in a cooling state, such as displaying a cooling countdown. When the cooling countdown returns to zero, the target virtual skill is controlled to be in an activated state, and the target virtual character can continue to be controlled to release the activated target virtual skill. In this way, the release frequency of the virtual skills associated with the virtual character can be controlled to maintain the ecological balance of the virtual scene.

[0120] In some embodiments, after the terminal controls the target virtual character to release the associated target virtual skill, when the number of virtual skills associated with the target virtual character is at least two, in response to a trigger operation on the target virtual card, the target virtual character is controlled to release other associated virtual skills, wherein the other virtual skills are different from the target virtual skills.

[0121] Here, since the same virtual character can be associated with multiple virtual skills, that is, when the target virtual character is associated with multiple virtual skills, when the terminal has controlled the target virtual character to release the target virtual skill, if the user triggers the target virtual card again (the card type is a skill card), the terminal responds to the trigger operation and automatically controls the target virtual character to release other virtual skills associated with the target virtual character and different from the target virtual skill. In this way, through one virtual card, the release of multiple virtual skills can be realized, which is conducive to improving interaction efficiency.

[0122] Through the above method, at least one virtual card is displayed in the card area of ​​the virtual scene. Since a virtual card carries a virtual character and at least one virtual skill associated with the virtual character, that is, the virtual character and the virtual skill associated with the virtual character are integrated on a virtual card, each virtual card itself has a higher strategy. Therefore, the player only needs to operate one virtual card (such as a target virtual card) to control the interaction of the target virtual character carried by it in the virtual scene, and can control the target virtual character to release its associated target virtual skill, which can reduce the learning cost of card combination strategy and improve interaction efficiency.

[0123] Next, an exemplary application of the embodiment of the present application in an actual application scenario will be described. Taking the virtual scene as a card game as an example, the interactive method of the virtual scene provided by the embodiment of the present application will be described. Fig. 9 , Fig. 9 : is a flow chart of a virtual scene interaction method provided in an embodiment of the present application, the method comprising:

[0124] Step 201: The terminal displays at least one virtual card in the game card area.

[0125] Here, at the beginning of each round, players can reasonably choose a deck according to their own camp and strategy, or, when initializing the game, the game generates a deck for each player, where a deck includes multiple (such as 4) virtual cards, and the virtual cards in the deck are displayed in the card area of ​​the game.

[0126] A virtual card corresponds to a virtual character and at least one virtual skill associated with the virtual character, that is, the virtual character and the virtual skills associated with the virtual character are integrated into a virtual card. The card types of a virtual card include role cards and skill cards. Since the release of virtual skills depends on the virtual character, the default card type of each virtual card is a role card.

[0127] Step 202: In response to a selection operation on a target virtual card, control a target virtual character carried by the target virtual card to be in an operable state.

[0128] Among them, the target virtual card is any virtual card in the deck. As described above, the default card type of the target virtual card is a character card. When the user selects the target virtual card (i.e., the character card), the terminal responds to the trigger operation and controls the target virtual character associated with the target virtual card to be in an operable state, wherein the target virtual character in the operable state can be dragged to the interactive area of ​​the game.

[0129] Step 203: In response to the placement instruction for the target virtual character, the target virtual character is placed at a target position in the interaction area.

[0130] Here, the placement instruction is the above-mentioned character control instruction. When the user drags the target virtual character to separate from the target virtual card, the terminal controls the target virtual character to move along with the dragging operation. When the target virtual character is dragged to the target position in the interactive area of ​​the game and the dragging operation on the target virtual character is released at the target position, the target virtual character can be placed at the target position.

[0131] During the process of dragging the target virtual character to move, placement position indication information is displayed in the interactive area of ​​the game to indicate the placement positions where the target virtual character can be placed, thereby guiding the user in the dragging direction and distance of the target virtual character, so as to trigger the release of the drag operation on the target virtual character at the appropriate position, and place the target virtual character at the appropriate position, so as to control the target virtual character at the appropriate position to interact in the interactive area, such as attacking other virtual characters.

[0132] Step 204: Control the current card type of the target virtual card to be changed from a role card to a skill card.

[0133] In actual applications, the change of the card type of the target virtual card can be reflected by the change of its own form. Fig.10 , Fig.10 1001 is a schematic diagram of the transformation of the card type provided in an embodiment of the present application. Assuming that in a normal state, the current card type of the target virtual card 1001 is a role card, when the user drags the target virtual character 1002 out of the target virtual card 1001 to make the target virtual character 1002 leave the card frame, the control card frame starts to merge (or the card frame shrinks, that is, the distance between the two vertically parallel card frames becomes smaller), that is, the control target virtual card is in a tightened state, and the card face displays the race symbol of the race to which the target virtual character belongs. As the target virtual character 1002 moves to the placement position (that is, the above-mentioned target position) in the interactive area of ​​the virtual scene, the card frame merging progress (that is, the distance between the two vertically parallel card frames) increases. The distance between the two card frames gradually decreases), when the target virtual character 1002 moves to the placement position and is successfully placed at the placement position, the merging progress of the card frames is completed (that is, the two vertically parallel card frames are merged together); when the target virtual character is placed, a change effect is displayed (such as exposure, display of fragmented elements); then the merged card frames are reorganized, such as gradually unfolding the two overlapping parallel card frames, so that the distance between the two overlapping parallel card frames gradually increases, until it is restored to the original distance before the card frames of the target virtual card are merged, thereby realizing the transformation of the card type of the target virtual card from the character card to the skill card, and controlling the skill card to be in a cooling state.

[0134] Combination Fig.10, see next Fig.11 , Fig.11 : is a schematic diagram of a card type conversion method provided in an embodiment of the present application, the method comprising:

[0135] Step 301: The terminal displays the role cards in the card area.

[0136] Among them, the character card is the target virtual card of the above-mentioned card type being the character card. The character card is in an operable state, the card frame is in an open state, and the card face area of ​​the character card displays the character image of the target virtual character.

[0137] Step 302: In response to the drag operation on the character card, the card frame is controlled to collapse toward the middle, and the race symbol is displayed in the card area.

[0138] Among them, the race symbol is the symbol of the race to which the target virtual character carried by the character card belongs, that is, the above-mentioned character identification.

[0139] Step 303: Displaying position release indication information in the interactive area.

[0140] Step 304: Determine whether the target virtual character is successfully placed.

[0141] Here, when the target virtual character is not successfully placed, step 301 is executed; when the target virtual character is successfully placed, step 305 is executed.

[0142] Step 305: Control the card frames to merge together.

[0143] Step 306: Control the card frame to expand and display the skill logo in the card area.

[0144] Among them, the skill identifier is used to indicate the virtual skill associated with the target virtual skill. After the card frames are merged together, the merged card frames are then reorganized, such as gradually unfolding two overlapping parallel card frames, so that the distance between the two overlapping parallel card frames gradually increases until it is restored to the original distance before the card frames of the target virtual card are merged, thereby realizing the transformation of the card type of the target virtual card from a role card to a skill card.

[0145] Step 307: Determine whether the target virtual skill is released.

[0146] Here, when the target virtual skill has not been released, step 306 is executed; when the target virtual skill has been released, step 308 is executed.

[0147] Step 308: Control the skill card to be in cooling state.

[0148] In actual applications, the change of the card type of the target virtual card can be reflected by flipping the card face, see Fig.12 , Fig.12 3. The present invention is a schematic diagram of the transformation of card types provided in an embodiment of the present application. Before the target virtual character associated with the target virtual card moves to the interactive area (i.e., the character comes on stage), the terminal displays the character card (i.e., the target virtual card whose card type is the character card) in the card area. When the target virtual character associated with the character card is placed at the target position in the interactive area, the character card is controlled to be flipped (i.e., the front and back of the card are swapped) and transformed into a skill card, i.e., the card type of the target virtual card is changed from character card to skill card, and the character identification (e.g., character avatar) of the target virtual character can be displayed in the card area of ​​the skill card. When the skill card is cooled down, the player can control the target virtual character to release the associated target virtual skill by clicking on the skill card.

[0149] See also Fig.13 , Fig.13 This is a schematic diagram of the transformation of card types provided in an embodiment of the present application. When the target virtual character dies, since the virtual skills depend on the target virtual character to be released, the skill card can be controlled to flip the card face and transform into a character card. At this time, the character card is in a cooling state, so the cooling countdown corresponding to the character card can be displayed, and the cooling special effects can be played during the cooling countdown returning to zero. When the cooling is completed (that is, the cooling countdown returns to zero), the character card is controlled to be in an activated state. The player can trigger the activated character card to place the target virtual character in the interactive scene again for interaction.

[0150] Step 205: In response to a trigger operation on a skill card, a skill indicator is displayed in the interactive area.

[0151] Among them, the skill indicator is used to indicate the scope of action of the target virtual skill associated with the target virtual character, and the user can select and determine the skill release position based on the skill indicator.

[0152] Step 206: In response to the skill release instruction triggered based on the skill indicator, control the target virtual character to release the associated target virtual skill.

[0153] Here, after the user determines the skill release position based on the skill indicator, he can drag the skill card (i.e., the target virtual card) to the determined release position, and release the drag on the skill card at the release position to trigger the skill release instruction. The terminal responds to the skill release instruction and controls the target virtual character to release the associated target virtual skill at the release position, such as controlling the target virtual character to cause damage to the enemy character by releasing the target virtual skill, or enhancing the attributes of itself or friendly characters (such as health, combat effectiveness, etc.).

[0154] Through the above method, the embodiment of the present application has at least the following beneficial effects:

[0155] 1) Simplified operation: Since virtual characters and virtual skills are integrated into a virtual card, players only need to operate a virtual card to deploy virtual characters and release virtual skills. This greatly simplifies the operation process of the game, making the game easier to get started and improving the fluency of the game.

[0156] 2) Increased strategy: Since each virtual card contains a virtual character and virtual skills, each virtual card has a higher strategic nature. Players need to consider how to best use the virtual characters and virtual skills of the virtual cards, which increases the strategy and depth of the game.

[0157] 3) Reduce memory load: A virtual card can carry two functional information. Through the dynamic transformation of virtual cards, players can more clearly understand the connection between virtual skills and virtual characters without having to check the details or memorize them deliberately.

[0158] So far, the interactive method of the virtual scene provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the interaction scheme of the virtual scene implemented by the cooperation of each module in the interactive device 555 for the virtual scene provided by the embodiment of the present application.

[0159] A card display module 5551 is used to display at least one virtual card in a card area of ​​a virtual scene, wherein the virtual card carries a virtual character and at least one virtual skill associated with the virtual character; a character control module 5552 is used to control the target virtual character carried by the target virtual card to move to a target position in an interactive area of ​​the virtual scene in response to a character control instruction triggered based on the target virtual card; a skill control module 5553 is used to control the target virtual character to release the associated target virtual skill in response to a skill release instruction triggered based on the target virtual card.

[0160] In some embodiments, before the target virtual character carried by the target virtual card is controlled to move to the target position in the interactive area of ​​the virtual scene, the device further includes: an instruction receiving module, which is used to receive a character control instruction in response to a trigger operation on the target virtual card when the card type currently to which the target virtual card belongs is a character card; accordingly, after the target virtual character carried by the target virtual card is controlled to move to the target position in the interactive area of ​​the virtual scene, the device further includes: a card transformation module, which is used to control the card type currently to which the target virtual card belongs to be transformed from a character card to a skill card, and the skill card is used to trigger the skill release instruction. In some embodiments, the card display module is also used to display the target virtual card in the card display area of ​​the virtual scene in a first style, wherein the first style is used to indicate that the card type currently to which the target virtual card belongs is a character card; the card transformation module is also used to display the target virtual card in a second style, wherein the second style is used to indicate that the card type currently to which the target virtual card belongs is transformed from the character card to the skill card.

[0161] In some embodiments, the card transformation module is further used to control the target virtual card to undergo a shape change, or to control the target virtual card to undergo a card face flip; wherein the shape change or the card face flip is used to indicate that the card type to which the target virtual card currently belongs has changed, and the card type change includes a change from a character card to a skill card.

[0162] In some embodiments, the card transformation module is further used to control the card frame to merge in response to the target virtual character detaching from the card frame of the target virtual card, wherein the card type of the target virtual card before the merge is a character card; as the target virtual character moves toward the target position, the merging progress of the card frame is adjusted so that the merging progress corresponds to the distance of the target virtual character relative to the target position; in response to the target virtual character moving to the target position and being placed at the target position, the merged card frame is reorganized until it is restored to the target virtual card, wherein the card type of the restored target virtual card is a skill card.

[0163] In some embodiments, the device further includes: an identification display module, for displaying a character identification of the target virtual character in the card face area of ​​the target virtual card during the process of controlling the card frame to merge, the character identification being used to indicate that the card type to which the target virtual card currently belongs is a character card; in response to the merged card frame being restored to the target virtual card, a skill identification is displayed in the card face area, the skill identification being used to indicate that the card type to which the target virtual card currently belongs is a skill card.

[0164] In some embodiments, the device further includes: a special effect display module for displaying a change special effect during the merging of the card frames or during the reorganization of the merged card frames; wherein the change special effect is used to indicate that the card type to which the target virtual card belongs is changing.

[0165] In some embodiments, after the target virtual character is controlled to release the associated target virtual skill, the card transformation module is also used to control the current card type of the target virtual card to be restored from the skill card to the character card in response to the card recovery condition being met, and the character card is used to trigger the character control instruction; wherein the card recovery condition includes at least one of the following: the target virtual character dies, the number of releases of the target virtual skill reaches the target number, and the duration after the card type of the target virtual card is transformed from the character card to the skill card reaches the target duration.

[0166] In some embodiments, the character control module is further used to control the target virtual character carried by the target virtual card to be in an operable state in response to a selection operation on the target virtual card; and to control the target virtual character to move to the target position indicated by the character control instruction in response to a character control instruction triggered by a drag operation on the target virtual character, wherein the target position is a release position corresponding to the drag operation in the interactive area of ​​the virtual scene.

[0167] In some embodiments, before controlling the target virtual character to move to the target position indicated by the character control instruction, the device also includes: an indication display module, used to display placement position indication information in the interactive area of ​​the virtual scene; wherein the placement position indication information is used to indicate the placeable position for the target virtual character to trigger the release of the drag operation.

[0168] In some embodiments, the skill control module is also used to display a skill indicator at an associated position of the target virtual character in response to a trigger operation on the target virtual card, and the skill indicator is used to indicate the scope of action of the target virtual skill associated with the target virtual character; in response to the target virtual card being dragged to the associated position and releasing the drag operation on the target virtual card at the associated position, a skill release instruction is received; in response to the skill release instruction, the target virtual character is controlled to release the target virtual skill at the associated position.

[0169] In some embodiments, after displaying at least one virtual card in the card area of ​​the virtual scene, the device further includes: a control selection module, for displaying character controls and skill controls in response to a selection operation on a target virtual card; wherein the character controls are used to trigger the character control instructions, and the skill controls are used to trigger the skill control instructions.

[0170] In some embodiments, before controlling the target virtual character to release the associated target virtual skill, the device also includes: an instruction receiving module, which is used to display at least two candidate virtual skills associated with the target virtual character in response to a trigger operation on the target virtual card when the number of virtual skills associated with the target virtual character is at least two; and receive a skill release instruction for instructing the release of the target virtual skill in response to a selection operation on the target virtual skill.

[0171] In some embodiments, the skill control module is also used to obtain influencing parameters for influencing the release priority of each virtual skill when the number of virtual skills associated with the target virtual character is at least two, wherein the influencing parameters include at least one of the following: an effective range of action corresponding to the release of the virtual skill, a degree of match between the virtual skill and the current interaction progress of the target virtual character; based on the influencing parameters, calling a neural network model to perform release priority prediction processing to obtain the release priority of each virtual skill; and controlling the target virtual character to release the target virtual skill with the highest release priority.

[0172] In some embodiments, after controlling the target virtual character to release the associated target virtual skill, the device also includes: a skill cooling module, which is used to control the target virtual skill associated with the target virtual card to be in a cooling state, and when the cooling is completed, controls the target virtual skill to be restored from the cooling state to an activated state.

[0173] In some embodiments, after controlling the target virtual character to release the associated target virtual skill, the skill control module is also used to control the target virtual character to release other associated virtual skills in response to a trigger operation on the target virtual card when the number of virtual skills associated with the target virtual character is at least two, and the other virtual skills are different from the target virtual skills.

[0174] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the above-mentioned virtual scene interaction method of the embodiment of the present application.

[0175] The present application embodiment provides a computer-readable storage medium storing computer executable instructions, wherein the computer executable instructions or computer programs are stored. When the computer executable instructions or computer programs are executed by a processor, the processor will be caused to execute the virtual scene interaction method provided by the present application embodiment, for example, Figure 3 The interactive method of the virtual scene is shown.

[0176] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0177] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0178] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0179] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0180] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A virtual scene interaction method, It is characterized in that The method comprises: Displaying at least one virtual card in a card area of ​​a virtual scene, wherein the virtual card carries a virtual character and at least one virtual skill associated with the virtual character; In response to a character control instruction triggered by a target virtual card, controlling a target virtual character carried by the target virtual card to move to a target position in an interactive area of ​​the virtual scene; In response to a skill release instruction triggered based on the target virtual card, the target virtual character is controlled to release the associated target virtual skill.

2. The method according to claim 1, It is characterized in that Before controlling the target virtual character carried by the target virtual card to move to a target position in the interactive area of ​​the virtual scene, the method further includes: When the card type of the target virtual card is a character card, in response to a trigger operation on the target virtual card, the character control instruction is received; After controlling the target virtual character carried by the target virtual card to move to a target position in the interactive area of ​​the virtual scene, the method further includes: The card type of the target virtual card is controlled to be changed from the role card to a skill card, and the skill card is used to trigger the skill release instruction.

3. The method according to claim 2, It is characterized in that The step of displaying at least one virtual card in a card area of ​​a virtual scene includes: In a card display area of ​​a virtual scene, a target virtual card in at least one virtual card is displayed in a first style, wherein the first style is used to indicate that the card type to which the target virtual card currently belongs is a character card; The controlling the target virtual card to change its current card type from a role card to a skill card includes: The target virtual card is displayed in a second style, wherein the second style is used to indicate that the card type to which the target virtual card currently belongs is changed from the character card to a skill card.

4. The method according to claim 2, It is characterized in that The method further comprises: Controlling the target virtual card to change its shape, or controlling the target virtual card to flip its face; The morphological change or the card face flip is used to indicate that the card type to which the target virtual card currently belongs has changed, and the card type change includes the transformation from the character card to the skill card.

5. The method according to claim 4, It is characterized in that The controlling the target virtual card to change its form includes: In response to the target virtual character leaving the card frame of the target virtual card, controlling the card frame to merge, wherein the card type of the target virtual card before merging is a character card; As the target virtual character moves toward the target position, adjusting the merging progress of the card frame so that the merging progress corresponds to the distance of the target virtual character relative to the target position; In response to the target virtual character moving to the target position and being placed at the target position, the merged card frame is reorganized until it is restored to the target virtual card, wherein the card type of the restored target virtual card is a skill card.

6. The method according to claim 5, It is characterized in that The method further comprises: In the process of controlling the card frames to merge, displaying a character identifier of the target virtual character in the card face area of ​​the target virtual card, wherein the character identifier is used to indicate that the card type of the target virtual card is a character card; In response to the merged card frame being restored to the target virtual card, a skill identifier is displayed in the card area, wherein the skill identifier is used to indicate that the card type to which the target virtual card currently belongs is a skill card.

7. The method according to claim 5, It is characterized in that The method further comprises: During the merging process of the card frames, or during the reorganization process of the merged card frames, a change effect is displayed; The change special effect is used to indicate that the card type to which the target virtual card belongs is changing.

8. The method according to claim 2, It is characterized in that After controlling the target virtual character to release the associated target virtual skill, the method further includes: In response to a card recovery condition being met, controlling the card type of the target virtual card to be restored from the skill card to the character card, wherein the character card is used to trigger the character control instruction; Among them, the card recovery condition includes at least one of the following: the target virtual character dies, the number of releases of the target virtual skill reaches the target number, and the duration after the card type of the target virtual card is transformed from a character card to a skill card reaches the target duration.

9. The method according to claim 1, It is characterized in that The step of controlling the target virtual character carried by the target virtual card to move to a target position in the interactive area of ​​the virtual scene in response to the character control instruction triggered by the target virtual card includes: In response to a selection operation on a target virtual card, controlling a target virtual character carried by the target virtual card to be in an operable state; In response to a character control instruction triggered by a drag operation on the target virtual character, the target virtual character is controlled to move to a target position indicated by the character control instruction, wherein the target position is a release position corresponding to the drag operation in an interactive area of ​​the virtual scene.

10. The method according to claim 9, It is characterized in that Before controlling the target virtual character to move to the target position indicated by the character control instruction, the method further includes: In the interactive area of ​​the virtual scene, displaying placement position indication information; The placement position indication information is used to indicate a placement position for the target virtual character to trigger the release of the drag operation.

11. The method according to claim 1, It is characterized in that The step of controlling the target virtual character to release the associated target virtual skill in response to the skill release instruction triggered based on the target virtual card comprises: In response to a trigger operation on the target virtual card, a skill indicator is displayed at an associated position of the target virtual character, the skill indicator being used to indicate a range of action of the target virtual character releasing the associated target virtual skill; In response to the target virtual card being dragged to the associated position and releasing the drag operation on the target virtual card at the associated position, a skill release instruction is received; In response to the skill release instruction, the target virtual character is controlled to release the target virtual skill at the associated position.

12. The method of claim 1, It is characterized in that After displaying at least one virtual card in the card area of ​​the virtual scene, the method further includes: In response to a selection operation on a target virtual card, displaying a character control and a skill control; The character control is used to trigger the character control instruction, and the skill control is used to trigger the skill control instruction.

13. The method of claim 1, It is characterized in that Before controlling the target virtual character to release the associated target virtual skill, the method further includes: When the number of virtual skills associated with the target virtual character is at least two, in response to a trigger operation on the target virtual card, displaying at least two candidate virtual skills associated with the target virtual character; In response to a selection operation on a target virtual skill, a skill release instruction for instructing to release the target virtual skill is received.

14. The method of claim 1, It is characterized in that The controlling the target virtual character to release the associated target virtual skill comprises: When the number of virtual skills associated with the target virtual character is at least two, obtaining an influencing parameter for influencing the release priority of each virtual skill, wherein the influencing parameter includes at least one of the following: an effective action range corresponding to the release of the virtual skill, and a matching degree between the virtual skill and the current interaction progress of the target virtual character; Based on the influencing parameters, a neural network model is called to perform release priority prediction processing to obtain the release priority of each virtual skill; The target virtual character is controlled to release the target virtual skill with the highest release priority.

15. The method of claim 1, It is characterized in that After controlling the target virtual character to release the associated target virtual skill, the method further includes: The target virtual skill associated with the target virtual card is controlled to be in a cooling state, and when the cooling is completed, the target virtual skill is controlled to be restored from the cooling state to an activated state.

16. The method of claim 1, It is characterized in that After controlling the target virtual character to release the associated target virtual skill, the method further includes: When the number of virtual skills associated with the target virtual character is at least two, in response to a trigger operation on the target virtual card, the target virtual character is controlled to release other associated virtual skills, where the other virtual skills are different from the target virtual skills.

17. An interactive device for a virtual scene, It is characterized in that The device comprises: A card display module, used to display at least one virtual card in a card area of ​​a virtual scene, wherein the virtual card carries a virtual character and at least one virtual skill associated with the virtual character; A character control module, configured to control a target virtual character carried by the target virtual card to move to a target position in an interactive area of ​​the virtual scene in response to a character control instruction triggered by the target virtual card; The skill control module is used to control the target virtual character to release the associated target virtual skill in response to a skill release instruction triggered based on the target virtual card.

18. An electronic device, It is characterized in that include: A memory for storing computer executable instructions or computer programs; A processor, configured to implement the virtual scene interaction method described in any one of claims 1 to 16 when executing the computer executable instructions or computer programs stored in the memory.

19. A computer-readable storage medium, It is characterized in that Computer executable instructions or computer programs are stored, and when the computer executable instructions or computer programs are executed by a processor, the virtual scene interaction method described in any one of claims 1 to 16 is implemented.

20. A computer program product comprising a computer program or computer executable instructions, It is characterized in that When the computer program or computer executable instructions are executed by a processor, the virtual scene interaction method described in any one of claims 1 to 16 is implemented.

Citation Information

Cited By

  • Virtual card selection method and system for multi-stage animation arrangement

    CN121725110A